Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 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-ssh6098430312623713440.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh7739488122232318557.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17426213937000696231.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh9173791797094309660.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18292881093482054710.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1693 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 # timeout=10 Commit message: "Merge pull request #470 from FelixTing/issue-464" > git rev-list --no-walk e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-21T00:45:16.717Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-21T00:45:16.783Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-21T00:45:16.798Z] ========================================================= [2023-07-21T00:45:16.798Z] EdgeX Global Pipelines Version Info [2023-07-21T00:45:16.798Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-21T00:45:17.503Z] ------------------- [2023-07-21T00:45:17.503Z] stable info: [2023-07-21T00:45:17.503Z] ------------------- [2023-07-21T00:45:17.503Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-21T00:45:17.503Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-21T00:45:17.503Z] Message: update stable to v1.0.250 [2023-07-21T00:45:18.075Z] ------------------- [2023-07-21T00:45:18.075Z] experimental info: [2023-07-21T00:45:18.075Z] ------------------- [2023-07-21T00:45:18.075Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-21T00:45:18.075Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-21T00:45:18.075Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-21T00:45:18.245Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-07-21T00:45:18.259Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-07-21T00:45:18.277Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-21T00:45:18.292Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-21T00:45:18.308Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-21T00:45:18.319Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-07-21T00:45:18.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-07-21T00:45:18.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-21T00:45:18.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-21T00:45:18.379Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-07-21T00:45:18.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-21T00:45:18.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-21T00:45:18.417Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-21T00:45:18.428Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-21T00:45:18.441Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-21T00:45:18.454Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-21T00:45:18.469Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-21T00:45:18.484Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-07-21T00:45:18.501Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-07-21T00:45:18.512Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-07-21T00:45:18.526Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 [Pipeline] echo [2023-07-21T00:45:18.543Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e4aa58a [Pipeline] echo [2023-07-21T00:45:18.559Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-21T00:45:18.603Z] provisioning config files... [2023-07-21T00:45:18.616Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5481204566401729706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T00:45:18.927Z] ---> docker-login.sh [2023-07-21T00:45:18.927Z] nexus3.edgexfoundry.org:10001 [2023-07-21T00:45:19.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T00:45:19.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T00:45:19.188Z] Configure a credential helper to remove this warning. See [2023-07-21T00:45:19.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T00:45:19.188Z] [2023-07-21T00:45:19.188Z] Login Succeeded [2023-07-21T00:45:19.188Z] nexus3.edgexfoundry.org:10002 [2023-07-21T00:45:19.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T00:45:19.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T00:45:19.449Z] Configure a credential helper to remove this warning. See [2023-07-21T00:45:19.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T00:45:19.449Z] [2023-07-21T00:45:19.449Z] Login Succeeded [2023-07-21T00:45:19.449Z] nexus3.edgexfoundry.org:10003 [2023-07-21T00:45:19.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T00:45:19.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T00:45:19.449Z] Configure a credential helper to remove this warning. See [2023-07-21T00:45:19.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T00:45:19.449Z] [2023-07-21T00:45:19.449Z] Login Succeeded [2023-07-21T00:45:19.449Z] nexus3.edgexfoundry.org:10004 [2023-07-21T00:45:19.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T00:45:19.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T00:45:19.710Z] Configure a credential helper to remove this warning. See [2023-07-21T00:45:19.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T00:45:19.710Z] [2023-07-21T00:45:19.710Z] Login Succeeded [2023-07-21T00:45:19.710Z] docker.io [2023-07-21T00:45:19.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T00:45:19.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T00:45:19.970Z] Configure a credential helper to remove this warning. See [2023-07-21T00:45:19.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T00:45:19.970Z] [2023-07-21T00:45:19.970Z] Login Succeeded [2023-07-21T00:45:19.970Z] ---> docker-login.sh ends [Pipeline] } [2023-07-21T00:45:19.977Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2023-07-21T00:45:20.347Z] + git rev-list -1 --merges e4aa58a90e880d3b2fc448b9bdb101dfbcc44123~1..e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 [Pipeline] echo [2023-07-21T00:45:20.393Z] -----------> git rev-list -1 --merges e4aa58a90e880d3b2fc448b9bdb101dfbcc44123~1..e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 [2023-07-21T00:45:20.393Z] e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 [false] [Pipeline] sh [2023-07-21T00:45:20.683Z] + git log --format=format:%s -1 e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 [Pipeline] echo [2023-07-21T00:45:20.698Z] ========================================================= [2023-07-21T00:45:20.698Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-21T00:45:20.698Z] ========================================================= 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 [2023-07-21T00:45:21.085Z] + git rev-list -1 --merges e4aa58a90e880d3b2fc448b9bdb101dfbcc44123~1..e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 [Pipeline] echo [2023-07-21T00:45:21.097Z] -----------> git rev-list -1 --merges e4aa58a90e880d3b2fc448b9bdb101dfbcc44123~1..e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 [2023-07-21T00:45:21.097Z] e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 [false] [Pipeline] sh [2023-07-21T00:45:21.383Z] + git log --format=format:%s -1 e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 [Pipeline] echo [2023-07-21T00:45:21.397Z] ========================================================= [2023-07-21T00:45:21.397Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-21T00:45:21.397Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-07-21T00:45:21.841Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-21T00:45:21.841Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-21T00:45:21.841Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-21T00:45:21.841Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-21T00:45:21.841Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-21T00:45:21.841Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-21T00:45:21.841Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T00:45:22.268Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-21T00:45:22.268Z] [2023-07-21T00:45:22.268Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T00:45:22.576Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-21T00:45:22.576Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-21T00:45:22.576Z] b85a868b505f: Pulling fs layer [2023-07-21T00:45:22.576Z] e2be974225ed: Pulling fs layer [2023-07-21T00:45:22.576Z] 339a4e72a1f5: Pulling fs layer [2023-07-21T00:45:22.576Z] 988bab9f4d93: Pulling fs layer [2023-07-21T00:45:22.576Z] 1469e6f7b9e6: Pulling fs layer [2023-07-21T00:45:22.576Z] eaf3925da568: Pulling fs layer [2023-07-21T00:45:22.576Z] bab4dde63d76: Pulling fs layer [2023-07-21T00:45:22.576Z] bde34c3a00c8: Pulling fs layer [2023-07-21T00:45:22.576Z] b352a97aabf1: Pulling fs layer [2023-07-21T00:45:22.576Z] 4872d77fe225: Pulling fs layer [2023-07-21T00:45:22.576Z] 5851b861e8e6: Pulling fs layer [2023-07-21T00:45:22.576Z] 988bab9f4d93: Waiting [2023-07-21T00:45:22.576Z] 1469e6f7b9e6: Waiting [2023-07-21T00:45:22.576Z] bab4dde63d76: Waiting [2023-07-21T00:45:22.576Z] 5851b861e8e6: Waiting [2023-07-21T00:45:22.576Z] bde34c3a00c8: Waiting [2023-07-21T00:45:22.576Z] eaf3925da568: Waiting [2023-07-21T00:45:22.576Z] b352a97aabf1: Waiting [2023-07-21T00:45:22.576Z] e2be974225ed: Download complete [2023-07-21T00:45:22.576Z] 988bab9f4d93: Verifying Checksum [2023-07-21T00:45:22.576Z] 988bab9f4d93: Download complete [2023-07-21T00:45:22.849Z] 1469e6f7b9e6: Verifying Checksum [2023-07-21T00:45:22.849Z] 1469e6f7b9e6: Download complete [2023-07-21T00:45:22.849Z] eaf3925da568: Verifying Checksum [2023-07-21T00:45:22.849Z] eaf3925da568: Download complete [2023-07-21T00:45:22.849Z] 339a4e72a1f5: Verifying Checksum [2023-07-21T00:45:22.849Z] 339a4e72a1f5: Download complete [2023-07-21T00:45:22.849Z] bde34c3a00c8: Download complete [2023-07-21T00:45:22.849Z] b352a97aabf1: Verifying Checksum [2023-07-21T00:45:22.849Z] b352a97aabf1: Download complete [2023-07-21T00:45:22.849Z] 4872d77fe225: Verifying Checksum [2023-07-21T00:45:22.849Z] 4872d77fe225: Download complete [2023-07-21T00:45:22.849Z] 5851b861e8e6: Verifying Checksum [2023-07-21T00:45:22.849Z] 5851b861e8e6: Download complete [2023-07-21T00:45:22.849Z] b85a868b505f: Verifying Checksum [2023-07-21T00:45:22.849Z] b85a868b505f: Download complete [2023-07-21T00:45:23.108Z] bab4dde63d76: Download complete [2023-07-21T00:45:24.043Z] b85a868b505f: Pull complete [2023-07-21T00:45:24.043Z] e2be974225ed: Pull complete [2023-07-21T00:45:24.611Z] 339a4e72a1f5: Pull complete [2023-07-21T00:45:24.611Z] 988bab9f4d93: Pull complete [2023-07-21T00:45:24.869Z] 1469e6f7b9e6: Pull complete [2023-07-21T00:45:25.127Z] eaf3925da568: Pull complete [2023-07-21T00:45:27.035Z] bab4dde63d76: Pull complete [2023-07-21T00:45:27.035Z] bde34c3a00c8: Pull complete [2023-07-21T00:45:27.035Z] b352a97aabf1: Pull complete [2023-07-21T00:45:27.035Z] 4872d77fe225: Pull complete [2023-07-21T00:45:27.035Z] 5851b861e8e6: Pull complete [2023-07-21T00:45:27.035Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-21T00:45:27.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-21T00:45:27.035Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T00:45:27.124Z] prd-ubuntu20.04-docker-8c-8g-1693 does not seem to be running inside a container [2023-07-21T00:45:27.146Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-21T00:45:30.447Z] $ docker top a306cb386ec16839b7925e61b2cbcb8adda5791f329a64a8a9c289e24039bb78 -eo pid,comm [2023-07-21T00:45:30.526Z] 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). [2023-07-21T00:45:30.526Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-21T00:45:30.554Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-21T00:45:30.554Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-21T00:45:30.660Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-21T00:45:30.657Z] $ docker exec a306cb386ec16839b7925e61b2cbcb8adda5791f329a64a8a9c289e24039bb78 ssh-agent [2023-07-21T00:45:30.784Z] SSH_AUTH_SOCK=/tmp/ssh-ds4rDX8aal1g/agent.14 [2023-07-21T00:45:30.784Z] SSH_AGENT_PID=20 [2023-07-21T00:45:30.792Z] Running ssh-add (command line suppressed) [2023-07-21T00:45:30.885Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2069926941683464484.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2069926941683464484.key) [2023-07-21T00:45:30.902Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-21T00:45:31.187Z] + git tag --points-at HEAD [Pipeline] } [2023-07-21T00:45:31.203Z] $ docker exec --env ******** --env ******** a306cb386ec16839b7925e61b2cbcb8adda5791f329a64a8a9c289e24039bb78 ssh-agent -k [2023-07-21T00:45:31.300Z] unset SSH_AUTH_SOCK; [2023-07-21T00:45:31.301Z] unset SSH_AGENT_PID; [2023-07-21T00:45:31.301Z] echo Agent pid 20 killed; [2023-07-21T00:45:31.314Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-21T00:45:31.341Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-21T00:45:31.341Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-21T00:45:31.438Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-21T00:45:31.436Z] $ docker exec a306cb386ec16839b7925e61b2cbcb8adda5791f329a64a8a9c289e24039bb78 ssh-agent [2023-07-21T00:45:31.554Z] SSH_AUTH_SOCK=/tmp/ssh-hWQipj40OpTT/agent.71 [2023-07-21T00:45:31.554Z] SSH_AGENT_PID=77 [2023-07-21T00:45:31.559Z] Running ssh-add (command line suppressed) [2023-07-21T00:45:31.652Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3010641134479072802.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3010641134479072802.key) [2023-07-21T00:45:31.668Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-21T00:45:31.954Z] + git semver init [2023-07-21T00:45:32.214Z] 2023-07-21 00:45:32,120 [run_init] DEBUG init version:0.0.0 force:False [2023-07-21T00:45:32.214Z] 2023-07-21 00:45:32,121 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-07-21T00:45:32.214Z] 2023-07-21 00:45:32,121 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-07-21T00:45:32.214Z] 2023-07-21 00:45:32,122 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2023-07-21T00:45:33.153Z] 2023-07-21 00:45:32,943 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2023-07-21T00:45:33.153Z] 2023-07-21 00:45:32,943 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2023-07-21T00:45:33.153Z] 2023-07-21 00:45:32,943 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-07-21T00:45:33.153Z] 2023-07-21 00:45:32,944 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-07-21T00:45:33.153Z] 3.1.0-dev.4 [Pipeline] } [2023-07-21T00:45:33.159Z] $ docker exec --env ******** --env ******** a306cb386ec16839b7925e61b2cbcb8adda5791f329a64a8a9c289e24039bb78 ssh-agent -k [2023-07-21T00:45:33.258Z] unset SSH_AUTH_SOCK; [2023-07-21T00:45:33.258Z] unset SSH_AGENT_PID; [2023-07-21T00:45:33.258Z] echo Agent pid 77 killed; [2023-07-21T00:45:33.270Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-21T00:45:33.564Z] + git semver [Pipeline] } [2023-07-21T00:45:33.833Z] $ docker stop --time=1 a306cb386ec16839b7925e61b2cbcb8adda5791f329a64a8a9c289e24039bb78 [2023-07-21T00:45:35.116Z] $ docker rm -f --volumes a306cb386ec16839b7925e61b2cbcb8adda5791f329a64a8a9c289e24039bb78 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-21T00:45:35.450Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-21T00:45:35.643Z] Stashed 1 file(s) [Pipeline] echo [2023-07-21T00:45:35.646Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.4 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-21T00:45:35.760Z] provisioning config files... [2023-07-21T00:45:35.768Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6870606066689248013tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T00:45:36.057Z] ---> docker-login.sh [2023-07-21T00:45:36.058Z] nexus3.edgexfoundry.org:10001 [2023-07-21T00:45:36.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T00:45:36.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T00:45:36.058Z] Configure a credential helper to remove this warning. See [2023-07-21T00:45:36.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T00:45:36.058Z] [2023-07-21T00:45:36.058Z] Login Succeeded [2023-07-21T00:45:36.058Z] nexus3.edgexfoundry.org:10002 [2023-07-21T00:45:36.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T00:45:36.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T00:45:36.058Z] Configure a credential helper to remove this warning. See [2023-07-21T00:45:36.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T00:45:36.058Z] [2023-07-21T00:45:36.058Z] Login Succeeded [2023-07-21T00:45:36.058Z] nexus3.edgexfoundry.org:10003 [2023-07-21T00:45:36.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T00:45:36.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T00:45:36.316Z] Configure a credential helper to remove this warning. See [2023-07-21T00:45:36.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T00:45:36.316Z] [2023-07-21T00:45:36.316Z] Login Succeeded [2023-07-21T00:45:36.316Z] nexus3.edgexfoundry.org:10004 [2023-07-21T00:45:36.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T00:45:36.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T00:45:36.316Z] Configure a credential helper to remove this warning. See [2023-07-21T00:45:36.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T00:45:36.316Z] [2023-07-21T00:45:36.316Z] Login Succeeded [2023-07-21T00:45:36.316Z] docker.io [2023-07-21T00:45:36.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T00:45:36.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T00:45:36.575Z] Configure a credential helper to remove this warning. See [2023-07-21T00:45:36.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T00:45:36.575Z] [2023-07-21T00:45:36.575Z] Login Succeeded [2023-07-21T00:45:36.575Z] ---> docker-login.sh ends [Pipeline] } [2023-07-21T00:45:36.583Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-21T00:45:36.649Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-21T00:45:36.660Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-07-21T00:45:36.672Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-21T00:45:36.680Z] ========================================================= [2023-07-21T00:45:36.680Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-07-21T00:45:36.680Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T00:45:36.984Z] + 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 . [2023-07-21T00:45:36.984Z] Sending build context to Docker daemon 4.831MB [2023-07-21T00:45:36.984Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-21T00:45:36.984Z] Step 2/21 : FROM ${BASE} as builder [2023-07-21T00:45:36.984Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-07-21T00:45:36.984Z] 91d30c5bc195: Pulling fs layer [2023-07-21T00:45:36.984Z] 316e5a4585fb: Pulling fs layer [2023-07-21T00:45:37.244Z] 91d30c5bc195: Verifying Checksum [2023-07-21T00:45:37.244Z] 91d30c5bc195: Download complete [2023-07-21T00:45:37.244Z] 91d30c5bc195: Pull complete [2023-07-21T00:45:37.812Z] 316e5a4585fb: Verifying Checksum [2023-07-21T00:45:37.812Z] 316e5a4585fb: Download complete [2023-07-21T00:45:40.351Z] 316e5a4585fb: Pull complete [2023-07-21T00:45:40.351Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-07-21T00:45:40.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-07-21T00:45:40.351Z] ---> e83ffa357ff4 [2023-07-21T00:45:40.351Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-21T00:45:44.592Z] ---> Running in cf343f34bb8a [2023-07-21T00:45:44.592Z] Connecting to iotech.jfrog.io (54.74.160.35:443) [2023-07-21T00:45:44.851Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-21T00:45:44.851Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-21T00:45:44.851Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-21T00:45:45.110Z] Removing intermediate container cf343f34bb8a [2023-07-21T00:45:45.110Z] ---> 7ae22a1b8405 [2023-07-21T00:45:45.110Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-21T00:45:45.110Z] ---> Running in 9352cf64fdf0 [2023-07-21T00:45:45.677Z] Removing intermediate container 9352cf64fdf0 [2023-07-21T00:45:45.677Z] ---> 139fdf43c396 [2023-07-21T00:45:45.677Z] Step 5/21 : 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 iotech-iot-1.5-dev hiredis-dev [2023-07-21T00:45:45.677Z] ---> Running in 722e5b910cd5 [2023-07-21T00:45:45.935Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-21T00:45:46.196Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-21T00:45:46.196Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-21T00:45:46.763Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-21T00:45:46.763Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-21T00:45:46.763Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-21T00:45:46.763Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-21T00:45:46.763Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-21T00:45:46.763Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-21T00:45:47.701Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-21T00:45:47.701Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-21T00:45:47.701Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-21T00:45:47.701Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-21T00:45:47.701Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-21T00:45:48.268Z] (11/16) Installing libblkid (2.38-r1) [2023-07-21T00:45:48.528Z] (12/16) Installing libuuid (2.38-r1) [2023-07-21T00:45:48.528Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-21T00:45:48.528Z] (14/16) Installing libmount (2.38-r1) [2023-07-21T00:45:48.528Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-21T00:45:48.528Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-21T00:45:48.528Z] Executing busybox-1.35.0-r17.trigger [2023-07-21T00:45:48.528Z] OK: 280 MiB in 90 packages [2023-07-21T00:45:49.094Z] Removing intermediate container 722e5b910cd5 [2023-07-21T00:45:49.094Z] ---> bc7695958260 [2023-07-21T00:45:49.094Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-21T00:45:49.094Z] ---> Running in 21aadfeaae3b [2023-07-21T00:45:50.055Z] Removing intermediate container 21aadfeaae3b [2023-07-21T00:45:50.055Z] ---> f4515f16a3c0 [2023-07-21T00:45:50.055Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-21T00:45:50.055Z] ---> a2237ca8ed11 [2023-07-21T00:45:50.055Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-21T00:45:50.315Z] ---> 693958291607 [2023-07-21T00:45:50.315Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-21T00:45:50.315Z] ---> 3e7ed93857ad [2023-07-21T00:45:50.315Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-21T00:45:50.575Z] ---> 11ffa2e7ae86 [2023-07-21T00:45:50.575Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-21T00:45:50.575Z] ---> 65715236e06c [2023-07-21T00:45:50.575Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-21T00:45:50.733Z] Still waiting to schedule task [2023-07-21T00:45:50.733Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1692’ [2023-07-21T00:45:50.834Z] ---> 8834c2f5bdf5 [2023-07-21T00:45:50.834Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-21T00:45:50.834Z] ---> Running in 5ccbb1534b2a [2023-07-21T00:45:51.094Z] + CPPCHECK=false [2023-07-21T00:45:51.094Z] + DOCGEN=false [2023-07-21T00:45:51.094Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-21T00:45:51.094Z] + '[' 0 -gt 0 ] [2023-07-21T00:45:51.094Z] + readlink -f ./scripts/build.sh [2023-07-21T00:45:51.094Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-21T00:45:51.094Z] + dirname /tmp/sdk/scripts [2023-07-21T00:45:51.094Z] + ROOT=/tmp/sdk [2023-07-21T00:45:51.094Z] + cd /tmp/sdk [2023-07-21T00:45:51.094Z] + mkdir -p /tmp/sdk/build/release [2023-07-21T00:45:51.094Z] + cd /tmp/sdk/build/release [2023-07-21T00:45:51.094Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-21T00:45:51.094Z] -- The C compiler identification is GNU 11.2.1 [2023-07-21T00:45:51.094Z] -- Detecting C compiler ABI info [2023-07-21T00:45:51.094Z] -- Detecting C compiler ABI info - done [2023-07-21T00:45:51.352Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-21T00:45:51.352Z] -- Detecting C compile features [2023-07-21T00:45:51.352Z] -- Detecting C compile features - done [2023-07-21T00:45:51.352Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-21T00:45:51.352Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-21T00:45:51.352Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-21T00:45:51.352Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-21T00:45:51.352Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-21T00:45:51.352Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-21T00:45:51.352Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-21T00:45:51.352Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-21T00:45:51.352Z] -- /opt/iotech/iot/1.5/include [2023-07-21T00:45:51.352Z] -- C SDK 3.1.0-dev.4 for Linux [2023-07-21T00:45:51.352Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-21T00:45:51.352Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-21T00:45:51.352Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-21T00:45:51.352Z] -- Configuring done [2023-07-21T00:45:51.610Z] -- Generating done [2023-07-21T00:45:51.610Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-21T00:45:51.610Z] + make all package [2023-07-21T00:45:51.610Z] + tee release.log [2023-07-21T00:45:51.610Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-21T00:45:51.610Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-21T00:45:51.869Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-21T00:45:51.869Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-21T00:45:52.129Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-21T00:45:52.129Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-21T00:45:52.695Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-21T00:45:52.695Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-21T00:45:52.695Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-21T00:45:52.954Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-21T00:45:53.213Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-21T00:45:53.472Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-21T00:45:53.730Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-21T00:45:53.730Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-21T00:45:53.730Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-21T00:45:53.990Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-21T00:45:53.990Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-21T00:45:54.557Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-21T00:45:54.557Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-21T00:45:54.557Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-21T00:45:54.815Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-21T00:45:55.751Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-21T00:45:56.009Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-21T00:45:56.009Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-21T00:45:56.010Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-21T00:45:56.268Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-21T00:45:56.527Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-21T00:45:56.786Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-21T00:45:56.786Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-21T00:45:57.045Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-21T00:45:57.305Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-21T00:45:57.564Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-21T00:45:57.822Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-21T00:45:57.822Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-21T00:45:58.080Z] [ 68%] Linking C shared library libcsdk.so [2023-07-21T00:45:58.080Z] [ 68%] Built target csdk [2023-07-21T00:45:58.080Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-21T00:45:58.080Z] [ 72%] Linking C executable template [2023-07-21T00:45:58.338Z] [ 72%] Built target template [2023-07-21T00:45:58.338Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-21T00:45:58.338Z] [ 76%] Linking C executable device-counter [2023-07-21T00:45:58.338Z] [ 76%] Built target device-counter [2023-07-21T00:45:58.597Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-21T00:45:58.597Z] [ 80%] Linking C executable device-random [2023-07-21T00:45:58.597Z] [ 80%] Built target device-random [2023-07-21T00:45:58.597Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-21T00:45:58.856Z] [ 84%] Linking C executable device-gyro [2023-07-21T00:45:58.856Z] [ 84%] Built target device-gyro [2023-07-21T00:45:58.856Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-21T00:45:58.857Z] [ 88%] Linking C executable device-bitfields [2023-07-21T00:45:59.114Z] [ 88%] Built target device-bitfields [2023-07-21T00:45:59.114Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-21T00:45:59.114Z] [ 92%] Linking C executable template-discovery [2023-07-21T00:45:59.372Z] [ 92%] Built target template-discovery [2023-07-21T00:45:59.372Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-21T00:45:59.372Z] [ 96%] Linking C executable device-file [2023-07-21T00:45:59.372Z] [ 96%] Built target device-file [2023-07-21T00:45:59.372Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-21T00:45:59.631Z] [100%] Linking C executable device-terminal [2023-07-21T00:45:59.631Z] [100%] Built target device-terminal [2023-07-21T00:45:59.631Z] Run CPack packaging tool... [2023-07-21T00:45:59.631Z] CPack: Create package using TGZ [2023-07-21T00:45:59.631Z] CPack: Install projects [2023-07-21T00:45:59.631Z] CPack: - Run preinstall target for: Csdk [2023-07-21T00:45:59.890Z] CPack: - Install project: Csdk [] [2023-07-21T00:45:59.890Z] CPack: Create package [2023-07-21T00:45:59.890Z] CPack: - package: /tmp/sdk/build/release/csdk-3.1.0-dev.4.tar.gz generated. [2023-07-21T00:45:59.890Z] + '[' false '=' true ] [2023-07-21T00:45:59.890Z] + '[' false '=' true ] [2023-07-21T00:45:59.890Z] + mkdir -p /tmp/sdk/build/debug [2023-07-21T00:45:59.890Z] + cd /tmp/sdk/build/debug [2023-07-21T00:45:59.890Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-21T00:45:59.890Z] -- The C compiler identification is GNU 11.2.1 [2023-07-21T00:45:59.890Z] -- Detecting C compiler ABI info [2023-07-21T00:46:00.148Z] -- Detecting C compiler ABI info - done [2023-07-21T00:46:00.148Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-21T00:46:00.148Z] -- Detecting C compile features [2023-07-21T00:46:00.148Z] -- Detecting C compile features - done [2023-07-21T00:46:00.148Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-21T00:46:00.148Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-21T00:46:00.148Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-21T00:46:00.148Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-21T00:46:00.148Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-21T00:46:00.148Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-21T00:46:00.148Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-21T00:46:00.148Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-21T00:46:00.148Z] -- /opt/iotech/iot/1.5/include [2023-07-21T00:46:00.148Z] -- C SDK 3.1.0-dev.4 for Linux [2023-07-21T00:46:00.148Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-21T00:46:00.148Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-21T00:46:00.408Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-21T00:46:00.408Z] -- Configuring done [2023-07-21T00:46:00.408Z] -- Generating done [2023-07-21T00:46:00.408Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-21T00:46:00.408Z] + make [2023-07-21T00:46:00.408Z] + tee debug.log [2023-07-21T00:46:00.408Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-21T00:46:00.408Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-21T00:46:00.667Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-21T00:46:00.667Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-21T00:46:00.667Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-21T00:46:00.667Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-21T00:46:00.927Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-21T00:46:00.927Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-21T00:46:00.927Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-21T00:46:01.187Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-21T00:46:01.187Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-21T00:46:01.445Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-21T00:46:01.445Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-21T00:46:01.445Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-21T00:46:01.704Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-21T00:46:01.704Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-21T00:46:01.704Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-21T00:46:01.963Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-21T00:46:01.963Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-21T00:46:01.963Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-21T00:46:02.222Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-21T00:46:02.222Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-21T00:46:02.481Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-21T00:46:02.481Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-21T00:46:02.481Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-21T00:46:02.481Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-21T00:46:02.740Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-21T00:46:02.999Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-21T00:46:02.999Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-21T00:46:02.999Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-21T00:46:03.258Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-21T00:46:03.258Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-21T00:46:03.515Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-21T00:46:03.515Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-21T00:46:03.515Z] [ 68%] Linking C shared library libcsdk.so [2023-07-21T00:46:03.515Z] [ 68%] Built target csdk [2023-07-21T00:46:03.515Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-21T00:46:03.775Z] [ 72%] Linking C executable template [2023-07-21T00:46:03.775Z] [ 72%] Built target template [2023-07-21T00:46:03.775Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-21T00:46:03.775Z] [ 76%] Linking C executable device-counter [2023-07-21T00:46:03.775Z] [ 76%] Built target device-counter [2023-07-21T00:46:03.775Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-21T00:46:04.033Z] [ 80%] Linking C executable device-random [2023-07-21T00:46:04.033Z] [ 80%] Built target device-random [2023-07-21T00:46:04.033Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-21T00:46:04.033Z] [ 84%] Linking C executable device-gyro [2023-07-21T00:46:04.292Z] [ 84%] Built target device-gyro [2023-07-21T00:46:04.292Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-21T00:46:04.292Z] [ 88%] Linking C executable device-bitfields [2023-07-21T00:46:04.292Z] [ 88%] Built target device-bitfields [2023-07-21T00:46:04.292Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-21T00:46:04.292Z] [ 92%] Linking C executable template-discovery [2023-07-21T00:46:04.551Z] [ 92%] Built target template-discovery [2023-07-21T00:46:04.551Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-21T00:46:04.551Z] [ 96%] Linking C executable device-file [2023-07-21T00:46:04.551Z] [ 96%] Built target device-file [2023-07-21T00:46:04.551Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-21T00:46:04.810Z] [100%] Linking C executable device-terminal [2023-07-21T00:46:04.810Z] [100%] Built target device-terminal [2023-07-21T00:46:04.810Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-21T00:46:04.810Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-21T00:46:04.810Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T00:46:04.810Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T00:46:04.810Z] [ 68%] Built target csdk [2023-07-21T00:46:04.810Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T00:46:04.810Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T00:46:04.810Z] [ 72%] Built target template [2023-07-21T00:46:04.810Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T00:46:04.810Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T00:46:04.810Z] [ 76%] Built target device-counter [2023-07-21T00:46:04.810Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T00:46:04.810Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T00:46:04.810Z] [ 80%] Built target device-random [2023-07-21T00:46:04.810Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T00:46:04.810Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T00:46:05.069Z] [ 84%] Built target device-gyro [2023-07-21T00:46:05.069Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T00:46:05.069Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T00:46:05.069Z] [ 88%] Built target device-bitfields [2023-07-21T00:46:05.069Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T00:46:05.069Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T00:46:05.069Z] [ 92%] Built target template-discovery [2023-07-21T00:46:05.069Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T00:46:05.069Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T00:46:05.069Z] [ 96%] Built target device-file [2023-07-21T00:46:05.069Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T00:46:05.069Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T00:46:05.069Z] [100%] Built target device-terminal [2023-07-21T00:46:05.069Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T00:46:05.069Z] Install the project... [2023-07-21T00:46:05.069Z] -- Install configuration: "Release" [2023-07-21T00:46:05.069Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-21T00:46:05.069Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-21T00:46:05.069Z] -- Installing: /usr/local/include [2023-07-21T00:46:05.069Z] -- Installing: /usr/local/include/devsdk [2023-07-21T00:46:05.069Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-21T00:46:05.069Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-21T00:46:05.069Z] -- Installing: /usr/local/include/edgex [2023-07-21T00:46:05.069Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-21T00:46:05.069Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-21T00:46:05.069Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-21T00:46:05.069Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-21T00:46:05.069Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-21T00:46:05.069Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-21T00:46:05.069Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-21T00:46:05.069Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-21T00:46:05.069Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-21T00:46:05.637Z] Removing intermediate container 5ccbb1534b2a [2023-07-21T00:46:05.637Z] ---> 786bdba17195 [2023-07-21T00:46:05.637Z] Step 14/21 : FROM ${BASE} [2023-07-21T00:46:05.637Z] ---> e83ffa357ff4 [2023-07-21T00:46:05.637Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-21T00:46:05.895Z] ---> Running in a23fd4689a12 [2023-07-21T00:46:05.895Z] Removing intermediate container a23fd4689a12 [2023-07-21T00:46:05.895Z] ---> f6761a2de37c [2023-07-21T00:46:05.895Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-21T00:46:05.895Z] ---> Running in 26ec927d2705 [2023-07-21T00:46:06.153Z] Connecting to iotech.jfrog.io (52.19.38.40:443) [2023-07-21T00:46:06.721Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-21T00:46:06.721Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-21T00:46:06.721Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-21T00:46:06.980Z] Removing intermediate container 26ec927d2705 [2023-07-21T00:46:06.980Z] ---> eb01b06ed7b7 [2023-07-21T00:46:06.980Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-21T00:46:06.980Z] ---> Running in 6fccd0d9351d [2023-07-21T00:46:07.547Z] Removing intermediate container 6fccd0d9351d [2023-07-21T00:46:07.547Z] ---> 677faebdc4ca [2023-07-21T00:46:07.547Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-07-21T00:46:07.547Z] ---> Running in 31506c9cd7f0 [2023-07-21T00:46:07.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-21T00:46:07.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-21T00:46:08.063Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-21T00:46:08.631Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-21T00:46:08.631Z] (1/7) Installing curl (8.2.0-r1) [2023-07-21T00:46:08.890Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-21T00:46:08.890Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-21T00:46:08.890Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-21T00:46:09.458Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-21T00:46:09.458Z] (6/7) Installing libuuid (2.38-r1) [2023-07-21T00:46:09.458Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-21T00:46:10.396Z] Executing busybox-1.35.0-r17.trigger [2023-07-21T00:46:10.396Z] OK: 276 MiB in 83 packages [2023-07-21T00:46:10.980Z] Removing intermediate container 31506c9cd7f0 [2023-07-21T00:46:10.980Z] ---> 2ca0e4810dc4 [2023-07-21T00:46:10.980Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-21T00:46:11.239Z] ---> 65c612c9b5cf [2023-07-21T00:46:11.239Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-21T00:46:11.239Z] ---> d5d9b3a75584 [2023-07-21T00:46:11.239Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-21T00:46:11.556Z] ---> 1580e3648fb0 [2023-07-21T00:46:11.556Z] Successfully built 1580e3648fb0 [2023-07-21T00:46:11.816Z] 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 [2023-07-21T00:46:12.196Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-21T00:46:12.196Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T00:46:12.270Z] prd-ubuntu20.04-docker-8c-8g-1693 does not seem to be running inside a container [2023-07-21T00:46:12.301Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-21T00:46:12.885Z] $ docker top 96457779be32427650efaab6f5cf654c2e4ad40a4ab212b3f0566504e988170f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-21T00:46:13.221Z] + make test [2023-07-21T00:46:13.221Z] echo "make test" [2023-07-21T00:46:13.221Z] make test [Pipeline] } [2023-07-21T00:46:13.234Z] $ docker stop --time=1 96457779be32427650efaab6f5cf654c2e4ad40a4ab212b3f0566504e988170f [2023-07-21T00:46:14.632Z] $ docker rm -f --volumes 96457779be32427650efaab6f5cf654c2e4ad40a4ab212b3f0566504e988170f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-21T00:46:15.239Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-21T00:46:15.526Z] + ls -al . [2023-07-21T00:46:15.526Z] total 212 [2023-07-21T00:46:15.526Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 21 00:45 . [2023-07-21T00:46:15.526Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 00:45 .. [2023-07-21T00:46:15.526Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 00:45 .git [2023-07-21T00:46:15.526Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 00:45 .github [2023-07-21T00:46:15.526Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 21 00:45 .gitignore [2023-07-21T00:46:15.526Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 00:45 .semver [2023-07-21T00:46:15.526Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 21 00:45 Attribution.txt [2023-07-21T00:46:15.526Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 21 00:45 CHANGES [2023-07-21T00:46:15.526Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 21 00:45 Doxyfile [2023-07-21T00:46:15.526Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 00:45 GOVERNANCE.md [2023-07-21T00:46:15.526Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 21 00:45 Jenkinsfile [2023-07-21T00:46:15.526Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 21 00:45 LICENSE [2023-07-21T00:46:15.526Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 21 00:45 Makefile [2023-07-21T00:46:15.526Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 21 00:45 OWNERS.md [2023-07-21T00:46:15.526Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 21 00:45 README.IOT.md [2023-07-21T00:46:15.526Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 21 00:45 README.md [2023-07-21T00:46:15.526Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 21 00:45 README.v3.md [2023-07-21T00:46:15.526Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 21 00:45 VERSION [2023-07-21T00:46:15.526Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 00:45 docs [2023-07-21T00:46:15.526Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 00:45 include [2023-07-21T00:46:15.526Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 00:45 scripts [2023-07-21T00:46:15.526Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 00:45 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T00:46:15.829Z] + 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=e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 --label arch=amd64 --label version=3.1.0-dev.4 . [2023-07-21T00:46:15.829Z] Sending build context to Docker daemon 4.831MB [2023-07-21T00:46:15.829Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-21T00:46:15.829Z] Step 2/17 : FROM ${BASE} [2023-07-21T00:46:15.829Z] ---> 1580e3648fb0 [2023-07-21T00:46:15.829Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-21T00:46:15.829Z] ---> Running in 45fb52883c88 [2023-07-21T00:46:16.088Z] Removing intermediate container 45fb52883c88 [2023-07-21T00:46:16.088Z] ---> da0a9b21e414 [2023-07-21T00:46:16.088Z] 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 [2023-07-21T00:46:16.088Z] ---> Running in 1986efe1f77b [2023-07-21T00:46:16.656Z] Connecting to iotech.jfrog.io (52.48.157.202:443) [2023-07-21T00:46:17.224Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-21T00:46:17.224Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-21T00:46:17.224Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-21T00:46:19.143Z] Removing intermediate container 1986efe1f77b [2023-07-21T00:46:19.143Z] ---> 71be130f9d90 [2023-07-21T00:46:19.143Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-21T00:46:19.401Z] ---> Running in b7ed9d2ff78e [2023-07-21T00:46:21.936Z] Removing intermediate container b7ed9d2ff78e [2023-07-21T00:46:21.936Z] ---> ce6b9735280c [2023-07-21T00:46:21.936Z] 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 iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-07-21T00:46:21.936Z] ---> Running in 031b2c689f21 [2023-07-21T00:46:22.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-21T00:46:22.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-21T00:46:23.130Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-21T00:46:23.697Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-21T00:46:23.697Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-21T00:46:23.697Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-21T00:46:23.697Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-21T00:46:24.264Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-21T00:46:24.264Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-21T00:46:24.264Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-21T00:46:24.264Z] (7/11) Installing libblkid (2.38-r1) [2023-07-21T00:46:24.264Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-21T00:46:24.264Z] (9/11) Installing libmount (2.38-r1) [2023-07-21T00:46:24.264Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-21T00:46:24.264Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-21T00:46:24.523Z] Executing busybox-1.35.0-r17.trigger [2023-07-21T00:46:24.523Z] OK: 281 MiB in 92 packages [2023-07-21T00:46:27.816Z] Removing intermediate container 031b2c689f21 [2023-07-21T00:46:27.816Z] ---> ed0c01ebf46f [2023-07-21T00:46:27.816Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-21T00:46:28.752Z] ---> f09e5ce647b1 [2023-07-21T00:46:28.752Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-21T00:46:29.688Z] ---> 36ae672dd668 [2023-07-21T00:46:29.688Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-21T00:46:29.688Z] ---> 3c9586d605e6 [2023-07-21T00:46:29.688Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-21T00:46:29.947Z] ---> f445d9d20639 [2023-07-21T00:46:29.947Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-21T00:46:29.947Z] ---> e64fb33b9e99 [2023-07-21T00:46:29.947Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-21T00:46:30.207Z] ---> 08d24aa873d4 [2023-07-21T00:46:30.207Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-21T00:46:30.207Z] ---> Running in 754e98cdefaf [2023-07-21T00:46:30.466Z] Removing intermediate container 754e98cdefaf [2023-07-21T00:46:30.466Z] ---> a2a59135df1b [2023-07-21T00:46:30.466Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-21T00:46:30.466Z] ---> Running in 9d88d82b537f [2023-07-21T00:46:30.466Z] Removing intermediate container 9d88d82b537f [2023-07-21T00:46:30.466Z] ---> 2b041b1c6ace [2023-07-21T00:46:30.466Z] Step 15/17 : LABEL arch=amd64 [2023-07-21T00:46:30.466Z] ---> Running in 8871203894b5 [2023-07-21T00:46:30.723Z] Removing intermediate container 8871203894b5 [2023-07-21T00:46:30.724Z] ---> 41dd1672c0f4 [2023-07-21T00:46:30.724Z] Step 16/17 : LABEL git_sha=e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 [2023-07-21T00:46:30.724Z] ---> Running in 80f72d068132 [2023-07-21T00:46:30.724Z] Removing intermediate container 80f72d068132 [2023-07-21T00:46:30.724Z] ---> fb2bc800a357 [2023-07-21T00:46:30.724Z] Step 17/17 : LABEL version=3.1.0-dev.4 [2023-07-21T00:46:30.724Z] ---> Running in b7914273791f [2023-07-21T00:46:30.982Z] Removing intermediate container b7914273791f [2023-07-21T00:46:30.982Z] ---> 5e7c5284d487 [2023-07-21T00:46:30.982Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-07-21T00:46:30.982Z] Successfully built 5e7c5284d487 [2023-07-21T00:46:30.982Z] 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 [2023-07-21T00:46:31.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-21T00:46:31.494Z] [2023-07-21T00:46:31.494Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T00:46:31.847Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-21T00:46:31.847Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-21T00:46:31.847Z] 5eb5b503b376: Pulling fs layer [2023-07-21T00:46:31.847Z] 5c69ac0246d0: Pulling fs layer [2023-07-21T00:46:31.847Z] ec43610c2a17: Pulling fs layer [2023-07-21T00:46:31.847Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-21T00:46:31.847Z] 33b1e0a273af: Pulling fs layer [2023-07-21T00:46:31.847Z] 5d3b04190fa2: Pulling fs layer [2023-07-21T00:46:31.847Z] 2f39f015ded8: Pulling fs layer [2023-07-21T00:46:31.847Z] 2f39f015ded8: Waiting [2023-07-21T00:46:31.847Z] 5d3b04190fa2: Waiting [2023-07-21T00:46:31.847Z] 3a2ae6a8a46f: Waiting [2023-07-21T00:46:31.847Z] 33b1e0a273af: Waiting [2023-07-21T00:46:31.848Z] 5c69ac0246d0: Download complete [2023-07-21T00:46:31.848Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-21T00:46:31.848Z] 3a2ae6a8a46f: Download complete [2023-07-21T00:46:32.116Z] 33b1e0a273af: Verifying Checksum [2023-07-21T00:46:32.116Z] 33b1e0a273af: Download complete [2023-07-21T00:46:32.116Z] 5d3b04190fa2: Verifying Checksum [2023-07-21T00:46:32.116Z] 5d3b04190fa2: Download complete [2023-07-21T00:46:32.116Z] ec43610c2a17: Verifying Checksum [2023-07-21T00:46:32.116Z] ec43610c2a17: Download complete [2023-07-21T00:46:32.116Z] 5eb5b503b376: Verifying Checksum [2023-07-21T00:46:32.116Z] 5eb5b503b376: Download complete [2023-07-21T00:46:33.065Z] 2f39f015ded8: Download complete [2023-07-21T00:46:33.323Z] 5eb5b503b376: Pull complete [2023-07-21T00:46:33.323Z] 5c69ac0246d0: Pull complete [2023-07-21T00:46:33.889Z] ec43610c2a17: Pull complete [2023-07-21T00:46:33.889Z] 3a2ae6a8a46f: Pull complete [2023-07-21T00:46:34.148Z] 33b1e0a273af: Pull complete [2023-07-21T00:46:34.148Z] 5d3b04190fa2: Pull complete [2023-07-21T00:46:38.332Z] 2f39f015ded8: Pull complete [2023-07-21T00:46:38.332Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-21T00:46:38.332Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-21T00:46:38.332Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T00:46:38.401Z] prd-ubuntu20.04-docker-8c-8g-1693 does not seem to be running inside a container [2023-07-21T00:46:38.452Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-21T00:46:46.077Z] $ docker top 8ae0600c3ee5c20a488c3fde0d05f1dad199211d6fc8305d5021cf5e847fcb2c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T00:46:46.458Z] ---> job-cost.sh [2023-07-21T00:46:46.458Z] lf-activate-venv: SKIPPING [2023-07-21T00:46:46.458Z] INFO: No Stack... [2023-07-21T00:46:46.717Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-21T00:46:46.976Z] INFO: Archiving Costs [Pipeline] sh [2023-07-21T00:46:47.268Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2023-07-21T00:46:47.268Z] + cut -d, -f6 [Pipeline] lock [2023-07-21T00:46:47.283Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-53-stack-cost] [2023-07-21T00:46:47.294Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-53-stack-cost] did not exist. Created. [2023-07-21T00:46:47.294Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-21T00:46:47.600Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-21T00:46:47.646Z] Stashed 1 file(s) [Pipeline] } [2023-07-21T00:46:47.653Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-53-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-21T00:46:47.674Z] $ docker stop --time=1 8ae0600c3ee5c20a488c3fde0d05f1dad199211d6fc8305d5021cf5e847fcb2c [2023-07-21T00:46:48.845Z] $ docker rm -f --volumes 8ae0600c3ee5c20a488c3fde0d05f1dad199211d6fc8305d5021cf5e847fcb2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-21T00:49:07.596Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1694 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2023-07-21T00:49:07.610Z] Running in /w/workspace/device-sdk-c/53 [Pipeline] { [Pipeline] checkout [2023-07-21T00:49:07.638Z] Selected Git installation does not exist. Using Default [2023-07-21T00:49:07.638Z] The recommended git tool is: NONE [2023-07-21T00:49:13.051Z] using credential edgex-jenkins-ssh [2023-07-21T00:49:13.068Z] Cloning the remote Git repository [2023-07-21T00:49:13.118Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-07-21T00:49:13.211Z] > git init /w/workspace/device-sdk-c/53 # timeout=10 [2023-07-21T00:49:13.351Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-21T00:49:13.352Z] > git --version # timeout=10 [2023-07-21T00:49:13.373Z] > git --version # 'git version 2.25.1' [2023-07-21T00:49:13.376Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-21T00:49:13.535Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-21T00:49:14.612Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-21T00:49:14.639Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-21T00:49:15.489Z] Avoid second fetch [2023-07-21T00:49:15.490Z] Checking out Revision e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 (main) [2023-07-21T00:49:16.095Z] Commit message: "Merge pull request #470 from FelixTing/issue-464" [2023-07-21T00:49:15.507Z] > git config core.sparsecheckout # timeout=10 [2023-07-21T00:49:15.577Z] > git checkout -f e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-21T00:49:16.939Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-21T00:49:16.939Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-21T00:49:16.939Z] Dload Upload Total Spent Left Speed [2023-07-21T00:49:16.939Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 78226 0 --:--:-- --:--:-- --:--:-- 78709 [Pipeline] sh [2023-07-21T00:49:17.575Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-21T00:49:17.905Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-21T00:49:17.905Z] + sudo tee /etc/docker/daemon.new [2023-07-21T00:49:17.905Z] { [2023-07-21T00:49:17.905Z] "registry-mirrors": [ [2023-07-21T00:49:17.905Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-21T00:49:17.905Z] ], [2023-07-21T00:49:17.905Z] "bip": "10.250.0.254/24", [2023-07-21T00:49:17.905Z] "hosts": [ [2023-07-21T00:49:17.905Z] "tcp://0.0.0.0:5555", [2023-07-21T00:49:17.905Z] "unix:///var/run/docker.sock" [2023-07-21T00:49:17.905Z] ], [2023-07-21T00:49:17.905Z] "mtu": 1458, [2023-07-21T00:49:17.905Z] "selinux-enabled": true, [2023-07-21T00:49:17.905Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-21T00:49:17.905Z] } [Pipeline] sh [2023-07-21T00:49:18.234Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-21T00:49:18.561Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-21T00:49:36.822Z] provisioning config files... [2023-07-21T00:49:36.848Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/53@tmp/config594177186272709254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T00:49:37.194Z] ---> docker-login.sh [2023-07-21T00:49:37.194Z] nexus3.edgexfoundry.org:10001 [2023-07-21T00:49:37.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T00:49:38.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T00:49:38.052Z] Configure a credential helper to remove this warning. See [2023-07-21T00:49:38.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T00:49:38.052Z] [2023-07-21T00:49:38.052Z] Login Succeeded [2023-07-21T00:49:38.052Z] nexus3.edgexfoundry.org:10002 [2023-07-21T00:49:38.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T00:49:38.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T00:49:38.321Z] Configure a credential helper to remove this warning. See [2023-07-21T00:49:38.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T00:49:38.321Z] [2023-07-21T00:49:38.321Z] Login Succeeded [2023-07-21T00:49:38.321Z] nexus3.edgexfoundry.org:10003 [2023-07-21T00:49:38.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T00:49:38.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T00:49:38.592Z] Configure a credential helper to remove this warning. See [2023-07-21T00:49:38.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T00:49:38.592Z] [2023-07-21T00:49:38.592Z] Login Succeeded [2023-07-21T00:49:38.592Z] nexus3.edgexfoundry.org:10004 [2023-07-21T00:49:38.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T00:49:39.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T00:49:39.133Z] Configure a credential helper to remove this warning. See [2023-07-21T00:49:39.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T00:49:39.133Z] [2023-07-21T00:49:39.133Z] Login Succeeded [2023-07-21T00:49:39.133Z] docker.io [2023-07-21T00:49:39.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-21T00:49:39.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-21T00:49:39.674Z] Configure a credential helper to remove this warning. See [2023-07-21T00:49:39.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-21T00:49:39.674Z] [2023-07-21T00:49:39.674Z] Login Succeeded [2023-07-21T00:49:39.674Z] ---> docker-login.sh ends [Pipeline] } [2023-07-21T00:49:39.688Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-21T00:49:39.937Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-21T00:49:39.948Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-07-21T00:49:39.961Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-21T00:49:39.969Z] ========================================================= [2023-07-21T00:49:39.970Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-07-21T00:49:39.970Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T00:49:40.302Z] + 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 . [2023-07-21T00:49:40.570Z] Sending build context to Docker daemon 2.888MB [2023-07-21T00:49:40.570Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-21T00:49:40.570Z] Step 2/21 : FROM ${BASE} as builder [2023-07-21T00:49:40.841Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-07-21T00:49:40.841Z] 547446be3368: Pulling fs layer [2023-07-21T00:49:40.841Z] 76bd08e1cacc: Pulling fs layer [2023-07-21T00:49:40.841Z] 547446be3368: Verifying Checksum [2023-07-21T00:49:40.841Z] 547446be3368: Download complete [2023-07-21T00:49:41.427Z] 547446be3368: Pull complete [2023-07-21T00:49:42.850Z] 76bd08e1cacc: Verifying Checksum [2023-07-21T00:49:42.850Z] 76bd08e1cacc: Download complete [2023-07-21T00:49:51.078Z] 76bd08e1cacc: Pull complete [2023-07-21T00:49:51.078Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-07-21T00:49:51.078Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-07-21T00:49:51.078Z] ---> 295cd00e64f4 [2023-07-21T00:49:51.078Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-21T00:49:51.348Z] ---> Running in 4af893ef96ad [2023-07-21T00:49:52.762Z] Connecting to iotech.jfrog.io (52.51.203.101:443) [2023-07-21T00:49:53.030Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-21T00:49:53.030Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-21T00:49:53.030Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-21T00:49:54.444Z] Removing intermediate container 4af893ef96ad [2023-07-21T00:49:54.444Z] ---> 3c475c74dd10 [2023-07-21T00:49:54.444Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-21T00:49:54.444Z] ---> Running in 50a7b2376027 [2023-07-21T00:49:55.860Z] Removing intermediate container 50a7b2376027 [2023-07-21T00:49:55.860Z] ---> 427f332e6840 [2023-07-21T00:49:55.860Z] Step 5/21 : 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 iotech-iot-1.5-dev hiredis-dev [2023-07-21T00:49:55.860Z] ---> Running in 2fedbc76c7ba [2023-07-21T00:49:56.824Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-21T00:49:57.091Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-21T00:49:57.674Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-21T00:49:58.260Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-21T00:49:58.260Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-21T00:49:58.527Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-21T00:49:58.527Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-21T00:49:58.527Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-21T00:49:58.527Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-21T00:49:59.114Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-21T00:49:59.380Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-21T00:49:59.380Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-21T00:49:59.380Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-21T00:49:59.380Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-21T00:50:00.339Z] (11/16) Installing libblkid (2.38-r1) [2023-07-21T00:50:00.339Z] (12/16) Installing libuuid (2.38-r1) [2023-07-21T00:50:00.339Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-21T00:50:00.339Z] (14/16) Installing libmount (2.38-r1) [2023-07-21T00:50:00.339Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-21T00:50:00.339Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-21T00:50:00.339Z] Executing busybox-1.35.0-r17.trigger [2023-07-21T00:50:00.339Z] OK: 286 MiB in 90 packages [2023-07-21T00:50:01.870Z] Removing intermediate container 2fedbc76c7ba [2023-07-21T00:50:01.870Z] ---> 6eea439bfa68 [2023-07-21T00:50:01.870Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-21T00:50:01.870Z] ---> Running in 716aff4d2928 [2023-07-21T00:50:03.326Z] Removing intermediate container 716aff4d2928 [2023-07-21T00:50:03.326Z] ---> 5053f89d668b [2023-07-21T00:50:03.326Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-21T00:50:03.908Z] ---> 74a7bd4b2566 [2023-07-21T00:50:03.908Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-21T00:50:07.247Z] ---> 3f28a9e8ed8d [2023-07-21T00:50:07.247Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-21T00:50:07.247Z] ---> a624932990ee [2023-07-21T00:50:07.247Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-21T00:50:07.514Z] ---> 0c7da16ca8df [2023-07-21T00:50:07.514Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-21T00:50:08.097Z] ---> 8af4f0efaf4c [2023-07-21T00:50:08.097Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-21T00:50:08.686Z] ---> 3e8a9a28e094 [2023-07-21T00:50:08.686Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-21T00:50:08.686Z] ---> Running in 4c9a8bd2357f [2023-07-21T00:50:09.646Z] + CPPCHECK=false [2023-07-21T00:50:09.646Z] + DOCGEN=false [2023-07-21T00:50:09.646Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-21T00:50:09.646Z] + '[' 0 -gt 0 ] [2023-07-21T00:50:09.646Z] + readlink -f ./scripts/build.sh [2023-07-21T00:50:09.646Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-21T00:50:09.646Z] + dirname /tmp/sdk/scripts [2023-07-21T00:50:09.646Z] + ROOT=/tmp/sdk [2023-07-21T00:50:09.646Z] + cd /tmp/sdk [2023-07-21T00:50:09.646Z] + mkdir -p /tmp/sdk/build/release [2023-07-21T00:50:09.646Z] + cd /tmp/sdk/build/release [2023-07-21T00:50:09.646Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-21T00:50:09.912Z] -- The C compiler identification is GNU 11.2.1 [2023-07-21T00:50:09.912Z] -- Detecting C compiler ABI info [2023-07-21T00:50:10.180Z] -- Detecting C compiler ABI info - done [2023-07-21T00:50:10.180Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-21T00:50:10.180Z] -- Detecting C compile features [2023-07-21T00:50:10.180Z] -- Detecting C compile features - done [2023-07-21T00:50:10.180Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-21T00:50:10.447Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-21T00:50:10.447Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-21T00:50:10.447Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-21T00:50:10.447Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-21T00:50:10.447Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-21T00:50:10.447Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-21T00:50:10.447Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-21T00:50:10.447Z] -- /opt/iotech/iot/1.5/include [2023-07-21T00:50:10.447Z] -- C SDK 3.1.0-dev.4 for Linux [2023-07-21T00:50:10.447Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-21T00:50:11.031Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-21T00:50:11.031Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-21T00:50:11.296Z] -- Configuring done [2023-07-21T00:50:11.563Z] -- Generating done [2023-07-21T00:50:11.563Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-21T00:50:11.563Z] + + maketee all release.log [2023-07-21T00:50:11.563Z] package [2023-07-21T00:50:11.563Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-21T00:50:12.522Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-21T00:50:13.935Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-21T00:50:14.520Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-21T00:50:15.932Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-21T00:50:16.515Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-21T00:50:19.096Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-21T00:50:20.504Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-21T00:50:20.504Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-21T00:50:21.912Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-21T00:50:24.495Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-21T00:50:25.080Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-21T00:50:26.486Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-21T00:50:27.071Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-21T00:50:27.656Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-21T00:50:29.068Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-21T00:50:29.336Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-21T00:50:32.677Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-21T00:50:32.677Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-21T00:50:33.261Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-21T00:50:34.669Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-21T00:50:41.310Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-21T00:50:41.310Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-21T00:50:41.895Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-21T00:50:42.482Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-21T00:50:43.066Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-21T00:50:45.011Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-21T00:50:47.590Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-21T00:50:47.590Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-21T00:50:48.994Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-21T00:50:49.576Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-21T00:50:52.911Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-21T00:50:53.870Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-21T00:50:54.453Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-21T00:50:55.035Z] [ 68%] Linking C shared library libcsdk.so [2023-07-21T00:50:55.302Z] [ 68%] Built target csdk [2023-07-21T00:50:55.302Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-21T00:50:56.260Z] [ 72%] Linking C executable template [2023-07-21T00:50:56.528Z] [ 72%] Built target template [2023-07-21T00:50:56.795Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-21T00:50:57.376Z] [ 76%] Linking C executable device-counter [2023-07-21T00:50:57.644Z] [ 76%] Built target device-counter [2023-07-21T00:50:57.644Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-21T00:50:58.230Z] [ 80%] Linking C executable device-random [2023-07-21T00:50:58.497Z] [ 80%] Built target device-random [2023-07-21T00:50:58.767Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-21T00:50:59.352Z] [ 84%] Linking C executable device-gyro [2023-07-21T00:50:59.619Z] [ 84%] Built target device-gyro [2023-07-21T00:50:59.619Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-21T00:51:00.202Z] [ 88%] Linking C executable device-bitfields [2023-07-21T00:51:00.470Z] [ 88%] Built target device-bitfields [2023-07-21T00:51:00.470Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-21T00:51:01.433Z] [ 92%] Linking C executable template-discovery [2023-07-21T00:51:01.702Z] [ 92%] Built target template-discovery [2023-07-21T00:51:01.702Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-21T00:51:02.663Z] [ 96%] Linking C executable device-file [2023-07-21T00:51:02.930Z] [ 96%] Built target device-file [2023-07-21T00:51:02.930Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-21T00:51:03.893Z] [100%] Linking C executable device-terminal [2023-07-21T00:51:04.164Z] [100%] Built target device-terminal [2023-07-21T00:51:04.164Z] Run CPack packaging tool... [2023-07-21T00:51:04.164Z] CPack: Create package using TGZ [2023-07-21T00:51:04.164Z] CPack: Install projects [2023-07-21T00:51:04.164Z] CPack: - Run preinstall target for: Csdk [2023-07-21T00:51:04.745Z] CPack: - Install project: Csdk [] [2023-07-21T00:51:04.745Z] CPack: Create package [2023-07-21T00:51:05.012Z] CPack: - package: /tmp/sdk/build/release/csdk-3.1.0-dev.4.tar.gz generated. [2023-07-21T00:51:05.012Z] + '[' false '=' true ] [2023-07-21T00:51:05.012Z] + '[' false '=' true ] [2023-07-21T00:51:05.012Z] + mkdir -p /tmp/sdk/build/debug [2023-07-21T00:51:05.012Z] + cd /tmp/sdk/build/debug [2023-07-21T00:51:05.012Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-21T00:51:05.277Z] -- The C compiler identification is GNU 11.2.1 [2023-07-21T00:51:05.277Z] -- Detecting C compiler ABI info [2023-07-21T00:51:05.544Z] -- Detecting C compiler ABI info - done [2023-07-21T00:51:05.812Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-21T00:51:05.812Z] -- Detecting C compile features [2023-07-21T00:51:05.812Z] -- Detecting C compile features - done [2023-07-21T00:51:05.812Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-21T00:51:06.080Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-21T00:51:06.080Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-21T00:51:06.080Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-21T00:51:06.080Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-21T00:51:06.080Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-21T00:51:06.080Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-21T00:51:06.080Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-21T00:51:06.080Z] -- /opt/iotech/iot/1.5/include [2023-07-21T00:51:06.080Z] -- C SDK 3.1.0-dev.4 for Linux [2023-07-21T00:51:06.080Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-21T00:51:06.347Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-21T00:51:06.614Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-21T00:51:06.614Z] -- Configuring done [2023-07-21T00:51:06.881Z] -- Generating done [2023-07-21T00:51:07.148Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-21T00:51:07.148Z] + make [2023-07-21T00:51:07.148Z] + tee debug.log [2023-07-21T00:51:07.148Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-21T00:51:07.734Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-21T00:51:08.317Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-21T00:51:08.585Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-21T00:51:09.170Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-21T00:51:09.753Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-21T00:51:10.337Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-21T00:51:10.922Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-21T00:51:11.189Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-21T00:51:11.772Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-21T00:51:12.355Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-21T00:51:12.939Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-21T00:51:13.208Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-21T00:51:13.792Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-21T00:51:14.060Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-21T00:51:14.641Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-21T00:51:14.907Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-21T00:51:15.865Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-21T00:51:15.865Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-21T00:51:16.131Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-21T00:51:17.089Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-21T00:51:18.046Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-21T00:51:18.628Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-21T00:51:18.907Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-21T00:51:19.174Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-21T00:51:19.441Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-21T00:51:20.023Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-21T00:51:21.969Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-21T00:51:22.235Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-21T00:51:22.502Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-21T00:51:23.082Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-21T00:51:24.038Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-21T00:51:24.305Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-21T00:51:24.888Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-21T00:51:25.157Z] [ 68%] Linking C shared library libcsdk.so [2023-07-21T00:51:25.157Z] [ 68%] Built target csdk [2023-07-21T00:51:25.423Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-21T00:51:25.692Z] [ 72%] Linking C executable template [2023-07-21T00:51:25.957Z] [ 72%] Built target template [2023-07-21T00:51:26.224Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-21T00:51:26.490Z] [ 76%] Linking C executable device-counter [2023-07-21T00:51:26.756Z] [ 76%] Built target device-counter [2023-07-21T00:51:26.756Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-21T00:51:27.023Z] [ 80%] Linking C executable device-random [2023-07-21T00:51:27.608Z] [ 80%] Built target device-random [2023-07-21T00:51:27.608Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-21T00:51:27.875Z] [ 84%] Linking C executable device-gyro [2023-07-21T00:51:28.142Z] [ 84%] Built target device-gyro [2023-07-21T00:51:28.142Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-21T00:51:28.409Z] [ 88%] Linking C executable device-bitfields [2023-07-21T00:51:28.991Z] [ 88%] Built target device-bitfields [2023-07-21T00:51:28.991Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-21T00:51:29.256Z] [ 92%] Linking C executable template-discovery [2023-07-21T00:51:29.523Z] [ 92%] Built target template-discovery [2023-07-21T00:51:29.523Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-21T00:51:30.104Z] [ 96%] Linking C executable device-file [2023-07-21T00:51:30.371Z] [ 96%] Built target device-file [2023-07-21T00:51:30.371Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-21T00:51:30.638Z] [100%] Linking C executable device-terminal [2023-07-21T00:51:31.220Z] [100%] Built target device-terminal [2023-07-21T00:51:31.220Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-21T00:51:31.220Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-21T00:51:31.220Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T00:51:31.220Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T00:51:31.220Z] [ 68%] Built target csdk [2023-07-21T00:51:31.220Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T00:51:31.220Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T00:51:31.220Z] [ 72%] Built target template [2023-07-21T00:51:31.220Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T00:51:31.220Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T00:51:31.491Z] [ 76%] Built target device-counter [2023-07-21T00:51:31.491Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T00:51:31.491Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T00:51:31.491Z] [ 80%] Built target device-random [2023-07-21T00:51:31.491Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T00:51:31.491Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T00:51:31.491Z] [ 84%] Built target device-gyro [2023-07-21T00:51:31.491Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T00:51:31.491Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T00:51:31.491Z] [ 88%] Built target device-bitfields [2023-07-21T00:51:31.491Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T00:51:31.491Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T00:51:31.491Z] [ 92%] Built target template-discovery [2023-07-21T00:51:31.491Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T00:51:31.491Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T00:51:31.491Z] [ 96%] Built target device-file [2023-07-21T00:51:31.491Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-21T00:51:31.761Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T00:51:31.761Z] [100%] Built target device-terminal [2023-07-21T00:51:31.761Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-21T00:51:31.761Z] Install the project... [2023-07-21T00:51:31.761Z] -- Install configuration: "Release" [2023-07-21T00:51:31.761Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-21T00:51:31.761Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-21T00:51:31.761Z] -- Installing: /usr/local/include [2023-07-21T00:51:31.761Z] -- Installing: /usr/local/include/devsdk [2023-07-21T00:51:31.761Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-21T00:51:31.761Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-21T00:51:31.761Z] -- Installing: /usr/local/include/edgex [2023-07-21T00:51:31.761Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-21T00:51:31.761Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-21T00:51:31.761Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-21T00:51:31.761Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-21T00:51:31.761Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-21T00:51:31.761Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-21T00:51:31.761Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-21T00:51:31.761Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-21T00:51:31.761Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-21T00:51:33.173Z] Removing intermediate container 4c9a8bd2357f [2023-07-21T00:51:33.173Z] ---> 7dfc5f7d0875 [2023-07-21T00:51:33.173Z] Step 14/21 : FROM ${BASE} [2023-07-21T00:51:33.173Z] ---> 295cd00e64f4 [2023-07-21T00:51:33.173Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-21T00:51:33.173Z] ---> Running in 8d4b347dd75e [2023-07-21T00:51:33.439Z] Removing intermediate container 8d4b347dd75e [2023-07-21T00:51:33.439Z] ---> 47b421729ddc [2023-07-21T00:51:33.439Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-07-21T00:51:33.439Z] ---> Running in 99ff73a74953 [2023-07-21T00:51:34.401Z] Connecting to iotech.jfrog.io (52.50.39.27:443) [2023-07-21T00:51:34.985Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-21T00:51:34.985Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-21T00:51:34.985Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-21T00:51:35.574Z] Removing intermediate container 99ff73a74953 [2023-07-21T00:51:35.574Z] ---> 7f5d1ca946cf [2023-07-21T00:51:35.574Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-21T00:51:35.574Z] ---> Running in 6162c7b5c6f4 [2023-07-21T00:51:36.979Z] Removing intermediate container 6162c7b5c6f4 [2023-07-21T00:51:36.979Z] ---> 9fbf84b95178 [2023-07-21T00:51:36.979Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-07-21T00:51:37.246Z] ---> Running in 8f7087a2999b [2023-07-21T00:51:38.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-21T00:51:38.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-21T00:51:39.048Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-21T00:51:39.631Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-21T00:51:39.631Z] (1/7) Installing curl (8.2.0-r1) [2023-07-21T00:51:39.897Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-21T00:51:39.897Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-21T00:51:39.897Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-21T00:51:40.476Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-21T00:51:40.476Z] (6/7) Installing libuuid (2.38-r1) [2023-07-21T00:51:40.476Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-21T00:51:41.430Z] Executing busybox-1.35.0-r17.trigger [2023-07-21T00:51:41.430Z] OK: 281 MiB in 83 packages [2023-07-21T00:51:42.394Z] Removing intermediate container 8f7087a2999b [2023-07-21T00:51:42.394Z] ---> 9013664f0300 [2023-07-21T00:51:42.394Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-21T00:51:42.980Z] ---> e77810a067bd [2023-07-21T00:51:42.980Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-21T00:51:43.566Z] ---> 121133e9572b [2023-07-21T00:51:43.566Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-21T00:51:44.147Z] ---> 47c6cb1419af [2023-07-21T00:51:44.147Z] Successfully built 47c6cb1419af [2023-07-21T00:51:44.147Z] 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 [2023-07-21T00:51:44.572Z] + docker inspect -f . ci-base-image-arm64 [2023-07-21T00:51:44.572Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T00:51:44.780Z] prd-ubuntu20.04-docker-arm64-4c-16g-1694 does not seem to be running inside a container [2023-07-21T00:51:44.841Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/53 -v /w/workspace/device-sdk-c/53:/w/workspace/device-sdk-c/53:rw,z -v /w/workspace/device-sdk-c/53@tmp:/w/workspace/device-sdk-c/53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-21T00:51:46.113Z] $ docker top 6ff64b34ad9241c933f112446333ed02c96d3a19e46e57b39dd7a28c3da9f407 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-21T00:51:46.936Z] + make test [2023-07-21T00:51:46.936Z] echo "make test" [2023-07-21T00:51:46.936Z] make test [Pipeline] } [2023-07-21T00:51:46.952Z] $ docker stop --time=1 6ff64b34ad9241c933f112446333ed02c96d3a19e46e57b39dd7a28c3da9f407 [2023-07-21T00:51:48.525Z] $ docker rm -f --volumes 6ff64b34ad9241c933f112446333ed02c96d3a19e46e57b39dd7a28c3da9f407 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-21T00:51:49.043Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-21T00:51:49.354Z] + ls -al . [2023-07-21T00:51:49.354Z] total 208 [2023-07-21T00:51:49.354Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 00:49 . [2023-07-21T00:51:49.354Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 00:49 .. [2023-07-21T00:51:49.354Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 21 00:49 .git [2023-07-21T00:51:49.354Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 00:49 .github [2023-07-21T00:51:49.354Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 21 00:49 .gitignore [2023-07-21T00:51:49.354Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 21 00:49 Attribution.txt [2023-07-21T00:51:49.354Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 21 00:49 CHANGES [2023-07-21T00:51:49.354Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 21 00:49 Doxyfile [2023-07-21T00:51:49.354Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 21 00:49 GOVERNANCE.md [2023-07-21T00:51:49.354Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 21 00:49 Jenkinsfile [2023-07-21T00:51:49.354Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 21 00:49 LICENSE [2023-07-21T00:51:49.354Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 21 00:49 Makefile [2023-07-21T00:51:49.354Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 21 00:49 OWNERS.md [2023-07-21T00:51:49.354Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 21 00:49 README.IOT.md [2023-07-21T00:51:49.354Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 21 00:49 README.md [2023-07-21T00:51:49.354Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 21 00:49 README.v3.md [2023-07-21T00:51:49.354Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 21 00:45 VERSION [2023-07-21T00:51:49.354Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 00:49 docs [2023-07-21T00:51:49.354Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 00:49 include [2023-07-21T00:51:49.354Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 21 00:49 scripts [2023-07-21T00:51:49.354Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 21 00:49 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T00:51:49.688Z] + 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=e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 --label arch=arm64 --label version=3.1.0-dev.4 . [2023-07-21T00:51:49.956Z] Sending build context to Docker daemon 2.888MB [2023-07-21T00:51:49.956Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-21T00:51:49.956Z] Step 2/17 : FROM ${BASE} [2023-07-21T00:51:49.956Z] ---> 47c6cb1419af [2023-07-21T00:51:49.956Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-21T00:51:50.224Z] ---> Running in 920fb2501f1f [2023-07-21T00:51:50.493Z] Removing intermediate container 920fb2501f1f [2023-07-21T00:51:50.493Z] ---> cea8e348f86e [2023-07-21T00:51:50.493Z] 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 [2023-07-21T00:51:50.493Z] ---> Running in c0e6f98b7d4b [2023-07-21T00:51:51.452Z] Connecting to iotech.jfrog.io (52.19.176.93:443) [2023-07-21T00:51:51.717Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-21T00:51:51.718Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-21T00:51:51.718Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-21T00:51:52.781Z] Removing intermediate container c0e6f98b7d4b [2023-07-21T00:51:52.781Z] ---> 7cb5484959e4 [2023-07-21T00:51:52.781Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-21T00:51:52.781Z] ---> Running in 26edd591f5c1 [2023-07-21T00:51:55.411Z] Removing intermediate container 26edd591f5c1 [2023-07-21T00:51:55.411Z] ---> d9b00b124d04 [2023-07-21T00:51:55.411Z] 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 iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-07-21T00:51:55.411Z] ---> Running in f5fae849493f [2023-07-21T00:51:56.013Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-21T00:51:56.603Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-21T00:51:56.868Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-21T00:51:57.826Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-21T00:51:57.826Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-21T00:51:57.826Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-21T00:51:57.826Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-21T00:51:58.788Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-21T00:51:58.788Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-21T00:51:58.788Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-21T00:51:58.788Z] (7/11) Installing libblkid (2.38-r1) [2023-07-21T00:51:58.788Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-21T00:51:58.788Z] (9/11) Installing libmount (2.38-r1) [2023-07-21T00:51:58.788Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-21T00:51:58.788Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-21T00:51:58.788Z] Executing busybox-1.35.0-r17.trigger [2023-07-21T00:51:58.788Z] OK: 287 MiB in 92 packages [2023-07-21T00:52:00.208Z] Removing intermediate container f5fae849493f [2023-07-21T00:52:00.208Z] ---> 30bf4687d6c7 [2023-07-21T00:52:00.208Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-21T00:52:00.793Z] ---> d9b938f83857 [2023-07-21T00:52:00.793Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-21T00:52:01.377Z] ---> b1bb289debb0 [2023-07-21T00:52:01.377Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-21T00:52:01.962Z] ---> 77ba186d4bf4 [2023-07-21T00:52:01.962Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-21T00:52:02.547Z] ---> c448391b24eb [2023-07-21T00:52:02.547Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-21T00:52:02.814Z] ---> 3f6c53a5a345 [2023-07-21T00:52:02.814Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-21T00:52:03.397Z] ---> 109af7daffa8 [2023-07-21T00:52:03.397Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-21T00:52:03.397Z] ---> Running in 1b0cbc7d7819 [2023-07-21T00:52:03.664Z] Removing intermediate container 1b0cbc7d7819 [2023-07-21T00:52:03.664Z] ---> bbda023f9e4b [2023-07-21T00:52:03.664Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-21T00:52:03.931Z] ---> Running in 0ba57d25d855 [2023-07-21T00:52:04.198Z] Removing intermediate container 0ba57d25d855 [2023-07-21T00:52:04.198Z] ---> 4310ed04edb6 [2023-07-21T00:52:04.198Z] Step 15/17 : LABEL arch=arm64 [2023-07-21T00:52:04.198Z] ---> Running in db0258df2491 [2023-07-21T00:52:04.464Z] Removing intermediate container db0258df2491 [2023-07-21T00:52:04.464Z] ---> fb401c585212 [2023-07-21T00:52:04.464Z] Step 16/17 : LABEL git_sha=e4aa58a90e880d3b2fc448b9bdb101dfbcc44123 [2023-07-21T00:52:04.730Z] ---> Running in 21b04b98859a [2023-07-21T00:52:04.996Z] Removing intermediate container 21b04b98859a [2023-07-21T00:52:04.996Z] ---> 69dcc3a4db86 [2023-07-21T00:52:04.996Z] Step 17/17 : LABEL version=3.1.0-dev.4 [2023-07-21T00:52:04.996Z] ---> Running in 6b0d0c87f7d3 [2023-07-21T00:52:05.262Z] Removing intermediate container 6b0d0c87f7d3 [2023-07-21T00:52:05.262Z] ---> f9bae9e16ded [2023-07-21T00:52:05.262Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-07-21T00:52:05.262Z] Successfully built f9bae9e16ded [2023-07-21T00:52:05.262Z] 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 [2023-07-21T00:52:05.672Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-21T00:52:05.672Z] [2023-07-21T00:52:05.672Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T00:52:05.996Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-21T00:52:05.997Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-21T00:52:05.997Z] 8998bd30e6a1: Pulling fs layer [2023-07-21T00:52:05.997Z] 04944245beec: Pulling fs layer [2023-07-21T00:52:05.997Z] 699f458cf7ca: Pulling fs layer [2023-07-21T00:52:05.997Z] 765212b225bb: Pulling fs layer [2023-07-21T00:52:05.997Z] f23df028b6ca: Pulling fs layer [2023-07-21T00:52:05.997Z] d65c8cfc05b1: Pulling fs layer [2023-07-21T00:52:05.997Z] 2437ff75d9bd: Pulling fs layer [2023-07-21T00:52:05.997Z] 765212b225bb: Waiting [2023-07-21T00:52:05.997Z] f23df028b6ca: Waiting [2023-07-21T00:52:05.997Z] d65c8cfc05b1: Waiting [2023-07-21T00:52:05.997Z] 2437ff75d9bd: Waiting [2023-07-21T00:52:06.263Z] 04944245beec: Verifying Checksum [2023-07-21T00:52:06.263Z] 04944245beec: Download complete [2023-07-21T00:52:06.263Z] 765212b225bb: Download complete [2023-07-21T00:52:06.263Z] f23df028b6ca: Verifying Checksum [2023-07-21T00:52:06.263Z] f23df028b6ca: Download complete [2023-07-21T00:52:06.263Z] d65c8cfc05b1: Verifying Checksum [2023-07-21T00:52:06.263Z] d65c8cfc05b1: Download complete [2023-07-21T00:52:06.263Z] 699f458cf7ca: Verifying Checksum [2023-07-21T00:52:06.263Z] 699f458cf7ca: Download complete [2023-07-21T00:52:06.844Z] 8998bd30e6a1: Verifying Checksum [2023-07-21T00:52:06.844Z] 8998bd30e6a1: Download complete [2023-07-21T00:52:09.420Z] 2437ff75d9bd: Verifying Checksum [2023-07-21T00:52:09.420Z] 2437ff75d9bd: Download complete [2023-07-21T00:52:10.826Z] 8998bd30e6a1: Pull complete [2023-07-21T00:52:11.092Z] 04944245beec: Pull complete [2023-07-21T00:52:12.499Z] 699f458cf7ca: Pull complete [2023-07-21T00:52:12.499Z] 765212b225bb: Pull complete [2023-07-21T00:52:13.457Z] f23df028b6ca: Pull complete [2023-07-21T00:52:13.457Z] d65c8cfc05b1: Pull complete [2023-07-21T00:52:28.441Z] 2437ff75d9bd: Pull complete [2023-07-21T00:52:28.441Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-21T00:52:28.441Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-21T00:52:28.441Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T00:52:28.618Z] prd-ubuntu20.04-docker-arm64-4c-16g-1694 does not seem to be running inside a container [2023-07-21T00:52:28.675Z] $ 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/53 -v /w/workspace/device-sdk-c/53:/w/workspace/device-sdk-c/53:rw,z -v /w/workspace/device-sdk-c/53@tmp:/w/workspace/device-sdk-c/53@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-21T00:52:31.070Z] $ docker top a27a5499926166ac668409bf4ad43e40b2c757883b63cf5ef6dcb751df34fe0f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-21T00:52:31.893Z] ---> job-cost.sh [2023-07-21T00:52:31.893Z] lf-activate-venv: SKIPPING [2023-07-21T00:52:31.893Z] INFO: No Stack... [2023-07-21T00:52:32.156Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-21T00:52:33.111Z] INFO: Archiving Costs [Pipeline] sh [2023-07-21T00:52:33.425Z] + cut -d, -f6 [2023-07-21T00:52:33.425Z] + cat /w/workspace/device-sdk-c/53/archives/cost.csv [Pipeline] lock [2023-07-21T00:52:33.758Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-53-stack-cost] [2023-07-21T00:52:33.764Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-53-stack-cost] did not exist. Created. [2023-07-21T00:52:33.764Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-21T00:52:34.409Z] /w/workspace/device-sdk-c/53@tmp/durable-9e18fd74/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-21T00:52:34.739Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-21T00:52:34.760Z] Warning: overwriting stash ‘stack-cost’ [2023-07-21T00:52:35.222Z] Stashed 1 file(s) [Pipeline] } [2023-07-21T00:52:35.231Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-53-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-21T00:52:35.242Z] $ docker stop --time=1 a27a5499926166ac668409bf4ad43e40b2c757883b63cf5ef6dcb751df34fe0f [2023-07-21T00:52:36.707Z] $ docker rm -f --volumes a27a5499926166ac668409bf4ad43e40b2c757883b63cf5ef6dcb751df34fe0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh [2023-07-21T00:52:37.305Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-21T00:52:37.306Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T00:52:37.603Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-21T00:52:37.603Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T00:52:37.672Z] prd-ubuntu20.04-docker-8c-8g-1693 does not seem to be running inside a container [2023-07-21T00:52:37.709Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-21T00:52:38.095Z] $ docker top 6f5df5cc22774b08a217492b494c2cbc82fc4ceaf273f8f756b599d2e7cc17c7 -eo pid,comm [2023-07-21T00:52:38.133Z] 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). [2023-07-21T00:52:38.133Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-21T00:52:38.176Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-21T00:52:38.176Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-21T00:52:38.283Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-21T00:52:38.291Z] $ docker exec 6f5df5cc22774b08a217492b494c2cbc82fc4ceaf273f8f756b599d2e7cc17c7 ssh-agent [2023-07-21T00:52:38.386Z] SSH_AUTH_SOCK=/tmp/ssh-KWQeTmYPutQN/agent.32 [2023-07-21T00:52:38.386Z] SSH_AGENT_PID=38 [2023-07-21T00:52:38.391Z] Running ssh-add (command line suppressed) [2023-07-21T00:52:38.487Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_18385165157134434144.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_18385165157134434144.key) [2023-07-21T00:52:38.494Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-21T00:52:38.780Z] + git semver tag [2023-07-21T00:52:39.039Z] 2023-07-21 00:52:38,948 [run_tag] DEBUG tag force:False [2023-07-21T00:52:39.039Z] 2023-07-21 00:52:38,948 [check_head_tag] DEBUG check head tag [2023-07-21T00:52:39.039Z] 2023-07-21 00:52:38,949 [execute] INFO git cat-file --batch-check [2023-07-21T00:52:39.039Z] 2023-07-21 00:52:38,949 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2023-07-21T00:52:39.039Z] 2023-07-21 00:52:38,953 [execute] INFO git cat-file --batch [2023-07-21T00:52:39.039Z] 2023-07-21 00:52:38,953 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2023-07-21T00:52:39.039Z] 2023-07-21 00:52:38,962 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-07-21T00:52:39.039Z] 2023-07-21 00:52:38,962 [execute] INFO git tag -a v3.1.0-dev.4 -m v3.1.0-dev.4 [2023-07-21T00:52:39.039Z] 2023-07-21 00:52:38,963 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.4', '-m', 'v3.1.0-dev.4'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2023-07-21T00:52:39.039Z] 2023-07-21 00:52:38,967 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-07-21T00:52:39.039Z] 3.1.0-dev.4 [Pipeline] } [2023-07-21T00:52:39.054Z] $ docker exec --env ******** --env ******** 6f5df5cc22774b08a217492b494c2cbc82fc4ceaf273f8f756b599d2e7cc17c7 ssh-agent -k [2023-07-21T00:52:39.158Z] unset SSH_AUTH_SOCK; [2023-07-21T00:52:39.158Z] unset SSH_AGENT_PID; [2023-07-21T00:52:39.158Z] echo Agent pid 38 killed; [2023-07-21T00:52:39.162Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-21T00:52:39.470Z] + git semver [Pipeline] } [2023-07-21T00:52:39.747Z] $ docker stop --time=1 6f5df5cc22774b08a217492b494c2cbc82fc4ceaf273f8f756b599d2e7cc17c7 [2023-07-21T00:52:41.047Z] $ docker rm -f --volumes 6f5df5cc22774b08a217492b494c2cbc82fc4ceaf273f8f756b599d2e7cc17c7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T00:52:41.422Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-21T00:52:41.422Z] [2023-07-21T00:52:41.422Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T00:52:41.720Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-21T00:52:41.720Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-07-21T00:52:41.720Z] ab5ef0e58194: Pulling fs layer [2023-07-21T00:52:41.720Z] 9712f1f96733: Pulling fs layer [2023-07-21T00:52:41.720Z] 63f879dbbcfc: Pulling fs layer [2023-07-21T00:52:41.720Z] 0d9ebad4ef96: Pulling fs layer [2023-07-21T00:52:41.720Z] e9a5061849ea: Pulling fs layer [2023-07-21T00:52:41.720Z] d747dcd14b5f: Pulling fs layer [2023-07-21T00:52:41.720Z] 2de7ff778b66: Pulling fs layer [2023-07-21T00:52:41.720Z] 0d9ebad4ef96: Waiting [2023-07-21T00:52:41.720Z] e9a5061849ea: Waiting [2023-07-21T00:52:41.720Z] d747dcd14b5f: Waiting [2023-07-21T00:52:41.720Z] 2de7ff778b66: Waiting [2023-07-21T00:52:41.720Z] 9712f1f96733: Download complete [2023-07-21T00:52:42.302Z] 63f879dbbcfc: Verifying Checksum [2023-07-21T00:52:42.302Z] 63f879dbbcfc: Download complete [2023-07-21T00:52:42.559Z] 0d9ebad4ef96: Verifying Checksum [2023-07-21T00:52:42.559Z] 0d9ebad4ef96: Download complete [2023-07-21T00:52:42.559Z] d747dcd14b5f: Verifying Checksum [2023-07-21T00:52:42.559Z] d747dcd14b5f: Download complete [2023-07-21T00:52:42.559Z] ab5ef0e58194: Verifying Checksum [2023-07-21T00:52:42.559Z] ab5ef0e58194: Download complete [2023-07-21T00:52:42.559Z] e9a5061849ea: Verifying Checksum [2023-07-21T00:52:42.559Z] e9a5061849ea: Download complete [2023-07-21T00:52:42.559Z] 2de7ff778b66: Verifying Checksum [2023-07-21T00:52:42.559Z] 2de7ff778b66: Download complete [2023-07-21T00:52:45.081Z] ab5ef0e58194: Pull complete [2023-07-21T00:52:45.081Z] 9712f1f96733: Pull complete [2023-07-21T00:52:45.652Z] 63f879dbbcfc: Pull complete [2023-07-21T00:52:49.839Z] 0d9ebad4ef96: Pull complete [2023-07-21T00:52:49.839Z] e9a5061849ea: Pull complete [2023-07-21T00:52:49.839Z] d747dcd14b5f: Pull complete [2023-07-21T00:52:50.406Z] 2de7ff778b66: Pull complete [2023-07-21T00:52:50.407Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-07-21T00:52:50.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-07-21T00:52:50.407Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T00:52:50.489Z] prd-ubuntu20.04-docker-8c-8g-1693 does not seem to be running inside a container [2023-07-21T00:52:50.525Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-07-21T00:52:53.103Z] $ docker top dc86ced62087f52eb99aa9da6d66aedea8c435747ecf50e4c054e7f55a52bd4a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-07-21T00:52:53.160Z] provisioning config files... [2023-07-21T00:52:53.168Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6404841874640353961tmp [2023-07-21T00:52:53.178Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config12911218981383492757tmp [2023-07-21T00:52:53.187Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config16158538894698272495tmp [Pipeline] { [Pipeline] echo [2023-07-21T00:52:53.201Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T00:52:53.482Z] ---> sigul-configuration.sh [2023-07-21T00:52:53.482Z] gpg: directory `/root/.gnupg' created [2023-07-21T00:52:53.482Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-07-21T00:52:53.482Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-07-21T00:52:53.482Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-07-21T00:52:53.482Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-07-21T00:52:53.482Z] gpg: CAST5 encrypted data [2023-07-21T00:52:53.482Z] gpg: encrypted with 1 passphrase [2023-07-21T00:52:53.482Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-07-21T00:52:53.767Z] + mkdir /home/jenkins [2023-07-21T00:52:53.767Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-07-21T00:52:54.051Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-07-21T00:52:54.060Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T00:52:54.342Z] ---> sigul-install.sh [2023-07-21T00:52:54.343Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-07-21T00:52:54.626Z] + git tag --list [2023-07-21T00:52:54.626Z] 0.7.0 [2023-07-21T00:52:54.626Z] 0.7.1 [2023-07-21T00:52:54.626Z] 1.0.0 [2023-07-21T00:52:54.626Z] v1.0.1 [2023-07-21T00:52:54.626Z] v1.0.2 [2023-07-21T00:52:54.626Z] v1.0.3 [2023-07-21T00:52:54.626Z] v1.1.0 [2023-07-21T00:52:54.626Z] v1.1.1 [2023-07-21T00:52:54.626Z] v1.2.0 [2023-07-21T00:52:54.626Z] v1.2.1 [2023-07-21T00:52:54.626Z] v1.2.2 [2023-07-21T00:52:54.626Z] v1.3.0 [2023-07-21T00:52:54.626Z] v1.3.1 [2023-07-21T00:52:54.626Z] v2.0.0 [2023-07-21T00:52:54.626Z] v2.1.0 [2023-07-21T00:52:54.626Z] v2.2.0 [2023-07-21T00:52:54.626Z] v2.3.0 [2023-07-21T00:52:54.626Z] v3.0 [2023-07-21T00:52:54.626Z] v3.0.0 [2023-07-21T00:52:54.626Z] v3.0.1 [2023-07-21T00:52:54.626Z] v3.1.0-dev.1 [2023-07-21T00:52:54.626Z] v3.1.0-dev.2 [2023-07-21T00:52:54.626Z] v3.1.0-dev.3 [2023-07-21T00:52:54.626Z] v3.1.0-dev.4 [Pipeline] sh [2023-07-21T00:52:54.912Z] + lftools sign git-tag v3.1.0-dev.4 [2023-07-21T00:52:55.478Z] Signing Git tag with Sigul... [2023-07-21T00:52:55.478Z] Signing v3.1.0-dev.4 [Pipeline] echo [2023-07-21T00:52:56.052Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T00:52:56.333Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-07-21T00:52:56.338Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-07-21T00:52:56.361Z] $ docker stop --time=1 dc86ced62087f52eb99aa9da6d66aedea8c435747ecf50e4c054e7f55a52bd4a [2023-07-21T00:52:57.704Z] $ docker rm -f --volumes dc86ced62087f52eb99aa9da6d66aedea8c435747ecf50e4c054e7f55a52bd4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-07-21T00:52:58.091Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-21T00:52:58.091Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T00:52:58.387Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-21T00:52:58.387Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T00:52:58.459Z] prd-ubuntu20.04-docker-8c-8g-1693 does not seem to be running inside a container [2023-07-21T00:52:58.491Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-21T00:52:58.927Z] $ docker top 967fa7bbc52aa20a4cc44adec1bb545d13d63c5e6a1ad5aa2dbcf53c9a91d08b -eo pid,comm [2023-07-21T00:52:58.965Z] 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). [2023-07-21T00:52:58.965Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-21T00:52:58.997Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-21T00:52:58.997Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-21T00:52:59.100Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-21T00:52:59.108Z] $ docker exec 967fa7bbc52aa20a4cc44adec1bb545d13d63c5e6a1ad5aa2dbcf53c9a91d08b ssh-agent [2023-07-21T00:52:59.205Z] SSH_AUTH_SOCK=/tmp/ssh-gdTo37r9IVPF/agent.32 [2023-07-21T00:52:59.205Z] SSH_AGENT_PID=38 [2023-07-21T00:52:59.210Z] Running ssh-add (command line suppressed) [2023-07-21T00:52:59.317Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3386396258891446289.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3386396258891446289.key) [2023-07-21T00:52:59.326Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-21T00:52:59.610Z] + git semver bump pre [2023-07-21T00:52:59.869Z] 2023-07-21 00:52:59,768 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-07-21T00:52:59.869Z] 2023-07-21 00:52:59,768 [bump_version] DEBUG bumping version:3.1.0-dev.4 on axis:pre with prefix:dev [2023-07-21T00:52:59.869Z] 2023-07-21 00:52:59,768 [bump_version] DEBUG bumped version:3.1.0-dev.5 [2023-07-21T00:52:59.869Z] 2023-07-21 00:52:59,768 [write_version] DEBUG write version:3.1.0-dev.5 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2023-07-21T00:52:59.869Z] 2023-07-21 00:52:59,768 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-07-21T00:52:59.869Z] 2023-07-21 00:52:59,768 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-07-21T00:52:59.869Z] 2023-07-21 00:52:59,770 [execute] INFO git cat-file --batch-check [2023-07-21T00:52:59.869Z] 2023-07-21 00:52:59,771 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-21T00:52:59.869Z] 2023-07-21 00:52:59,775 [execute] INFO git cat-file --batch [2023-07-21T00:52:59.869Z] 2023-07-21 00:52:59,775 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-21T00:52:59.869Z] 2023-07-21 00:52:59,779 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-07-21T00:52:59.869Z] 3.1.0-dev.5 [Pipeline] } [2023-07-21T00:52:59.883Z] $ docker exec --env ******** --env ******** 967fa7bbc52aa20a4cc44adec1bb545d13d63c5e6a1ad5aa2dbcf53c9a91d08b ssh-agent -k [2023-07-21T00:52:59.985Z] unset SSH_AUTH_SOCK; [2023-07-21T00:52:59.986Z] unset SSH_AGENT_PID; [2023-07-21T00:52:59.986Z] echo Agent pid 38 killed; [2023-07-21T00:52:59.990Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-21T00:53:00.285Z] + git semver [Pipeline] } [2023-07-21T00:53:00.561Z] $ docker stop --time=1 967fa7bbc52aa20a4cc44adec1bb545d13d63c5e6a1ad5aa2dbcf53c9a91d08b [2023-07-21T00:53:01.848Z] $ docker rm -f --volumes 967fa7bbc52aa20a4cc44adec1bb545d13d63c5e6a1ad5aa2dbcf53c9a91d08b [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-21T00:53:02.191Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-21T00:53:02.191Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T00:53:02.486Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-21T00:53:02.486Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T00:53:02.550Z] prd-ubuntu20.04-docker-8c-8g-1693 does not seem to be running inside a container [2023-07-21T00:53:02.584Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-21T00:53:02.920Z] $ docker top 5126ed161f2887be4dd7458c7a7692392f18bbb2e48a14898a9d7bc472efd264 -eo pid,comm [2023-07-21T00:53:02.960Z] 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). [2023-07-21T00:53:02.960Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-21T00:53:02.992Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-21T00:53:02.992Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-21T00:53:03.094Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-21T00:53:03.102Z] $ docker exec 5126ed161f2887be4dd7458c7a7692392f18bbb2e48a14898a9d7bc472efd264 ssh-agent [2023-07-21T00:53:03.194Z] SSH_AUTH_SOCK=/tmp/ssh-mOdyj3rye0US/agent.33 [2023-07-21T00:53:03.194Z] SSH_AGENT_PID=39 [2023-07-21T00:53:03.199Z] Running ssh-add (command line suppressed) [2023-07-21T00:53:03.311Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5445443502435150982.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5445443502435150982.key) [2023-07-21T00:53:03.319Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-21T00:53:03.613Z] + git semver push [2023-07-21T00:53:03.870Z] 2023-07-21 00:53:03,792 [run_push] DEBUG push [2023-07-21T00:53:03.870Z] 2023-07-21 00:53:03,793 [execute] INFO git cat-file --batch-check [2023-07-21T00:53:03.870Z] 2023-07-21 00:53:03,793 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-07-21T00:53:03.870Z] 2023-07-21 00:53:03,796 [execute] INFO git rev-list c06fd64ac03f7f0f98fb4c7f89e288d29e2b4ad2 -- [2023-07-21T00:53:03.870Z] 2023-07-21 00:53:03,796 [execute] DEBUG Popen(['git', 'rev-list', 'c06fd64ac03f7f0f98fb4c7f89e288d29e2b4ad2', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-21T00:53:03.870Z] 2023-07-21 00:53:03,804 [execute] INFO git fetch -v origin [2023-07-21T00:53:03.870Z] 2023-07-21 00:53:03,804 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-07-21T00:53:04.435Z] 2023-07-21 00:53:04,293 [run_push] DEBUG no remote changes detected [2023-07-21T00:53:04.435Z] 2023-07-21 00:53:04,293 [execute] INFO git push origin semver [2023-07-21T00:53:04.435Z] 2023-07-21 00:53:04,293 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-07-21T00:53:05.372Z] 2023-07-21 00:53:05,014 [run_push] DEBUG push all version tags [2023-07-21T00:53:05.372Z] 2023-07-21 00:53:05,015 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-07-21T00:53:05.372Z] 2023-07-21 00:53:05,015 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2023-07-21T00:53:05.939Z] 2023-07-21 00:53:05,732 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-07-21T00:53:05.939Z] 3.1.0-dev.5 [Pipeline] } [2023-07-21T00:53:05.953Z] $ docker exec --env ******** --env ******** 5126ed161f2887be4dd7458c7a7692392f18bbb2e48a14898a9d7bc472efd264 ssh-agent -k [2023-07-21T00:53:06.052Z] unset SSH_AUTH_SOCK; [2023-07-21T00:53:06.053Z] unset SSH_AGENT_PID; [2023-07-21T00:53:06.053Z] echo Agent pid 39 killed; [2023-07-21T00:53:06.057Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-21T00:53:06.360Z] + git semver [Pipeline] } [2023-07-21T00:53:06.635Z] $ docker stop --time=1 5126ed161f2887be4dd7458c7a7692392f18bbb2e48a14898a9d7bc472efd264 [2023-07-21T00:53:07.941Z] $ docker rm -f --volumes 5126ed161f2887be4dd7458c7a7692392f18bbb2e48a14898a9d7bc472efd264 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-07-21T00:53:08.380Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2023-07-21T00:53:08.380Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-07-21T00:53:08.380Z] total 16 [2023-07-21T00:53:08.380Z] drwxr-xr-x 3 root root 4096 Jul 21 00:46 . [2023-07-21T00:53:08.380Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 21 00:52 .. [2023-07-21T00:53:08.380Z] drwxr-xr-x 2 root root 4096 Jul 21 00:46 cost [2023-07-21T00:53:08.380Z] -rw-r--r-- 1 root root 83 Jul 21 00:46 cost.csv [2023-07-21T00:53:08.380Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-07-21T00:53:08.380Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-07-21T00:53:08.380Z] total 16 [2023-07-21T00:53:08.380Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 21 00:46 . [2023-07-21T00:53:08.380Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 21 00:52 .. [2023-07-21T00:53:08.380Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 21 00:46 cost [2023-07-21T00:53:08.380Z] -rw-r--r-- 1 jenkins jenkins 83 Jul 21 00:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-21T00:53:08.666Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T00:53:09.519Z] ---> package-listing.sh [2023-07-21T00:53:09.519Z] ++ facter osfamily [2023-07-21T00:53:09.519Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-21T00:53:09.775Z] + OS_FAMILY=debian [2023-07-21T00:53:09.775Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2023-07-21T00:53:09.775Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-21T00:53:09.775Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-21T00:53:09.775Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-21T00:53:09.775Z] + PACKAGES=/tmp/packages_start.txt [2023-07-21T00:53:09.775Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-07-21T00:53:09.775Z] + PACKAGES=/tmp/packages_end.txt [2023-07-21T00:53:09.775Z] + case "${OS_FAMILY}" in [2023-07-21T00:53:09.775Z] + dpkg -l [2023-07-21T00:53:09.775Z] + grep '^ii' [2023-07-21T00:53:09.775Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-21T00:53:09.775Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-21T00:53:09.775Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-21T00:53:09.775Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-07-21T00:53:09.775Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2023-07-21T00:53:09.775Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo [2023-07-21T00:53:09.785Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-21T00:53:10.061Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-21T00:53:10.614Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-21T00:53:10.614Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-21T00:53:10.675Z] prd-ubuntu20.04-docker-8c-8g-1693 does not seem to be running inside a container [2023-07-21T00:53:10.712Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-21T00:53:10.938Z] $ docker top 9551a1a9d5d4ac444c81f61739c92d409dcefed920ae3541f06ab2ef7619ec07 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-21T00:53:11.270Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-21T00:53:11.550Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-21T00:53:11.835Z] + ls /var/log/sa-host [2023-07-21T00:53:11.835Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-21T00:53:11.898Z] provisioning config files... [2023-07-21T00:53:11.905Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15580246512728231165tmp [Pipeline] { [Pipeline] echo [2023-07-21T00:53:11.918Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T00:53:12.199Z] ---> create-netrc.sh [Pipeline] } [2023-07-21T00:53:12.206Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-21T00:53:12.581Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-21T00:53:12.589Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T00:53:12.871Z] ---> sudo-logs.sh [2023-07-21T00:53:12.872Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-21T00:53:12.900Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T00:53:13.180Z] ---> job-cost.sh [2023-07-21T00:53:13.180Z] lf-activate-venv: SKIPPING [2023-07-21T00:53:13.180Z] DEBUG: total: 0.2199999988079071 [2023-07-21T00:53:13.180Z] INFO: Retrieving Stack Cost... [2023-07-21T00:53:13.439Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-21T00:53:13.697Z] INFO: Archiving Costs [Pipeline] echo [2023-07-21T00:53:13.706Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-21T00:53:13.984Z] ---> logs-deploy.sh [2023-07-21T00:53:13.984Z] lf-activate-venv: SKIPPING [2023-07-21T00:53:13.984Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/53 [2023-07-21T00:53:13.984Z] INFO: archiving workspace using pattern(s): [2023-07-21T00:53:14.921Z] Archives upload complete. [2023-07-21T00:53:14.921Z] INFO: archiving logs to Nexus