Started by upstream project "edgexfoundry/cd-management/release" build number 113 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 117e3ae82fbf81e148f12b1fc27328d4e4a70297 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-ssh17064400432751058378.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh13774792995719901063.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16699482023398548122.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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 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-ssh4909928132458626976.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3862620218338729300.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > 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 library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-21512 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.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 117e3ae82fbf81e148f12b1fc27328d4e4a70297 (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 117e3ae82fbf81e148f12b1fc27328d4e4a70297 # timeout=10 Commit message: "feat: renew Vault tokens before they expire (fix #423) (#427)" > git rev-list --no-walk 117e3ae82fbf81e148f12b1fc27328d4e4a70297 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-29T20:00:56.785Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-29T20:00:56.832Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-29T20:00:56.850Z] ========================================================= [2022-07-29T20:00:56.850Z] EdgeX Global Pipelines Version Info [2022-07-29T20:00:56.850Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-29T20:00:57.594Z] ------------------- [2022-07-29T20:00:57.594Z] stable info: [2022-07-29T20:00:57.594Z] ------------------- [2022-07-29T20:00:57.594Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-29T20:00:57.594Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-29T20:00:57.594Z] Message: update stable to v1.0.238 [2022-07-29T20:00:58.167Z] ------------------- [2022-07-29T20:00:58.167Z] experimental info: [2022-07-29T20:00:58.167Z] ------------------- [2022-07-29T20:00:58.167Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-29T20:00:58.167Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-29T20:00:58.167Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-29T20:00:58.349Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-07-29T20:00:58.360Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-07-29T20:00:58.370Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-29T20:00:58.382Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-29T20:00:58.394Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-29T20:00:58.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-07-29T20:00:58.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-07-29T20:00:58.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-29T20:00:58.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-29T20:00:58.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-07-29T20:00:58.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-29T20:00:58.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-29T20:00:58.466Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-29T20:00:58.473Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-07-29T20:00:58.481Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-29T20:00:58.488Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-29T20:00:58.495Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-29T20:00:58.503Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-07-29T20:00:58.510Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-07-29T20:00:58.517Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-07-29T20:00:58.525Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 117e3ae82fbf81e148f12b1fc27328d4e4a70297 [Pipeline] echo [2022-07-29T20:00:58.532Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 117e3ae [Pipeline] echo [2022-07-29T20:00:58.540Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-29T20:00:58.571Z] provisioning config files... [2022-07-29T20:00:58.585Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8561267851662383454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-29T20:00:58.894Z] ---> docker-login.sh [2022-07-29T20:00:58.894Z] nexus3.edgexfoundry.org:10001 [2022-07-29T20:00:59.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T20:00:59.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T20:00:59.156Z] Configure a credential helper to remove this warning. See [2022-07-29T20:00:59.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T20:00:59.156Z] [2022-07-29T20:00:59.156Z] Login Succeeded [2022-07-29T20:00:59.417Z] nexus3.edgexfoundry.org:10002 [2022-07-29T20:00:59.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T20:00:59.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T20:00:59.417Z] Configure a credential helper to remove this warning. See [2022-07-29T20:00:59.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T20:00:59.417Z] [2022-07-29T20:00:59.417Z] Login Succeeded [2022-07-29T20:00:59.417Z] nexus3.edgexfoundry.org:10003 [2022-07-29T20:00:59.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T20:00:59.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T20:00:59.679Z] Configure a credential helper to remove this warning. See [2022-07-29T20:00:59.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T20:00:59.679Z] [2022-07-29T20:00:59.679Z] Login Succeeded [2022-07-29T20:00:59.679Z] nexus3.edgexfoundry.org:10004 [2022-07-29T20:00:59.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T20:00:59.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T20:00:59.679Z] Configure a credential helper to remove this warning. See [2022-07-29T20:00:59.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T20:00:59.679Z] [2022-07-29T20:00:59.679Z] Login Succeeded [2022-07-29T20:00:59.679Z] docker.io [2022-07-29T20:00:59.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T20:01:00.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T20:01:00.202Z] Configure a credential helper to remove this warning. See [2022-07-29T20:01:00.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T20:01:00.202Z] [2022-07-29T20:01:00.202Z] Login Succeeded [2022-07-29T20:01:00.202Z] ---> docker-login.sh ends [Pipeline] } [2022-07-29T20:01:00.210Z] 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-07-29T20:01:00.568Z] + git rev-list -1 --merges 117e3ae82fbf81e148f12b1fc27328d4e4a70297~1..117e3ae82fbf81e148f12b1fc27328d4e4a70297 [Pipeline] echo [2022-07-29T20:01:00.602Z] -----------> git rev-list -1 --merges 117e3ae82fbf81e148f12b1fc27328d4e4a70297~1..117e3ae82fbf81e148f12b1fc27328d4e4a70297 117e3ae82fbf81e148f12b1fc27328d4e4a70297 [false] [Pipeline] sh [2022-07-29T20:01:00.898Z] + git log --format=format:%s -1 117e3ae82fbf81e148f12b1fc27328d4e4a70297 [Pipeline] echo [2022-07-29T20:01:00.915Z] ========================================================= [2022-07-29T20:01:00.915Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2022-07-29T20:01:00.915Z] ========================================================= 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-07-29T20:01:01.301Z] + git rev-list -1 --merges 117e3ae82fbf81e148f12b1fc27328d4e4a70297~1..117e3ae82fbf81e148f12b1fc27328d4e4a70297 [Pipeline] echo [2022-07-29T20:01:01.313Z] -----------> git rev-list -1 --merges 117e3ae82fbf81e148f12b1fc27328d4e4a70297~1..117e3ae82fbf81e148f12b1fc27328d4e4a70297 117e3ae82fbf81e148f12b1fc27328d4e4a70297 [false] [Pipeline] sh [2022-07-29T20:01:01.606Z] + git log --format=format:%s -1 117e3ae82fbf81e148f12b1fc27328d4e4a70297 [Pipeline] echo [2022-07-29T20:01:01.624Z] ========================================================= [2022-07-29T20:01:01.624Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2022-07-29T20:01:01.624Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-07-29T20:01:01.988Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-29T20:01:01.988Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-29T20:01:01.988Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-29T20:01:01.988Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-29T20:01:01.988Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-29T20:01:01.988Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-29T20:01:01.988Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T20:01:02.359Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-29T20:01:02.359Z] [2022-07-29T20:01:02.359Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T20:01:02.672Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-29T20:01:02.672Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-29T20:01:02.672Z] b85a868b505f: Pulling fs layer [2022-07-29T20:01:02.672Z] e2be974225ed: Pulling fs layer [2022-07-29T20:01:02.672Z] 339a4e72a1f5: Pulling fs layer [2022-07-29T20:01:02.672Z] 988bab9f4d93: Pulling fs layer [2022-07-29T20:01:02.672Z] 1469e6f7b9e6: Pulling fs layer [2022-07-29T20:01:02.672Z] eaf3925da568: Pulling fs layer [2022-07-29T20:01:02.672Z] bab4dde63d76: Pulling fs layer [2022-07-29T20:01:02.672Z] bde34c3a00c8: Pulling fs layer [2022-07-29T20:01:02.672Z] b352a97aabf1: Pulling fs layer [2022-07-29T20:01:02.672Z] 4872d77fe225: Pulling fs layer [2022-07-29T20:01:02.672Z] 5851b861e8e6: Pulling fs layer [2022-07-29T20:01:02.672Z] bab4dde63d76: Waiting [2022-07-29T20:01:02.672Z] bde34c3a00c8: Waiting [2022-07-29T20:01:02.672Z] b352a97aabf1: Waiting [2022-07-29T20:01:02.672Z] 4872d77fe225: Waiting [2022-07-29T20:01:02.672Z] 5851b861e8e6: Waiting [2022-07-29T20:01:02.672Z] 988bab9f4d93: Waiting [2022-07-29T20:01:02.672Z] eaf3925da568: Waiting [2022-07-29T20:01:02.672Z] 1469e6f7b9e6: Waiting [2022-07-29T20:01:02.672Z] e2be974225ed: Verifying Checksum [2022-07-29T20:01:02.672Z] e2be974225ed: Download complete [2022-07-29T20:01:02.672Z] 988bab9f4d93: Verifying Checksum [2022-07-29T20:01:02.672Z] 988bab9f4d93: Download complete [2022-07-29T20:01:02.934Z] 1469e6f7b9e6: Verifying Checksum [2022-07-29T20:01:02.934Z] 1469e6f7b9e6: Download complete [2022-07-29T20:01:02.934Z] eaf3925da568: Verifying Checksum [2022-07-29T20:01:02.934Z] eaf3925da568: Download complete [2022-07-29T20:01:02.934Z] 339a4e72a1f5: Verifying Checksum [2022-07-29T20:01:02.934Z] 339a4e72a1f5: Download complete [2022-07-29T20:01:02.934Z] bde34c3a00c8: Verifying Checksum [2022-07-29T20:01:02.934Z] bde34c3a00c8: Download complete [2022-07-29T20:01:02.934Z] b352a97aabf1: Download complete [2022-07-29T20:01:02.934Z] 4872d77fe225: Verifying Checksum [2022-07-29T20:01:02.934Z] 4872d77fe225: Download complete [2022-07-29T20:01:02.934Z] b85a868b505f: Verifying Checksum [2022-07-29T20:01:02.934Z] b85a868b505f: Download complete [2022-07-29T20:01:03.195Z] bab4dde63d76: Verifying Checksum [2022-07-29T20:01:03.195Z] bab4dde63d76: Download complete [2022-07-29T20:01:04.135Z] b85a868b505f: Pull complete [2022-07-29T20:01:04.396Z] e2be974225ed: Pull complete [2022-07-29T20:01:04.966Z] 339a4e72a1f5: Pull complete [2022-07-29T20:01:04.966Z] 988bab9f4d93: Pull complete [2022-07-29T20:01:05.227Z] 1469e6f7b9e6: Pull complete [2022-07-29T20:01:05.227Z] eaf3925da568: Pull complete [2022-07-29T20:01:07.140Z] bab4dde63d76: Pull complete [2022-07-29T20:01:07.140Z] bde34c3a00c8: Pull complete [2022-07-29T20:01:07.140Z] b352a97aabf1: Pull complete [2022-07-29T20:01:07.404Z] 4872d77fe225: Pull complete [2022-07-29T20:01:07.404Z] 5851b861e8e6: Pull complete [2022-07-29T20:01:07.404Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-29T20:01:07.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-29T20:01:07.404Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-29T20:01:07.501Z] prd-ubuntu20.04-docker-8c-8g-21512 does not seem to be running inside a container [2022-07-29T20:01:07.547Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-29T20:01:09.392Z] $ docker top 513f07ebb223f35a381313d3583982c1b074d9396d6a6377cf07b45595924dbd -eo pid,comm [2022-07-29T20:01:09.451Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-29T20:01:09.451Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-29T20:01:09.494Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-29T20:01:09.494Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-29T20:01:09.624Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-29T20:01:09.632Z] $ docker exec 513f07ebb223f35a381313d3583982c1b074d9396d6a6377cf07b45595924dbd ssh-agent [2022-07-29T20:01:09.753Z] SSH_AUTH_SOCK=/tmp/ssh-8w92xDkuEjMJ/agent.33 [2022-07-29T20:01:09.753Z] SSH_AGENT_PID=40 [2022-07-29T20:01:09.759Z] Running ssh-add (command line suppressed) [2022-07-29T20:01:09.886Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5987036522006032718.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5987036522006032718.key) [2022-07-29T20:01:09.895Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-29T20:01:10.183Z] + git tag --points-at 117e3ae82fbf81e148f12b1fc27328d4e4a70297 [Pipeline] } [2022-07-29T20:01:10.202Z] $ docker exec --env ******** --env ******** 513f07ebb223f35a381313d3583982c1b074d9396d6a6377cf07b45595924dbd ssh-agent -k [2022-07-29T20:01:10.309Z] unset SSH_AUTH_SOCK; [2022-07-29T20:01:10.309Z] unset SSH_AGENT_PID; [2022-07-29T20:01:10.310Z] echo Agent pid 40 killed; [2022-07-29T20:01:10.315Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2022-07-29T20:01:10.338Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.2.0|v2.2.0-dev.13' [Pipeline] sshagent [2022-07-29T20:01:10.357Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-29T20:01:10.357Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-29T20:01:10.477Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-29T20:01:10.485Z] $ docker exec 513f07ebb223f35a381313d3583982c1b074d9396d6a6377cf07b45595924dbd ssh-agent [2022-07-29T20:01:10.602Z] SSH_AUTH_SOCK=/tmp/ssh-ejMzIzsVcqum/agent.72 [2022-07-29T20:01:10.602Z] SSH_AGENT_PID=78 [2022-07-29T20:01:10.608Z] Running ssh-add (command line suppressed) [2022-07-29T20:01:10.731Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1789543785144304153.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1789543785144304153.key) [2022-07-29T20:01:10.741Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-29T20:01:11.032Z] + git semver init [2022-07-29T20:01:11.292Z] 2022-07-29 20:01:11,234 [run_init] DEBUG init version:0.0.0 force:False [2022-07-29T20:01:11.292Z] 2022-07-29 20:01:11,234 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2022-07-29T20:01:11.292Z] 2022-07-29 20:01:11,234 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2022-07-29T20:01:11.292Z] 2022-07-29 20:01:11,235 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2022-07-29T20:01:12.237Z] 2022-07-29 20:01:12,198 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2022-07-29T20:01:12.237Z] 2022-07-29 20:01:12,199 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2022-07-29T20:01:12.237Z] 2022-07-29 20:01:12,199 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-07-29T20:01:12.237Z] 2022-07-29 20:01:12,199 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2022-07-29T20:01:12.237Z] 2.2.0 [Pipeline] } [2022-07-29T20:01:12.254Z] $ docker exec --env ******** --env ******** 513f07ebb223f35a381313d3583982c1b074d9396d6a6377cf07b45595924dbd ssh-agent -k [2022-07-29T20:01:12.374Z] unset SSH_AUTH_SOCK; [2022-07-29T20:01:12.375Z] unset SSH_AGENT_PID; [2022-07-29T20:01:12.375Z] echo Agent pid 78 killed; [2022-07-29T20:01:12.387Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-29T20:01:12.693Z] + git semver [Pipeline] } [2022-07-29T20:01:12.974Z] $ docker stop --time=1 513f07ebb223f35a381313d3583982c1b074d9396d6a6377cf07b45595924dbd [2022-07-29T20:01:14.254Z] $ docker rm -f 513f07ebb223f35a381313d3583982c1b074d9396d6a6377cf07b45595924dbd [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-29T20:01:14.608Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-29T20:01:14.865Z] Stashed 1 file(s) [Pipeline] echo [2022-07-29T20:01:14.868Z] [edgeXSemver]: initialized semver on version 2.2.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-29T20:01:15.231Z] + git checkout 117e3ae82fbf81e148f12b1fc27328d4e4a70297 [2022-07-29T20:01:15.231Z] HEAD is now at 117e3ae feat: renew Vault tokens before they expire (fix #423) (#427) [2022-07-29T20:01:15.231Z] M VERSION [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-29T20:01:15.258Z] provisioning config files... [2022-07-29T20:01:15.267Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2363223199200248050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-29T20:01:15.570Z] ---> docker-login.sh [2022-07-29T20:01:15.570Z] nexus3.edgexfoundry.org:10001 [2022-07-29T20:01:15.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T20:01:15.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T20:01:15.570Z] Configure a credential helper to remove this warning. See [2022-07-29T20:01:15.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T20:01:15.570Z] [2022-07-29T20:01:15.570Z] Login Succeeded [2022-07-29T20:01:15.570Z] nexus3.edgexfoundry.org:10002 [2022-07-29T20:01:15.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T20:01:15.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T20:01:15.834Z] Configure a credential helper to remove this warning. See [2022-07-29T20:01:15.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T20:01:15.834Z] [2022-07-29T20:01:15.834Z] Login Succeeded [2022-07-29T20:01:15.834Z] nexus3.edgexfoundry.org:10003 [2022-07-29T20:01:15.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T20:01:15.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T20:01:15.834Z] Configure a credential helper to remove this warning. See [2022-07-29T20:01:15.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T20:01:15.834Z] [2022-07-29T20:01:15.834Z] Login Succeeded [2022-07-29T20:01:15.834Z] nexus3.edgexfoundry.org:10004 [2022-07-29T20:01:15.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T20:01:16.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T20:01:16.094Z] Configure a credential helper to remove this warning. See [2022-07-29T20:01:16.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T20:01:16.094Z] [2022-07-29T20:01:16.094Z] Login Succeeded [2022-07-29T20:01:16.094Z] docker.io [2022-07-29T20:01:16.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T20:01:16.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T20:01:16.355Z] Configure a credential helper to remove this warning. See [2022-07-29T20:01:16.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T20:01:16.355Z] [2022-07-29T20:01:16.355Z] Login Succeeded [2022-07-29T20:01:16.355Z] ---> docker-login.sh ends [Pipeline] } [2022-07-29T20:01:16.364Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-29T20:01:16.430Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-29T20:01:16.441Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-07-29T20:01:16.453Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-29T20:01:16.460Z] ========================================================= [2022-07-29T20:01:16.460Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-07-29T20:01:16.460Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T20:01:16.770Z] + 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-07-29T20:01:16.770Z] Sending build context to Docker daemon 4.589MB [2022-07-29T20:01:16.770Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-07-29T20:01:16.770Z] Step 2/22 : FROM ${BASE} as builder [2022-07-29T20:01:16.770Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-07-29T20:01:16.770Z] df9b9388f04a: Pulling fs layer [2022-07-29T20:01:16.770Z] 62381f5d8449: Pulling fs layer [2022-07-29T20:01:17.031Z] df9b9388f04a: Verifying Checksum [2022-07-29T20:01:17.031Z] df9b9388f04a: Pull complete [2022-07-29T20:01:17.600Z] 62381f5d8449: Verifying Checksum [2022-07-29T20:01:17.600Z] 62381f5d8449: Download complete [2022-07-29T20:01:20.135Z] 62381f5d8449: Pull complete [2022-07-29T20:01:20.135Z] Digest: sha256:1dc51ee6678f53bb3891c65c2ca5ccd72630339357978017b6e7ab3884123c19 [2022-07-29T20:01:20.135Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-07-29T20:01:20.135Z] ---> 547c565c9e89 [2022-07-29T20:01:20.135Z] 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-07-29T20:01:21.522Z] ---> Running in 3ae88be4e88d [2022-07-29T20:01:21.522Z] Connecting to iotech.jfrog.io (34.247.231.36:443) [2022-07-29T20:01:22.092Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-29T20:01:22.092Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-29T20:01:22.092Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-29T20:01:22.092Z] Removing intermediate container 3ae88be4e88d [2022-07-29T20:01:22.092Z] ---> 7474f18707ec [2022-07-29T20:01:22.092Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-29T20:01:22.092Z] ---> Running in b90823100a81 [2022-07-29T20:01:22.660Z] Removing intermediate container b90823100a81 [2022-07-29T20:01:22.660Z] ---> 73ca0ef75dbd [2022-07-29T20:01:22.660Z] 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-07-29T20:01:22.660Z] ---> Running in 0855d7175bf7 [2022-07-29T20:01:22.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-29T20:01:23.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-29T20:01:23.180Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-29T20:01:23.751Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-29T20:01:23.751Z] (1/33) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-07-29T20:01:23.751Z] (2/33) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-07-29T20:01:23.751Z] (3/33) Installing hiredis (1.0.2-r0) [2022-07-29T20:01:23.751Z] (4/33) Installing hiredis-dev (1.0.2-r0) [2022-07-29T20:01:23.751Z] (5/33) Installing libcbor (0.8.0-r0) [2022-07-29T20:01:23.751Z] (6/33) Installing libcbor-dev (0.8.0-r0) [2022-07-29T20:01:23.751Z] (7/33) Installing ncurses-dev (6.3_p20211120-r1) [2022-07-29T20:01:23.751Z] (8/33) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-07-29T20:01:24.321Z] (9/33) Installing util-linux (2.37.4-r0) [2022-07-29T20:01:24.321Z] (10/33) Installing libblkid (2.37.4-r0) [2022-07-29T20:01:24.581Z] (11/33) Installing libeconf (0.4.2-r0) [2022-07-29T20:01:24.581Z] (12/33) Installing libuuid (2.37.4-r0) [2022-07-29T20:01:24.581Z] (13/33) Installing libfdisk (2.37.4-r0) [2022-07-29T20:01:24.581Z] (14/33) Installing libmount (2.37.4-r0) [2022-07-29T20:01:24.581Z] (15/33) Installing libsmartcols (2.37.4-r0) [2022-07-29T20:01:24.581Z] (16/33) Installing util-linux-misc (2.37.4-r0) [2022-07-29T20:01:24.581Z] (17/33) Installing linux-pam (1.5.2-r0) [2022-07-29T20:01:24.581Z] (18/33) Installing runuser (2.37.4-r0) [2022-07-29T20:01:24.581Z] (19/33) Installing hexdump (2.37.4-r0) [2022-07-29T20:01:24.581Z] (20/33) Installing uuidgen (2.37.4-r0) [2022-07-29T20:01:24.581Z] (21/33) Installing blkid (2.37.4-r0) [2022-07-29T20:01:24.581Z] (22/33) Installing sfdisk (2.37.4-r0) [2022-07-29T20:01:24.581Z] (23/33) Installing mcookie (2.37.4-r0) [2022-07-29T20:01:24.581Z] (24/33) Installing wipefs (2.37.4-r0) [2022-07-29T20:01:24.581Z] (25/33) Installing cfdisk (2.37.4-r0) [2022-07-29T20:01:24.581Z] (26/33) Installing flock (2.37.4-r0) [2022-07-29T20:01:24.581Z] (27/33) Installing lsblk (2.37.4-r0) [2022-07-29T20:01:24.581Z] (28/33) Installing libcap-ng (0.8.2-r1) [2022-07-29T20:01:24.581Z] (29/33) Installing setpriv (2.37.4-r0) [2022-07-29T20:01:24.581Z] (30/33) Installing logger (2.37.4-r0) [2022-07-29T20:01:24.581Z] (31/33) Installing partx (2.37.4-r0) [2022-07-29T20:01:24.581Z] (32/33) Installing findmnt (2.37.4-r0) [2022-07-29T20:01:24.581Z] (33/33) Installing util-linux-dev (2.37.4-r0) [2022-07-29T20:01:24.581Z] Executing busybox-1.34.1-r5.trigger [2022-07-29T20:01:24.581Z] OK: 293 MiB in 108 packages [2022-07-29T20:01:25.522Z] Removing intermediate container 0855d7175bf7 [2022-07-29T20:01:25.522Z] ---> 9f42b6a26418 [2022-07-29T20:01:25.522Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-07-29T20:01:25.522Z] ---> Running in 4ddde8a24277 [2022-07-29T20:01:25.782Z] Removing intermediate container 4ddde8a24277 [2022-07-29T20:01:25.782Z] ---> 9d43651b7dda [2022-07-29T20:01:25.782Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-07-29T20:01:26.041Z] ---> 6d2aa09655d8 [2022-07-29T20:01:26.041Z] Step 8/22 : COPY src /tmp/sdk/src [2022-07-29T20:01:26.041Z] ---> 0f798c8ea8dc [2022-07-29T20:01:26.041Z] Step 9/22 : COPY include /tmp/sdk/include [2022-07-29T20:01:26.300Z] ---> 01fba034670f [2022-07-29T20:01:26.300Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-07-29T20:01:26.300Z] ---> d64edb52a8a4 [2022-07-29T20:01:26.300Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-07-29T20:01:26.561Z] ---> 99c53842aa87 [2022-07-29T20:01:26.561Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-07-29T20:01:26.561Z] ---> 8dbdbc2e2163 [2022-07-29T20:01:26.561Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-07-29T20:01:26.561Z] ---> Running in f90024989d68 [2022-07-29T20:01:26.820Z] + CPPCHECK=false [2022-07-29T20:01:26.820Z] + DOCGEN=false [2022-07-29T20:01:26.820Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-07-29T20:01:26.820Z] + TOMLVER=SDK-0.2 [2022-07-29T20:01:26.820Z] + CUTILVER=1.2.2 [2022-07-29T20:01:26.820Z] + '[' 0 -gt 0 ] [2022-07-29T20:01:26.820Z] + readlink -f ./scripts/build.sh [2022-07-29T20:01:26.820Z] + dirname /tmp/sdk/scripts/build.sh [2022-07-29T20:01:26.820Z] + dirname /tmp/sdk/scripts [2022-07-29T20:01:26.820Z] + ROOT=/tmp/sdk [2022-07-29T20:01:26.820Z] + cd /tmp/sdk [2022-07-29T20:01:26.820Z] + '[' '!' -d deps ] [2022-07-29T20:01:26.820Z] + mkdir deps [2022-07-29T20:01:26.820Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-07-29T20:01:26.820Z] + tar -C deps -z -x -f - [2022-07-29T20:01:26.820Z] Connecting to github.com (140.82.112.3:443) [2022-07-29T20:01:27.081Z] Connecting to codeload.github.com (140.82.114.10:443) [2022-07-29T20:01:27.081Z] writing to stdout [2022-07-29T20:01:27.341Z] - 100% |********************************| 16451 0:00:00 ETA [2022-07-29T20:01:27.341Z] written to stdout [2022-07-29T20:01:27.341Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-07-29T20:01:27.341Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-07-29T20:01:27.341Z] + tar -C deps -z -x -f - [2022-07-29T20:01:27.341Z] Connecting to github.com (140.82.112.3:443) [2022-07-29T20:01:27.602Z] Connecting to codeload.github.com (140.82.114.10:443) [2022-07-29T20:01:27.602Z] writing to stdout [2022-07-29T20:01:27.602Z] - 100% |********************************| 189k 0:00:00 ETA [2022-07-29T20:01:27.602Z] written to stdout [2022-07-29T20:01:27.602Z] + mkdir -p src/c/iot [2022-07-29T20:01:27.602Z] + 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-07-29T20:01:27.602Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-07-29T20:01:27.602Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-07-29T20:01:27.602Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-07-29T20:01:27.602Z] + mkdir -p include/iot [2022-07-29T20:01:27.602Z] + 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-07-29T20:01:27.602Z] + mkdir -p include/iot/os [2022-07-29T20:01:27.602Z] + 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-07-29T20:01:27.602Z] + mkdir -p /tmp/sdk/build/release [2022-07-29T20:01:27.602Z] + cd /tmp/sdk/build/release [2022-07-29T20:01:27.602Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-07-29T20:01:27.861Z] -- The C compiler identification is GNU 10.3.1 [2022-07-29T20:01:27.861Z] -- Detecting C compiler ABI info [2022-07-29T20:01:27.861Z] -- Detecting C compiler ABI info - done [2022-07-29T20:01:27.861Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-07-29T20:01:27.861Z] -- Detecting C compile features [2022-07-29T20:01:27.861Z] -- Detecting C compile features - done [2022-07-29T20:01:27.861Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-07-29T20:01:27.861Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-07-29T20:01:27.861Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-07-29T20:01:27.861Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-07-29T20:01:27.861Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-07-29T20:01:27.861Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-07-29T20:01:27.861Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-07-29T20:01:27.861Z] -- C SDK 2.2.0 for Linux [2022-07-29T20:01:27.861Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-07-29T20:01:28.121Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-07-29T20:01:28.121Z] -- Found Curses: /usr/lib/libcurses.so [2022-07-29T20:01:28.121Z] -- Configuring done [2022-07-29T20:01:28.121Z] -- Generating done [2022-07-29T20:01:28.121Z] -- Build files have been written to: /tmp/sdk/build/release [2022-07-29T20:01:28.121Z] + make all package [2022-07-29T20:01:28.121Z] + tee release.log [2022-07-29T20:01:28.121Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-07-29T20:01:28.382Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-07-29T20:01:28.382Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-07-29T20:01:28.951Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-07-29T20:01:28.951Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-07-29T20:01:29.211Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-07-29T20:01:29.211Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-07-29T20:01:29.471Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-07-29T20:01:29.471Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-07-29T20:01:29.731Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-07-29T20:01:29.931Z] Still waiting to schedule task [2022-07-29T20:01:29.932Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-29T20:01:29.991Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-07-29T20:01:30.252Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-07-29T20:01:30.252Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-07-29T20:01:30.513Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-07-29T20:01:30.513Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-07-29T20:01:30.513Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-07-29T20:01:30.513Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-07-29T20:01:31.085Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-07-29T20:01:31.085Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-07-29T20:01:31.346Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-07-29T20:01:31.346Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-07-29T20:01:31.607Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-07-29T20:01:31.607Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-07-29T20:01:31.607Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-07-29T20:01:31.607Z] 275 | const iot_component_factory_t * factory; [2022-07-29T20:01:31.607Z] | ^~~~~~~ [2022-07-29T20:01:31.607Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-07-29T20:01:32.550Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-07-29T20:01:32.550Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-07-29T20:01:32.550Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-07-29T20:01:32.810Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-07-29T20:01:32.811Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-07-29T20:01:32.811Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-07-29T20:01:33.070Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-07-29T20:01:33.070Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-07-29T20:01:33.329Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-07-29T20:01:33.329Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-07-29T20:01:33.329Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-07-29T20:01:33.899Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-07-29T20:01:33.899Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-07-29T20:01:34.159Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-07-29T20:01:34.159Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-07-29T20:01:35.096Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-07-29T20:01:35.096Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-07-29T20:01:35.096Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-07-29T20:01:35.356Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-07-29T20:01:35.616Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-07-29T20:01:35.876Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-07-29T20:01:35.876Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-07-29T20:01:36.136Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-07-29T20:01:36.136Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-07-29T20:01:36.706Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-07-29T20:01:37.277Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-07-29T20:01:37.537Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2022-07-29T20:01:37.537Z] [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-07-29T20:01:37.537Z] [ 76%] Linking C shared library libcsdk.so [2022-07-29T20:01:37.796Z] [ 76%] Built target csdk [2022-07-29T20:01:37.796Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-07-29T20:01:37.796Z] [ 79%] Linking C executable template [2022-07-29T20:01:37.796Z] [ 79%] Built target template [2022-07-29T20:01:38.057Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-07-29T20:01:38.057Z] [ 82%] Linking C executable device-counter [2022-07-29T20:01:38.057Z] [ 82%] Built target device-counter [2022-07-29T20:01:38.057Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-07-29T20:01:38.328Z] [ 85%] Linking C executable device-random [2022-07-29T20:01:38.328Z] [ 85%] Built target device-random [2022-07-29T20:01:38.328Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-07-29T20:01:38.328Z] [ 88%] Linking C executable device-gyro [2022-07-29T20:01:38.328Z] [ 88%] Built target device-gyro [2022-07-29T20:01:38.328Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-07-29T20:01:38.589Z] [ 91%] Linking C executable device-bitfields [2022-07-29T20:01:38.589Z] [ 91%] Built target device-bitfields [2022-07-29T20:01:38.589Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-07-29T20:01:38.848Z] [ 94%] Linking C executable template-discovery [2022-07-29T20:01:38.848Z] [ 94%] Built target template-discovery [2022-07-29T20:01:38.848Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-07-29T20:01:38.848Z] [ 97%] Linking C executable device-file [2022-07-29T20:01:39.108Z] [ 97%] Built target device-file [2022-07-29T20:01:39.108Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-07-29T20:01:39.108Z] [100%] Linking C executable device-terminal [2022-07-29T20:01:39.108Z] [100%] Built target device-terminal [2022-07-29T20:01:39.369Z] Run CPack packaging tool... [2022-07-29T20:01:39.369Z] CPack: Create package using TGZ [2022-07-29T20:01:39.369Z] CPack: Install projects [2022-07-29T20:01:39.369Z] CPack: - Run preinstall target for: Csdk [2022-07-29T20:01:39.631Z] CPack: - Install project: Csdk [] [2022-07-29T20:01:39.631Z] CPack: Create package [2022-07-29T20:01:39.631Z] CPack: - package: /tmp/sdk/build/release/csdk-2.2.0.tar.gz generated. [2022-07-29T20:01:39.631Z] + '[' false '=' true ] [2022-07-29T20:01:39.631Z] + '[' false '=' true ] [2022-07-29T20:01:39.631Z] + mkdir -p /tmp/sdk/build/debug [2022-07-29T20:01:39.631Z] + cd /tmp/sdk/build/debug [2022-07-29T20:01:39.631Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-07-29T20:01:39.631Z] -- The C compiler identification is GNU 10.3.1 [2022-07-29T20:01:39.631Z] -- Detecting C compiler ABI info [2022-07-29T20:01:39.631Z] -- Detecting C compiler ABI info - done [2022-07-29T20:01:39.631Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-07-29T20:01:39.631Z] -- Detecting C compile features [2022-07-29T20:01:39.631Z] -- Detecting C compile features - done [2022-07-29T20:01:39.631Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-07-29T20:01:39.891Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-07-29T20:01:39.891Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-07-29T20:01:39.891Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-07-29T20:01:39.891Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-07-29T20:01:39.891Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-07-29T20:01:39.891Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-07-29T20:01:39.891Z] -- C SDK 2.2.0 for Linux [2022-07-29T20:01:39.891Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-07-29T20:01:39.891Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-07-29T20:01:39.891Z] -- Found Curses: /usr/lib/libcurses.so [2022-07-29T20:01:39.891Z] -- Configuring done [2022-07-29T20:01:39.891Z] -- Generating done [2022-07-29T20:01:39.891Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-07-29T20:01:39.891Z] + make [2022-07-29T20:01:39.891Z] + tee debug.log [2022-07-29T20:01:39.891Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-07-29T20:01:40.151Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-07-29T20:01:40.151Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-07-29T20:01:40.411Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-07-29T20:01:40.411Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-07-29T20:01:40.411Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-07-29T20:01:40.411Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-07-29T20:01:40.672Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-07-29T20:01:40.672Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-07-29T20:01:40.672Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-07-29T20:01:40.933Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-07-29T20:01:40.933Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-07-29T20:01:40.933Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-07-29T20:01:41.193Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-07-29T20:01:41.193Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-07-29T20:01:41.193Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-07-29T20:01:41.193Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-07-29T20:01:41.453Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-07-29T20:01:41.453Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-07-29T20:01:41.453Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-07-29T20:01:41.715Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-07-29T20:01:41.715Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-07-29T20:01:41.715Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-07-29T20:01:41.715Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-07-29T20:01:41.715Z] 275 | const iot_component_factory_t * factory; [2022-07-29T20:01:41.715Z] | ^~~~~~~ [2022-07-29T20:01:41.715Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-07-29T20:01:41.975Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-07-29T20:01:41.975Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-07-29T20:01:41.975Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-07-29T20:01:42.236Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-07-29T20:01:42.236Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-07-29T20:01:42.236Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-07-29T20:01:42.236Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-07-29T20:01:42.236Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-07-29T20:01:42.496Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-07-29T20:01:42.496Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-07-29T20:01:42.496Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-07-29T20:01:42.755Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-07-29T20:01:42.755Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-07-29T20:01:42.755Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-07-29T20:01:42.755Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-07-29T20:01:43.016Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-07-29T20:01:43.277Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-07-29T20:01:43.277Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-07-29T20:01:43.277Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-07-29T20:01:43.277Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-07-29T20:01:43.537Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-07-29T20:01:43.798Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-07-29T20:01:43.798Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-07-29T20:01:43.798Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-07-29T20:01:44.057Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-07-29T20:01:44.057Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-07-29T20:01:44.317Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2022-07-29T20:01:44.317Z] [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-07-29T20:01:44.317Z] [ 76%] Linking C shared library libcsdk.so [2022-07-29T20:01:44.317Z] [ 76%] Built target csdk [2022-07-29T20:01:44.317Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-07-29T20:01:44.605Z] [ 79%] Linking C executable template [2022-07-29T20:01:44.605Z] [ 79%] Built target template [2022-07-29T20:01:44.605Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-07-29T20:01:44.605Z] [ 82%] Linking C executable device-counter [2022-07-29T20:01:44.605Z] [ 82%] Built target device-counter [2022-07-29T20:01:44.605Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-07-29T20:01:44.883Z] [ 85%] Linking C executable device-random [2022-07-29T20:01:44.883Z] [ 85%] Built target device-random [2022-07-29T20:01:44.883Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-07-29T20:01:44.883Z] [ 88%] Linking C executable device-gyro [2022-07-29T20:01:44.883Z] [ 88%] Built target device-gyro [2022-07-29T20:01:45.160Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-07-29T20:01:45.160Z] [ 91%] Linking C executable device-bitfields [2022-07-29T20:01:45.160Z] [ 91%] Built target device-bitfields [2022-07-29T20:01:45.160Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-07-29T20:01:45.160Z] [ 94%] Linking C executable template-discovery [2022-07-29T20:01:45.452Z] [ 94%] Built target template-discovery [2022-07-29T20:01:45.452Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-07-29T20:01:45.452Z] [ 97%] Linking C executable device-file [2022-07-29T20:01:45.452Z] [ 97%] Built target device-file [2022-07-29T20:01:45.452Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-07-29T20:01:45.452Z] [100%] Linking C executable device-terminal [2022-07-29T20:01:45.452Z] [100%] Built target device-terminal [2022-07-29T20:01:45.713Z] make: Entering directory '/tmp/sdk/build/release' [2022-07-29T20:01:45.713Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-07-29T20:01:45.713Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-29T20:01:45.713Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-29T20:01:45.713Z] [ 76%] Built target csdk [2022-07-29T20:01:45.713Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-29T20:01:45.713Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-29T20:01:45.713Z] [ 79%] Built target template [2022-07-29T20:01:45.713Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-29T20:01:45.713Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-29T20:01:45.713Z] [ 82%] Built target device-counter [2022-07-29T20:01:45.713Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-29T20:01:45.713Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-29T20:01:45.713Z] [ 85%] Built target device-random [2022-07-29T20:01:45.713Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-29T20:01:45.713Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-29T20:01:45.713Z] [ 88%] Built target device-gyro [2022-07-29T20:01:45.713Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-29T20:01:45.713Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-29T20:01:45.713Z] [ 91%] Built target device-bitfields [2022-07-29T20:01:45.713Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-29T20:01:45.713Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-29T20:01:45.713Z] [ 94%] Built target template-discovery [2022-07-29T20:01:45.713Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-29T20:01:45.713Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-29T20:01:45.713Z] [ 97%] Built target device-file [2022-07-29T20:01:45.713Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-29T20:01:45.713Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-29T20:01:45.713Z] [100%] Built target device-terminal [2022-07-29T20:01:45.713Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-07-29T20:01:45.713Z] Install the project... [2022-07-29T20:01:45.713Z] -- Install configuration: "Release" [2022-07-29T20:01:45.713Z] -- Installing: /usr/local/lib/libcsdk.so [2022-07-29T20:01:45.713Z] -- Installing: /usr/local/include [2022-07-29T20:01:45.713Z] -- Installing: /usr/local/include/edgex [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/edgex/devices.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/devsdk [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/iot [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/iot/thread.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/iot/hash.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/iot/typecode.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/iot/uuid.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/iot/logger.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/iot/config.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/iot/os.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/iot/container.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/iot/defs.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/iot/iot.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/iot/component.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/iot/os [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/iot/base64.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/iot/time.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/iot/data.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/include/iot/json.h [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-07-29T20:01:45.714Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-07-29T20:01:45.714Z] make: Leaving directory '/tmp/sdk/build/release' [2022-07-29T20:01:46.655Z] Removing intermediate container f90024989d68 [2022-07-29T20:01:46.655Z] ---> e45de3213d83 [2022-07-29T20:01:46.655Z] Step 14/22 : FROM ${BASE} [2022-07-29T20:01:46.655Z] ---> 547c565c9e89 [2022-07-29T20:01:46.655Z] Step 15/22 : LABEL maintainer="IOTech " [2022-07-29T20:01:46.655Z] ---> Running in 71c752f6b496 [2022-07-29T20:01:46.655Z] Removing intermediate container 71c752f6b496 [2022-07-29T20:01:46.655Z] ---> af093b8d6e57 [2022-07-29T20:01:46.655Z] 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-07-29T20:01:46.655Z] ---> Running in 4b3457613c2f [2022-07-29T20:01:46.915Z] Connecting to iotech.jfrog.io (176.34.216.155:443) [2022-07-29T20:01:47.486Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-29T20:01:47.486Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-29T20:01:47.486Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-29T20:01:47.486Z] Removing intermediate container 4b3457613c2f [2022-07-29T20:01:47.486Z] ---> 996f59b4f2a5 [2022-07-29T20:01:47.486Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-29T20:01:47.486Z] ---> Running in af85b3ec1bf2 [2022-07-29T20:01:48.427Z] Removing intermediate container af85b3ec1bf2 [2022-07-29T20:01:48.427Z] ---> a51134f53a97 [2022-07-29T20:01:48.427Z] 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-07-29T20:01:48.427Z] ---> Running in 52df59dafdd4 [2022-07-29T20:01:48.427Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-29T20:01:48.690Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-29T20:01:48.690Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-29T20:01:49.261Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-29T20:01:49.261Z] (1/6) Installing curl (7.80.0-r2) [2022-07-29T20:01:49.261Z] (2/6) Installing hiredis (1.0.2-r0) [2022-07-29T20:01:49.261Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-07-29T20:01:49.261Z] (4/6) Installing libcbor (0.8.0-r0) [2022-07-29T20:01:49.261Z] (5/6) Installing libuuid (2.37.4-r0) [2022-07-29T20:01:49.261Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-07-29T20:01:49.835Z] Executing busybox-1.34.1-r5.trigger [2022-07-29T20:01:49.835Z] OK: 283 MiB in 83 packages [2022-07-29T20:01:50.428Z] Removing intermediate container 52df59dafdd4 [2022-07-29T20:01:50.428Z] ---> 38f770077d18 [2022-07-29T20:01:50.428Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-07-29T20:01:50.428Z] ---> 4511795f1ffa [2022-07-29T20:01:50.428Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-07-29T20:01:50.428Z] ---> e1a1303f85dc [2022-07-29T20:01:50.428Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-07-29T20:01:50.689Z] ---> dd1da8b030f6 [2022-07-29T20:01:50.689Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-07-29T20:01:50.689Z] ---> 5397886501b2 [2022-07-29T20:01:50.949Z] Successfully built 5397886501b2 [2022-07-29T20:01:50.950Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T20:01:51.312Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-29T20:01:51.312Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-29T20:01:51.389Z] prd-ubuntu20.04-docker-8c-8g-21512 does not seem to be running inside a container [2022-07-29T20:01:51.429Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-29T20:01:51.770Z] $ docker top 2edb465d14dbbd36b18e8e1d6608a3dc348ac9995d4f1fb7b26ace3a9cca8ec5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-29T20:01:52.131Z] + make test [2022-07-29T20:01:52.131Z] echo "make test" [2022-07-29T20:01:52.131Z] make test [Pipeline] } [2022-07-29T20:01:52.149Z] $ docker stop --time=1 2edb465d14dbbd36b18e8e1d6608a3dc348ac9995d4f1fb7b26ace3a9cca8ec5 [2022-07-29T20:01:53.406Z] $ docker rm -f 2edb465d14dbbd36b18e8e1d6608a3dc348ac9995d4f1fb7b26ace3a9cca8ec5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-29T20:01:54.004Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-29T20:01:54.293Z] + ls -al . [2022-07-29T20:01:54.293Z] total 208 [2022-07-29T20:01:54.293Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 29 20:01 . [2022-07-29T20:01:54.293Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 20:00 .. [2022-07-29T20:01:54.293Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 29 20:01 .git [2022-07-29T20:01:54.293Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 20:00 .github [2022-07-29T20:01:54.293Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 29 20:00 .gitignore [2022-07-29T20:01:54.293Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 29 20:01 .semver [2022-07-29T20:01:54.293Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 29 20:00 Attribution.txt [2022-07-29T20:01:54.293Z] -rw-rw-r-- 1 jenkins jenkins 8420 Jul 29 20:00 CHANGES [2022-07-29T20:01:54.293Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 29 20:00 Doxyfile [2022-07-29T20:01:54.293Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 29 20:00 GOVERNANCE.md [2022-07-29T20:01:54.293Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 29 20:00 Jenkinsfile [2022-07-29T20:01:54.293Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 29 20:00 LICENSE [2022-07-29T20:01:54.293Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 29 20:00 Makefile [2022-07-29T20:01:54.293Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 29 20:00 OWNERS.md [2022-07-29T20:01:54.293Z] -rw-rw-r-- 1 jenkins jenkins 4086 Jul 29 20:00 README.md [2022-07-29T20:01:54.293Z] -rw-rw-r-- 1 jenkins jenkins 7422 Jul 29 20:00 README.v2.md [2022-07-29T20:01:54.293Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 29 20:01 VERSION [2022-07-29T20:01:54.294Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 20:00 docs [2022-07-29T20:01:54.294Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 20:00 include [2022-07-29T20:01:54.294Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 20:00 scripts [2022-07-29T20:01:54.294Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 20:00 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T20:01:54.603Z] + 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=117e3ae82fbf81e148f12b1fc27328d4e4a70297 --label arch=amd64 --label version=2.2.0 . [2022-07-29T20:01:54.603Z] Sending build context to Docker daemon 4.589MB [2022-07-29T20:01:54.603Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-07-29T20:01:54.603Z] Step 2/17 : FROM ${BASE} [2022-07-29T20:01:54.603Z] ---> 5397886501b2 [2022-07-29T20:01:54.603Z] Step 3/17 : LABEL maintainer="IOTech " [2022-07-29T20:01:54.603Z] ---> Running in 48d078d513c1 [2022-07-29T20:01:54.864Z] Removing intermediate container 48d078d513c1 [2022-07-29T20:01:54.864Z] ---> 42d76a2cca44 [2022-07-29T20:01:54.864Z] 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-07-29T20:01:54.864Z] ---> Running in 0980ea1cb570 [2022-07-29T20:01:55.125Z] Connecting to iotech.jfrog.io (34.247.147.197:443) [2022-07-29T20:01:55.384Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-29T20:01:55.384Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-29T20:01:55.384Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-29T20:01:55.645Z] Removing intermediate container 0980ea1cb570 [2022-07-29T20:01:55.645Z] ---> d1d13dd49b09 [2022-07-29T20:01:55.645Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-29T20:01:55.645Z] ---> Running in e6ee6bf1e7f4 [2022-07-29T20:01:56.215Z] Removing intermediate container e6ee6bf1e7f4 [2022-07-29T20:01:56.215Z] ---> 1a7efb764e3a [2022-07-29T20:01:56.216Z] 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-07-29T20:01:56.216Z] ---> Running in 704dace53c34 [2022-07-29T20:01:56.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-29T20:01:56.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-29T20:01:56.736Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-29T20:01:57.306Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-29T20:01:57.306Z] (1/28) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-07-29T20:01:57.306Z] (2/28) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-07-29T20:01:57.306Z] (3/28) Installing libcbor-dev (0.8.0-r0) [2022-07-29T20:01:57.306Z] (4/28) Installing ncurses-dev (6.3_p20211120-r1) [2022-07-29T20:01:57.306Z] (5/28) Installing util-linux (2.37.4-r0) [2022-07-29T20:01:57.306Z] (6/28) Installing libblkid (2.37.4-r0) [2022-07-29T20:01:57.306Z] (7/28) Installing libeconf (0.4.2-r0) [2022-07-29T20:01:57.306Z] (8/28) Installing libfdisk (2.37.4-r0) [2022-07-29T20:01:57.306Z] (9/28) Installing libmount (2.37.4-r0) [2022-07-29T20:01:57.306Z] (10/28) Installing libsmartcols (2.37.4-r0) [2022-07-29T20:01:57.306Z] (11/28) Installing util-linux-misc (2.37.4-r0) [2022-07-29T20:01:57.306Z] (12/28) Installing linux-pam (1.5.2-r0) [2022-07-29T20:01:57.306Z] (13/28) Installing runuser (2.37.4-r0) [2022-07-29T20:01:57.306Z] (14/28) Installing hexdump (2.37.4-r0) [2022-07-29T20:01:57.306Z] (15/28) Installing uuidgen (2.37.4-r0) [2022-07-29T20:01:57.306Z] (16/28) Installing blkid (2.37.4-r0) [2022-07-29T20:01:57.306Z] (17/28) Installing sfdisk (2.37.4-r0) [2022-07-29T20:01:57.306Z] (18/28) Installing mcookie (2.37.4-r0) [2022-07-29T20:01:57.306Z] (19/28) Installing wipefs (2.37.4-r0) [2022-07-29T20:01:57.306Z] (20/28) Installing cfdisk (2.37.4-r0) [2022-07-29T20:01:57.306Z] (21/28) Installing flock (2.37.4-r0) [2022-07-29T20:01:57.306Z] (22/28) Installing lsblk (2.37.4-r0) [2022-07-29T20:01:57.306Z] (23/28) Installing libcap-ng (0.8.2-r1) [2022-07-29T20:01:57.306Z] (24/28) Installing setpriv (2.37.4-r0) [2022-07-29T20:01:57.306Z] (25/28) Installing logger (2.37.4-r0) [2022-07-29T20:01:57.306Z] (26/28) Installing partx (2.37.4-r0) [2022-07-29T20:01:57.306Z] (27/28) Installing findmnt (2.37.4-r0) [2022-07-29T20:01:57.306Z] (28/28) Installing util-linux-dev (2.37.4-r0) [2022-07-29T20:01:57.306Z] Executing busybox-1.34.1-r5.trigger [2022-07-29T20:01:57.306Z] OK: 294 MiB in 109 packages [2022-07-29T20:01:57.876Z] Removing intermediate container 704dace53c34 [2022-07-29T20:01:57.876Z] ---> fa45f2de7ab2 [2022-07-29T20:01:57.876Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-07-29T20:01:58.156Z] ---> 8d14ffc3d942 [2022-07-29T20:01:58.156Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-07-29T20:01:58.417Z] ---> f93b54bbb0c1 [2022-07-29T20:01:58.417Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-07-29T20:01:58.417Z] ---> 78d656d90181 [2022-07-29T20:01:58.417Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-07-29T20:01:58.417Z] ---> 7dd8b07ce03b [2022-07-29T20:01:58.417Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-07-29T20:01:58.677Z] ---> e111484138d6 [2022-07-29T20:01:58.677Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-07-29T20:01:58.677Z] ---> b77b78f78e8e [2022-07-29T20:01:58.677Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-07-29T20:01:58.677Z] ---> Running in b9dd724b266e [2022-07-29T20:01:58.938Z] Removing intermediate container b9dd724b266e [2022-07-29T20:01:58.938Z] ---> 26a9aa818a20 [2022-07-29T20:01:58.938Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-07-29T20:01:58.938Z] ---> Running in 83d09396fc66 [2022-07-29T20:01:58.938Z] Removing intermediate container 83d09396fc66 [2022-07-29T20:01:58.938Z] ---> ba0e55c64261 [2022-07-29T20:01:58.938Z] Step 15/17 : LABEL arch=amd64 [2022-07-29T20:01:58.938Z] ---> Running in ae29fa41a4d4 [2022-07-29T20:01:58.938Z] Removing intermediate container ae29fa41a4d4 [2022-07-29T20:01:58.938Z] ---> 084c688c19a2 [2022-07-29T20:01:58.938Z] Step 16/17 : LABEL git_sha=117e3ae82fbf81e148f12b1fc27328d4e4a70297 [2022-07-29T20:01:58.938Z] ---> Running in bea5f1c15c9e [2022-07-29T20:01:59.198Z] Removing intermediate container bea5f1c15c9e [2022-07-29T20:01:59.198Z] ---> 3af608fe1267 [2022-07-29T20:01:59.198Z] Step 17/17 : LABEL version=2.2.0 [2022-07-29T20:01:59.198Z] ---> Running in 563d0d6a08ca [2022-07-29T20:01:59.198Z] Removing intermediate container 563d0d6a08ca [2022-07-29T20:01:59.198Z] ---> 1e96ee300949 [2022-07-29T20:01:59.198Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-07-29T20:01:59.198Z] Successfully built 1e96ee300949 [2022-07-29T20:01:59.198Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T20:01:59.651Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-29T20:01:59.651Z] [2022-07-29T20:01:59.651Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T20:01:59.956Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-29T20:01:59.956Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-29T20:01:59.956Z] 5eb5b503b376: Pulling fs layer [2022-07-29T20:01:59.956Z] 5c69ac0246d0: Pulling fs layer [2022-07-29T20:01:59.956Z] ec43610c2a17: Pulling fs layer [2022-07-29T20:01:59.956Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-29T20:01:59.956Z] 33b1e0a273af: Pulling fs layer [2022-07-29T20:01:59.956Z] 5d3b04190fa2: Pulling fs layer [2022-07-29T20:01:59.956Z] 2f39f015ded8: Pulling fs layer [2022-07-29T20:01:59.956Z] 3a2ae6a8a46f: Waiting [2022-07-29T20:01:59.956Z] 33b1e0a273af: Waiting [2022-07-29T20:01:59.956Z] 5d3b04190fa2: Waiting [2022-07-29T20:01:59.956Z] 2f39f015ded8: Waiting [2022-07-29T20:01:59.956Z] 5c69ac0246d0: Download complete [2022-07-29T20:01:59.956Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-29T20:01:59.956Z] 3a2ae6a8a46f: Download complete [2022-07-29T20:01:59.956Z] 33b1e0a273af: Verifying Checksum [2022-07-29T20:01:59.956Z] 33b1e0a273af: Download complete [2022-07-29T20:01:59.956Z] 5d3b04190fa2: Verifying Checksum [2022-07-29T20:01:59.956Z] 5d3b04190fa2: Download complete [2022-07-29T20:01:59.956Z] ec43610c2a17: Verifying Checksum [2022-07-29T20:01:59.956Z] ec43610c2a17: Download complete [2022-07-29T20:02:00.216Z] 5eb5b503b376: Verifying Checksum [2022-07-29T20:02:00.216Z] 5eb5b503b376: Download complete [2022-07-29T20:02:00.783Z] 2f39f015ded8: Download complete [2022-07-29T20:02:01.352Z] 5eb5b503b376: Pull complete [2022-07-29T20:02:01.352Z] 5c69ac0246d0: Pull complete [2022-07-29T20:02:01.920Z] ec43610c2a17: Pull complete [2022-07-29T20:02:01.920Z] 3a2ae6a8a46f: Pull complete [2022-07-29T20:02:02.179Z] 33b1e0a273af: Pull complete [2022-07-29T20:02:02.179Z] 5d3b04190fa2: Pull complete [2022-07-29T20:02:06.386Z] 2f39f015ded8: Pull complete [2022-07-29T20:02:06.386Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-29T20:02:06.386Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-29T20:02:06.386Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-29T20:02:06.483Z] prd-ubuntu20.04-docker-8c-8g-21512 does not seem to be running inside a container [2022-07-29T20:02:06.528Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-29T20:02:09.080Z] $ docker top 4bd5e7f63a9a3a15478559999f14c9bea641f2eee878e93a0542155faf8add71 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-29T20:02:09.488Z] ---> job-cost.sh [2022-07-29T20:02:09.488Z] lf-activate-venv: SKIPPING [2022-07-29T20:02:09.488Z] INFO: No Stack... [2022-07-29T20:02:09.749Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-29T20:02:10.319Z] INFO: Archiving Costs [Pipeline] sh [2022-07-29T20:02:10.614Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2022-07-29T20:02:10.614Z] + cut -d, -f6 [Pipeline] lock [2022-07-29T20:02:10.627Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-31-stack-cost] [2022-07-29T20:02:10.637Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-31-stack-cost] did not exist. Created. [2022-07-29T20:02:10.637Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-29T20:02:10.945Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-29T20:02:10.981Z] Stashed 1 file(s) [Pipeline] } [2022-07-29T20:02:10.993Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-31-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-29T20:02:11.019Z] $ docker stop --time=1 4bd5e7f63a9a3a15478559999f14c9bea641f2eee878e93a0542155faf8add71 [2022-07-29T20:02:12.175Z] $ docker rm -f 4bd5e7f63a9a3a15478559999f14c9bea641f2eee878e93a0542155faf8add71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-29T20:03:05.970Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21513 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2022-07-29T20:03:05.983Z] Running in /w/workspace/device-sdk-c/31 [Pipeline] { [Pipeline] checkout [2022-07-29T20:03:06.032Z] Selected Git installation does not exist. Using Default [2022-07-29T20:03:06.032Z] The recommended git tool is: NONE [2022-07-29T20:03:13.712Z] using credential edgex-jenkins-ssh [2022-07-29T20:03:13.740Z] Cloning the remote Git repository [2022-07-29T20:03:13.886Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-07-29T20:03:14.063Z] > git init /w/workspace/device-sdk-c/31 # timeout=10 [2022-07-29T20:03:15.605Z] Avoid second fetch [2022-07-29T20:03:15.605Z] Checking out Revision 117e3ae82fbf81e148f12b1fc27328d4e4a70297 (main) [2022-07-29T20:03:14.330Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-07-29T20:03:14.331Z] > git --version # timeout=10 [2022-07-29T20:03:14.363Z] > git --version # 'git version 2.25.1' [2022-07-29T20:03:14.366Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-29T20:03:14.494Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-29T20:03:15.559Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-07-29T20:03:15.578Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-29T20:03:15.649Z] > git config core.sparsecheckout # timeout=10 [2022-07-29T20:03:15.674Z] > git checkout -f 117e3ae82fbf81e148f12b1fc27328d4e4a70297 # timeout=10 [2022-07-29T20:03:19.925Z] Commit message: "feat: renew Vault tokens before they expire (fix #423) (#427)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-29T20:03:20.755Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-29T20:03:20.755Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-29T20:03:20.756Z] Dload Upload Total Spent Left Speed [2022-07-29T20:03:20.756Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 74739 0 --:--:-- --:--:-- --:--:-- 74739 [Pipeline] sh [2022-07-29T20:03:21.469Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-29T20:03:21.869Z] + sudo tee /etc/docker/daemon.new [2022-07-29T20:03:21.869Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-29T20:03:21.869Z] { [2022-07-29T20:03:21.869Z] "registry-mirrors": [ [2022-07-29T20:03:21.869Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-29T20:03:21.869Z] ], [2022-07-29T20:03:21.869Z] "bip": "10.250.0.254/24", [2022-07-29T20:03:21.869Z] "hosts": [ [2022-07-29T20:03:21.869Z] "tcp://0.0.0.0:5555", [2022-07-29T20:03:21.869Z] "unix:///var/run/docker.sock" [2022-07-29T20:03:21.869Z] ], [2022-07-29T20:03:21.869Z] "mtu": 1458, [2022-07-29T20:03:21.869Z] "selinux-enabled": true, [2022-07-29T20:03:21.869Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-29T20:03:21.869Z] } [Pipeline] sh [2022-07-29T20:03:22.219Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-29T20:03:22.560Z] + sudo service docker restart [Pipeline] sh [2022-07-29T20:03:41.217Z] + git checkout 117e3ae82fbf81e148f12b1fc27328d4e4a70297 [2022-07-29T20:03:41.217Z] HEAD is now at 117e3ae feat: renew Vault tokens before they expire (fix #423) (#427) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-29T20:03:41.250Z] provisioning config files... [2022-07-29T20:03:41.275Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/31@tmp/config7658365614469034164tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-29T20:03:41.841Z] ---> docker-login.sh [2022-07-29T20:03:41.841Z] nexus3.edgexfoundry.org:10001 [2022-07-29T20:03:42.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T20:03:43.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T20:03:43.043Z] Configure a credential helper to remove this warning. See [2022-07-29T20:03:43.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T20:03:43.043Z] [2022-07-29T20:03:43.043Z] Login Succeeded [2022-07-29T20:03:43.043Z] nexus3.edgexfoundry.org:10002 [2022-07-29T20:03:43.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T20:03:43.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T20:03:43.318Z] Configure a credential helper to remove this warning. See [2022-07-29T20:03:43.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T20:03:43.318Z] [2022-07-29T20:03:43.318Z] Login Succeeded [2022-07-29T20:03:43.318Z] nexus3.edgexfoundry.org:10003 [2022-07-29T20:03:43.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T20:03:43.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T20:03:43.868Z] Configure a credential helper to remove this warning. See [2022-07-29T20:03:43.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T20:03:43.868Z] [2022-07-29T20:03:43.868Z] Login Succeeded [2022-07-29T20:03:43.868Z] nexus3.edgexfoundry.org:10004 [2022-07-29T20:03:44.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T20:03:44.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T20:03:44.417Z] Configure a credential helper to remove this warning. See [2022-07-29T20:03:44.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T20:03:44.417Z] [2022-07-29T20:03:44.417Z] Login Succeeded [2022-07-29T20:03:44.417Z] docker.io [2022-07-29T20:03:44.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-29T20:03:44.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-29T20:03:44.964Z] Configure a credential helper to remove this warning. See [2022-07-29T20:03:44.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-29T20:03:44.964Z] [2022-07-29T20:03:44.964Z] Login Succeeded [2022-07-29T20:03:44.964Z] ---> docker-login.sh ends [Pipeline] } [2022-07-29T20:03:44.984Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-29T20:03:45.236Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-29T20:03:45.248Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-07-29T20:03:45.258Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-29T20:03:45.269Z] ========================================================= [2022-07-29T20:03:45.269Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-07-29T20:03:45.269Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T20:03:45.613Z] + 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-07-29T20:03:45.887Z] Sending build context to Docker daemon 2.765MB [2022-07-29T20:03:46.162Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-07-29T20:03:46.162Z] Step 2/22 : FROM ${BASE} as builder [2022-07-29T20:03:46.162Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-07-29T20:03:46.162Z] 9981e73032c8: Pulling fs layer [2022-07-29T20:03:46.162Z] 735ca4d71f2f: Pulling fs layer [2022-07-29T20:03:46.162Z] 9981e73032c8: Verifying Checksum [2022-07-29T20:03:46.162Z] 9981e73032c8: Download complete [2022-07-29T20:03:46.759Z] 9981e73032c8: Pull complete [2022-07-29T20:03:48.204Z] 735ca4d71f2f: Verifying Checksum [2022-07-29T20:03:48.204Z] 735ca4d71f2f: Download complete [2022-07-29T20:03:58.420Z] 735ca4d71f2f: Pull complete [2022-07-29T20:03:58.420Z] Digest: sha256:64a8cfb6b63eb8334e03faf33c26f2878668258f25af41e1fb2a2cad40f91f89 [2022-07-29T20:03:58.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-07-29T20:03:58.420Z] ---> aede2dddcadd [2022-07-29T20:03:58.420Z] 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-07-29T20:03:58.420Z] ---> Running in 72c76ee2e033 [2022-07-29T20:03:58.694Z] Connecting to iotech.jfrog.io (34.247.147.197:443) [2022-07-29T20:03:58.968Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-29T20:03:58.968Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-29T20:03:58.968Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-29T20:03:59.968Z] Removing intermediate container 72c76ee2e033 [2022-07-29T20:03:59.968Z] ---> efd30aa1b2d2 [2022-07-29T20:03:59.968Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-29T20:03:59.968Z] ---> Running in e311b597e55b [2022-07-29T20:04:01.413Z] Removing intermediate container e311b597e55b [2022-07-29T20:04:01.413Z] ---> f7c98ef89f66 [2022-07-29T20:04:01.413Z] 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-07-29T20:04:01.413Z] ---> Running in 2014765abe4d [2022-07-29T20:04:02.399Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-29T20:04:02.674Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-29T20:04:03.277Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-29T20:04:03.893Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-29T20:04:03.893Z] (1/33) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-07-29T20:04:03.893Z] (2/33) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-07-29T20:04:03.893Z] (3/33) Installing hiredis (1.0.2-r0) [2022-07-29T20:04:03.893Z] (4/33) Installing hiredis-dev (1.0.2-r0) [2022-07-29T20:04:03.893Z] (5/33) Installing libcbor (0.8.0-r0) [2022-07-29T20:04:04.166Z] (6/33) Installing libcbor-dev (0.8.0-r0) [2022-07-29T20:04:04.166Z] (7/33) Installing ncurses-dev (6.3_p20211120-r1) [2022-07-29T20:04:04.166Z] (8/33) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-07-29T20:04:04.758Z] (9/33) Installing util-linux (2.37.4-r0) [2022-07-29T20:04:04.758Z] (10/33) Installing libblkid (2.37.4-r0) [2022-07-29T20:04:04.758Z] (11/33) Installing libeconf (0.4.2-r0) [2022-07-29T20:04:04.758Z] (12/33) Installing libuuid (2.37.4-r0) [2022-07-29T20:04:04.758Z] (13/33) Installing libfdisk (2.37.4-r0) [2022-07-29T20:04:04.758Z] (14/33) Installing libmount (2.37.4-r0) [2022-07-29T20:04:04.758Z] (15/33) Installing libsmartcols (2.37.4-r0) [2022-07-29T20:04:05.032Z] (16/33) Installing util-linux-misc (2.37.4-r0) [2022-07-29T20:04:05.032Z] (17/33) Installing linux-pam (1.5.2-r0) [2022-07-29T20:04:05.032Z] (18/33) Installing runuser (2.37.4-r0) [2022-07-29T20:04:05.032Z] (19/33) Installing hexdump (2.37.4-r0) [2022-07-29T20:04:05.032Z] (20/33) Installing uuidgen (2.37.4-r0) [2022-07-29T20:04:05.032Z] (21/33) Installing blkid (2.37.4-r0) [2022-07-29T20:04:05.032Z] (22/33) Installing sfdisk (2.37.4-r0) [2022-07-29T20:04:05.032Z] (23/33) Installing mcookie (2.37.4-r0) [2022-07-29T20:04:05.032Z] (24/33) Installing wipefs (2.37.4-r0) [2022-07-29T20:04:05.032Z] (25/33) Installing cfdisk (2.37.4-r0) [2022-07-29T20:04:05.032Z] (26/33) Installing flock (2.37.4-r0) [2022-07-29T20:04:05.032Z] (27/33) Installing lsblk (2.37.4-r0) [2022-07-29T20:04:05.032Z] (28/33) Installing libcap-ng (0.8.2-r1) [2022-07-29T20:04:05.032Z] (29/33) Installing setpriv (2.37.4-r0) [2022-07-29T20:04:05.032Z] (30/33) Installing logger (2.37.4-r0) [2022-07-29T20:04:05.032Z] (31/33) Installing partx (2.37.4-r0) [2022-07-29T20:04:05.032Z] (32/33) Installing findmnt (2.37.4-r0) [2022-07-29T20:04:05.307Z] (33/33) Installing util-linux-dev (2.37.4-r0) [2022-07-29T20:04:05.307Z] Executing busybox-1.34.1-r5.trigger [2022-07-29T20:04:05.307Z] OK: 290 MiB in 108 packages [2022-07-29T20:04:06.750Z] Removing intermediate container 2014765abe4d [2022-07-29T20:04:06.750Z] ---> 5ecfeb35257b [2022-07-29T20:04:06.750Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-07-29T20:04:06.750Z] ---> Running in 737a2a41e8c7 [2022-07-29T20:04:08.736Z] Removing intermediate container 737a2a41e8c7 [2022-07-29T20:04:08.736Z] ---> 19896184311b [2022-07-29T20:04:08.736Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-07-29T20:04:09.021Z] ---> 31a08a2ba280 [2022-07-29T20:04:09.022Z] Step 8/22 : COPY src /tmp/sdk/src [2022-07-29T20:04:10.009Z] ---> 16bf90146a32 [2022-07-29T20:04:10.009Z] Step 9/22 : COPY include /tmp/sdk/include [2022-07-29T20:04:10.292Z] ---> eaae3be4cb53 [2022-07-29T20:04:10.292Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-07-29T20:04:10.891Z] ---> 293314177204 [2022-07-29T20:04:10.891Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-07-29T20:04:11.489Z] ---> ea776395662c [2022-07-29T20:04:11.489Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-07-29T20:04:12.087Z] ---> b6eedf55a0a3 [2022-07-29T20:04:12.087Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-07-29T20:04:12.087Z] ---> Running in bb4b51ec8d16 [2022-07-29T20:04:13.078Z] + CPPCHECK=false [2022-07-29T20:04:13.078Z] + DOCGEN=false [2022-07-29T20:04:13.078Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-07-29T20:04:13.078Z] + TOMLVER=SDK-0.2 [2022-07-29T20:04:13.078Z] + CUTILVER=1.2.2 [2022-07-29T20:04:13.078Z] + '[' 0 -gt 0 ] [2022-07-29T20:04:13.078Z] + readlink -f ./scripts/build.sh [2022-07-29T20:04:13.078Z] + dirname /tmp/sdk/scripts/build.sh [2022-07-29T20:04:13.078Z] + dirname /tmp/sdk/scripts [2022-07-29T20:04:13.078Z] + ROOT=/tmp/sdk [2022-07-29T20:04:13.078Z] + cd /tmp/sdk [2022-07-29T20:04:13.078Z] + '[' '!' -d deps ] [2022-07-29T20:04:13.078Z] + mkdir deps [2022-07-29T20:04:13.078Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-07-29T20:04:13.078Z] + tar -C deps -z -x -f - [2022-07-29T20:04:13.078Z] Connecting to github.com (140.82.113.4:443) [2022-07-29T20:04:13.350Z] Connecting to codeload.github.com (140.82.114.10:443) [2022-07-29T20:04:13.624Z] writing to stdout [2022-07-29T20:04:13.624Z] - 100% |********************************| 16451 0:00:00 ETA [2022-07-29T20:04:13.624Z] written to stdout [2022-07-29T20:04:13.624Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-07-29T20:04:13.624Z] + wget+ -Otar - -C https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz deps [2022-07-29T20:04:13.624Z] -z -x -f - [2022-07-29T20:04:13.624Z] Connecting to github.com (140.82.113.4:443) [2022-07-29T20:04:13.624Z] Connecting to codeload.github.com (140.82.114.10:443) [2022-07-29T20:04:13.896Z] writing to stdout [2022-07-29T20:04:14.171Z] - 100% |********************************|  189k 0:00:00 ETA [2022-07-29T20:04:14.171Z] written to stdout [2022-07-29T20:04:14.171Z] + mkdir -p src/c/iot [2022-07-29T20:04:14.172Z] + 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-07-29T20:04:14.172Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-07-29T20:04:14.172Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-07-29T20:04:14.172Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-07-29T20:04:14.172Z] + mkdir -p include/iot [2022-07-29T20:04:14.172Z] + 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-07-29T20:04:14.172Z] + mkdir -p include/iot/os [2022-07-29T20:04:14.172Z] + 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-07-29T20:04:14.172Z] + mkdir -p /tmp/sdk/build/release [2022-07-29T20:04:14.172Z] + cd /tmp/sdk/build/release [2022-07-29T20:04:14.172Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-07-29T20:04:14.445Z] -- The C compiler identification is GNU 10.3.1 [2022-07-29T20:04:14.445Z] -- Detecting C compiler ABI info [2022-07-29T20:04:14.738Z] -- Detecting C compiler ABI info - done [2022-07-29T20:04:14.738Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-07-29T20:04:14.738Z] -- Detecting C compile features [2022-07-29T20:04:14.738Z] -- Detecting C compile features - done [2022-07-29T20:04:14.738Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-07-29T20:04:15.012Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-07-29T20:04:15.012Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-07-29T20:04:15.012Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-07-29T20:04:15.012Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-07-29T20:04:15.012Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-07-29T20:04:15.284Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-07-29T20:04:15.284Z] -- C SDK 2.2.0 for Linux [2022-07-29T20:04:15.284Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-07-29T20:04:15.555Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-07-29T20:04:15.555Z] -- Found Curses: /usr/lib/libcurses.so [2022-07-29T20:04:15.827Z] -- Configuring done [2022-07-29T20:04:16.100Z] -- Generating done [2022-07-29T20:04:16.100Z] -- Build files have been written to: /tmp/sdk/build/release [2022-07-29T20:04:16.100Z] + + teemake release.log all [2022-07-29T20:04:16.100Z] package [2022-07-29T20:04:16.100Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-07-29T20:04:17.078Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-07-29T20:04:17.671Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-07-29T20:04:20.286Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-07-29T20:04:21.261Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-07-29T20:04:21.534Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-07-29T20:04:22.505Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-07-29T20:04:23.094Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-07-29T20:04:23.367Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-07-29T20:04:24.795Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-07-29T20:04:27.396Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-07-29T20:04:27.667Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-07-29T20:04:28.639Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-07-29T20:04:29.232Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-07-29T20:04:29.827Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-07-29T20:04:29.827Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-07-29T20:04:30.099Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-07-29T20:04:33.489Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-07-29T20:04:33.760Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-07-29T20:04:34.035Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-07-29T20:04:34.628Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-07-29T20:04:35.220Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-07-29T20:04:35.490Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-07-29T20:04:35.490Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-07-29T20:04:35.490Z] 275 | const iot_component_factory_t * factory; [2022-07-29T20:04:35.490Z] | ^~~~~~~ [2022-07-29T20:04:36.082Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-07-29T20:04:41.468Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-07-29T20:04:41.468Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-07-29T20:04:41.742Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-07-29T20:04:42.341Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-07-29T20:04:42.935Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-07-29T20:04:43.204Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-07-29T20:04:44.628Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-07-29T20:04:44.899Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-07-29T20:04:45.872Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-07-29T20:04:46.145Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-07-29T20:04:46.737Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-07-29T20:04:49.357Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-07-29T20:04:49.630Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-07-29T20:04:50.604Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-07-29T20:04:51.199Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-07-29T20:04:56.582Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-07-29T20:04:56.582Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-07-29T20:04:56.855Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-07-29T20:04:57.449Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-07-29T20:04:58.879Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-07-29T20:05:01.498Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-07-29T20:05:01.498Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-07-29T20:05:02.475Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-07-29T20:05:03.070Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-07-29T20:05:05.687Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-07-29T20:05:09.965Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-07-29T20:05:10.235Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2022-07-29T20:05:10.827Z] [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-07-29T20:05:11.423Z] [ 76%] Linking C shared library libcsdk.so [2022-07-29T20:05:11.423Z] [ 76%] Built target csdk [2022-07-29T20:05:11.695Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-07-29T20:05:12.286Z] [ 79%] Linking C executable template [2022-07-29T20:05:12.556Z] [ 79%] Built target template [2022-07-29T20:05:12.827Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-07-29T20:05:13.101Z] [ 82%] Linking C executable device-counter [2022-07-29T20:05:13.379Z] [ 82%] Built target device-counter [2022-07-29T20:05:13.653Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-07-29T20:05:13.924Z] [ 85%] Linking C executable device-random [2022-07-29T20:05:14.195Z] [ 85%] Built target device-random [2022-07-29T20:05:14.466Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-07-29T20:05:14.740Z] [ 88%] Linking C executable device-gyro [2022-07-29T20:05:15.012Z] [ 88%] Built target device-gyro [2022-07-29T20:05:15.284Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-07-29T20:05:15.875Z] [ 91%] Linking C executable device-bitfields [2022-07-29T20:05:15.875Z] [ 91%] Built target device-bitfields [2022-07-29T20:05:16.145Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-07-29T20:05:17.120Z] [ 94%] Linking C executable template-discovery [2022-07-29T20:05:17.120Z] [ 94%] Built target template-discovery [2022-07-29T20:05:17.120Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-07-29T20:05:18.097Z] [ 97%] Linking C executable device-file [2022-07-29T20:05:18.097Z] [ 97%] Built target device-file [2022-07-29T20:05:18.371Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-07-29T20:05:18.968Z] [100%] Linking C executable device-terminal [2022-07-29T20:05:19.242Z] [100%] Built target device-terminal [2022-07-29T20:05:19.243Z] Run CPack packaging tool... [2022-07-29T20:05:19.243Z] CPack: Create package using TGZ [2022-07-29T20:05:19.243Z] CPack: Install projects [2022-07-29T20:05:19.243Z] CPack: - Run preinstall target for: Csdk [2022-07-29T20:05:20.222Z] CPack: - Install project: Csdk [] [2022-07-29T20:05:20.222Z] CPack: Create package [2022-07-29T20:05:20.222Z] CPack: - package: /tmp/sdk/build/release/csdk-2.2.0.tar.gz generated. [2022-07-29T20:05:20.222Z] + '[' false '=' true ] [2022-07-29T20:05:20.222Z] + '[' false '=' true ] [2022-07-29T20:05:20.222Z] + mkdir -p /tmp/sdk/build/debug [2022-07-29T20:05:20.222Z] + cd /tmp/sdk/build/debug [2022-07-29T20:05:20.222Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-07-29T20:05:20.495Z] -- The C compiler identification is GNU 10.3.1 [2022-07-29T20:05:20.495Z] -- Detecting C compiler ABI info [2022-07-29T20:05:20.769Z] -- Detecting C compiler ABI info - done [2022-07-29T20:05:21.043Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-07-29T20:05:21.043Z] -- Detecting C compile features [2022-07-29T20:05:21.043Z] -- Detecting C compile features - done [2022-07-29T20:05:21.043Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-07-29T20:05:21.043Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-07-29T20:05:21.043Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-07-29T20:05:21.043Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-07-29T20:05:21.316Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-07-29T20:05:21.316Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-07-29T20:05:21.316Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-07-29T20:05:21.316Z] -- C SDK 2.2.0 for Linux [2022-07-29T20:05:21.316Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-07-29T20:05:21.588Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-07-29T20:05:21.589Z] -- Found Curses: /usr/lib/libcurses.so [2022-07-29T20:05:21.860Z] -- Configuring done [2022-07-29T20:05:22.133Z] -- Generating done [2022-07-29T20:05:22.133Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-07-29T20:05:22.133Z] + + teemake debug.log [2022-07-29T20:05:22.133Z] [2022-07-29T20:05:22.133Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-07-29T20:05:22.726Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-07-29T20:05:22.998Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-07-29T20:05:23.590Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-07-29T20:05:24.186Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-07-29T20:05:24.186Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-07-29T20:05:24.782Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-07-29T20:05:25.054Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-07-29T20:05:25.327Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-07-29T20:05:25.924Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-07-29T20:05:26.518Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-07-29T20:05:26.793Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-07-29T20:05:27.386Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-07-29T20:05:27.659Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-07-29T20:05:27.931Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-07-29T20:05:28.204Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-07-29T20:05:28.476Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-07-29T20:05:29.448Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-07-29T20:05:29.448Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-07-29T20:05:29.722Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-07-29T20:05:29.992Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-07-29T20:05:30.266Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-07-29T20:05:30.544Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-07-29T20:05:30.544Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-07-29T20:05:30.544Z] 275 | const iot_component_factory_t * factory; [2022-07-29T20:05:30.544Z] | ^~~~~~~ [2022-07-29T20:05:30.820Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-07-29T20:05:31.812Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-07-29T20:05:32.086Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-07-29T20:05:32.366Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-07-29T20:05:32.640Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-07-29T20:05:32.912Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-07-29T20:05:33.185Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-07-29T20:05:33.458Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-07-29T20:05:33.731Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-07-29T20:05:34.003Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-07-29T20:05:34.276Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-07-29T20:05:34.547Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-07-29T20:05:35.140Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-07-29T20:05:35.140Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-07-29T20:05:35.735Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-07-29T20:05:36.009Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-07-29T20:05:37.447Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-07-29T20:05:37.721Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-07-29T20:05:37.994Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-07-29T20:05:38.268Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-07-29T20:05:38.866Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-07-29T20:05:40.298Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-07-29T20:05:40.568Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-07-29T20:05:40.840Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-07-29T20:05:41.114Z] [ 69%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-07-29T20:05:42.094Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-07-29T20:05:43.074Z] [ 72%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-07-29T20:05:43.074Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2022-07-29T20:05:43.348Z] [ 75%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-07-29T20:05:43.623Z] [ 76%] Linking C shared library libcsdk.so [2022-07-29T20:05:44.220Z] [ 76%] Built target csdk [2022-07-29T20:05:44.220Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-07-29T20:05:44.499Z] [ 79%] Linking C executable template [2022-07-29T20:05:44.774Z] [ 79%] Built target template [2022-07-29T20:05:44.774Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-07-29T20:05:45.048Z] [ 82%] Linking C executable device-counter [2022-07-29T20:05:45.324Z] [ 82%] Built target device-counter [2022-07-29T20:05:45.324Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-07-29T20:05:45.597Z] [ 85%] Linking C executable device-random [2022-07-29T20:05:45.874Z] [ 85%] Built target device-random [2022-07-29T20:05:45.874Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-07-29T20:05:46.149Z] [ 88%] Linking C executable device-gyro [2022-07-29T20:05:46.428Z] [ 88%] Built target device-gyro [2022-07-29T20:05:46.702Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-07-29T20:05:46.976Z] [ 91%] Linking C executable device-bitfields [2022-07-29T20:05:47.248Z] [ 91%] Built target device-bitfields [2022-07-29T20:05:47.248Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-07-29T20:05:47.522Z] [ 94%] Linking C executable template-discovery [2022-07-29T20:05:47.797Z] [ 94%] Built target template-discovery [2022-07-29T20:05:47.797Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-07-29T20:05:48.071Z] [ 97%] Linking C executable device-file [2022-07-29T20:05:48.345Z] [ 97%] Built target device-file [2022-07-29T20:05:48.620Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-07-29T20:05:48.893Z] [100%] Linking C executable device-terminal [2022-07-29T20:05:49.167Z] [100%] Built target device-terminal [2022-07-29T20:05:49.167Z] make: Entering directory '/tmp/sdk/build/release' [2022-07-29T20:05:49.442Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-07-29T20:05:49.442Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-29T20:05:49.442Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-29T20:05:49.442Z] [ 76%] Built target csdk [2022-07-29T20:05:49.442Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-29T20:05:49.442Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-29T20:05:49.442Z] [ 79%] Built target template [2022-07-29T20:05:49.442Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-29T20:05:49.442Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-29T20:05:49.442Z] [ 82%] Built target device-counter [2022-07-29T20:05:49.442Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-29T20:05:49.442Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-29T20:05:49.442Z] [ 85%] Built target device-random [2022-07-29T20:05:49.716Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-29T20:05:49.716Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-29T20:05:49.716Z] [ 88%] Built target device-gyro [2022-07-29T20:05:49.716Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-29T20:05:49.716Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-29T20:05:49.716Z] [ 91%] Built target device-bitfields [2022-07-29T20:05:49.716Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-29T20:05:49.716Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-29T20:05:49.716Z] [ 94%] Built target template-discovery [2022-07-29T20:05:49.716Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-29T20:05:49.716Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-29T20:05:49.716Z] [ 97%] Built target device-file [2022-07-29T20:05:49.716Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-29T20:05:49.716Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-29T20:05:49.716Z] [100%] Built target device-terminal [2022-07-29T20:05:49.716Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-07-29T20:05:50.000Z] Install the project... [2022-07-29T20:05:50.000Z] -- Install configuration: "Release" [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/lib/libcsdk.so [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/devsdk [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/edgex [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/edgex/devices.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/iot [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/iot/defs.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/iot/time.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/iot/base64.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/iot/component.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/iot/config.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/iot/container.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/iot/uuid.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/iot/os.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/iot/thread.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/iot/data.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/iot/typecode.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/iot/hash.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/iot/logger.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/iot/os [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/iot/json.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/include/iot/iot.h [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-07-29T20:05:50.000Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-07-29T20:05:50.000Z] make: Leaving directory '/tmp/sdk/build/release' [2022-07-29T20:05:51.987Z] Removing intermediate container bb4b51ec8d16 [2022-07-29T20:05:51.987Z] ---> c4b383e1087e [2022-07-29T20:05:51.987Z] Step 14/22 : FROM ${BASE} [2022-07-29T20:05:51.987Z] ---> aede2dddcadd [2022-07-29T20:05:51.987Z] Step 15/22 : LABEL maintainer="IOTech " [2022-07-29T20:05:51.987Z] ---> Running in 46fdeb48bce1 [2022-07-29T20:05:51.987Z] Removing intermediate container 46fdeb48bce1 [2022-07-29T20:05:51.987Z] ---> 4caa9d1df0ce [2022-07-29T20:05:51.987Z] 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-07-29T20:05:52.266Z] ---> Running in b632dd4d947a [2022-07-29T20:05:53.248Z] Connecting to iotech.jfrog.io (54.171.166.185:443) [2022-07-29T20:05:53.522Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-29T20:05:53.522Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-29T20:05:53.522Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-29T20:05:54.126Z] Removing intermediate container b632dd4d947a [2022-07-29T20:05:54.126Z] ---> 8f0ed9c6e114 [2022-07-29T20:05:54.126Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-29T20:05:54.402Z] ---> Running in f9bcb35c7292 [2022-07-29T20:05:55.844Z] Removing intermediate container f9bcb35c7292 [2022-07-29T20:05:55.844Z] ---> 21b55c969135 [2022-07-29T20:05:55.844Z] 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-07-29T20:05:55.844Z] ---> Running in fdfaa54f9cc8 [2022-07-29T20:05:56.834Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-29T20:05:57.810Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-29T20:05:58.084Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-29T20:05:58.679Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-29T20:05:58.952Z] (1/6) Installing curl (7.80.0-r2) [2022-07-29T20:05:58.952Z] (2/6) Installing hiredis (1.0.2-r0) [2022-07-29T20:05:58.952Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-07-29T20:05:58.952Z] (4/6) Installing libcbor (0.8.0-r0) [2022-07-29T20:05:58.952Z] (5/6) Installing libuuid (2.37.4-r0) [2022-07-29T20:05:58.952Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-07-29T20:05:59.545Z] Executing busybox-1.34.1-r5.trigger [2022-07-29T20:05:59.817Z] OK: 278 MiB in 83 packages [2022-07-29T20:06:00.800Z] Removing intermediate container fdfaa54f9cc8 [2022-07-29T20:06:00.800Z] ---> 8d6b27075811 [2022-07-29T20:06:00.800Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-07-29T20:06:01.398Z] ---> dfa6fecf5afb [2022-07-29T20:06:01.398Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-07-29T20:06:02.000Z] ---> d7b52528f726 [2022-07-29T20:06:02.000Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-07-29T20:06:02.288Z] ---> 58fbd6507b63 [2022-07-29T20:06:02.288Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-07-29T20:06:02.885Z] ---> afb14c5401e8 [2022-07-29T20:06:02.885Z] Successfully built afb14c5401e8 [2022-07-29T20:06:02.885Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T20:06:03.317Z] + docker inspect -f . ci-base-image-arm64 [2022-07-29T20:06:03.317Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-29T20:06:03.572Z] prd-ubuntu20.04-docker-arm64-4c-16g-21513 does not seem to be running inside a container [2022-07-29T20:06:03.676Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/31 -v /w/workspace/device-sdk-c/31:/w/workspace/device-sdk-c/31:rw,z -v /w/workspace/device-sdk-c/31@tmp:/w/workspace/device-sdk-c/31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-29T20:06:04.973Z] $ docker top 47e3cc5abd78e7a2780066794090b58fbe313bc694422a6b5a1a3e1f184b27f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-29T20:06:05.889Z] + make test [2022-07-29T20:06:05.889Z] echo "make test" [2022-07-29T20:06:05.889Z] make test [Pipeline] } [2022-07-29T20:06:05.918Z] $ docker stop --time=1 47e3cc5abd78e7a2780066794090b58fbe313bc694422a6b5a1a3e1f184b27f5 [2022-07-29T20:06:07.537Z] $ docker rm -f 47e3cc5abd78e7a2780066794090b58fbe313bc694422a6b5a1a3e1f184b27f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-29T20:06:08.146Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-29T20:06:08.489Z] + ls -al . [2022-07-29T20:06:08.490Z] total 204 [2022-07-29T20:06:08.490Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 29 20:03 . [2022-07-29T20:06:08.490Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 20:03 .. [2022-07-29T20:06:08.490Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 29 20:03 .git [2022-07-29T20:06:08.490Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 20:03 .github [2022-07-29T20:06:08.490Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 29 20:03 .gitignore [2022-07-29T20:06:08.490Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 29 20:03 Attribution.txt [2022-07-29T20:06:08.490Z] -rw-rw-r-- 1 jenkins jenkins 8420 Jul 29 20:03 CHANGES [2022-07-29T20:06:08.490Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 29 20:03 Doxyfile [2022-07-29T20:06:08.490Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 29 20:03 GOVERNANCE.md [2022-07-29T20:06:08.490Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 29 20:03 Jenkinsfile [2022-07-29T20:06:08.490Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 29 20:03 LICENSE [2022-07-29T20:06:08.490Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 29 20:03 Makefile [2022-07-29T20:06:08.490Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 29 20:03 OWNERS.md [2022-07-29T20:06:08.490Z] -rw-rw-r-- 1 jenkins jenkins 4086 Jul 29 20:03 README.md [2022-07-29T20:06:08.490Z] -rw-rw-r-- 1 jenkins jenkins 7422 Jul 29 20:03 README.v2.md [2022-07-29T20:06:08.490Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 29 20:01 VERSION [2022-07-29T20:06:08.490Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 20:03 docs [2022-07-29T20:06:08.490Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 20:03 include [2022-07-29T20:06:08.490Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 29 20:03 scripts [2022-07-29T20:06:08.490Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 29 20:03 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T20:06:08.850Z] + 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=117e3ae82fbf81e148f12b1fc27328d4e4a70297 --label arch=arm64 --label version=2.2.0 . [2022-07-29T20:06:09.124Z] Sending build context to Docker daemon 2.765MB [2022-07-29T20:06:09.397Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-07-29T20:06:09.397Z] Step 2/17 : FROM ${BASE} [2022-07-29T20:06:09.397Z] ---> afb14c5401e8 [2022-07-29T20:06:09.397Z] Step 3/17 : LABEL maintainer="IOTech " [2022-07-29T20:06:09.397Z] ---> Running in 12f7cd257a70 [2022-07-29T20:06:09.672Z] Removing intermediate container 12f7cd257a70 [2022-07-29T20:06:09.672Z] ---> b86547bac80c [2022-07-29T20:06:09.672Z] 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-07-29T20:06:09.672Z] ---> Running in 2a3e3842399f [2022-07-29T20:06:10.654Z] Connecting to iotech.jfrog.io (34.247.231.36:443) [2022-07-29T20:06:11.261Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-29T20:06:11.261Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-29T20:06:11.261Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-29T20:06:11.858Z] Removing intermediate container 2a3e3842399f [2022-07-29T20:06:11.858Z] ---> 0f4bced5b8b9 [2022-07-29T20:06:11.858Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-29T20:06:11.858Z] ---> Running in 508edb5fce16 [2022-07-29T20:06:13.299Z] Removing intermediate container 508edb5fce16 [2022-07-29T20:06:13.299Z] ---> a08b0d63d56e [2022-07-29T20:06:13.299Z] 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-07-29T20:06:13.576Z] ---> Running in 5944247da99d [2022-07-29T20:06:14.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-29T20:06:14.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-29T20:06:15.152Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-29T20:06:15.749Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-29T20:06:15.749Z] (1/28) Upgrading ncurses-terminfo-base (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-07-29T20:06:16.024Z] (2/28) Upgrading ncurses-libs (6.3_p20211120-r0 -> 6.3_p20211120-r1) [2022-07-29T20:06:16.024Z] (3/28) Installing libcbor-dev (0.8.0-r0) [2022-07-29T20:06:16.024Z] (4/28) Installing ncurses-dev (6.3_p20211120-r1) [2022-07-29T20:06:16.024Z] (5/28) Installing util-linux (2.37.4-r0) [2022-07-29T20:06:16.024Z] (6/28) Installing libblkid (2.37.4-r0) [2022-07-29T20:06:16.024Z] (7/28) Installing libeconf (0.4.2-r0) [2022-07-29T20:06:16.024Z] (8/28) Installing libfdisk (2.37.4-r0) [2022-07-29T20:06:16.024Z] (9/28) Installing libmount (2.37.4-r0) [2022-07-29T20:06:16.024Z] (10/28) Installing libsmartcols (2.37.4-r0) [2022-07-29T20:06:16.024Z] (11/28) Installing util-linux-misc (2.37.4-r0) [2022-07-29T20:06:16.024Z] (12/28) Installing linux-pam (1.5.2-r0) [2022-07-29T20:06:16.299Z] (13/28) Installing runuser (2.37.4-r0) [2022-07-29T20:06:16.299Z] (14/28) Installing hexdump (2.37.4-r0) [2022-07-29T20:06:16.299Z] (15/28) Installing uuidgen (2.37.4-r0) [2022-07-29T20:06:16.299Z] (16/28) Installing blkid (2.37.4-r0) [2022-07-29T20:06:16.299Z] (17/28) Installing sfdisk (2.37.4-r0) [2022-07-29T20:06:16.299Z] (18/28) Installing mcookie (2.37.4-r0) [2022-07-29T20:06:16.299Z] (19/28) Installing wipefs (2.37.4-r0) [2022-07-29T20:06:16.299Z] (20/28) Installing cfdisk (2.37.4-r0) [2022-07-29T20:06:16.299Z] (21/28) Installing flock (2.37.4-r0) [2022-07-29T20:06:16.299Z] (22/28) Installing lsblk (2.37.4-r0) [2022-07-29T20:06:16.299Z] (23/28) Installing libcap-ng (0.8.2-r1) [2022-07-29T20:06:16.299Z] (24/28) Installing setpriv (2.37.4-r0) [2022-07-29T20:06:16.299Z] (25/28) Installing logger (2.37.4-r0) [2022-07-29T20:06:16.299Z] (26/28) Installing partx (2.37.4-r0) [2022-07-29T20:06:16.299Z] (27/28) Installing findmnt (2.37.4-r0) [2022-07-29T20:06:16.299Z] (28/28) Installing util-linux-dev (2.37.4-r0) [2022-07-29T20:06:16.299Z] Executing busybox-1.34.1-r5.trigger [2022-07-29T20:06:16.299Z] OK: 290 MiB in 109 packages [2022-07-29T20:06:17.735Z] Removing intermediate container 5944247da99d [2022-07-29T20:06:17.735Z] ---> a0935af14d37 [2022-07-29T20:06:17.735Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-07-29T20:06:18.332Z] ---> 2806708a4e97 [2022-07-29T20:06:18.332Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-07-29T20:06:19.320Z] ---> dbc0b500948a [2022-07-29T20:06:19.320Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-07-29T20:06:19.598Z] ---> 7f82c2b1ec6b [2022-07-29T20:06:19.598Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-07-29T20:06:20.192Z] ---> 08b3edfe2a0b [2022-07-29T20:06:20.192Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-07-29T20:06:20.789Z] ---> 7b30925997c0 [2022-07-29T20:06:20.789Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-07-29T20:06:21.064Z] ---> 051736d86b20 [2022-07-29T20:06:21.064Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-07-29T20:06:21.340Z] ---> Running in f8c34be4c3e4 [2022-07-29T20:06:21.612Z] Removing intermediate container f8c34be4c3e4 [2022-07-29T20:06:21.612Z] ---> b393700ed901 [2022-07-29T20:06:21.612Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-07-29T20:06:21.612Z] ---> Running in 3042ed9654a7 [2022-07-29T20:06:21.889Z] Removing intermediate container 3042ed9654a7 [2022-07-29T20:06:21.889Z] ---> 099dd5f8014b [2022-07-29T20:06:21.890Z] Step 15/17 : LABEL arch=arm64 [2022-07-29T20:06:21.890Z] ---> Running in f666d746876e [2022-07-29T20:06:22.487Z] Removing intermediate container f666d746876e [2022-07-29T20:06:22.487Z] ---> 2705f156eacd [2022-07-29T20:06:22.487Z] Step 16/17 : LABEL git_sha=117e3ae82fbf81e148f12b1fc27328d4e4a70297 [2022-07-29T20:06:22.487Z] ---> Running in bf4a6597e835 [2022-07-29T20:06:22.762Z] Removing intermediate container bf4a6597e835 [2022-07-29T20:06:22.762Z] ---> b8b7f07ddf98 [2022-07-29T20:06:22.762Z] Step 17/17 : LABEL version=2.2.0 [2022-07-29T20:06:22.762Z] ---> Running in 54752af59d25 [2022-07-29T20:06:23.036Z] Removing intermediate container 54752af59d25 [2022-07-29T20:06:23.036Z] ---> 1c7e246bc8f8 [2022-07-29T20:06:23.036Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-07-29T20:06:23.036Z] Successfully built 1c7e246bc8f8 [2022-07-29T20:06:23.036Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T20:06:23.477Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-29T20:06:23.477Z] [2022-07-29T20:06:23.477Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T20:06:23.834Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-29T20:06:24.112Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-29T20:06:24.112Z] 8998bd30e6a1: Pulling fs layer [2022-07-29T20:06:24.112Z] 04944245beec: Pulling fs layer [2022-07-29T20:06:24.112Z] 699f458cf7ca: Pulling fs layer [2022-07-29T20:06:24.112Z] 765212b225bb: Pulling fs layer [2022-07-29T20:06:24.112Z] f23df028b6ca: Pulling fs layer [2022-07-29T20:06:24.112Z] d65c8cfc05b1: Pulling fs layer [2022-07-29T20:06:24.112Z] 2437ff75d9bd: Pulling fs layer [2022-07-29T20:06:24.112Z] f23df028b6ca: Waiting [2022-07-29T20:06:24.112Z] 2437ff75d9bd: Waiting [2022-07-29T20:06:24.112Z] 765212b225bb: Waiting [2022-07-29T20:06:24.112Z] d65c8cfc05b1: Waiting [2022-07-29T20:06:24.112Z] 04944245beec: Verifying Checksum [2022-07-29T20:06:24.112Z] 04944245beec: Download complete [2022-07-29T20:06:24.112Z] 765212b225bb: Download complete [2022-07-29T20:06:24.112Z] f23df028b6ca: Verifying Checksum [2022-07-29T20:06:24.112Z] f23df028b6ca: Download complete [2022-07-29T20:06:24.112Z] d65c8cfc05b1: Verifying Checksum [2022-07-29T20:06:24.112Z] d65c8cfc05b1: Download complete [2022-07-29T20:06:24.391Z] 699f458cf7ca: Verifying Checksum [2022-07-29T20:06:24.391Z] 699f458cf7ca: Download complete [2022-07-29T20:06:24.668Z] 8998bd30e6a1: Verifying Checksum [2022-07-29T20:06:24.668Z] 8998bd30e6a1: Download complete [2022-07-29T20:06:27.292Z] 2437ff75d9bd: Verifying Checksum [2022-07-29T20:06:27.292Z] 2437ff75d9bd: Download complete [2022-07-29T20:06:29.271Z] 8998bd30e6a1: Pull complete [2022-07-29T20:06:29.547Z] 04944245beec: Pull complete [2022-07-29T20:06:30.988Z] 699f458cf7ca: Pull complete [2022-07-29T20:06:31.261Z] 765212b225bb: Pull complete [2022-07-29T20:06:32.242Z] f23df028b6ca: Pull complete [2022-07-29T20:06:32.242Z] d65c8cfc05b1: Pull complete [2022-07-29T20:06:50.695Z] 2437ff75d9bd: Pull complete [2022-07-29T20:06:50.695Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-29T20:06:50.695Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-29T20:06:50.695Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-29T20:06:50.959Z] prd-ubuntu20.04-docker-arm64-4c-16g-21513 does not seem to be running inside a container [2022-07-29T20:06:51.053Z] $ 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/31 -v /w/workspace/device-sdk-c/31:/w/workspace/device-sdk-c/31:rw,z -v /w/workspace/device-sdk-c/31@tmp:/w/workspace/device-sdk-c/31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-29T20:06:53.430Z] $ docker top 12b651a30d4618b3b5e8c1b2efa77326c1bcdf3fed976481927526f1489a7eb1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-29T20:06:54.351Z] ---> job-cost.sh [2022-07-29T20:06:54.351Z] lf-activate-venv: SKIPPING [2022-07-29T20:06:54.351Z] INFO: No Stack... [2022-07-29T20:06:54.624Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-29T20:06:55.598Z] INFO: Archiving Costs [Pipeline] sh [2022-07-29T20:06:56.254Z] + cut -d, -f6 [2022-07-29T20:06:56.254Z] + cat /w/workspace/device-sdk-c/31/archives/cost.csv [Pipeline] lock [2022-07-29T20:06:56.312Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-31-stack-cost] [2022-07-29T20:06:56.318Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-31-stack-cost] did not exist. Created. [2022-07-29T20:06:56.318Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-29T20:06:57.003Z] /w/workspace/device-sdk-c/31@tmp/durable-0e850c07/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-29T20:06:57.676Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-29T20:06:57.705Z] Warning: overwriting stash ‘stack-cost’ [2022-07-29T20:06:58.171Z] Stashed 1 file(s) [Pipeline] } [2022-07-29T20:06:58.178Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-31-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-29T20:06:58.206Z] $ docker stop --time=1 12b651a30d4618b3b5e8c1b2efa77326c1bcdf3fed976481927526f1489a7eb1 [2022-07-29T20:06:59.694Z] $ docker rm -f 12b651a30d4618b3b5e8c1b2efa77326c1bcdf3fed976481927526f1489a7eb1 [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-07-29T20:07:00.391Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-29T20:07:00.392Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T20:07:00.697Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-29T20:07:00.697Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-29T20:07:00.785Z] prd-ubuntu20.04-docker-8c-8g-21512 does not seem to be running inside a container [2022-07-29T20:07:00.826Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-29T20:07:01.151Z] $ docker top 408d597bf409763b1286d8cedd01f2241c9951c6ea80d51d425b57f87ea46362 -eo pid,comm [2022-07-29T20:07:01.202Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-29T20:07:01.202Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-29T20:07:01.232Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.13' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-29T20:07:01.525Z] + git semver [Pipeline] } [2022-07-29T20:07:01.807Z] $ docker stop --time=1 408d597bf409763b1286d8cedd01f2241c9951c6ea80d51d425b57f87ea46362 [2022-07-29T20:07:03.164Z] $ docker rm -f 408d597bf409763b1286d8cedd01f2241c9951c6ea80d51d425b57f87ea46362 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T20:07:03.564Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-29T20:07:03.564Z] [2022-07-29T20:07:03.564Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T20:07:03.876Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-29T20:07:03.876Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-07-29T20:07:03.876Z] ab5ef0e58194: Pulling fs layer [2022-07-29T20:07:03.876Z] 9712f1f96733: Pulling fs layer [2022-07-29T20:07:03.876Z] 63f879dbbcfc: Pulling fs layer [2022-07-29T20:07:03.876Z] 0d9ebad4ef96: Pulling fs layer [2022-07-29T20:07:03.876Z] e9a5061849ea: Pulling fs layer [2022-07-29T20:07:03.876Z] d747dcd14b5f: Pulling fs layer [2022-07-29T20:07:03.876Z] 2de7ff778b66: Pulling fs layer [2022-07-29T20:07:03.876Z] 0d9ebad4ef96: Waiting [2022-07-29T20:07:03.876Z] e9a5061849ea: Waiting [2022-07-29T20:07:03.876Z] d747dcd14b5f: Waiting [2022-07-29T20:07:03.876Z] 2de7ff778b66: Waiting [2022-07-29T20:07:03.876Z] 9712f1f96733: Verifying Checksum [2022-07-29T20:07:03.876Z] 9712f1f96733: Download complete [2022-07-29T20:07:04.454Z] 63f879dbbcfc: Download complete [2022-07-29T20:07:04.454Z] e9a5061849ea: Verifying Checksum [2022-07-29T20:07:04.454Z] e9a5061849ea: Download complete [2022-07-29T20:07:04.454Z] d747dcd14b5f: Download complete [2022-07-29T20:07:04.454Z] 0d9ebad4ef96: Verifying Checksum [2022-07-29T20:07:04.454Z] 0d9ebad4ef96: Download complete [2022-07-29T20:07:04.454Z] 2de7ff778b66: Verifying Checksum [2022-07-29T20:07:04.454Z] 2de7ff778b66: Download complete [2022-07-29T20:07:04.713Z] ab5ef0e58194: Verifying Checksum [2022-07-29T20:07:04.713Z] ab5ef0e58194: Download complete [2022-07-29T20:07:07.252Z] ab5ef0e58194: Pull complete [2022-07-29T20:07:07.252Z] 9712f1f96733: Pull complete [2022-07-29T20:07:07.820Z] 63f879dbbcfc: Pull complete [2022-07-29T20:07:12.016Z] 0d9ebad4ef96: Pull complete [2022-07-29T20:07:12.016Z] e9a5061849ea: Pull complete [2022-07-29T20:07:12.016Z] d747dcd14b5f: Pull complete [2022-07-29T20:07:12.584Z] 2de7ff778b66: Pull complete [2022-07-29T20:07:12.584Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-07-29T20:07:12.584Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-29T20:07:12.584Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-29T20:07:12.669Z] prd-ubuntu20.04-docker-8c-8g-21512 does not seem to be running inside a container [2022-07-29T20:07:12.712Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-07-29T20:07:15.681Z] $ docker top 9b13110e5052a0160efd4c482e0fc8d89ca6bfea5464d841ad4c224144fe1821 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-07-29T20:07:15.749Z] provisioning config files... [2022-07-29T20:07:15.759Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config3121961115231380266tmp [2022-07-29T20:07:15.770Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8063560145339791047tmp [2022-07-29T20:07:15.779Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config3489511537912041586tmp [Pipeline] { [Pipeline] echo [2022-07-29T20:07:15.793Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-29T20:07:16.077Z] ---> sigul-configuration.sh [2022-07-29T20:07:16.077Z] gpg: directory `/root/.gnupg' created [2022-07-29T20:07:16.077Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-07-29T20:07:16.077Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-07-29T20:07:16.077Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-07-29T20:07:16.077Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-07-29T20:07:16.077Z] gpg: CAST5 encrypted data [2022-07-29T20:07:16.077Z] gpg: encrypted with 1 passphrase [2022-07-29T20:07:16.077Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-07-29T20:07:16.363Z] + mkdir /home/jenkins [2022-07-29T20:07:16.363Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-07-29T20:07:16.652Z] + 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-07-29T20:07:16.659Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-29T20:07:16.945Z] ---> sigul-install.sh [2022-07-29T20:07:16.945Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-07-29T20:07:17.234Z] + git tag --list [2022-07-29T20:07:17.234Z] 0.7.0 [2022-07-29T20:07:17.234Z] 0.7.1 [2022-07-29T20:07:17.234Z] 1.0.0 [2022-07-29T20:07:17.234Z] v1.0.1 [2022-07-29T20:07:17.234Z] v1.0.2 [2022-07-29T20:07:17.234Z] v1.0.3 [2022-07-29T20:07:17.234Z] v1.1.0 [2022-07-29T20:07:17.234Z] v1.1.1 [2022-07-29T20:07:17.234Z] v1.2.0 [2022-07-29T20:07:17.234Z] v1.2.1 [2022-07-29T20:07:17.234Z] v1.2.2 [2022-07-29T20:07:17.234Z] v1.3.0 [2022-07-29T20:07:17.234Z] v1.3.1 [2022-07-29T20:07:17.234Z] v2.0.0 [2022-07-29T20:07:17.234Z] v2.1.0 [2022-07-29T20:07:17.234Z] v2.2.0 [2022-07-29T20:07:17.234Z] v2.2.0-dev.1 [2022-07-29T20:07:17.234Z] v2.2.0-dev.10 [2022-07-29T20:07:17.234Z] v2.2.0-dev.11 [2022-07-29T20:07:17.234Z] v2.2.0-dev.12 [2022-07-29T20:07:17.234Z] v2.2.0-dev.13 [2022-07-29T20:07:17.234Z] v2.2.0-dev.2 [2022-07-29T20:07:17.234Z] v2.2.0-dev.3 [2022-07-29T20:07:17.234Z] v2.2.0-dev.4 [2022-07-29T20:07:17.234Z] v2.2.0-dev.5 [2022-07-29T20:07:17.234Z] v2.2.0-dev.6 [2022-07-29T20:07:17.234Z] v2.2.0-dev.7 [2022-07-29T20:07:17.234Z] v2.2.0-dev.8 [2022-07-29T20:07:17.234Z] v2.2.0-dev.9 [Pipeline] sh [2022-07-29T20:07:17.524Z] + lftools sign git-tag v2.2.0 [2022-07-29T20:07:18.093Z] Signing Git tag with Sigul... [2022-07-29T20:07:18.093Z] Signing v2.2.0 [Pipeline] echo [2022-07-29T20:07:18.362Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-29T20:07:18.647Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-07-29T20:07:18.655Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-07-29T20:07:18.677Z] $ docker stop --time=1 9b13110e5052a0160efd4c482e0fc8d89ca6bfea5464d841ad4c224144fe1821 [2022-07-29T20:07:19.947Z] $ docker rm -f 9b13110e5052a0160efd4c482e0fc8d89ca6bfea5464d841ad4c224144fe1821 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-07-29T20:07:20.325Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-29T20:07:20.325Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T20:07:20.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-29T20:07:20.632Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-29T20:07:20.705Z] prd-ubuntu20.04-docker-8c-8g-21512 does not seem to be running inside a container [2022-07-29T20:07:20.745Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-29T20:07:21.112Z] $ docker top 50d2605d17b49bb7d27284770bde5509ba497013badaa75f823a437c444fdd46 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-29T20:07:21.190Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.13' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-29T20:07:21.476Z] + git semver [Pipeline] } [2022-07-29T20:07:21.757Z] $ docker stop --time=1 50d2605d17b49bb7d27284770bde5509ba497013badaa75f823a437c444fdd46 [2022-07-29T20:07:23.000Z] $ docker rm -f 50d2605d17b49bb7d27284770bde5509ba497013badaa75f823a437c444fdd46 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-29T20:07:23.350Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-29T20:07:23.350Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T20:07:23.650Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-29T20:07:23.650Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-29T20:07:23.727Z] prd-ubuntu20.04-docker-8c-8g-21512 does not seem to be running inside a container [2022-07-29T20:07:23.766Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-29T20:07:24.104Z] $ docker top 6c60282f333472d87646dfcfab6d7b97fecfadbeb6a85c71d8a1405eb9d733c8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-29T20:07:24.189Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.13' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-29T20:07:24.483Z] + git semver [Pipeline] } [2022-07-29T20:07:24.765Z] $ docker stop --time=1 6c60282f333472d87646dfcfab6d7b97fecfadbeb6a85c71d8a1405eb9d733c8 [2022-07-29T20:07:26.038Z] $ docker rm -f 6c60282f333472d87646dfcfab6d7b97fecfadbeb6a85c71d8a1405eb9d733c8 [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-07-29T20:07:26.576Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2022-07-29T20:07:26.577Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-07-29T20:07:26.577Z] total 16 [2022-07-29T20:07:26.577Z] drwxr-xr-x 3 root root 4096 Jul 29 20:02 . [2022-07-29T20:07:26.577Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 29 20:07 .. [2022-07-29T20:07:26.577Z] drwxr-xr-x 2 root root 4096 Jul 29 20:02 cost [2022-07-29T20:07:26.577Z] -rw-r--r-- 1 root root 83 Jul 29 20:02 cost.csv [2022-07-29T20:07:26.577Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-07-29T20:07:26.577Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2022-07-29T20:07:26.577Z] total 16 [2022-07-29T20:07:26.577Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 29 20:02 . [2022-07-29T20:07:26.577Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 29 20:07 .. [2022-07-29T20:07:26.577Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 29 20:02 cost [2022-07-29T20:07:26.577Z] -rw-r--r-- 1 jenkins jenkins 83 Jul 29 20:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-29T20:07:26.872Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-29T20:07:27.740Z] ---> package-listing.sh [2022-07-29T20:07:27.741Z] ++ facter osfamily [2022-07-29T20:07:27.741Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-29T20:07:28.000Z] + OS_FAMILY=debian [2022-07-29T20:07:28.000Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2022-07-29T20:07:28.000Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-29T20:07:28.000Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-29T20:07:28.000Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-29T20:07:28.000Z] + PACKAGES=/tmp/packages_start.txt [2022-07-29T20:07:28.000Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2022-07-29T20:07:28.000Z] + PACKAGES=/tmp/packages_end.txt [2022-07-29T20:07:28.000Z] + case "${OS_FAMILY}" in [2022-07-29T20:07:28.000Z] + dpkg -l [2022-07-29T20:07:28.000Z] + grep '^ii' [2022-07-29T20:07:28.000Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-29T20:07:28.000Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-29T20:07:28.000Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-29T20:07:28.000Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2022-07-29T20:07:28.001Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2022-07-29T20:07:28.001Z] + 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-07-29T20:07:28.014Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-29T20:07:28.294Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-29T20:07:28.861Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-29T20:07:28.861Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-29T20:07:28.945Z] prd-ubuntu20.04-docker-8c-8g-21512 does not seem to be running inside a container [2022-07-29T20:07:28.991Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-29T20:07:29.195Z] $ docker top 4ff8ec56630a1b7ddf38a003032843d445edbbd8e72926bc45002e901d9caab4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-29T20:07:29.549Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-29T20:07:29.839Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-29T20:07:30.129Z] + ls /var/log/sa-host [2022-07-29T20:07:30.129Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-29T20:07:30.257Z] provisioning config files... [2022-07-29T20:07:30.267Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config3353513932009555777tmp [Pipeline] { [Pipeline] echo [2022-07-29T20:07:30.281Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-29T20:07:30.565Z] ---> create-netrc.sh [Pipeline] } [2022-07-29T20:07:30.574Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-29T20:07:30.918Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-29T20:07:30.929Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-29T20:07:31.220Z] ---> sudo-logs.sh [2022-07-29T20:07:31.220Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-29T20:07:31.243Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-29T20:07:31.533Z] ---> job-cost.sh [2022-07-29T20:07:31.533Z] lf-activate-venv: SKIPPING [2022-07-29T20:07:31.533Z] DEBUG: total: 0.2199999988079071 [2022-07-29T20:07:31.533Z] INFO: Retrieving Stack Cost... [2022-07-29T20:07:32.105Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-29T20:07:32.366Z] INFO: Archiving Costs [Pipeline] echo [2022-07-29T20:07:32.379Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-29T20:07:32.667Z] ---> logs-deploy.sh [2022-07-29T20:07:32.668Z] lf-activate-venv: SKIPPING [2022-07-29T20:07:32.668Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/31 [2022-07-29T20:07:32.668Z] INFO: archiving workspace using pattern(s): [2022-07-29T20:07:33.613Z] Archives upload complete. [2022-07-29T20:07:33.613Z] INFO: archiving logs to Nexus