Started by user Ernesto Ojeda Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 231b0f45a0f0bdca47eb1a2d28df8efff7262145+1086c909c01125341e32c6ebb8870b6cabe987d5 (01709d1676f86d183230193864ef386353936bcf) 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-ssh12793072038648221661.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh10433560233029187597.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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/PR-425/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/PR-425/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13972004848478706149.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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-ssh9856111678748693378.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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/PR-425/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/PR-425/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14037146985408525948.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 ‘prd-centos7-blackbox-4c-2g-17291’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-17292’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-19571’ is offline ‘prd-ubuntu20.04-docker-8c-8g-19580’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-19573’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-19574’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-19581 in /w/workspace/edgexfoundry_device-sdk-c_PR-425 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-425 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1086c909c01125341e32c6ebb8870b6cabe987d5 into PR head commit 231b0f45a0f0bdca47eb1a2d28df8efff7262145 Merge succeeded, producing 231b0f45a0f0bdca47eb1a2d28df8efff7262145 Checking out Revision 231b0f45a0f0bdca47eb1a2d28df8efff7262145 (PR-425) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/425/head:refs/remotes/origin/PR-425 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 231b0f45a0f0bdca47eb1a2d28df8efff7262145 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1086c909c01125341e32c6ebb8870b6cabe987d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 231b0f45a0f0bdca47eb1a2d28df8efff7262145 # timeout=10 Commit message: "fix: profile information was being purged on certain device updates (#424)" > git rev-list --no-walk 231b0f45a0f0bdca47eb1a2d28df8efff7262145 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-12T16:14:46.820Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-12T16:14:46.881Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-12T16:14:46.896Z] ========================================================= [2022-07-12T16:14:46.896Z] EdgeX Global Pipelines Version Info [2022-07-12T16:14:46.896Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:14:47.675Z] ------------------- [2022-07-12T16:14:47.675Z] stable info: [2022-07-12T16:14:47.675Z] ------------------- [2022-07-12T16:14:47.675Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-12T16:14:47.675Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T16:14:47.675Z] Message: update stable to v1.0.237 [2022-07-12T16:14:48.248Z] ------------------- [2022-07-12T16:14:48.248Z] experimental info: [2022-07-12T16:14:48.248Z] ------------------- [2022-07-12T16:14:48.248Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-12T16:14:48.248Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T16:14:48.248Z] Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-12T16:14:48.440Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2022-07-12T16:14:48.450Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2022-07-12T16:14:48.464Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-12T16:14:48.481Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-12T16:14:48.491Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-12T16:14:48.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2022-07-12T16:14:48.510Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2022-07-12T16:14:48.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-12T16:14:48.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-12T16:14:48.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2022-07-12T16:14:48.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-12T16:14:48.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-12T16:14:48.583Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T16:14:48.599Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T16:14:48.615Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-12T16:14:48.625Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-12T16:14:48.636Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-12T16:14:48.644Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-425 [Pipeline] echo [2022-07-12T16:14:48.656Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-425 [Pipeline] echo [2022-07-12T16:14:48.669Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-425 [Pipeline] echo [2022-07-12T16:14:48.682Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 231b0f45a0f0bdca47eb1a2d28df8efff7262145 [Pipeline] echo [2022-07-12T16:14:48.697Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 231b0f4 [Pipeline] echo [2022-07-12T16:14:48.708Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T16:14:48.749Z] provisioning config files... [2022-07-12T16:14:48.763Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp/config8465942803492198281tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:14:49.072Z] ---> docker-login.sh [2022-07-12T16:14:49.072Z] nexus3.edgexfoundry.org:10001 [2022-07-12T16:14:49.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:14:49.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:14:49.332Z] Configure a credential helper to remove this warning. See [2022-07-12T16:14:49.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:14:49.332Z] [2022-07-12T16:14:49.332Z] Login Succeeded [2022-07-12T16:14:49.332Z] nexus3.edgexfoundry.org:10002 [2022-07-12T16:14:49.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:14:49.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:14:49.593Z] Configure a credential helper to remove this warning. See [2022-07-12T16:14:49.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:14:49.593Z] [2022-07-12T16:14:49.593Z] Login Succeeded [2022-07-12T16:14:49.593Z] nexus3.edgexfoundry.org:10003 [2022-07-12T16:14:49.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:14:49.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:14:49.593Z] Configure a credential helper to remove this warning. See [2022-07-12T16:14:49.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:14:49.593Z] [2022-07-12T16:14:49.593Z] Login Succeeded [2022-07-12T16:14:49.593Z] nexus3.edgexfoundry.org:10004 [2022-07-12T16:14:49.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:14:49.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:14:49.854Z] Configure a credential helper to remove this warning. See [2022-07-12T16:14:49.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:14:49.854Z] [2022-07-12T16:14:49.854Z] Login Succeeded [2022-07-12T16:14:49.854Z] docker.io [2022-07-12T16:14:49.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:14:50.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:14:50.424Z] Configure a credential helper to remove this warning. See [2022-07-12T16:14:50.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:14:50.424Z] [2022-07-12T16:14:50.424Z] Login Succeeded [2022-07-12T16:14:50.424Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T16:14:50.432Z] 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-12T16:14:50.804Z] + git rev-list -1 --merges 231b0f45a0f0bdca47eb1a2d28df8efff7262145~1..231b0f45a0f0bdca47eb1a2d28df8efff7262145 [Pipeline] echo [2022-07-12T16:14:50.839Z] -----------> git rev-list -1 --merges 231b0f45a0f0bdca47eb1a2d28df8efff7262145~1..231b0f45a0f0bdca47eb1a2d28df8efff7262145 231b0f45a0f0bdca47eb1a2d28df8efff7262145 [false] [Pipeline] sh [2022-07-12T16:14:51.181Z] + git log --format=format:%s -1 231b0f45a0f0bdca47eb1a2d28df8efff7262145 [Pipeline] echo [2022-07-12T16:14:51.195Z] ========================================================= [2022-07-12T16:14:51.196Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-12T16:14:51.196Z] ========================================================= 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-12T16:14:51.572Z] + git rev-list -1 --merges 231b0f45a0f0bdca47eb1a2d28df8efff7262145~1..231b0f45a0f0bdca47eb1a2d28df8efff7262145 [Pipeline] echo [2022-07-12T16:14:51.583Z] -----------> git rev-list -1 --merges 231b0f45a0f0bdca47eb1a2d28df8efff7262145~1..231b0f45a0f0bdca47eb1a2d28df8efff7262145 231b0f45a0f0bdca47eb1a2d28df8efff7262145 [false] [Pipeline] sh [2022-07-12T16:14:51.866Z] + git log --format=format:%s -1 231b0f45a0f0bdca47eb1a2d28df8efff7262145 [Pipeline] echo [2022-07-12T16:14:51.880Z] ========================================================= [2022-07-12T16:14:51.881Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-12T16:14:51.881Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2022-07-12T16:14:52.255Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T16:14:52.255Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-12T16:14:52.255Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-12T16:14:52.255Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-12T16:14:52.255Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-12T16:14:52.255Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-12T16:14:52.255Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T16:14:52.602Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T16:14:52.602Z] [2022-07-12T16:14:52.602Z] 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-12T16:14:52.905Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T16:14:52.906Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-12T16:14:52.906Z] b85a868b505f: Pulling fs layer [2022-07-12T16:14:52.906Z] e2be974225ed: Pulling fs layer [2022-07-12T16:14:52.906Z] 339a4e72a1f5: Pulling fs layer [2022-07-12T16:14:52.906Z] 988bab9f4d93: Pulling fs layer [2022-07-12T16:14:52.906Z] 1469e6f7b9e6: Pulling fs layer [2022-07-12T16:14:52.906Z] eaf3925da568: Pulling fs layer [2022-07-12T16:14:52.906Z] bab4dde63d76: Pulling fs layer [2022-07-12T16:14:52.906Z] bde34c3a00c8: Pulling fs layer [2022-07-12T16:14:52.906Z] b352a97aabf1: Pulling fs layer [2022-07-12T16:14:52.906Z] 4872d77fe225: Pulling fs layer [2022-07-12T16:14:52.906Z] 5851b861e8e6: Pulling fs layer [2022-07-12T16:14:52.906Z] bab4dde63d76: Waiting [2022-07-12T16:14:52.906Z] bde34c3a00c8: Waiting [2022-07-12T16:14:52.906Z] b352a97aabf1: Waiting [2022-07-12T16:14:52.906Z] 4872d77fe225: Waiting [2022-07-12T16:14:52.906Z] 5851b861e8e6: Waiting [2022-07-12T16:14:52.906Z] 1469e6f7b9e6: Waiting [2022-07-12T16:14:52.906Z] 988bab9f4d93: Waiting [2022-07-12T16:14:52.906Z] eaf3925da568: Waiting [2022-07-12T16:14:52.906Z] e2be974225ed: Download complete [2022-07-12T16:14:52.906Z] 988bab9f4d93: Verifying Checksum [2022-07-12T16:14:52.906Z] 988bab9f4d93: Download complete [2022-07-12T16:14:52.906Z] 1469e6f7b9e6: Verifying Checksum [2022-07-12T16:14:52.906Z] 1469e6f7b9e6: Download complete [2022-07-12T16:14:53.166Z] 339a4e72a1f5: Verifying Checksum [2022-07-12T16:14:53.166Z] 339a4e72a1f5: Download complete [2022-07-12T16:14:53.166Z] eaf3925da568: Verifying Checksum [2022-07-12T16:14:53.166Z] eaf3925da568: Download complete [2022-07-12T16:14:53.166Z] bde34c3a00c8: Verifying Checksum [2022-07-12T16:14:53.166Z] b352a97aabf1: Download complete [2022-07-12T16:14:53.166Z] 5851b861e8e6: Verifying Checksum [2022-07-12T16:14:53.166Z] 5851b861e8e6: Download complete [2022-07-12T16:14:53.166Z] b85a868b505f: Download complete [2022-07-12T16:14:53.425Z] bab4dde63d76: Verifying Checksum [2022-07-12T16:14:53.425Z] bab4dde63d76: Download complete [2022-07-12T16:14:54.811Z] b85a868b505f: Pull complete [2022-07-12T16:14:54.811Z] e2be974225ed: Pull complete [2022-07-12T16:14:55.072Z] 339a4e72a1f5: Pull complete [2022-07-12T16:14:55.334Z] 988bab9f4d93: Pull complete [2022-07-12T16:14:55.596Z] 1469e6f7b9e6: Pull complete [2022-07-12T16:14:55.596Z] eaf3925da568: Pull complete [2022-07-12T16:14:57.511Z] bab4dde63d76: Pull complete [2022-07-12T16:14:57.511Z] bde34c3a00c8: Pull complete [2022-07-12T16:14:57.773Z] b352a97aabf1: Pull complete [2022-07-12T16:14:57.773Z] 4872d77fe225: Pull complete [2022-07-12T16:14:58.044Z] 5851b861e8e6: Pull complete [2022-07-12T16:14:58.044Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-12T16:14:58.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T16:14:58.044Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T16:14:58.151Z] prd-ubuntu20.04-docker-8c-8g-19581 does not seem to be running inside a container [2022-07-12T16:14:58.199Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-425 -v /w/workspace/edgexfoundry_device-sdk-c_PR-425:/w/workspace/edgexfoundry_device-sdk-c_PR-425:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T16:14:59.713Z] $ docker top 904f0f2158c08f02e3b065ce91ba3945c7224ebaefaad3f0b8cf238f496f5ae2 -eo pid,comm [2022-07-12T16:14:59.776Z] 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-12T16:14:59.776Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T16:14:59.806Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T16:14:59.806Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T16:14:59.937Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T16:14:59.943Z] $ docker exec 904f0f2158c08f02e3b065ce91ba3945c7224ebaefaad3f0b8cf238f496f5ae2 ssh-agent [2022-07-12T16:15:00.081Z] SSH_AUTH_SOCK=/tmp/ssh-Q2ZLzoGXqeXk/agent.33 [2022-07-12T16:15:00.081Z] SSH_AGENT_PID=40 [2022-07-12T16:15:00.088Z] Running ssh-add (command line suppressed) [2022-07-12T16:15:00.216Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp/private_key_1123739200269648884.key (/w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp/private_key_1123739200269648884.key) [2022-07-12T16:15:00.228Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T16:15:00.522Z] + git tag --points-at HEAD [Pipeline] } [2022-07-12T16:15:00.540Z] $ docker exec --env ******** --env ******** 904f0f2158c08f02e3b065ce91ba3945c7224ebaefaad3f0b8cf238f496f5ae2 ssh-agent -k [2022-07-12T16:15:00.656Z] unset SSH_AUTH_SOCK; [2022-07-12T16:15:00.656Z] unset SSH_AGENT_PID; [2022-07-12T16:15:00.656Z] echo Agent pid 40 killed; [2022-07-12T16:15:00.666Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-12T16:15:00.685Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T16:15:00.685Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T16:15:00.817Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T16:15:00.823Z] $ docker exec 904f0f2158c08f02e3b065ce91ba3945c7224ebaefaad3f0b8cf238f496f5ae2 ssh-agent [2022-07-12T16:15:00.950Z] SSH_AUTH_SOCK=/tmp/ssh-EA7PrYfMxJEE/agent.74 [2022-07-12T16:15:00.950Z] SSH_AGENT_PID=80 [2022-07-12T16:15:00.956Z] Running ssh-add (command line suppressed) [2022-07-12T16:15:01.083Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp/private_key_2412718247039282788.key (/w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp/private_key_2412718247039282788.key) [2022-07-12T16:15:01.098Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T16:15:01.391Z] + git semver init [2022-07-12T16:15:01.651Z] 2022-07-12 16:15:01,618 [run_init] DEBUG init version:0.0.0 force:False [2022-07-12T16:15:01.651Z] 2022-07-12 16:15:01,619 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-425/.semver [2022-07-12T16:15:01.651Z] 2022-07-12 16:15:01,620 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-425/.semver [2022-07-12T16:15:01.651Z] 2022-07-12 16:15:01,620 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-425/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-425, universal_newlines=False, shell=None, istream=None) [2022-07-12T16:15:02.594Z] 2022-07-12 16:15:02,458 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-425/.git/info/exclude [2022-07-12T16:15:02.594Z] 2022-07-12 16:15:02,458 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-425/.semver/PR-425 with force:False [2022-07-12T16:15:02.594Z] 2022-07-12 16:15:02,458 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-425/.semver/PR-425 [2022-07-12T16:15:02.594Z] 2022-07-12 16:15:02,463 [execute] INFO git cat-file --batch-check [2022-07-12T16:15:02.594Z] 2022-07-12 16:15:02,463 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-425/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T16:15:02.594Z] 2022-07-12 16:15:02,470 [execute] INFO git cat-file --batch [2022-07-12T16:15:02.594Z] 2022-07-12 16:15:02,470 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-425/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T16:15:02.594Z] 2022-07-12 16:15:02,474 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-425/.semver/PR-425 [2022-07-12T16:15:02.594Z] 0.0.0 [Pipeline] } [2022-07-12T16:15:02.609Z] $ docker exec --env ******** --env ******** 904f0f2158c08f02e3b065ce91ba3945c7224ebaefaad3f0b8cf238f496f5ae2 ssh-agent -k [2022-07-12T16:15:02.735Z] unset SSH_AUTH_SOCK; [2022-07-12T16:15:02.735Z] unset SSH_AGENT_PID; [2022-07-12T16:15:02.735Z] echo Agent pid 80 killed; [2022-07-12T16:15:02.745Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T16:15:03.055Z] + git semver [Pipeline] } [2022-07-12T16:15:03.335Z] $ docker stop --time=1 904f0f2158c08f02e3b065ce91ba3945c7224ebaefaad3f0b8cf238f496f5ae2 [2022-07-12T16:15:04.662Z] $ docker rm -f 904f0f2158c08f02e3b065ce91ba3945c7224ebaefaad3f0b8cf238f496f5ae2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T16:15:05.023Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-12T16:15:05.260Z] Stashed 1 file(s) [Pipeline] echo [2022-07-12T16:15:05.263Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T16:15:05.390Z] provisioning config files... [2022-07-12T16:15:05.401Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp/config6485371345037571025tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:15:05.701Z] ---> docker-login.sh [2022-07-12T16:15:05.701Z] nexus3.edgexfoundry.org:10001 [2022-07-12T16:15:05.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:15:05.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:15:05.701Z] Configure a credential helper to remove this warning. See [2022-07-12T16:15:05.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:15:05.701Z] [2022-07-12T16:15:05.701Z] Login Succeeded [2022-07-12T16:15:05.701Z] nexus3.edgexfoundry.org:10002 [2022-07-12T16:15:05.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:15:05.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:15:05.962Z] Configure a credential helper to remove this warning. See [2022-07-12T16:15:05.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:15:05.963Z] [2022-07-12T16:15:05.963Z] Login Succeeded [2022-07-12T16:15:05.963Z] nexus3.edgexfoundry.org:10003 [2022-07-12T16:15:05.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:15:05.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:15:05.963Z] Configure a credential helper to remove this warning. See [2022-07-12T16:15:05.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:15:05.963Z] [2022-07-12T16:15:05.963Z] Login Succeeded [2022-07-12T16:15:05.963Z] nexus3.edgexfoundry.org:10004 [2022-07-12T16:15:05.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:15:06.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:15:06.222Z] Configure a credential helper to remove this warning. See [2022-07-12T16:15:06.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:15:06.222Z] [2022-07-12T16:15:06.222Z] Login Succeeded [2022-07-12T16:15:06.222Z] docker.io [2022-07-12T16:15:06.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:15:06.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:15:06.482Z] Configure a credential helper to remove this warning. See [2022-07-12T16:15:06.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:15:06.482Z] [2022-07-12T16:15:06.482Z] Login Succeeded [2022-07-12T16:15:06.482Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T16:15:06.490Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T16:15:06.552Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T16:15:06.563Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2022-07-12T16:15:06.571Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T16:15:06.579Z] ========================================================= [2022-07-12T16:15:06.579Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2022-07-12T16:15:06.579Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T16:15:06.880Z] + 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-12T16:15:06.880Z] Sending build context to Docker daemon 4.601MB [2022-07-12T16:15:06.880Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-07-12T16:15:06.880Z] Step 2/22 : FROM ${BASE} as builder [2022-07-12T16:15:06.880Z] latest: Pulling from edgex-devops/edgex-gcc-base [2022-07-12T16:15:06.880Z] df9b9388f04a: Pulling fs layer [2022-07-12T16:15:06.880Z] 62381f5d8449: Pulling fs layer [2022-07-12T16:15:07.140Z] df9b9388f04a: Verifying Checksum [2022-07-12T16:15:07.140Z] df9b9388f04a: Download complete [2022-07-12T16:15:07.140Z] df9b9388f04a: Pull complete [2022-07-12T16:15:07.708Z] 62381f5d8449: Verifying Checksum [2022-07-12T16:15:07.708Z] 62381f5d8449: Download complete [2022-07-12T16:15:11.008Z] 62381f5d8449: Pull complete [2022-07-12T16:15:11.008Z] Digest: sha256:1dc51ee6678f53bb3891c65c2ca5ccd72630339357978017b6e7ab3884123c19 [2022-07-12T16:15:11.008Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2022-07-12T16:15:11.008Z] ---> 547c565c9e89 [2022-07-12T16:15:11.008Z] 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-12T16:15:11.267Z] ---> Running in 176edc0fcd6d [2022-07-12T16:15:11.837Z] Connecting to iotech.jfrog.io (52.209.90.94:443) [2022-07-12T16:15:12.098Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-12T16:15:12.098Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-12T16:15:12.098Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-12T16:15:12.358Z] Removing intermediate container 176edc0fcd6d [2022-07-12T16:15:12.358Z] ---> c75b1f0fa2c7 [2022-07-12T16:15:12.358Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-12T16:15:12.358Z] ---> Running in 0124338c669d [2022-07-12T16:15:13.300Z] Removing intermediate container 0124338c669d [2022-07-12T16:15:13.300Z] ---> fd561d85733a [2022-07-12T16:15:13.300Z] 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-12T16:15:13.300Z] ---> Running in 0ac788463c73 [2022-07-12T16:15:13.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-12T16:15:13.561Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-12T16:15:13.561Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-12T16:15:14.134Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-12T16:15:14.134Z] (1/31) Installing hiredis (1.0.2-r0) [2022-07-12T16:15:14.134Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-07-12T16:15:14.134Z] (3/31) Installing libcbor (0.8.0-r0) [2022-07-12T16:15:14.134Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-07-12T16:15:14.134Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-07-12T16:15:14.134Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-07-12T16:15:15.076Z] (7/31) Installing util-linux (2.37.4-r0) [2022-07-12T16:15:15.076Z] (8/31) Installing libblkid (2.37.4-r0) [2022-07-12T16:15:15.076Z] (9/31) Installing libeconf (0.4.2-r0) [2022-07-12T16:15:15.076Z] (10/31) Installing libuuid (2.37.4-r0) [2022-07-12T16:15:15.076Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-07-12T16:15:15.076Z] (12/31) Installing libmount (2.37.4-r0) [2022-07-12T16:15:15.076Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-07-12T16:15:15.076Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-07-12T16:15:15.076Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-07-12T16:15:15.076Z] (16/31) Installing runuser (2.37.4-r0) [2022-07-12T16:15:15.076Z] (17/31) Installing hexdump (2.37.4-r0) [2022-07-12T16:15:15.076Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-07-12T16:15:15.076Z] (19/31) Installing blkid (2.37.4-r0) [2022-07-12T16:15:15.076Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-07-12T16:15:15.076Z] (21/31) Installing mcookie (2.37.4-r0) [2022-07-12T16:15:15.076Z] (22/31) Installing wipefs (2.37.4-r0) [2022-07-12T16:15:15.076Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-07-12T16:15:15.076Z] (24/31) Installing flock (2.37.4-r0) [2022-07-12T16:15:15.076Z] (25/31) Installing lsblk (2.37.4-r0) [2022-07-12T16:15:15.076Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-07-12T16:15:15.076Z] (27/31) Installing setpriv (2.37.4-r0) [2022-07-12T16:15:15.076Z] (28/31) Installing logger (2.37.4-r0) [2022-07-12T16:15:15.076Z] (29/31) Installing partx (2.37.4-r0) [2022-07-12T16:15:15.076Z] (30/31) Installing findmnt (2.37.4-r0) [2022-07-12T16:15:15.076Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-07-12T16:15:15.076Z] Executing busybox-1.34.1-r5.trigger [2022-07-12T16:15:15.076Z] OK: 293 MiB in 108 packages [2022-07-12T16:15:15.644Z] Removing intermediate container 0ac788463c73 [2022-07-12T16:15:15.644Z] ---> 622b9dc06f41 [2022-07-12T16:15:15.644Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-07-12T16:15:15.644Z] ---> Running in 544bf54b96d5 [2022-07-12T16:15:16.215Z] Removing intermediate container 544bf54b96d5 [2022-07-12T16:15:16.215Z] ---> bcdbdc4bca21 [2022-07-12T16:15:16.215Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-07-12T16:15:16.485Z] ---> acc0b850eda0 [2022-07-12T16:15:16.485Z] Step 8/22 : COPY src /tmp/sdk/src [2022-07-12T16:15:16.746Z] ---> aa2517202d58 [2022-07-12T16:15:16.746Z] Step 9/22 : COPY include /tmp/sdk/include [2022-07-12T16:15:16.746Z] ---> 0894638768db [2022-07-12T16:15:16.746Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-07-12T16:15:17.007Z] ---> 7df583996562 [2022-07-12T16:15:17.007Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-07-12T16:15:17.007Z] ---> f73e7c7c2f63 [2022-07-12T16:15:17.007Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-07-12T16:15:17.267Z] ---> 2b4c5a42143c [2022-07-12T16:15:17.267Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-07-12T16:15:17.267Z] ---> Running in c6b9ae9c7365 [2022-07-12T16:15:17.528Z] + CPPCHECK=false [2022-07-12T16:15:17.528Z] + DOCGEN=false [2022-07-12T16:15:17.528Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-07-12T16:15:17.528Z] + TOMLVER=SDK-0.2 [2022-07-12T16:15:17.528Z] + CUTILVER=1.2.2 [2022-07-12T16:15:17.528Z] + '[' 0 -gt 0 ] [2022-07-12T16:15:17.528Z] + readlink -f ./scripts/build.sh [2022-07-12T16:15:17.528Z] + dirname /tmp/sdk/scripts/build.sh [2022-07-12T16:15:17.528Z] + dirname /tmp/sdk/scripts [2022-07-12T16:15:17.528Z] + ROOT=/tmp/sdk [2022-07-12T16:15:17.528Z] + cd /tmp/sdk [2022-07-12T16:15:17.528Z] + '[' '!' -d deps ] [2022-07-12T16:15:17.528Z] + mkdir deps [2022-07-12T16:15:17.528Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-07-12T16:15:17.528Z] + tar -C deps -z -x -f - [2022-07-12T16:15:17.528Z] Connecting to github.com (140.82.112.3:443) [2022-07-12T16:15:17.789Z] Connecting to codeload.github.com (140.82.113.10:443) [2022-07-12T16:15:18.048Z] writing to stdout [2022-07-12T16:15:18.048Z] - 100% |********************************| 16451 0:00:00 ETA [2022-07-12T16:15:18.048Z] written to stdout [2022-07-12T16:15:18.048Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-07-12T16:15:18.048Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-07-12T16:15:18.048Z] + tar -C deps -z -x -f - [2022-07-12T16:15:18.048Z] Connecting to github.com (140.82.112.3:443) [2022-07-12T16:15:18.048Z] Connecting to codeload.github.com (140.82.113.10:443) [2022-07-12T16:15:18.307Z] writing to stdout [2022-07-12T16:15:18.307Z] - 100% |********************************| 189k 0:00:00 ETA [2022-07-12T16:15:18.307Z] written to stdout [2022-07-12T16:15:18.307Z] + mkdir -p src/c/iot [2022-07-12T16:15:18.307Z] + 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-12T16:15:18.307Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-07-12T16:15:18.307Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-07-12T16:15:18.307Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-07-12T16:15:18.307Z] + mkdir -p include/iot [2022-07-12T16:15:18.307Z] + 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-12T16:15:18.307Z] + mkdir -p include/iot/os [2022-07-12T16:15:18.307Z] + 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-12T16:15:18.307Z] + mkdir -p /tmp/sdk/build/release [2022-07-12T16:15:18.307Z] + cd /tmp/sdk/build/release [2022-07-12T16:15:18.307Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-07-12T16:15:18.566Z] -- The C compiler identification is GNU 10.3.1 [2022-07-12T16:15:18.566Z] -- Detecting C compiler ABI info [2022-07-12T16:15:18.566Z] -- Detecting C compiler ABI info - done [2022-07-12T16:15:18.566Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-07-12T16:15:18.566Z] -- Detecting C compile features [2022-07-12T16:15:18.566Z] -- Detecting C compile features - done [2022-07-12T16:15:18.566Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-07-12T16:15:18.566Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-07-12T16:15:18.566Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-07-12T16:15:18.566Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-07-12T16:15:18.566Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-07-12T16:15:18.566Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-07-12T16:15:18.566Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-07-12T16:15:18.566Z] -- C SDK 0.0.0 for Linux [2022-07-12T16:15:18.566Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-07-12T16:15:18.826Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-07-12T16:15:18.826Z] -- Found Curses: /usr/lib/libcurses.so [2022-07-12T16:15:18.826Z] -- Configuring done [2022-07-12T16:15:18.826Z] -- Generating done [2022-07-12T16:15:18.826Z] -- Build files have been written to: /tmp/sdk/build/release [2022-07-12T16:15:18.826Z] + make all package [2022-07-12T16:15:18.826Z] + tee release.log [2022-07-12T16:15:18.826Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-07-12T16:15:19.088Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-07-12T16:15:19.088Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-07-12T16:15:19.662Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-07-12T16:15:19.662Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-07-12T16:15:19.662Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-07-12T16:15:19.924Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-07-12T16:15:19.924Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-07-12T16:15:19.924Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-07-12T16:15:20.185Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-07-12T16:15:20.351Z] Still waiting to schedule task [2022-07-12T16:15:20.351Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-07-12T16:15:20.756Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-07-12T16:15:20.756Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-07-12T16:15:20.756Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-07-12T16:15:21.045Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-07-12T16:15:21.045Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-07-12T16:15:21.045Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-07-12T16:15:21.306Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-07-12T16:15:21.876Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-07-12T16:15:21.876Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-07-12T16:15:21.876Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-07-12T16:15:21.876Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-07-12T16:15:22.136Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-07-12T16:15:22.136Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-07-12T16:15:22.136Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-07-12T16:15:22.136Z] 275 | const iot_component_factory_t * factory; [2022-07-12T16:15:22.136Z] | ^~~~~~~ [2022-07-12T16:15:22.136Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-07-12T16:15:23.079Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-07-12T16:15:23.079Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-07-12T16:15:23.079Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-07-12T16:15:23.340Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-07-12T16:15:23.340Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-07-12T16:15:23.340Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-07-12T16:15:23.601Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-07-12T16:15:23.601Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-07-12T16:15:23.862Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-07-12T16:15:23.862Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-07-12T16:15:24.125Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-07-12T16:15:24.387Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-07-12T16:15:24.387Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-07-12T16:15:24.648Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-07-12T16:15:24.648Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-07-12T16:15:25.588Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-07-12T16:15:25.588Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-07-12T16:15:25.851Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-07-12T16:15:25.851Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-07-12T16:15:26.111Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-07-12T16:15:26.370Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-07-12T16:15:26.631Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-07-12T16:15:26.631Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-07-12T16:15:26.631Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-07-12T16:15:27.202Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-07-12T16:15:27.774Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-07-12T16:15:28.034Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-07-12T16:15:28.034Z] [ 76%] Linking C shared library libcsdk.so [2022-07-12T16:15:28.034Z] [ 76%] Built target csdk [2022-07-12T16:15:28.294Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-07-12T16:15:28.294Z] [ 79%] Linking C executable template [2022-07-12T16:15:28.294Z] [ 79%] Built target template [2022-07-12T16:15:28.294Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-07-12T16:15:28.553Z] [ 82%] Linking C executable device-counter [2022-07-12T16:15:28.553Z] [ 82%] Built target device-counter [2022-07-12T16:15:28.553Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-07-12T16:15:28.814Z] [ 85%] Linking C executable device-random [2022-07-12T16:15:28.814Z] [ 85%] Built target device-random [2022-07-12T16:15:28.814Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-07-12T16:15:28.814Z] [ 88%] Linking C executable device-gyro [2022-07-12T16:15:28.814Z] [ 88%] Built target device-gyro [2022-07-12T16:15:29.074Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-07-12T16:15:29.074Z] [ 91%] Linking C executable device-bitfields [2022-07-12T16:15:29.074Z] [ 91%] Built target device-bitfields [2022-07-12T16:15:29.074Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-07-12T16:15:29.334Z] [ 94%] Linking C executable template-discovery [2022-07-12T16:15:29.334Z] [ 94%] Built target template-discovery [2022-07-12T16:15:29.334Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-07-12T16:15:29.607Z] [ 97%] Linking C executable device-file [2022-07-12T16:15:29.607Z] [ 97%] Built target device-file [2022-07-12T16:15:29.607Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-07-12T16:15:29.607Z] [100%] Linking C executable device-terminal [2022-07-12T16:15:29.885Z] [100%] Built target device-terminal [2022-07-12T16:15:29.885Z] Run CPack packaging tool... [2022-07-12T16:15:29.885Z] CPack: Create package using TGZ [2022-07-12T16:15:29.885Z] CPack: Install projects [2022-07-12T16:15:29.885Z] CPack: - Run preinstall target for: Csdk [2022-07-12T16:15:30.172Z] CPack: - Install project: Csdk [] [2022-07-12T16:15:30.172Z] CPack: Create package [2022-07-12T16:15:30.172Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-07-12T16:15:30.172Z] + '[' false '=' true ] [2022-07-12T16:15:30.172Z] + '[' false '=' true ] [2022-07-12T16:15:30.172Z] + mkdir -p /tmp/sdk/build/debug [2022-07-12T16:15:30.172Z] + cd /tmp/sdk/build/debug [2022-07-12T16:15:30.172Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-07-12T16:15:30.172Z] -- The C compiler identification is GNU 10.3.1 [2022-07-12T16:15:30.172Z] -- Detecting C compiler ABI info [2022-07-12T16:15:30.172Z] -- Detecting C compiler ABI info - done [2022-07-12T16:15:30.172Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-07-12T16:15:30.172Z] -- Detecting C compile features [2022-07-12T16:15:30.172Z] -- Detecting C compile features - done [2022-07-12T16:15:30.476Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-07-12T16:15:30.476Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-07-12T16:15:30.476Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-07-12T16:15:30.476Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-07-12T16:15:30.476Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-07-12T16:15:30.476Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-07-12T16:15:30.476Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-07-12T16:15:30.476Z] -- C SDK 0.0.0 for Linux [2022-07-12T16:15:30.476Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-07-12T16:15:30.476Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-07-12T16:15:30.476Z] -- Found Curses: /usr/lib/libcurses.so [2022-07-12T16:15:30.476Z] -- Configuring done [2022-07-12T16:15:30.476Z] -- Generating done [2022-07-12T16:15:30.476Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-07-12T16:15:30.476Z] + make [2022-07-12T16:15:30.476Z] + tee debug.log [2022-07-12T16:15:30.476Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-07-12T16:15:30.787Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-07-12T16:15:30.787Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-07-12T16:15:30.787Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-07-12T16:15:31.062Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-07-12T16:15:31.062Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-07-12T16:15:31.062Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-07-12T16:15:31.062Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-07-12T16:15:31.322Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-07-12T16:15:31.322Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-07-12T16:15:31.322Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-07-12T16:15:31.582Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-07-12T16:15:31.582Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-07-12T16:15:31.582Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-07-12T16:15:31.842Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-07-12T16:15:31.842Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-07-12T16:15:31.842Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-07-12T16:15:32.102Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-07-12T16:15:32.102Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-07-12T16:15:32.102Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-07-12T16:15:32.102Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-07-12T16:15:32.102Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-07-12T16:15:32.102Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-07-12T16:15:32.102Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-07-12T16:15:32.102Z] 275 | const iot_component_factory_t * factory; [2022-07-12T16:15:32.102Z] | ^~~~~~~ [2022-07-12T16:15:32.364Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-07-12T16:15:32.624Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-07-12T16:15:32.624Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-07-12T16:15:32.624Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-07-12T16:15:32.624Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-07-12T16:15:32.624Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-07-12T16:15:32.886Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-07-12T16:15:32.886Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-07-12T16:15:32.886Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-07-12T16:15:32.886Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-07-12T16:15:33.148Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-07-12T16:15:33.148Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-07-12T16:15:33.148Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-07-12T16:15:33.148Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-07-12T16:15:33.408Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-07-12T16:15:33.408Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-07-12T16:15:33.670Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-07-12T16:15:33.670Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-07-12T16:15:33.670Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-07-12T16:15:33.930Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-07-12T16:15:33.930Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-07-12T16:15:34.191Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-07-12T16:15:34.191Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-07-12T16:15:34.191Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-07-12T16:15:34.451Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-07-12T16:15:34.451Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-07-12T16:15:34.711Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-07-12T16:15:34.711Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-07-12T16:15:34.711Z] [ 76%] Linking C shared library libcsdk.so [2022-07-12T16:15:34.973Z] [ 76%] Built target csdk [2022-07-12T16:15:34.973Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-07-12T16:15:34.973Z] [ 79%] Linking C executable template [2022-07-12T16:15:34.973Z] [ 79%] Built target template [2022-07-12T16:15:34.973Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-07-12T16:15:34.973Z] [ 82%] Linking C executable device-counter [2022-07-12T16:15:35.231Z] [ 82%] Built target device-counter [2022-07-12T16:15:35.231Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-07-12T16:15:35.231Z] [ 85%] Linking C executable device-random [2022-07-12T16:15:35.231Z] [ 85%] Built target device-random [2022-07-12T16:15:35.231Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-07-12T16:15:35.490Z] [ 88%] Linking C executable device-gyro [2022-07-12T16:15:35.490Z] [ 88%] Built target device-gyro [2022-07-12T16:15:35.490Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-07-12T16:15:35.490Z] [ 91%] Linking C executable device-bitfields [2022-07-12T16:15:35.490Z] [ 91%] Built target device-bitfields [2022-07-12T16:15:35.490Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-07-12T16:15:35.749Z] [ 94%] Linking C executable template-discovery [2022-07-12T16:15:35.749Z] [ 94%] Built target template-discovery [2022-07-12T16:15:35.750Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-07-12T16:15:35.750Z] [ 97%] Linking C executable device-file [2022-07-12T16:15:35.750Z] [ 97%] Built target device-file [2022-07-12T16:15:36.010Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-07-12T16:15:36.010Z] [100%] Linking C executable device-terminal [2022-07-12T16:15:36.010Z] [100%] Built target device-terminal [2022-07-12T16:15:36.010Z] make: Entering directory '/tmp/sdk/build/release' [2022-07-12T16:15:36.010Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-07-12T16:15:36.010Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T16:15:36.010Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T16:15:36.010Z] [ 76%] Built target csdk [2022-07-12T16:15:36.010Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T16:15:36.010Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T16:15:36.010Z] [ 79%] Built target template [2022-07-12T16:15:36.010Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T16:15:36.010Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T16:15:36.010Z] [ 82%] Built target device-counter [2022-07-12T16:15:36.010Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T16:15:36.010Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T16:15:36.269Z] [ 85%] Built target device-random [2022-07-12T16:15:36.269Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T16:15:36.269Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T16:15:36.269Z] [ 88%] Built target device-gyro [2022-07-12T16:15:36.269Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T16:15:36.269Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T16:15:36.269Z] [ 91%] Built target device-bitfields [2022-07-12T16:15:36.269Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T16:15:36.269Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T16:15:36.269Z] [ 94%] Built target template-discovery [2022-07-12T16:15:36.269Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T16:15:36.269Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T16:15:36.269Z] [ 97%] Built target device-file [2022-07-12T16:15:36.269Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T16:15:36.269Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T16:15:36.269Z] [100%] Built target device-terminal [2022-07-12T16:15:36.269Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T16:15:36.269Z] Install the project... [2022-07-12T16:15:36.269Z] -- Install configuration: "Release" [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/lib/libcsdk.so [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/edgex [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/edgex/devices.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/devsdk [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/iot [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/iot/thread.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/iot/hash.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/iot/typecode.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/iot/uuid.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/iot/logger.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/iot/config.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/iot/os.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/iot/container.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/iot/defs.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/iot/iot.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/iot/component.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/iot/os [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/iot/base64.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/iot/time.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/iot/data.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/include/iot/json.h [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-07-12T16:15:36.269Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-07-12T16:15:36.269Z] make: Leaving directory '/tmp/sdk/build/release' [2022-07-12T16:15:36.839Z] Removing intermediate container c6b9ae9c7365 [2022-07-12T16:15:36.839Z] ---> b3491bdbb85a [2022-07-12T16:15:36.839Z] Step 14/22 : FROM ${BASE} [2022-07-12T16:15:36.839Z] ---> 547c565c9e89 [2022-07-12T16:15:36.839Z] Step 15/22 : LABEL maintainer="IOTech " [2022-07-12T16:15:36.839Z] ---> Running in 37d5417b1972 [2022-07-12T16:15:37.098Z] Removing intermediate container 37d5417b1972 [2022-07-12T16:15:37.098Z] ---> 8439c43a830d [2022-07-12T16:15:37.098Z] 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-12T16:15:37.098Z] ---> Running in 576c13b29d77 [2022-07-12T16:15:37.358Z] Connecting to iotech.jfrog.io (3.248.164.40:443) [2022-07-12T16:15:37.617Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-12T16:15:37.617Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-12T16:15:37.617Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-12T16:15:38.188Z] Removing intermediate container 576c13b29d77 [2022-07-12T16:15:38.188Z] ---> f93362769213 [2022-07-12T16:15:38.188Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-12T16:15:38.188Z] ---> Running in de3cb1860a12 [2022-07-12T16:15:38.761Z] Removing intermediate container de3cb1860a12 [2022-07-12T16:15:38.761Z] ---> 1b188d69b59b [2022-07-12T16:15:38.761Z] 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-12T16:15:38.761Z] ---> Running in 6ffbe73236a4 [2022-07-12T16:15:39.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-12T16:15:39.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-12T16:15:39.021Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-12T16:15:39.593Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-12T16:15:39.593Z] (1/6) Installing curl (7.80.0-r2) [2022-07-12T16:15:39.593Z] (2/6) Installing hiredis (1.0.2-r0) [2022-07-12T16:15:39.593Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-07-12T16:15:39.593Z] (4/6) Installing libcbor (0.8.0-r0) [2022-07-12T16:15:39.593Z] (5/6) Installing libuuid (2.37.4-r0) [2022-07-12T16:15:39.593Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-07-12T16:15:40.533Z] Executing busybox-1.34.1-r5.trigger [2022-07-12T16:15:40.533Z] OK: 283 MiB in 83 packages [2022-07-12T16:15:40.793Z] Removing intermediate container 6ffbe73236a4 [2022-07-12T16:15:40.793Z] ---> 084f5ef23dea [2022-07-12T16:15:40.793Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-07-12T16:15:40.793Z] ---> 1498906a2214 [2022-07-12T16:15:40.793Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-07-12T16:15:41.071Z] ---> ed636338f0a0 [2022-07-12T16:15:41.071Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-07-12T16:15:41.334Z] ---> b910595bcf0b [2022-07-12T16:15:41.334Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-07-12T16:15:41.334Z] ---> b093f02e8352 [2022-07-12T16:15:41.334Z] Successfully built b093f02e8352 [2022-07-12T16:15:41.334Z] 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-12T16:15:41.723Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T16:15:41.723Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T16:15:41.860Z] prd-ubuntu20.04-docker-8c-8g-19581 does not seem to be running inside a container [2022-07-12T16:15:41.954Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-425 -v /w/workspace/edgexfoundry_device-sdk-c_PR-425:/w/workspace/edgexfoundry_device-sdk-c_PR-425:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-12T16:15:42.354Z] $ docker top 9379a7c21c4d5a1c40eade2b8a12adef6b6d00703b3a626f8536be31845f0976 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T16:15:42.705Z] + make test [2022-07-12T16:15:42.705Z] echo "make test" [2022-07-12T16:15:42.705Z] make test [Pipeline] } [2022-07-12T16:15:42.720Z] $ docker stop --time=1 9379a7c21c4d5a1c40eade2b8a12adef6b6d00703b3a626f8536be31845f0976 [2022-07-12T16:15:43.996Z] $ docker rm -f 9379a7c21c4d5a1c40eade2b8a12adef6b6d00703b3a626f8536be31845f0976 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T16:15:44.506Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T16:15:44.789Z] + ls -al . [2022-07-12T16:15:44.789Z] total 208 [2022-07-12T16:15:44.789Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 16:15 . [2022-07-12T16:15:44.789Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 16:14 .. [2022-07-12T16:15:44.789Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 16:15 .git [2022-07-12T16:15:44.789Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 16:14 .github [2022-07-12T16:15:44.789Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 12 16:14 .gitignore [2022-07-12T16:15:44.789Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 16:15 .semver [2022-07-12T16:15:44.789Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 12 16:14 Attribution.txt [2022-07-12T16:15:44.789Z] -rw-rw-r-- 1 jenkins jenkins 8378 Jul 12 16:14 CHANGES [2022-07-12T16:15:44.789Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 12 16:14 Doxyfile [2022-07-12T16:15:44.789Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 16:14 GOVERNANCE.md [2022-07-12T16:15:44.789Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 12 16:14 Jenkinsfile [2022-07-12T16:15:44.789Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 12 16:14 LICENSE [2022-07-12T16:15:44.789Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 12 16:14 Makefile [2022-07-12T16:15:44.789Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 12 16:14 OWNERS.md [2022-07-12T16:15:44.790Z] -rw-rw-r-- 1 jenkins jenkins 4086 Jul 12 16:14 README.md [2022-07-12T16:15:44.790Z] -rw-rw-r-- 1 jenkins jenkins 7422 Jul 12 16:14 README.v2.md [2022-07-12T16:15:44.790Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 16:15 VERSION [2022-07-12T16:15:44.790Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 16:14 docs [2022-07-12T16:15:44.790Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 16:14 include [2022-07-12T16:15:44.790Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 16:14 scripts [2022-07-12T16:15:44.790Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 16:14 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T16:15:45.090Z] + 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=231b0f45a0f0bdca47eb1a2d28df8efff7262145 --label arch=amd64 --label version=0.0.0 . [2022-07-12T16:15:45.090Z] Sending build context to Docker daemon 4.601MB [2022-07-12T16:15:45.090Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-07-12T16:15:45.090Z] Step 2/17 : FROM ${BASE} [2022-07-12T16:15:45.090Z] ---> b093f02e8352 [2022-07-12T16:15:45.090Z] Step 3/17 : LABEL maintainer="IOTech " [2022-07-12T16:15:45.090Z] ---> Running in 06538e7d2728 [2022-07-12T16:15:45.350Z] Removing intermediate container 06538e7d2728 [2022-07-12T16:15:45.350Z] ---> 2d58240012a9 [2022-07-12T16:15:45.350Z] 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-12T16:15:45.350Z] ---> Running in 477898cfd760 [2022-07-12T16:15:45.610Z] Connecting to iotech.jfrog.io (54.155.90.35:443) [2022-07-12T16:15:45.869Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-12T16:15:45.869Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-12T16:15:45.869Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-12T16:15:46.128Z] Removing intermediate container 477898cfd760 [2022-07-12T16:15:46.128Z] ---> 14ae816f6f0c [2022-07-12T16:15:46.128Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-12T16:15:46.390Z] ---> Running in 83ff110b9977 [2022-07-12T16:15:46.963Z] Removing intermediate container 83ff110b9977 [2022-07-12T16:15:46.963Z] ---> 1bf24e89c149 [2022-07-12T16:15:46.963Z] 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-12T16:15:46.963Z] ---> Running in 5f0e8e210181 [2022-07-12T16:15:47.225Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-12T16:15:47.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-12T16:15:47.797Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-12T16:15:48.369Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-12T16:15:48.370Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-07-12T16:15:48.370Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-07-12T16:15:48.370Z] (3/26) Installing util-linux (2.37.4-r0) [2022-07-12T16:15:48.370Z] (4/26) Installing libblkid (2.37.4-r0) [2022-07-12T16:15:48.370Z] (5/26) Installing libeconf (0.4.2-r0) [2022-07-12T16:15:48.370Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-07-12T16:15:48.370Z] (7/26) Installing libmount (2.37.4-r0) [2022-07-12T16:15:48.370Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-07-12T16:15:48.370Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-07-12T16:15:48.370Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-07-12T16:15:48.370Z] (11/26) Installing runuser (2.37.4-r0) [2022-07-12T16:15:48.370Z] (12/26) Installing hexdump (2.37.4-r0) [2022-07-12T16:15:48.370Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-07-12T16:15:48.370Z] (14/26) Installing blkid (2.37.4-r0) [2022-07-12T16:15:48.370Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-07-12T16:15:48.370Z] (16/26) Installing mcookie (2.37.4-r0) [2022-07-12T16:15:48.370Z] (17/26) Installing wipefs (2.37.4-r0) [2022-07-12T16:15:48.370Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-07-12T16:15:48.370Z] (19/26) Installing flock (2.37.4-r0) [2022-07-12T16:15:48.370Z] (20/26) Installing lsblk (2.37.4-r0) [2022-07-12T16:15:48.370Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-07-12T16:15:48.370Z] (22/26) Installing setpriv (2.37.4-r0) [2022-07-12T16:15:48.370Z] (23/26) Installing logger (2.37.4-r0) [2022-07-12T16:15:48.370Z] (24/26) Installing partx (2.37.4-r0) [2022-07-12T16:15:48.370Z] (25/26) Installing findmnt (2.37.4-r0) [2022-07-12T16:15:48.370Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-07-12T16:15:48.370Z] Executing busybox-1.34.1-r5.trigger [2022-07-12T16:15:48.370Z] OK: 294 MiB in 109 packages [2022-07-12T16:15:48.938Z] Removing intermediate container 5f0e8e210181 [2022-07-12T16:15:48.938Z] ---> 49d526100168 [2022-07-12T16:15:48.938Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-07-12T16:15:49.199Z] ---> cd2a426d1cb1 [2022-07-12T16:15:49.199Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-07-12T16:15:49.199Z] ---> 459ecb66e00b [2022-07-12T16:15:49.199Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-07-12T16:15:49.459Z] ---> 4e0136ac5cdc [2022-07-12T16:15:49.459Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-07-12T16:15:49.459Z] ---> 114ac5bdfd62 [2022-07-12T16:15:49.459Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-07-12T16:15:49.719Z] ---> b288f1d8c5b4 [2022-07-12T16:15:49.719Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-07-12T16:15:49.977Z] ---> 90fe5cb1a3a6 [2022-07-12T16:15:49.977Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-07-12T16:15:49.977Z] ---> Running in 66f8273709c1 [2022-07-12T16:15:49.977Z] Removing intermediate container 66f8273709c1 [2022-07-12T16:15:49.977Z] ---> 404092f6e1f1 [2022-07-12T16:15:49.977Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-07-12T16:15:49.977Z] ---> Running in d052e54557a2 [2022-07-12T16:15:50.237Z] Removing intermediate container d052e54557a2 [2022-07-12T16:15:50.237Z] ---> 569d36090425 [2022-07-12T16:15:50.237Z] Step 15/17 : LABEL arch=amd64 [2022-07-12T16:15:50.237Z] ---> Running in 3fc104a25e1f [2022-07-12T16:15:50.237Z] Removing intermediate container 3fc104a25e1f [2022-07-12T16:15:50.237Z] ---> 78715a379a2a [2022-07-12T16:15:50.237Z] Step 16/17 : LABEL git_sha=231b0f45a0f0bdca47eb1a2d28df8efff7262145 [2022-07-12T16:15:50.237Z] ---> Running in e8add0f4f81e [2022-07-12T16:15:50.237Z] Removing intermediate container e8add0f4f81e [2022-07-12T16:15:50.237Z] ---> a7cb618e7743 [2022-07-12T16:15:50.237Z] Step 17/17 : LABEL version=0.0.0 [2022-07-12T16:15:50.496Z] ---> Running in 82d2ba262303 [2022-07-12T16:15:50.496Z] Removing intermediate container 82d2ba262303 [2022-07-12T16:15:50.496Z] ---> beb1b789c3f4 [2022-07-12T16:15:50.496Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2022-07-12T16:15:50.496Z] Successfully built beb1b789c3f4 [2022-07-12T16:15:50.496Z] 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-12T16:15:50.925Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T16:15:50.925Z] [2022-07-12T16:15:50.925Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T16:15:51.226Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T16:15:51.226Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-12T16:15:51.226Z] 5eb5b503b376: Pulling fs layer [2022-07-12T16:15:51.226Z] 5c69ac0246d0: Pulling fs layer [2022-07-12T16:15:51.226Z] ec43610c2a17: Pulling fs layer [2022-07-12T16:15:51.226Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-12T16:15:51.226Z] 33b1e0a273af: Pulling fs layer [2022-07-12T16:15:51.226Z] 5d3b04190fa2: Pulling fs layer [2022-07-12T16:15:51.226Z] 2f39f015ded8: Pulling fs layer [2022-07-12T16:15:51.226Z] 3a2ae6a8a46f: Waiting [2022-07-12T16:15:51.226Z] 2f39f015ded8: Waiting [2022-07-12T16:15:51.226Z] 5d3b04190fa2: Waiting [2022-07-12T16:15:51.226Z] 5c69ac0246d0: Verifying Checksum [2022-07-12T16:15:51.226Z] 5c69ac0246d0: Download complete [2022-07-12T16:15:51.226Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-12T16:15:51.226Z] 3a2ae6a8a46f: Download complete [2022-07-12T16:15:51.226Z] ec43610c2a17: Verifying Checksum [2022-07-12T16:15:51.226Z] ec43610c2a17: Download complete [2022-07-12T16:15:51.226Z] 33b1e0a273af: Verifying Checksum [2022-07-12T16:15:51.226Z] 33b1e0a273af: Download complete [2022-07-12T16:15:51.226Z] 5d3b04190fa2: Verifying Checksum [2022-07-12T16:15:51.226Z] 5d3b04190fa2: Download complete [2022-07-12T16:15:51.486Z] 5eb5b503b376: Verifying Checksum [2022-07-12T16:15:51.486Z] 5eb5b503b376: Download complete [2022-07-12T16:15:52.056Z] 2f39f015ded8: Download complete [2022-07-12T16:15:52.628Z] 5eb5b503b376: Pull complete [2022-07-12T16:15:52.887Z] 5c69ac0246d0: Pull complete [2022-07-12T16:15:53.148Z] ec43610c2a17: Pull complete [2022-07-12T16:15:53.148Z] 3a2ae6a8a46f: Pull complete [2022-07-12T16:15:53.408Z] 33b1e0a273af: Pull complete [2022-07-12T16:15:53.409Z] 5d3b04190fa2: Pull complete [2022-07-12T16:15:57.602Z] 2f39f015ded8: Pull complete [2022-07-12T16:15:57.602Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-12T16:15:57.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T16:15:57.602Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T16:15:57.688Z] prd-ubuntu20.04-docker-8c-8g-19581 does not seem to be running inside a container [2022-07-12T16:15:57.731Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-425 -v /w/workspace/edgexfoundry_device-sdk-c_PR-425:/w/workspace/edgexfoundry_device-sdk-c_PR-425:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-12T16:15:59.352Z] $ docker top 433ad99588cec2a4cda17cc4fff96669c1c6f32e3002e38e67c72447528b0f57 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:15:59.737Z] ---> job-cost.sh [2022-07-12T16:15:59.737Z] lf-activate-venv: SKIPPING [2022-07-12T16:15:59.737Z] INFO: No Stack... [2022-07-12T16:15:59.996Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T16:16:00.570Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T16:16:00.861Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-425/archives/cost.csv [2022-07-12T16:16:00.861Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T16:16:00.874Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-425-5-stack-cost] [2022-07-12T16:16:00.879Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-425-5-stack-cost] did not exist. Created. [2022-07-12T16:16:00.879Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-425-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T16:16:01.183Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-12T16:16:01.228Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T16:16:01.235Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-425-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T16:16:01.256Z] $ docker stop --time=1 433ad99588cec2a4cda17cc4fff96669c1c6f32e3002e38e67c72447528b0f57 [2022-07-12T16:16:02.430Z] $ docker rm -f 433ad99588cec2a4cda17cc4fff96669c1c6f32e3002e38e67c72447528b0f57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-12T16:24:24.325Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19651 in /w/workspace/edgexfoundry_device-sdk-c_PR-425 [Pipeline] { [Pipeline] ws [2022-07-12T16:24:24.339Z] Running in /w/workspace/device-sdk-c/5 [Pipeline] { [Pipeline] checkout [2022-07-12T16:24:24.384Z] Selected Git installation does not exist. Using Default [2022-07-12T16:24:24.384Z] The recommended git tool is: NONE [2022-07-12T16:24:31.864Z] using credential edgex-jenkins-ssh [2022-07-12T16:24:31.882Z] Cloning the remote Git repository [2022-07-12T16:24:31.936Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2022-07-12T16:24:32.015Z] > git init /w/workspace/device-sdk-c/5 # timeout=10 [2022-07-12T16:24:32.090Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-07-12T16:24:32.091Z] > git --version # timeout=10 [2022-07-12T16:24:32.110Z] > git --version # 'git version 2.25.1' [2022-07-12T16:24:32.112Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T16:24:32.217Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T16:24:33.268Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-07-12T16:24:33.295Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T16:24:33.913Z] Merging remotes/origin/main commit 1086c909c01125341e32c6ebb8870b6cabe987d5 into PR head commit 231b0f45a0f0bdca47eb1a2d28df8efff7262145 [2022-07-12T16:24:34.228Z] Merge succeeded, producing 231b0f45a0f0bdca47eb1a2d28df8efff7262145 [2022-07-12T16:24:34.228Z] Checking out Revision 231b0f45a0f0bdca47eb1a2d28df8efff7262145 (PR-425) [2022-07-12T16:24:33.328Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2022-07-12T16:24:33.365Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2022-07-12T16:24:33.366Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T16:24:33.379Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/425/head:refs/remotes/origin/PR-425 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-12T16:24:33.939Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T16:24:33.956Z] > git checkout -f 231b0f45a0f0bdca47eb1a2d28df8efff7262145 # timeout=10 [2022-07-12T16:24:34.084Z] > git remote # timeout=10 [2022-07-12T16:24:34.101Z] > git config --get remote.origin.url # timeout=10 [2022-07-12T16:24:34.116Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T16:24:34.128Z] > git merge 1086c909c01125341e32c6ebb8870b6cabe987d5 # timeout=10 [2022-07-12T16:24:34.155Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-12T16:24:34.239Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T16:24:34.271Z] > git checkout -f 231b0f45a0f0bdca47eb1a2d28df8efff7262145 # timeout=10 [2022-07-12T16:24:38.692Z] Commit message: "fix: profile information was being purged on certain device updates (#424)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T16:24:39.560Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-12T16:24:39.560Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T16:24:39.560Z] Dload Upload Total Spent Left Speed [2022-07-12T16:24:39.560Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 92300 0 --:--:-- --:--:-- --:--:-- 93000 [Pipeline] sh [2022-07-12T16:24:40.266Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-12T16:24:40.609Z] + sudo tee /etc/docker/daemon.new [2022-07-12T16:24:40.610Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-12T16:24:40.610Z] { [2022-07-12T16:24:40.610Z] "registry-mirrors": [ [2022-07-12T16:24:40.610Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-12T16:24:40.610Z] ], [2022-07-12T16:24:40.610Z] "bip": "10.250.0.254/24", [2022-07-12T16:24:40.610Z] "hosts": [ [2022-07-12T16:24:40.610Z] "tcp://0.0.0.0:5555", [2022-07-12T16:24:40.610Z] "unix:///var/run/docker.sock" [2022-07-12T16:24:40.610Z] ], [2022-07-12T16:24:40.610Z] "mtu": 1458, [2022-07-12T16:24:40.610Z] "selinux-enabled": true, [2022-07-12T16:24:40.610Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-12T16:24:40.610Z] } [Pipeline] sh [2022-07-12T16:24:40.959Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-12T16:24:41.301Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T16:24:59.677Z] provisioning config files... [2022-07-12T16:24:59.702Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/5@tmp/config8508853181394972443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:25:00.204Z] ---> docker-login.sh [2022-07-12T16:25:00.204Z] nexus3.edgexfoundry.org:10001 [2022-07-12T16:25:01.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:25:01.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:25:01.465Z] Configure a credential helper to remove this warning. See [2022-07-12T16:25:01.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:25:01.465Z] [2022-07-12T16:25:01.465Z] Login Succeeded [2022-07-12T16:25:01.465Z] nexus3.edgexfoundry.org:10002 [2022-07-12T16:25:02.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:25:02.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:25:02.062Z] Configure a credential helper to remove this warning. See [2022-07-12T16:25:02.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:25:02.062Z] [2022-07-12T16:25:02.062Z] Login Succeeded [2022-07-12T16:25:02.062Z] nexus3.edgexfoundry.org:10003 [2022-07-12T16:25:02.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:25:02.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:25:02.616Z] Configure a credential helper to remove this warning. See [2022-07-12T16:25:02.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:25:02.616Z] [2022-07-12T16:25:02.616Z] Login Succeeded [2022-07-12T16:25:02.616Z] nexus3.edgexfoundry.org:10004 [2022-07-12T16:25:02.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:25:03.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:25:03.167Z] Configure a credential helper to remove this warning. See [2022-07-12T16:25:03.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:25:03.167Z] [2022-07-12T16:25:03.167Z] Login Succeeded [2022-07-12T16:25:03.167Z] docker.io [2022-07-12T16:25:03.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T16:25:04.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T16:25:04.043Z] Configure a credential helper to remove this warning. See [2022-07-12T16:25:04.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T16:25:04.043Z] [2022-07-12T16:25:04.043Z] Login Succeeded [2022-07-12T16:25:04.043Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T16:25:04.065Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T16:25:04.354Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T16:25:04.364Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2022-07-12T16:25:04.376Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T16:25:04.385Z] ========================================================= [2022-07-12T16:25:04.385Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2022-07-12T16:25:04.385Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T16:25:04.742Z] + 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-12T16:25:05.345Z] Sending build context to Docker daemon 2.791MB [2022-07-12T16:25:05.345Z] Step 1/22 : ARG BASE=alpine:3.15 [2022-07-12T16:25:05.345Z] Step 2/22 : FROM ${BASE} as builder [2022-07-12T16:25:05.345Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2022-07-12T16:25:05.346Z] 9981e73032c8: Pulling fs layer [2022-07-12T16:25:05.346Z] 735ca4d71f2f: Pulling fs layer [2022-07-12T16:25:05.623Z] 9981e73032c8: Verifying Checksum [2022-07-12T16:25:05.623Z] 9981e73032c8: Download complete [2022-07-12T16:25:06.233Z] 9981e73032c8: Pull complete [2022-07-12T16:25:07.677Z] 735ca4d71f2f: Verifying Checksum [2022-07-12T16:25:07.677Z] 735ca4d71f2f: Download complete [2022-07-12T16:25:17.876Z] 735ca4d71f2f: Pull complete [2022-07-12T16:25:17.876Z] Digest: sha256:64a8cfb6b63eb8334e03faf33c26f2878668258f25af41e1fb2a2cad40f91f89 [2022-07-12T16:25:17.876Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2022-07-12T16:25:17.876Z] ---> aede2dddcadd [2022-07-12T16:25:17.876Z] 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-12T16:25:18.154Z] ---> Running in 0bdef587867a [2022-07-12T16:25:19.612Z] Connecting to iotech.jfrog.io (52.209.90.94:443) [2022-07-12T16:25:19.890Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-12T16:25:19.890Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-12T16:25:19.890Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-12T16:25:20.493Z] Removing intermediate container 0bdef587867a [2022-07-12T16:25:20.493Z] ---> 17fe02ebbcf5 [2022-07-12T16:25:20.493Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-12T16:25:20.493Z] ---> Running in 16d739bafadd [2022-07-12T16:25:22.502Z] Removing intermediate container 16d739bafadd [2022-07-12T16:25:22.502Z] ---> 477a10c4a413 [2022-07-12T16:25:22.502Z] 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-12T16:25:22.502Z] ---> Running in 76f7e1b8e28b [2022-07-12T16:25:23.954Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-12T16:25:23.954Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-12T16:25:24.557Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-12T16:25:25.537Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-12T16:25:25.537Z] (1/31) Installing hiredis (1.0.2-r0) [2022-07-12T16:25:25.537Z] (2/31) Installing hiredis-dev (1.0.2-r0) [2022-07-12T16:25:25.537Z] (3/31) Installing libcbor (0.8.0-r0) [2022-07-12T16:25:25.537Z] (4/31) Installing libcbor-dev (0.8.0-r0) [2022-07-12T16:25:25.537Z] (5/31) Installing ncurses-dev (6.3_p20211120-r0) [2022-07-12T16:25:25.537Z] (6/31) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-07-12T16:25:26.520Z] (7/31) Installing util-linux (2.37.4-r0) [2022-07-12T16:25:26.520Z] (8/31) Installing libblkid (2.37.4-r0) [2022-07-12T16:25:26.520Z] (9/31) Installing libeconf (0.4.2-r0) [2022-07-12T16:25:26.520Z] (10/31) Installing libuuid (2.37.4-r0) [2022-07-12T16:25:26.520Z] (11/31) Installing libfdisk (2.37.4-r0) [2022-07-12T16:25:26.520Z] (12/31) Installing libmount (2.37.4-r0) [2022-07-12T16:25:26.520Z] (13/31) Installing libsmartcols (2.37.4-r0) [2022-07-12T16:25:26.520Z] (14/31) Installing util-linux-misc (2.37.4-r0) [2022-07-12T16:25:26.520Z] (15/31) Installing linux-pam (1.5.2-r0) [2022-07-12T16:25:26.798Z] (16/31) Installing runuser (2.37.4-r0) [2022-07-12T16:25:26.798Z] (17/31) Installing hexdump (2.37.4-r0) [2022-07-12T16:25:26.798Z] (18/31) Installing uuidgen (2.37.4-r0) [2022-07-12T16:25:26.799Z] (19/31) Installing blkid (2.37.4-r0) [2022-07-12T16:25:26.799Z] (20/31) Installing sfdisk (2.37.4-r0) [2022-07-12T16:25:26.799Z] (21/31) Installing mcookie (2.37.4-r0) [2022-07-12T16:25:26.799Z] (22/31) Installing wipefs (2.37.4-r0) [2022-07-12T16:25:26.799Z] (23/31) Installing cfdisk (2.37.4-r0) [2022-07-12T16:25:26.799Z] (24/31) Installing flock (2.37.4-r0) [2022-07-12T16:25:26.799Z] (25/31) Installing lsblk (2.37.4-r0) [2022-07-12T16:25:26.799Z] (26/31) Installing libcap-ng (0.8.2-r1) [2022-07-12T16:25:26.799Z] (27/31) Installing setpriv (2.37.4-r0) [2022-07-12T16:25:26.799Z] (28/31) Installing logger (2.37.4-r0) [2022-07-12T16:25:26.799Z] (29/31) Installing partx (2.37.4-r0) [2022-07-12T16:25:26.799Z] (30/31) Installing findmnt (2.37.4-r0) [2022-07-12T16:25:26.799Z] (31/31) Installing util-linux-dev (2.37.4-r0) [2022-07-12T16:25:26.799Z] Executing busybox-1.34.1-r5.trigger [2022-07-12T16:25:26.799Z] OK: 290 MiB in 108 packages [2022-07-12T16:25:28.782Z] Removing intermediate container 76f7e1b8e28b [2022-07-12T16:25:28.782Z] ---> 9e8181621201 [2022-07-12T16:25:28.782Z] Step 6/22 : RUN mkdir /tmp/sdk [2022-07-12T16:25:28.782Z] ---> Running in 0099ea85983b [2022-07-12T16:25:30.767Z] Removing intermediate container 0099ea85983b [2022-07-12T16:25:30.767Z] ---> d0b0fd71f821 [2022-07-12T16:25:30.767Z] Step 7/22 : COPY VERSION /tmp/sdk [2022-07-12T16:25:31.045Z] ---> 7045fc3be24b [2022-07-12T16:25:31.045Z] Step 8/22 : COPY src /tmp/sdk/src [2022-07-12T16:25:32.035Z] ---> 6f22591baf0d [2022-07-12T16:25:32.035Z] Step 9/22 : COPY include /tmp/sdk/include [2022-07-12T16:25:32.649Z] ---> 44707636e94b [2022-07-12T16:25:32.649Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2022-07-12T16:25:33.650Z] ---> 55b9ef360ce9 [2022-07-12T16:25:33.650Z] Step 11/22 : COPY LICENSE /tmp/sdk [2022-07-12T16:25:35.683Z] ---> 7ddacb7a4380 [2022-07-12T16:25:35.683Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2022-07-12T16:25:35.963Z] ---> b2d879eca4f0 [2022-07-12T16:25:35.963Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2022-07-12T16:25:35.963Z] ---> Running in 6ea27a0e67bb [2022-07-12T16:25:37.427Z] + CPPCHECK=false [2022-07-12T16:25:37.427Z] + DOCGEN=false [2022-07-12T16:25:37.427Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2022-07-12T16:25:37.427Z] + TOMLVER=SDK-0.2 [2022-07-12T16:25:37.427Z] + CUTILVER=1.2.2 [2022-07-12T16:25:37.427Z] + '[' 0 -gt 0 ] [2022-07-12T16:25:37.427Z] + readlink -f ./scripts/build.sh [2022-07-12T16:25:37.427Z] + dirname /tmp/sdk/scripts/build.sh [2022-07-12T16:25:37.427Z] + dirname /tmp/sdk/scripts [2022-07-12T16:25:37.427Z] + ROOT=/tmp/sdk [2022-07-12T16:25:37.427Z] + cd /tmp/sdk [2022-07-12T16:25:37.427Z] + '[' '!' -d deps ] [2022-07-12T16:25:37.427Z] + mkdir deps [2022-07-12T16:25:37.428Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2022-07-12T16:25:37.428Z] + tar -C deps -z -x -f - [2022-07-12T16:25:37.428Z] Connecting to github.com (140.82.113.3:443) [2022-07-12T16:25:37.428Z] Connecting to codeload.github.com (140.82.112.10:443) [2022-07-12T16:25:37.704Z] writing to stdout [2022-07-12T16:25:37.704Z] - 100% |********************************| 16451 0:00:00 ETA [2022-07-12T16:25:37.704Z] written to stdout [2022-07-12T16:25:37.704Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2022-07-12T16:25:37.704Z] + wget -O - https://github.com/IOTechSystems/iotech-c-utils/archive/v1.2.2.tar.gz [2022-07-12T16:25:37.704Z] + tar -C deps -z -x -f - [2022-07-12T16:25:37.704Z] Connecting to github.com (140.82.113.3:443) [2022-07-12T16:25:37.984Z] Connecting to codeload.github.com (140.82.112.10:443) [2022-07-12T16:25:38.259Z] writing to stdout [2022-07-12T16:25:38.259Z] - 100% |********************************| 189k 0:00:00 ETA [2022-07-12T16:25:38.259Z] written to stdout [2022-07-12T16:25:38.259Z] + mkdir -p src/c/iot [2022-07-12T16:25:38.259Z] + 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-12T16:25:38.259Z] + cp deps/iotech-c-utils-1.2.2/src/c/defs.h.in src/c/iot [2022-07-12T16:25:38.259Z] + cp deps/iotech-c-utils-1.2.2/src/c/yxml.h src/c/iot [2022-07-12T16:25:38.259Z] + cp deps/iotech-c-utils-1.2.2/VERSION src/c/iot [2022-07-12T16:25:38.259Z] + mkdir -p include/iot [2022-07-12T16:25:38.259Z] + 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-12T16:25:38.259Z] + mkdir -p include/iot/os [2022-07-12T16:25:38.259Z] + 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-12T16:25:38.535Z] + mkdir -p /tmp/sdk/build/release [2022-07-12T16:25:38.535Z] + cd /tmp/sdk/build/release [2022-07-12T16:25:38.535Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2022-07-12T16:25:38.810Z] -- The C compiler identification is GNU 10.3.1 [2022-07-12T16:25:38.810Z] -- Detecting C compiler ABI info [2022-07-12T16:25:39.084Z] -- Detecting C compiler ABI info - done [2022-07-12T16:25:39.359Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-07-12T16:25:39.359Z] -- Detecting C compile features [2022-07-12T16:25:39.359Z] -- Detecting C compile features - done [2022-07-12T16:25:39.359Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-07-12T16:25:39.636Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-07-12T16:25:39.636Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-07-12T16:25:39.636Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-07-12T16:25:39.636Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-07-12T16:25:39.636Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-07-12T16:25:39.636Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-07-12T16:25:39.636Z] -- C SDK 0.0.0 for Linux [2022-07-12T16:25:39.636Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-07-12T16:25:39.914Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-07-12T16:25:40.190Z] -- Found Curses: /usr/lib/libcurses.so [2022-07-12T16:25:40.473Z] -- Configuring done [2022-07-12T16:25:40.757Z] -- Generating done [2022-07-12T16:25:40.757Z] -- Build files have been written to: /tmp/sdk/build/release [2022-07-12T16:25:40.757Z] + make all package [2022-07-12T16:25:40.757Z] + tee release.log [2022-07-12T16:25:40.757Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-07-12T16:25:42.237Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-07-12T16:25:42.841Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-07-12T16:25:47.170Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-07-12T16:25:47.809Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-07-12T16:25:48.102Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-07-12T16:25:49.570Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-07-12T16:25:50.554Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-07-12T16:25:50.832Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-07-12T16:25:53.470Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-07-12T16:25:56.866Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-07-12T16:25:57.469Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-07-12T16:25:58.918Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-07-12T16:25:59.901Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-07-12T16:26:00.503Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-07-12T16:26:01.107Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-07-12T16:26:01.383Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-07-12T16:26:06.801Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-07-12T16:26:06.801Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-07-12T16:26:07.076Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-07-12T16:26:07.680Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-07-12T16:26:08.659Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-07-12T16:26:08.659Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-07-12T16:26:08.659Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-07-12T16:26:08.659Z] 275 | const iot_component_factory_t * factory; [2022-07-12T16:26:08.659Z] | ^~~~~~~ [2022-07-12T16:26:09.639Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-07-12T16:26:16.357Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-07-12T16:26:16.629Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-07-12T16:26:17.224Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-07-12T16:26:18.203Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-07-12T16:26:19.180Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-07-12T16:26:19.180Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-07-12T16:26:21.148Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-07-12T16:26:21.741Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-07-12T16:26:23.171Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-07-12T16:26:23.445Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-07-12T16:26:24.039Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-07-12T16:26:28.366Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-07-12T16:26:28.640Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-07-12T16:26:30.626Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-07-12T16:26:31.221Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-07-12T16:26:39.491Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-07-12T16:26:39.775Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-07-12T16:26:40.382Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-07-12T16:26:41.365Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-07-12T16:26:43.336Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-07-12T16:26:47.643Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-07-12T16:26:47.643Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-07-12T16:26:48.632Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-07-12T16:26:49.228Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-07-12T16:26:53.525Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-07-12T16:27:00.219Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-07-12T16:27:01.649Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-07-12T16:27:02.630Z] [ 76%] Linking C shared library libcsdk.so [2022-07-12T16:27:02.905Z] [ 76%] Built target csdk [2022-07-12T16:27:02.905Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-07-12T16:27:04.351Z] [ 79%] Linking C executable template [2022-07-12T16:27:04.624Z] [ 79%] Built target template [2022-07-12T16:27:04.900Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-07-12T16:27:05.528Z] [ 82%] Linking C executable device-counter [2022-07-12T16:27:06.127Z] [ 82%] Built target device-counter [2022-07-12T16:27:06.127Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-07-12T16:27:07.107Z] [ 85%] Linking C executable device-random [2022-07-12T16:27:07.379Z] [ 85%] Built target device-random [2022-07-12T16:27:07.379Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-07-12T16:27:08.360Z] [ 88%] Linking C executable device-gyro [2022-07-12T16:27:08.360Z] [ 88%] Built target device-gyro [2022-07-12T16:27:08.636Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-07-12T16:27:09.234Z] [ 91%] Linking C executable device-bitfields [2022-07-12T16:27:09.834Z] [ 91%] Built target device-bitfields [2022-07-12T16:27:09.834Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-07-12T16:27:11.271Z] [ 94%] Linking C executable template-discovery [2022-07-12T16:27:11.867Z] [ 94%] Built target template-discovery [2022-07-12T16:27:11.867Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-07-12T16:27:12.854Z] [ 97%] Linking C executable device-file [2022-07-12T16:27:13.484Z] [ 97%] Built target device-file [2022-07-12T16:27:13.484Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-07-12T16:27:14.471Z] [100%] Linking C executable device-terminal [2022-07-12T16:27:15.068Z] [100%] Built target device-terminal [2022-07-12T16:27:15.068Z] Run CPack packaging tool... [2022-07-12T16:27:15.068Z] CPack: Create package using TGZ [2022-07-12T16:27:15.068Z] CPack: Install projects [2022-07-12T16:27:15.068Z] CPack: - Run preinstall target for: Csdk [2022-07-12T16:27:16.048Z] CPack: - Install project: Csdk [] [2022-07-12T16:27:16.048Z] CPack: Create package [2022-07-12T16:27:16.321Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2022-07-12T16:27:16.321Z] + '[' false '=' true ] [2022-07-12T16:27:16.321Z] + '[' false '=' true ] [2022-07-12T16:27:16.321Z] + mkdir -p /tmp/sdk/build/debug [2022-07-12T16:27:16.321Z] + cd /tmp/sdk/build/debug [2022-07-12T16:27:16.321Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2022-07-12T16:27:16.913Z] -- The C compiler identification is GNU 10.3.1 [2022-07-12T16:27:16.913Z] -- Detecting C compiler ABI info [2022-07-12T16:27:17.186Z] -- Detecting C compiler ABI info - done [2022-07-12T16:27:17.458Z] -- Check for working C compiler: /usr/bin/cc - skipped [2022-07-12T16:27:17.458Z] -- Detecting C compile features [2022-07-12T16:27:17.458Z] -- Detecting C compile features - done [2022-07-12T16:27:17.459Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2022-07-12T16:27:17.732Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.80.0") [2022-07-12T16:27:17.732Z] -- Found LIBYAML: /usr/lib/libyaml.so [2022-07-12T16:27:17.732Z] -- Found LIBUUID: /usr/lib/libuuid.so [2022-07-12T16:27:17.732Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2022-07-12T16:27:17.732Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2022-07-12T16:27:17.732Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2022-07-12T16:27:17.732Z] -- C SDK 0.0.0 for Linux [2022-07-12T16:27:17.732Z] -- Performing Test CSDK_HAVE_ATOMIC [2022-07-12T16:27:18.005Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2022-07-12T16:27:18.277Z] -- Found Curses: /usr/lib/libcurses.so [2022-07-12T16:27:18.552Z] -- Configuring done [2022-07-12T16:27:18.822Z] -- Generating done [2022-07-12T16:27:18.822Z] -- Build files have been written to: /tmp/sdk/build/debug [2022-07-12T16:27:18.822Z] + make [2022-07-12T16:27:18.822Z] + tee debug.log [2022-07-12T16:27:19.095Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2022-07-12T16:27:19.688Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2022-07-12T16:27:20.281Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2022-07-12T16:27:21.261Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2022-07-12T16:27:21.861Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2022-07-12T16:27:22.136Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2022-07-12T16:27:22.732Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2022-07-12T16:27:23.334Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2022-07-12T16:27:23.607Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2022-07-12T16:27:24.216Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2022-07-12T16:27:25.193Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2022-07-12T16:27:25.464Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2022-07-12T16:27:26.057Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2022-07-12T16:27:26.656Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2022-07-12T16:27:26.928Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/edgex-base.c.o [2022-07-12T16:27:27.202Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2022-07-12T16:27:27.474Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2022-07-12T16:27:28.902Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2022-07-12T16:27:28.902Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/iot/base64.c.o [2022-07-12T16:27:29.173Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/iot/component.c.o [2022-07-12T16:27:29.445Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/iot/config.c.o [2022-07-12T16:27:30.036Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/iot/container.c.o [2022-07-12T16:27:30.036Z] /tmp/sdk/src/c/iot/container.c: In function 'iot_container_init': [2022-07-12T16:27:30.036Z] /tmp/sdk/src/c/iot/container.c:275:37: warning: unused variable 'factory' [-Wunused-variable] [2022-07-12T16:27:30.036Z] 275 | const iot_component_factory_t * factory; [2022-07-12T16:27:30.036Z] | ^~~~~~~ [2022-07-12T16:27:30.306Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/iot/data.c.o [2022-07-12T16:27:32.265Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/iot/hash.c.o [2022-07-12T16:27:32.265Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/iot/iot.c.o [2022-07-12T16:27:32.265Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/iot/json.c.o [2022-07-12T16:27:32.859Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/iot/logger.c.o [2022-07-12T16:27:33.129Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/iot/os.c.o [2022-07-12T16:27:33.401Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/iot/scheduler.c.o [2022-07-12T16:27:33.995Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/iot/thread.c.o [2022-07-12T16:27:33.995Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/iot/threadpool.c.o [2022-07-12T16:27:34.596Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/iot/time.c.o [2022-07-12T16:27:34.868Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/iot/uuid.c.o [2022-07-12T16:27:35.140Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/iot/yxml.c.o [2022-07-12T16:27:35.735Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2022-07-12T16:27:36.007Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2022-07-12T16:27:36.983Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2022-07-12T16:27:37.256Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2022-07-12T16:27:38.694Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2022-07-12T16:27:38.969Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2022-07-12T16:27:39.242Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2022-07-12T16:27:39.839Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2022-07-12T16:27:40.437Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2022-07-12T16:27:42.424Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2022-07-12T16:27:42.702Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2022-07-12T16:27:42.995Z] [ 68%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2022-07-12T16:27:43.611Z] [ 70%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2022-07-12T16:27:44.588Z] [ 71%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2022-07-12T16:27:45.571Z] [ 73%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2022-07-12T16:27:46.175Z] [ 74%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2022-07-12T16:27:46.449Z] [ 76%] Linking C shared library libcsdk.so [2022-07-12T16:27:46.720Z] [ 76%] Built target csdk [2022-07-12T16:27:46.993Z] [ 77%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2022-07-12T16:27:47.264Z] [ 79%] Linking C executable template [2022-07-12T16:27:47.537Z] [ 79%] Built target template [2022-07-12T16:27:47.810Z] [ 80%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2022-07-12T16:27:48.083Z] [ 82%] Linking C executable device-counter [2022-07-12T16:27:48.357Z] [ 82%] Built target device-counter [2022-07-12T16:27:48.357Z] [ 83%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2022-07-12T16:27:48.952Z] [ 85%] Linking C executable device-random [2022-07-12T16:27:49.227Z] [ 85%] Built target device-random [2022-07-12T16:27:49.227Z] [ 86%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2022-07-12T16:27:49.500Z] [ 88%] Linking C executable device-gyro [2022-07-12T16:27:49.772Z] [ 88%] Built target device-gyro [2022-07-12T16:27:49.772Z] [ 89%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2022-07-12T16:27:50.365Z] [ 91%] Linking C executable device-bitfields [2022-07-12T16:27:50.640Z] [ 91%] Built target device-bitfields [2022-07-12T16:27:50.640Z] [ 92%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2022-07-12T16:27:50.910Z] [ 94%] Linking C executable template-discovery [2022-07-12T16:27:51.504Z] [ 94%] Built target template-discovery [2022-07-12T16:27:51.504Z] [ 95%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2022-07-12T16:27:51.776Z] [ 97%] Linking C executable device-file [2022-07-12T16:27:52.053Z] [ 97%] Built target device-file [2022-07-12T16:27:52.328Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2022-07-12T16:27:52.600Z] [100%] Linking C executable device-terminal [2022-07-12T16:27:53.194Z] [100%] Built target device-terminal [2022-07-12T16:27:53.194Z] make: Entering directory '/tmp/sdk/build/release' [2022-07-12T16:27:53.194Z] make[1]: Entering directory '/tmp/sdk/build/release' [2022-07-12T16:27:53.194Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T16:27:53.194Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T16:27:53.194Z] [ 76%] Built target csdk [2022-07-12T16:27:53.194Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T16:27:53.194Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T16:27:53.194Z] [ 79%] Built target template [2022-07-12T16:27:53.194Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T16:27:53.467Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T16:27:53.467Z] [ 82%] Built target device-counter [2022-07-12T16:27:53.467Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T16:27:53.467Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T16:27:53.467Z] [ 85%] Built target device-random [2022-07-12T16:27:53.467Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T16:27:53.467Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T16:27:53.467Z] [ 88%] Built target device-gyro [2022-07-12T16:27:53.467Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T16:27:53.467Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T16:27:53.467Z] [ 91%] Built target device-bitfields [2022-07-12T16:27:53.467Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T16:27:53.467Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T16:27:53.467Z] [ 94%] Built target template-discovery [2022-07-12T16:27:53.467Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T16:27:53.739Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T16:27:53.739Z] [ 97%] Built target device-file [2022-07-12T16:27:53.739Z] make[2]: Entering directory '/tmp/sdk/build/release' [2022-07-12T16:27:53.739Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T16:27:53.739Z] [100%] Built target device-terminal [2022-07-12T16:27:53.739Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2022-07-12T16:27:53.739Z] Install the project... [2022-07-12T16:27:53.739Z] -- Install configuration: "Release" [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/lib/libcsdk.so [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/devsdk [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/edgex [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/edgex/rest-server.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/edgex/edgex.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/edgex/devices.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/edgex/profiles.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/iot [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/iot/threadpool.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/iot/defs.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/iot/time.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/iot/base64.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/iot/component.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/iot/scheduler.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/iot/config.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/iot/container.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/iot/uuid.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/iot/os.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/iot/thread.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/iot/data.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/iot/typecode.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/iot/hash.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/iot/logger.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/iot/os [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/iot/os/zephyr.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/iot/os/macos.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/iot/os/linux.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/iot/json.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/include/iot/iot.h [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2022-07-12T16:27:53.739Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2022-07-12T16:27:53.739Z] make: Leaving directory '/tmp/sdk/build/release' [2022-07-12T16:27:55.715Z] Removing intermediate container 6ea27a0e67bb [2022-07-12T16:27:55.715Z] ---> 145f7b30211f [2022-07-12T16:27:55.715Z] Step 14/22 : FROM ${BASE} [2022-07-12T16:27:55.715Z] ---> aede2dddcadd [2022-07-12T16:27:55.715Z] Step 15/22 : LABEL maintainer="IOTech " [2022-07-12T16:27:55.715Z] ---> Running in f58786beee8c [2022-07-12T16:27:55.988Z] Removing intermediate container f58786beee8c [2022-07-12T16:27:55.988Z] ---> aea8e0a96124 [2022-07-12T16:27:55.988Z] 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-12T16:27:55.988Z] ---> Running in f38ab40452f0 [2022-07-12T16:27:57.437Z] Connecting to iotech.jfrog.io (34.255.222.93:443) [2022-07-12T16:27:57.713Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-12T16:27:57.714Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-12T16:27:57.714Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-12T16:27:58.313Z] Removing intermediate container f38ab40452f0 [2022-07-12T16:27:58.313Z] ---> 233508ec6a6d [2022-07-12T16:27:58.313Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-12T16:27:58.313Z] ---> Running in e8ce408a2aec [2022-07-12T16:28:00.296Z] Removing intermediate container e8ce408a2aec [2022-07-12T16:28:00.296Z] ---> 9234aa044062 [2022-07-12T16:28:00.296Z] 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-12T16:28:00.296Z] ---> Running in fa46c0c7ea5e [2022-07-12T16:28:01.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-12T16:28:01.553Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-12T16:28:02.150Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-12T16:28:03.128Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-12T16:28:03.128Z] (1/6) Installing curl (7.80.0-r2) [2022-07-12T16:28:03.128Z] (2/6) Installing hiredis (1.0.2-r0) [2022-07-12T16:28:03.128Z] (3/6) Installing hiredis-dev (1.0.2-r0) [2022-07-12T16:28:03.128Z] (4/6) Installing libcbor (0.8.0-r0) [2022-07-12T16:28:03.128Z] (5/6) Installing libuuid (2.37.4-r0) [2022-07-12T16:28:03.128Z] (6/6) Installing paho-mqtt-c-dev-1.3 (1.3.10-r0) [2022-07-12T16:28:04.108Z] Executing busybox-1.34.1-r5.trigger [2022-07-12T16:28:04.108Z] OK: 278 MiB in 83 packages [2022-07-12T16:28:05.090Z] Removing intermediate container fa46c0c7ea5e [2022-07-12T16:28:05.090Z] ---> 015e41333714 [2022-07-12T16:28:05.090Z] Step 19/22 : COPY --from=builder /usr/local/include/iot /usr/local/include/iot [2022-07-12T16:28:05.686Z] ---> a392a15b66dc [2022-07-12T16:28:05.686Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2022-07-12T16:28:06.286Z] ---> 123d91b8bf93 [2022-07-12T16:28:06.286Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2022-07-12T16:28:06.887Z] ---> 2c148d426f7d [2022-07-12T16:28:06.887Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2022-07-12T16:28:07.482Z] ---> efad5d0a5462 [2022-07-12T16:28:07.482Z] Successfully built efad5d0a5462 [2022-07-12T16:28:07.482Z] 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-12T16:28:07.903Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T16:28:07.903Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T16:28:08.174Z] prd-ubuntu20.04-docker-arm64-4c-16g-19651 does not seem to be running inside a container [2022-07-12T16:28:08.276Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-12T16:28:09.789Z] $ docker top cb3dfaa2ee72a3801b23a12102f379fb6cdb065faa60e1517943b9f80c91bb36 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T16:28:10.783Z] + make test [2022-07-12T16:28:10.783Z] echo "make test" [2022-07-12T16:28:10.783Z] make test [Pipeline] } [2022-07-12T16:28:10.809Z] $ docker stop --time=1 cb3dfaa2ee72a3801b23a12102f379fb6cdb065faa60e1517943b9f80c91bb36 [2022-07-12T16:28:12.446Z] $ docker rm -f cb3dfaa2ee72a3801b23a12102f379fb6cdb065faa60e1517943b9f80c91bb36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T16:28:13.088Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T16:28:13.430Z] + ls -al . [2022-07-12T16:28:13.430Z] total 204 [2022-07-12T16:28:13.430Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 16:24 . [2022-07-12T16:28:13.430Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 16:24 .. [2022-07-12T16:28:13.430Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 16:24 .git [2022-07-12T16:28:13.430Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 16:24 .github [2022-07-12T16:28:13.430Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 12 16:24 .gitignore [2022-07-12T16:28:13.430Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jul 12 16:24 Attribution.txt [2022-07-12T16:28:13.430Z] -rw-rw-r-- 1 jenkins jenkins 8378 Jul 12 16:24 CHANGES [2022-07-12T16:28:13.430Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 12 16:24 Doxyfile [2022-07-12T16:28:13.430Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 16:24 GOVERNANCE.md [2022-07-12T16:28:13.430Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 12 16:24 Jenkinsfile [2022-07-12T16:28:13.430Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 12 16:24 LICENSE [2022-07-12T16:28:13.430Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 12 16:24 Makefile [2022-07-12T16:28:13.430Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 12 16:24 OWNERS.md [2022-07-12T16:28:13.430Z] -rw-rw-r-- 1 jenkins jenkins 4086 Jul 12 16:24 README.md [2022-07-12T16:28:13.430Z] -rw-rw-r-- 1 jenkins jenkins 7422 Jul 12 16:24 README.v2.md [2022-07-12T16:28:13.430Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 16:15 VERSION [2022-07-12T16:28:13.430Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 16:24 docs [2022-07-12T16:28:13.430Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 16:24 include [2022-07-12T16:28:13.430Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 16:24 scripts [2022-07-12T16:28:13.430Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 16:24 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T16:28:13.793Z] + 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=231b0f45a0f0bdca47eb1a2d28df8efff7262145 --label arch=arm64 --label version=0.0.0 . [2022-07-12T16:28:14.392Z] Sending build context to Docker daemon 2.791MB [2022-07-12T16:28:14.392Z] Step 1/17 : ARG BASE=alpine:3.15 [2022-07-12T16:28:14.392Z] Step 2/17 : FROM ${BASE} [2022-07-12T16:28:14.392Z] ---> efad5d0a5462 [2022-07-12T16:28:14.392Z] Step 3/17 : LABEL maintainer="IOTech " [2022-07-12T16:28:14.392Z] ---> Running in d0a9be650ea0 [2022-07-12T16:28:14.673Z] Removing intermediate container d0a9be650ea0 [2022-07-12T16:28:14.673Z] ---> 3b07b19f6abe [2022-07-12T16:28:14.673Z] 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-12T16:28:14.946Z] ---> Running in 65b2085c1ad2 [2022-07-12T16:28:15.928Z] Connecting to iotech.jfrog.io (3.248.123.150:443) [2022-07-12T16:28:16.199Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2022-07-12T16:28:16.199Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2022-07-12T16:28:16.199Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2022-07-12T16:28:17.187Z] Removing intermediate container 65b2085c1ad2 [2022-07-12T16:28:17.187Z] ---> 14973d7ca457 [2022-07-12T16:28:17.187Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main' >> /etc/apk/repositories [2022-07-12T16:28:17.187Z] ---> Running in f0c47d4516b4 [2022-07-12T16:28:18.745Z] Removing intermediate container f0c47d4516b4 [2022-07-12T16:28:18.745Z] ---> ed9af050b9da [2022-07-12T16:28:18.745Z] 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-12T16:28:18.745Z] ---> Running in 007742a8f2be [2022-07-12T16:28:19.726Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-12T16:28:19.997Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-12T16:28:20.590Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-12T16:28:21.566Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2022-07-12T16:28:21.566Z] (1/26) Installing libcbor-dev (0.8.0-r0) [2022-07-12T16:28:21.566Z] (2/26) Installing ncurses-dev (6.3_p20211120-r0) [2022-07-12T16:28:21.566Z] (3/26) Installing util-linux (2.37.4-r0) [2022-07-12T16:28:21.566Z] (4/26) Installing libblkid (2.37.4-r0) [2022-07-12T16:28:21.566Z] (5/26) Installing libeconf (0.4.2-r0) [2022-07-12T16:28:21.566Z] (6/26) Installing libfdisk (2.37.4-r0) [2022-07-12T16:28:21.566Z] (7/26) Installing libmount (2.37.4-r0) [2022-07-12T16:28:21.566Z] (8/26) Installing libsmartcols (2.37.4-r0) [2022-07-12T16:28:21.566Z] (9/26) Installing util-linux-misc (2.37.4-r0) [2022-07-12T16:28:21.566Z] (10/26) Installing linux-pam (1.5.2-r0) [2022-07-12T16:28:21.566Z] (11/26) Installing runuser (2.37.4-r0) [2022-07-12T16:28:21.566Z] (12/26) Installing hexdump (2.37.4-r0) [2022-07-12T16:28:21.566Z] (13/26) Installing uuidgen (2.37.4-r0) [2022-07-12T16:28:21.566Z] (14/26) Installing blkid (2.37.4-r0) [2022-07-12T16:28:21.566Z] (15/26) Installing sfdisk (2.37.4-r0) [2022-07-12T16:28:21.840Z] (16/26) Installing mcookie (2.37.4-r0) [2022-07-12T16:28:21.840Z] (17/26) Installing wipefs (2.37.4-r0) [2022-07-12T16:28:21.840Z] (18/26) Installing cfdisk (2.37.4-r0) [2022-07-12T16:28:21.840Z] (19/26) Installing flock (2.37.4-r0) [2022-07-12T16:28:21.840Z] (20/26) Installing lsblk (2.37.4-r0) [2022-07-12T16:28:21.840Z] (21/26) Installing libcap-ng (0.8.2-r1) [2022-07-12T16:28:21.840Z] (22/26) Installing setpriv (2.37.4-r0) [2022-07-12T16:28:21.840Z] (23/26) Installing logger (2.37.4-r0) [2022-07-12T16:28:21.840Z] (24/26) Installing partx (2.37.4-r0) [2022-07-12T16:28:21.840Z] (25/26) Installing findmnt (2.37.4-r0) [2022-07-12T16:28:21.840Z] (26/26) Installing util-linux-dev (2.37.4-r0) [2022-07-12T16:28:21.840Z] Executing busybox-1.34.1-r5.trigger [2022-07-12T16:28:21.840Z] OK: 290 MiB in 109 packages [2022-07-12T16:28:23.281Z] Removing intermediate container 007742a8f2be [2022-07-12T16:28:23.281Z] ---> cfb0b5f9fd9d [2022-07-12T16:28:23.281Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2022-07-12T16:28:23.879Z] ---> c4eb83336c71 [2022-07-12T16:28:23.879Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2022-07-12T16:28:24.866Z] ---> cd2b89596fba [2022-07-12T16:28:24.866Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2022-07-12T16:28:25.463Z] ---> 3a8667899c37 [2022-07-12T16:28:25.463Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2022-07-12T16:28:26.061Z] ---> 81ab5a042be0 [2022-07-12T16:28:26.061Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2022-07-12T16:28:26.658Z] ---> 83ad248cc6d1 [2022-07-12T16:28:26.658Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2022-07-12T16:28:27.255Z] ---> d22f8fe20de0 [2022-07-12T16:28:27.255Z] Step 13/17 : WORKDIR /edgex-c-sdk [2022-07-12T16:28:27.255Z] ---> Running in 7b444c10669f [2022-07-12T16:28:27.533Z] Removing intermediate container 7b444c10669f [2022-07-12T16:28:27.533Z] ---> 310fe8c3c852 [2022-07-12T16:28:27.533Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2022-07-12T16:28:27.809Z] ---> Running in dc9b6df8a6ad [2022-07-12T16:28:28.080Z] Removing intermediate container dc9b6df8a6ad [2022-07-12T16:28:28.080Z] ---> 562b45611abe [2022-07-12T16:28:28.080Z] Step 15/17 : LABEL arch=arm64 [2022-07-12T16:28:28.080Z] ---> Running in 146a19ee438b [2022-07-12T16:28:28.360Z] Removing intermediate container 146a19ee438b [2022-07-12T16:28:28.360Z] ---> 60692902eba9 [2022-07-12T16:28:28.360Z] Step 16/17 : LABEL git_sha=231b0f45a0f0bdca47eb1a2d28df8efff7262145 [2022-07-12T16:28:28.636Z] ---> Running in 2429f8500701 [2022-07-12T16:28:28.909Z] Removing intermediate container 2429f8500701 [2022-07-12T16:28:28.909Z] ---> d6a57b0c44ef [2022-07-12T16:28:28.909Z] Step 17/17 : LABEL version=0.0.0 [2022-07-12T16:28:28.909Z] ---> Running in 6e576b38a118 [2022-07-12T16:28:29.181Z] Removing intermediate container 6e576b38a118 [2022-07-12T16:28:29.181Z] ---> 8a7f25faa78b [2022-07-12T16:28:29.181Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2022-07-12T16:28:29.453Z] Successfully built 8a7f25faa78b [2022-07-12T16:28:29.453Z] 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-12T16:28:29.928Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T16:28:30.202Z] [2022-07-12T16:28:30.202Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T16:28:30.558Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T16:28:30.834Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-12T16:28:30.834Z] 8998bd30e6a1: Pulling fs layer [2022-07-12T16:28:30.834Z] 04944245beec: Pulling fs layer [2022-07-12T16:28:30.834Z] 699f458cf7ca: Pulling fs layer [2022-07-12T16:28:30.834Z] 765212b225bb: Pulling fs layer [2022-07-12T16:28:30.834Z] f23df028b6ca: Pulling fs layer [2022-07-12T16:28:30.834Z] d65c8cfc05b1: Pulling fs layer [2022-07-12T16:28:30.834Z] 2437ff75d9bd: Pulling fs layer [2022-07-12T16:28:30.834Z] f23df028b6ca: Waiting [2022-07-12T16:28:30.834Z] 765212b225bb: Waiting [2022-07-12T16:28:30.834Z] d65c8cfc05b1: Waiting [2022-07-12T16:28:30.834Z] 2437ff75d9bd: Waiting [2022-07-12T16:28:30.834Z] 04944245beec: Verifying Checksum [2022-07-12T16:28:30.834Z] 04944245beec: Download complete [2022-07-12T16:28:30.834Z] 765212b225bb: Verifying Checksum [2022-07-12T16:28:30.834Z] 765212b225bb: Download complete [2022-07-12T16:28:31.108Z] f23df028b6ca: Verifying Checksum [2022-07-12T16:28:31.108Z] f23df028b6ca: Download complete [2022-07-12T16:28:31.108Z] d65c8cfc05b1: Verifying Checksum [2022-07-12T16:28:31.108Z] d65c8cfc05b1: Download complete [2022-07-12T16:28:31.108Z] 699f458cf7ca: Verifying Checksum [2022-07-12T16:28:31.108Z] 699f458cf7ca: Download complete [2022-07-12T16:28:31.380Z] 8998bd30e6a1: Verifying Checksum [2022-07-12T16:28:31.380Z] 8998bd30e6a1: Download complete [2022-07-12T16:28:34.010Z] 2437ff75d9bd: Verifying Checksum [2022-07-12T16:28:35.983Z] 8998bd30e6a1: Pull complete [2022-07-12T16:28:36.257Z] 04944245beec: Pull complete [2022-07-12T16:28:37.692Z] 699f458cf7ca: Pull complete [2022-07-12T16:28:37.692Z] 765212b225bb: Pull complete [2022-07-12T16:28:38.670Z] f23df028b6ca: Pull complete [2022-07-12T16:28:38.949Z] d65c8cfc05b1: Pull complete [2022-07-12T16:28:54.036Z] 2437ff75d9bd: Pull complete [2022-07-12T16:28:54.036Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-12T16:28:54.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T16:28:54.036Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T16:28:54.338Z] prd-ubuntu20.04-docker-arm64-4c-16g-19651 does not seem to be running inside a container [2022-07-12T16:28:54.446Z] $ 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/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-12T16:28:57.227Z] $ docker top 429f98425ace38af552daf789f546af1512bbb043f56270e57605ed78188abde -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:28:58.195Z] ---> job-cost.sh [2022-07-12T16:28:58.195Z] lf-activate-venv: SKIPPING [2022-07-12T16:28:58.195Z] INFO: No Stack... [2022-07-12T16:28:59.169Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-12T16:28:59.760Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T16:29:00.419Z] + cat /w/workspace/device-sdk-c/5/archives/cost.csv [2022-07-12T16:29:00.419Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T16:29:00.486Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-425-5-stack-cost] [2022-07-12T16:29:00.495Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-425-5-stack-cost] did not exist. Created. [2022-07-12T16:29:00.495Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-425-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T16:29:01.175Z] /w/workspace/device-sdk-c/5@tmp/durable-c60dd330/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-12T16:29:01.849Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-12T16:29:01.874Z] Warning: overwriting stash ‘stack-cost’ [2022-07-12T16:29:02.526Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T16:29:02.534Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-425-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T16:29:02.559Z] $ docker stop --time=1 429f98425ace38af552daf789f546af1512bbb043f56270e57605ed78188abde [2022-07-12T16:29:04.140Z] $ docker rm -f 429f98425ace38af552daf789f546af1512bbb043f56270e57605ed78188abde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-12T16:29:04.930Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-425/archives ] [2022-07-12T16:29:04.930Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-425/archives [2022-07-12T16:29:04.930Z] total 16 [2022-07-12T16:29:04.930Z] drwxr-xr-x 3 root root 4096 Jul 12 16:16 . [2022-07-12T16:29:04.930Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 16:16 .. [2022-07-12T16:29:04.930Z] drwxr-xr-x 2 root root 4096 Jul 12 16:16 cost [2022-07-12T16:29:04.930Z] -rw-r--r-- 1 root root 83 Jul 12 16:16 cost.csv [2022-07-12T16:29:04.930Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-425/archives [2022-07-12T16:29:04.930Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-425/archives [2022-07-12T16:29:04.930Z] total 16 [2022-07-12T16:29:04.930Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 16:16 . [2022-07-12T16:29:04.930Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 16:16 .. [2022-07-12T16:29:04.930Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 16:16 cost [2022-07-12T16:29:04.930Z] -rw-r--r-- 1 jenkins jenkins 83 Jul 12 16:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:29:05.223Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:29:06.091Z] ---> package-listing.sh [2022-07-12T16:29:06.091Z] ++ facter osfamily [2022-07-12T16:29:06.091Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-12T16:29:06.353Z] + OS_FAMILY=debian [2022-07-12T16:29:06.353Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-425 [2022-07-12T16:29:06.353Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-12T16:29:06.353Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-12T16:29:06.353Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-12T16:29:06.353Z] + PACKAGES=/tmp/packages_start.txt [2022-07-12T16:29:06.353Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-425 ']' [2022-07-12T16:29:06.353Z] + PACKAGES=/tmp/packages_end.txt [2022-07-12T16:29:06.353Z] + case "${OS_FAMILY}" in [2022-07-12T16:29:06.353Z] + dpkg -l [2022-07-12T16:29:06.353Z] + grep '^ii' [2022-07-12T16:29:06.353Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-12T16:29:06.353Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-12T16:29:06.353Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-12T16:29:06.353Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-425 ']' [2022-07-12T16:29:06.353Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-425/archives/ [2022-07-12T16:29:06.353Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-425/archives/ [Pipeline] echo [2022-07-12T16:29:06.367Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-425/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-12T16:29:06.646Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T16:29:06.951Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T16:29:06.951Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T16:29:07.027Z] prd-ubuntu20.04-docker-8c-8g-19581 does not seem to be running inside a container [2022-07-12T16:29:07.066Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-425/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-425 -v /w/workspace/edgexfoundry_device-sdk-c_PR-425:/w/workspace/edgexfoundry_device-sdk-c_PR-425:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-12T16:29:07.298Z] $ docker top 42d28f2d63ccd80c45b4255939b7732680ec467d2592737c2b430402ba399839 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T16:29:07.654Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-12T16:29:07.944Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-12T16:29:08.234Z] + ls /var/log/sa-host [2022-07-12T16:29:08.234Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T16:29:08.296Z] provisioning config files... [2022-07-12T16:29:08.305Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-425@tmp/config4764260391178264227tmp [Pipeline] { [Pipeline] echo [2022-07-12T16:29:08.321Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:29:08.606Z] ---> create-netrc.sh [Pipeline] } [2022-07-12T16:29:08.615Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:29:08.944Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-12T16:29:08.955Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:29:09.246Z] ---> sudo-logs.sh [2022-07-12T16:29:09.246Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-12T16:29:09.278Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:29:09.565Z] ---> job-cost.sh [2022-07-12T16:29:09.565Z] lf-activate-venv: SKIPPING [2022-07-12T16:29:09.565Z] DEBUG: total: 0.2199999988079071 [2022-07-12T16:29:09.565Z] INFO: Retrieving Stack Cost... [2022-07-12T16:29:10.511Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T16:29:10.772Z] INFO: Archiving Costs [Pipeline] echo [2022-07-12T16:29:10.785Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T16:29:11.072Z] ---> logs-deploy.sh [2022-07-12T16:29:11.072Z] lf-activate-venv: SKIPPING [2022-07-12T16:29:11.072Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-425/5 [2022-07-12T16:29:11.072Z] INFO: archiving workspace using pattern(s): [2022-07-12T16:29:12.015Z] Archives upload complete. [2022-07-12T16:29:12.015Z] INFO: archiving logs to Nexus