Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 4504df9bdc42e67ccb7a3eb990460bb7d9735de7+5083ed3070027848acd6eb0750509a0a7c8e5467 (af960181a5a627eb909da3d4b9250264988c20db) 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-ssh167621762230060727.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-ssh7483870926115208253.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/PR-467/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-467/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14797774757665638510.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-ssh10069218124202984986.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/PR-467/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-467/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7039477886838092762.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1088 in /w/workspace/edgexfoundry_device-sdk-c_PR-467 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-467 # 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 > 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 Merging remotes/origin/main commit 5083ed3070027848acd6eb0750509a0a7c8e5467 into PR head commit 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 Merge succeeded, producing 6db2153c9effd494fba8eac5af642bb1bf42c171 Checking out Revision 6db2153c9effd494fba8eac5af642bb1bf42c171 (PR-467) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5083ed3070027848acd6eb0750509a0a7c8e5467 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6db2153c9effd494fba8eac5af642bb1bf42c171 # timeout=10 Commit message: "Merge commit '5083ed3070027848acd6eb0750509a0a7c8e5467' into HEAD" > git rev-list --no-walk 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-13T18:55:50.404Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-13T18:55:50.453Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-13T18:55:50.468Z] ========================================================= [2023-07-13T18:55:50.468Z] EdgeX Global Pipelines Version Info [2023-07-13T18:55:50.468Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-13T18:55:51.182Z] ------------------- [2023-07-13T18:55:51.182Z] stable info: [2023-07-13T18:55:51.183Z] ------------------- [2023-07-13T18:55:51.183Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-13T18:55:51.183Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-13T18:55:51.183Z] Message: update stable to v1.0.250 [2023-07-13T18:55:51.750Z] ------------------- [2023-07-13T18:55:51.750Z] experimental info: [2023-07-13T18:55:51.750Z] ------------------- [2023-07-13T18:55:51.750Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-13T18:55:51.750Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-13T18:55:51.750Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-13T18:55:51.894Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-07-13T18:55:51.905Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-07-13T18:55:51.916Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-13T18:55:51.934Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-13T18:55:51.950Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-13T18:55:51.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-07-13T18:55:51.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-07-13T18:55:51.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-13T18:55:52.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-13T18:55:52.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-07-13T18:55:52.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-13T18:55:52.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-13T18:55:52.189Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-13T18:55:52.199Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-13T18:55:52.208Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-13T18:55:52.215Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-13T18:55:52.223Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-13T18:55:52.237Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-467 [Pipeline] echo [2023-07-13T18:55:52.254Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-467 [Pipeline] echo [2023-07-13T18:55:52.269Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-467 [Pipeline] echo [2023-07-13T18:55:52.280Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6db2153c9effd494fba8eac5af642bb1bf42c171 [Pipeline] echo [2023-07-13T18:55:52.294Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6db2153 [Pipeline] echo [2023-07-13T18:55:52.308Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T18:55:52.359Z] provisioning config files... [2023-07-13T18:55:52.368Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/config11043300808511224237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T18:55:52.712Z] ---> docker-login.sh [2023-07-13T18:55:52.712Z] nexus3.edgexfoundry.org:10001 [2023-07-13T18:55:54.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T18:55:54.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T18:55:54.355Z] Configure a credential helper to remove this warning. See [2023-07-13T18:55:54.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T18:55:54.355Z] [2023-07-13T18:55:54.355Z] Login Succeeded [2023-07-13T18:55:54.355Z] nexus3.edgexfoundry.org:10002 [2023-07-13T18:55:54.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T18:55:54.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T18:55:54.355Z] Configure a credential helper to remove this warning. See [2023-07-13T18:55:54.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T18:55:54.355Z] [2023-07-13T18:55:54.355Z] Login Succeeded [2023-07-13T18:55:54.355Z] nexus3.edgexfoundry.org:10003 [2023-07-13T18:55:54.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T18:55:54.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T18:55:54.615Z] Configure a credential helper to remove this warning. See [2023-07-13T18:55:54.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T18:55:54.615Z] [2023-07-13T18:55:54.615Z] Login Succeeded [2023-07-13T18:55:54.615Z] nexus3.edgexfoundry.org:10004 [2023-07-13T18:55:54.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T18:55:54.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T18:55:54.615Z] Configure a credential helper to remove this warning. See [2023-07-13T18:55:54.615Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T18:55:54.615Z] [2023-07-13T18:55:54.615Z] Login Succeeded [2023-07-13T18:55:54.615Z] docker.io [2023-07-13T18:55:54.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T18:55:54.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T18:55:54.877Z] Configure a credential helper to remove this warning. See [2023-07-13T18:55:54.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T18:55:54.877Z] [2023-07-13T18:55:54.877Z] Login Succeeded [2023-07-13T18:55:54.877Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T18:55:54.885Z] 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-13T18:55:55.258Z] + git rev-list -1 --merges 6db2153c9effd494fba8eac5af642bb1bf42c171~1..6db2153c9effd494fba8eac5af642bb1bf42c171 [Pipeline] echo [2023-07-13T18:55:55.300Z] -----------> git rev-list -1 --merges 6db2153c9effd494fba8eac5af642bb1bf42c171~1..6db2153c9effd494fba8eac5af642bb1bf42c171 6db2153c9effd494fba8eac5af642bb1bf42c171 [2023-07-13T18:55:55.300Z] 6db2153c9effd494fba8eac5af642bb1bf42c171 [false] [Pipeline] sh [2023-07-13T18:55:55.585Z] + git log --format=format:%s -1 6db2153c9effd494fba8eac5af642bb1bf42c171 [Pipeline] echo [2023-07-13T18:55:55.600Z] ========================================================= [2023-07-13T18:55:55.600Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-13T18:55:55.600Z] ========================================================= 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-13T18:55:55.980Z] + git rev-list -1 --merges 6db2153c9effd494fba8eac5af642bb1bf42c171~1..6db2153c9effd494fba8eac5af642bb1bf42c171 [Pipeline] echo [2023-07-13T18:55:55.995Z] -----------> git rev-list -1 --merges 6db2153c9effd494fba8eac5af642bb1bf42c171~1..6db2153c9effd494fba8eac5af642bb1bf42c171 6db2153c9effd494fba8eac5af642bb1bf42c171 [2023-07-13T18:55:55.995Z] 6db2153c9effd494fba8eac5af642bb1bf42c171 [false] [Pipeline] sh [2023-07-13T18:55:56.283Z] + git log --format=format:%s -1 6db2153c9effd494fba8eac5af642bb1bf42c171 [Pipeline] echo [2023-07-13T18:55:56.298Z] ========================================================= [2023-07-13T18:55:56.298Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-13T18:55:56.298Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-07-13T18:55:56.744Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-13T18:55:56.744Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-13T18:55:56.744Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-13T18:55:56.744Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-13T18:55:56.744Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-13T18:55:56.744Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-13T18:55:56.744Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T18:55:57.147Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T18:55:57.148Z] [2023-07-13T18:55:57.148Z] 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-13T18:55:57.447Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T18:55:57.447Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-13T18:55:57.447Z] b85a868b505f: Pulling fs layer [2023-07-13T18:55:57.447Z] e2be974225ed: Pulling fs layer [2023-07-13T18:55:57.447Z] 339a4e72a1f5: Pulling fs layer [2023-07-13T18:55:57.447Z] 988bab9f4d93: Pulling fs layer [2023-07-13T18:55:57.447Z] 1469e6f7b9e6: Pulling fs layer [2023-07-13T18:55:57.447Z] eaf3925da568: Pulling fs layer [2023-07-13T18:55:57.447Z] bab4dde63d76: Pulling fs layer [2023-07-13T18:55:57.447Z] bde34c3a00c8: Pulling fs layer [2023-07-13T18:55:57.447Z] b352a97aabf1: Pulling fs layer [2023-07-13T18:55:57.447Z] 4872d77fe225: Pulling fs layer [2023-07-13T18:55:57.447Z] 5851b861e8e6: Pulling fs layer [2023-07-13T18:55:57.447Z] bab4dde63d76: Waiting [2023-07-13T18:55:57.447Z] 4872d77fe225: Waiting [2023-07-13T18:55:57.447Z] bde34c3a00c8: Waiting [2023-07-13T18:55:57.447Z] 5851b861e8e6: Waiting [2023-07-13T18:55:57.447Z] b352a97aabf1: Waiting [2023-07-13T18:55:57.447Z] 988bab9f4d93: Waiting [2023-07-13T18:55:57.447Z] eaf3925da568: Waiting [2023-07-13T18:55:57.447Z] 1469e6f7b9e6: Waiting [2023-07-13T18:55:57.447Z] e2be974225ed: Download complete [2023-07-13T18:55:57.447Z] 988bab9f4d93: Verifying Checksum [2023-07-13T18:55:57.708Z] 339a4e72a1f5: Verifying Checksum [2023-07-13T18:55:57.708Z] 339a4e72a1f5: Download complete [2023-07-13T18:55:57.708Z] 1469e6f7b9e6: Verifying Checksum [2023-07-13T18:55:57.708Z] 1469e6f7b9e6: Download complete [2023-07-13T18:55:57.708Z] eaf3925da568: Verifying Checksum [2023-07-13T18:55:57.708Z] eaf3925da568: Download complete [2023-07-13T18:55:57.708Z] bde34c3a00c8: Download complete [2023-07-13T18:55:57.708Z] b352a97aabf1: Download complete [2023-07-13T18:55:57.708Z] 4872d77fe225: Download complete [2023-07-13T18:55:57.708Z] 5851b861e8e6: Download complete [2023-07-13T18:55:57.708Z] b85a868b505f: Verifying Checksum [2023-07-13T18:55:57.708Z] b85a868b505f: Download complete [2023-07-13T18:55:57.967Z] bab4dde63d76: Verifying Checksum [2023-07-13T18:55:57.967Z] bab4dde63d76: Download complete [2023-07-13T18:55:58.904Z] b85a868b505f: Pull complete [2023-07-13T18:55:59.163Z] e2be974225ed: Pull complete [2023-07-13T18:55:59.734Z] 339a4e72a1f5: Pull complete [2023-07-13T18:55:59.994Z] 988bab9f4d93: Pull complete [2023-07-13T18:56:00.257Z] 1469e6f7b9e6: Pull complete [2023-07-13T18:56:00.257Z] eaf3925da568: Pull complete [2023-07-13T18:56:02.166Z] bab4dde63d76: Pull complete [2023-07-13T18:56:02.166Z] bde34c3a00c8: Pull complete [2023-07-13T18:56:02.166Z] b352a97aabf1: Pull complete [2023-07-13T18:56:02.166Z] 4872d77fe225: Pull complete [2023-07-13T18:56:02.425Z] 5851b861e8e6: Pull complete [2023-07-13T18:56:02.425Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-13T18:56:02.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T18:56:02.425Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T18:56:02.515Z] prd-ubuntu20.04-docker-8c-8g-1088 does not seem to be running inside a container [2023-07-13T18:56:02.553Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-467 -v /w/workspace/edgexfoundry_device-sdk-c_PR-467:/w/workspace/edgexfoundry_device-sdk-c_PR-467:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-13T18:56:07.338Z] $ docker top 48195e193e2648835af53662465ba1889bdeb17e873fe00cea82968bd059e115 -eo pid,comm [2023-07-13T18:56:07.423Z] 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-13T18:56:07.423Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-13T18:56:07.460Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-13T18:56:07.460Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-13T18:56:07.577Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-13T18:56:07.583Z] $ docker exec 48195e193e2648835af53662465ba1889bdeb17e873fe00cea82968bd059e115 ssh-agent [2023-07-13T18:56:07.679Z] SSH_AUTH_SOCK=/tmp/ssh-HhG7AEJKyhoH/agent.33 [2023-07-13T18:56:07.679Z] SSH_AGENT_PID=39 [2023-07-13T18:56:07.683Z] Running ssh-add (command line suppressed) [2023-07-13T18:56:07.777Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/private_key_505903453517331502.key (/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/private_key_505903453517331502.key) [2023-07-13T18:56:07.787Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-13T18:56:08.077Z] + git tag --points-at HEAD [Pipeline] } [2023-07-13T18:56:08.101Z] $ docker exec --env ******** --env ******** 48195e193e2648835af53662465ba1889bdeb17e873fe00cea82968bd059e115 ssh-agent -k [2023-07-13T18:56:08.188Z] unset SSH_AUTH_SOCK; [2023-07-13T18:56:08.188Z] unset SSH_AGENT_PID; [2023-07-13T18:56:08.188Z] echo Agent pid 39 killed; [2023-07-13T18:56:08.194Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-13T18:56:08.217Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-13T18:56:08.217Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-13T18:56:08.334Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-13T18:56:08.343Z] $ docker exec 48195e193e2648835af53662465ba1889bdeb17e873fe00cea82968bd059e115 ssh-agent [2023-07-13T18:56:08.444Z] SSH_AUTH_SOCK=/tmp/ssh-EpjCVwIXXDOA/agent.72 [2023-07-13T18:56:08.444Z] SSH_AGENT_PID=78 [2023-07-13T18:56:08.449Z] Running ssh-add (command line suppressed) [2023-07-13T18:56:08.550Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/private_key_13203736105688222082.key (/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/private_key_13203736105688222082.key) [2023-07-13T18:56:08.560Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-13T18:56:08.847Z] + git semver init [2023-07-13T18:56:09.106Z] 2023-07-13 18:56:09,039 [run_init] DEBUG init version:0.0.0 force:False [2023-07-13T18:56:09.106Z] 2023-07-13 18:56:09,040 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver [2023-07-13T18:56:09.106Z] 2023-07-13 18:56:09,041 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver [2023-07-13T18:56:09.106Z] 2023-07-13 18:56:09,041 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-467, universal_newlines=False, shell=None, istream=None) [2023-07-13T18:56:10.096Z] 2023-07-13 18:56:09,971 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-467/.git/info/exclude [2023-07-13T18:56:10.096Z] 2023-07-13 18:56:09,971 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver/PR-467 with force:False [2023-07-13T18:56:10.096Z] 2023-07-13 18:56:09,971 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver/PR-467 [2023-07-13T18:56:10.096Z] 2023-07-13 18:56:09,975 [execute] INFO git cat-file --batch-check [2023-07-13T18:56:10.096Z] 2023-07-13 18:56:09,976 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver, universal_newlines=False, shell=None, istream=) [2023-07-13T18:56:10.096Z] 2023-07-13 18:56:09,982 [execute] INFO git cat-file --batch [2023-07-13T18:56:10.096Z] 2023-07-13 18:56:09,982 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver, universal_newlines=False, shell=None, istream=) [2023-07-13T18:56:10.096Z] 2023-07-13 18:56:09,987 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver/PR-467 [2023-07-13T18:56:10.096Z] 0.0.0 [Pipeline] } [2023-07-13T18:56:10.108Z] $ docker exec --env ******** --env ******** 48195e193e2648835af53662465ba1889bdeb17e873fe00cea82968bd059e115 ssh-agent -k [2023-07-13T18:56:10.209Z] unset SSH_AUTH_SOCK; [2023-07-13T18:56:10.209Z] unset SSH_AGENT_PID; [2023-07-13T18:56:10.209Z] echo Agent pid 78 killed; [2023-07-13T18:56:10.215Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-13T18:56:10.543Z] + git semver [Pipeline] } [2023-07-13T18:56:10.818Z] $ docker stop --time=1 48195e193e2648835af53662465ba1889bdeb17e873fe00cea82968bd059e115 [2023-07-13T18:56:12.107Z] $ docker rm -f --volumes 48195e193e2648835af53662465ba1889bdeb17e873fe00cea82968bd059e115 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-13T18:56:12.441Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-13T18:56:12.681Z] Stashed 1 file(s) [Pipeline] echo [2023-07-13T18:56:12.683Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T18:56:12.798Z] provisioning config files... [2023-07-13T18:56:12.808Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/config8414751315060774614tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T18:56:13.100Z] ---> docker-login.sh [2023-07-13T18:56:13.100Z] nexus3.edgexfoundry.org:10001 [2023-07-13T18:56:13.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T18:56:13.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T18:56:13.100Z] Configure a credential helper to remove this warning. See [2023-07-13T18:56:13.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T18:56:13.100Z] [2023-07-13T18:56:13.100Z] Login Succeeded [2023-07-13T18:56:13.100Z] nexus3.edgexfoundry.org:10002 [2023-07-13T18:56:13.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T18:56:13.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T18:56:13.100Z] Configure a credential helper to remove this warning. See [2023-07-13T18:56:13.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T18:56:13.100Z] [2023-07-13T18:56:13.100Z] Login Succeeded [2023-07-13T18:56:13.100Z] nexus3.edgexfoundry.org:10003 [2023-07-13T18:56:13.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T18:56:13.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T18:56:13.359Z] Configure a credential helper to remove this warning. See [2023-07-13T18:56:13.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T18:56:13.359Z] [2023-07-13T18:56:13.359Z] Login Succeeded [2023-07-13T18:56:13.359Z] nexus3.edgexfoundry.org:10004 [2023-07-13T18:56:13.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T18:56:13.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T18:56:13.359Z] Configure a credential helper to remove this warning. See [2023-07-13T18:56:13.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T18:56:13.359Z] [2023-07-13T18:56:13.359Z] Login Succeeded [2023-07-13T18:56:13.359Z] docker.io [2023-07-13T18:56:13.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T18:56:13.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T18:56:13.617Z] Configure a credential helper to remove this warning. See [2023-07-13T18:56:13.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T18:56:13.617Z] [2023-07-13T18:56:13.617Z] Login Succeeded [2023-07-13T18:56:13.617Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T18:56:13.624Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-13T18:56:13.686Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T18:56:13.697Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-07-13T18:56:13.712Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T18:56:13.719Z] ========================================================= [2023-07-13T18:56:13.719Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-07-13T18:56:13.719Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T18:56:14.182Z] + 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-13T18:56:14.182Z] Sending build context to Docker daemon 4.84MB [2023-07-13T18:56:14.182Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-13T18:56:14.183Z] Step 2/21 : FROM ${BASE} as builder [2023-07-13T18:56:14.183Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-07-13T18:56:14.183Z] 91d30c5bc195: Pulling fs layer [2023-07-13T18:56:14.183Z] 316e5a4585fb: Pulling fs layer [2023-07-13T18:56:14.443Z] 91d30c5bc195: Verifying Checksum [2023-07-13T18:56:14.443Z] 91d30c5bc195: Download complete [2023-07-13T18:56:14.443Z] 91d30c5bc195: Pull complete [2023-07-13T18:56:15.015Z] 316e5a4585fb: Verifying Checksum [2023-07-13T18:56:15.015Z] 316e5a4585fb: Download complete [2023-07-13T18:56:17.562Z] 316e5a4585fb: Pull complete [2023-07-13T18:56:17.562Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-07-13T18:56:17.562Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-07-13T18:56:17.562Z] ---> e83ffa357ff4 [2023-07-13T18:56:17.562Z] 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-13T18:56:20.856Z] ---> Running in f1e6ca8c0cc0 [2023-07-13T18:56:20.856Z] Connecting to iotech.jfrog.io (54.76.62.242:443) [2023-07-13T18:56:21.114Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-13T18:56:21.114Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-13T18:56:21.114Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-13T18:56:21.372Z] Removing intermediate container f1e6ca8c0cc0 [2023-07-13T18:56:21.372Z] ---> 687a30585f3f [2023-07-13T18:56:21.372Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-13T18:56:21.372Z] ---> Running in 5d673c515661 [2023-07-13T18:56:21.942Z] Removing intermediate container 5d673c515661 [2023-07-13T18:56:21.942Z] ---> 744ded2f8447 [2023-07-13T18:56:21.942Z] 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-13T18:56:21.942Z] ---> Running in 19eb826270c8 [2023-07-13T18:56:22.201Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-13T18:56:22.201Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-13T18:56:22.460Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-13T18:56:23.029Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-13T18:56:23.029Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-13T18:56:23.029Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-13T18:56:23.029Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-13T18:56:23.029Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-13T18:56:23.029Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-13T18:56:23.596Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-13T18:56:23.596Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-13T18:56:23.596Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-13T18:56:23.596Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-13T18:56:23.596Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-13T18:56:24.535Z] (11/16) Installing libblkid (2.38-r1) [2023-07-13T18:56:24.535Z] (12/16) Installing libuuid (2.38-r1) [2023-07-13T18:56:24.535Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-13T18:56:24.535Z] (14/16) Installing libmount (2.38-r1) [2023-07-13T18:56:24.535Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-13T18:56:24.535Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-13T18:56:24.535Z] Executing busybox-1.35.0-r17.trigger [2023-07-13T18:56:24.535Z] OK: 280 MiB in 90 packages [2023-07-13T18:56:25.472Z] Removing intermediate container 19eb826270c8 [2023-07-13T18:56:25.472Z] ---> c6723ffc48fe [2023-07-13T18:56:25.472Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-13T18:56:25.472Z] ---> Running in 49b7aaa5a7b2 [2023-07-13T18:56:26.040Z] Removing intermediate container 49b7aaa5a7b2 [2023-07-13T18:56:26.040Z] ---> 26ffef935c55 [2023-07-13T18:56:26.040Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-13T18:56:26.301Z] ---> 7eed6f71a075 [2023-07-13T18:56:26.301Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-13T18:56:26.562Z] ---> 395f9cdfeb02 [2023-07-13T18:56:26.562Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-13T18:56:26.822Z] ---> 063b9c5644a0 [2023-07-13T18:56:26.822Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-13T18:56:26.822Z] ---> cd736e98a442 [2023-07-13T18:56:26.822Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-13T18:56:27.082Z] ---> f34963df2b26 [2023-07-13T18:56:27.082Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-13T18:56:27.082Z] ---> 3461d6d2f8cc [2023-07-13T18:56:27.082Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-13T18:56:27.082Z] ---> Running in 8cd056ce2326 [2023-07-13T18:56:27.340Z] + CPPCHECK=false [2023-07-13T18:56:27.340Z] + DOCGEN=false [2023-07-13T18:56:27.340Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-13T18:56:27.340Z] + '[' 0 -gt 0 ] [2023-07-13T18:56:27.340Z] + readlink -f ./scripts/build.sh [2023-07-13T18:56:27.340Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-13T18:56:27.340Z] + dirname /tmp/sdk/scripts [2023-07-13T18:56:27.340Z] + ROOT=/tmp/sdk [2023-07-13T18:56:27.340Z] + cd /tmp/sdk [2023-07-13T18:56:27.340Z] + mkdir -p /tmp/sdk/build/release [2023-07-13T18:56:27.340Z] + cd /tmp/sdk/build/release [2023-07-13T18:56:27.340Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-13T18:56:27.599Z] -- The C compiler identification is GNU 11.2.1 [2023-07-13T18:56:27.599Z] -- Detecting C compiler ABI info [2023-07-13T18:56:27.599Z] -- Detecting C compiler ABI info - done [2023-07-13T18:56:27.599Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-13T18:56:27.599Z] -- Detecting C compile features [2023-07-13T18:56:27.599Z] -- Detecting C compile features - done [2023-07-13T18:56:27.599Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-13T18:56:27.758Z] Still waiting to schedule task [2023-07-13T18:56:27.759Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-13T18:56:27.857Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-13T18:56:27.857Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-13T18:56:27.857Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-13T18:56:27.857Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-13T18:56:27.857Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-13T18:56:27.857Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-13T18:56:27.858Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-13T18:56:27.858Z] -- /opt/iotech/iot/1.5/include [2023-07-13T18:56:27.858Z] -- C SDK 0.0.0 for Linux [2023-07-13T18:56:27.858Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-13T18:56:27.858Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-13T18:56:27.858Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-13T18:56:27.858Z] -- Configuring done [2023-07-13T18:56:27.858Z] -- Generating done [2023-07-13T18:56:27.858Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-13T18:56:27.858Z] + make all package [2023-07-13T18:56:27.858Z] + tee release.log [2023-07-13T18:56:27.858Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-13T18:56:28.118Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-13T18:56:28.376Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-13T18:56:28.376Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-13T18:56:28.635Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-13T18:56:28.635Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-13T18:56:29.201Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-13T18:56:29.201Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-13T18:56:29.201Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-13T18:56:29.459Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-13T18:56:29.718Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-13T18:56:29.976Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-13T18:56:30.235Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-13T18:56:30.235Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-13T18:56:30.235Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-13T18:56:30.495Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-13T18:56:30.495Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-13T18:56:31.061Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-13T18:56:31.061Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-13T18:56:31.061Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-13T18:56:31.320Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-13T18:56:32.256Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-13T18:56:32.514Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-13T18:56:32.514Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-13T18:56:32.514Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-13T18:56:32.772Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-13T18:56:33.032Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-13T18:56:33.295Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-13T18:56:33.555Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-13T18:56:33.555Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-13T18:56:33.814Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-13T18:56:34.382Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-13T18:56:34.382Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-13T18:56:34.382Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-13T18:56:34.640Z] [ 68%] Linking C shared library libcsdk.so [2023-07-13T18:56:34.640Z] [ 68%] Built target csdk [2023-07-13T18:56:34.640Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-13T18:56:34.900Z] [ 72%] Linking C executable template [2023-07-13T18:56:34.900Z] [ 72%] Built target template [2023-07-13T18:56:34.900Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-13T18:56:34.900Z] [ 76%] Linking C executable device-counter [2023-07-13T18:56:35.165Z] [ 76%] Built target device-counter [2023-07-13T18:56:35.165Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-13T18:56:35.165Z] [ 80%] Linking C executable device-random [2023-07-13T18:56:35.165Z] [ 80%] Built target device-random [2023-07-13T18:56:35.165Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-13T18:56:35.423Z] [ 84%] Linking C executable device-gyro [2023-07-13T18:56:35.423Z] [ 84%] Built target device-gyro [2023-07-13T18:56:35.423Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-13T18:56:35.423Z] [ 88%] Linking C executable device-bitfields [2023-07-13T18:56:35.681Z] [ 88%] Built target device-bitfields [2023-07-13T18:56:35.681Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-13T18:56:35.681Z] [ 92%] Linking C executable template-discovery [2023-07-13T18:56:35.947Z] [ 92%] Built target template-discovery [2023-07-13T18:56:35.947Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-13T18:56:35.947Z] [ 96%] Linking C executable device-file [2023-07-13T18:56:35.947Z] [ 96%] Built target device-file [2023-07-13T18:56:35.947Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-13T18:56:36.206Z] [100%] Linking C executable device-terminal [2023-07-13T18:56:36.206Z] [100%] Built target device-terminal [2023-07-13T18:56:36.206Z] Run CPack packaging tool... [2023-07-13T18:56:36.206Z] CPack: Create package using TGZ [2023-07-13T18:56:36.206Z] CPack: Install projects [2023-07-13T18:56:36.206Z] CPack: - Run preinstall target for: Csdk [2023-07-13T18:56:36.465Z] CPack: - Install project: Csdk [] [2023-07-13T18:56:36.465Z] CPack: Create package [2023-07-13T18:56:36.465Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-07-13T18:56:36.465Z] + '[' false '=' true ] [2023-07-13T18:56:36.465Z] + '[' false '=' true ] [2023-07-13T18:56:36.465Z] + mkdir -p /tmp/sdk/build/debug [2023-07-13T18:56:36.465Z] + cd /tmp/sdk/build/debug [2023-07-13T18:56:36.465Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-13T18:56:36.465Z] -- The C compiler identification is GNU 11.2.1 [2023-07-13T18:56:36.465Z] -- Detecting C compiler ABI info [2023-07-13T18:56:36.725Z] -- Detecting C compiler ABI info - done [2023-07-13T18:56:36.725Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-13T18:56:36.725Z] -- Detecting C compile features [2023-07-13T18:56:36.725Z] -- Detecting C compile features - done [2023-07-13T18:56:36.725Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-13T18:56:36.725Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-13T18:56:36.725Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-13T18:56:36.725Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-13T18:56:36.725Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-13T18:56:36.725Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-13T18:56:36.725Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-13T18:56:36.725Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-13T18:56:36.725Z] -- /opt/iotech/iot/1.5/include [2023-07-13T18:56:36.725Z] -- C SDK 0.0.0 for Linux [2023-07-13T18:56:36.725Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-13T18:56:36.725Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-13T18:56:36.725Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-13T18:56:37.007Z] -- Configuring done [2023-07-13T18:56:37.007Z] -- Generating done [2023-07-13T18:56:37.007Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-13T18:56:37.007Z] + make [2023-07-13T18:56:37.007Z] + tee debug.log [2023-07-13T18:56:37.007Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-13T18:56:37.007Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-13T18:56:37.007Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-13T18:56:37.266Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-13T18:56:37.266Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-13T18:56:37.266Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-13T18:56:37.524Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-13T18:56:37.524Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-13T18:56:37.524Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-13T18:56:37.783Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-13T18:56:37.783Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-13T18:56:38.042Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-13T18:56:38.042Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-13T18:56:38.042Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-13T18:56:38.301Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-13T18:56:38.301Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-13T18:56:38.301Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-13T18:56:38.560Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-13T18:56:38.560Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-13T18:56:38.560Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-13T18:56:38.820Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-13T18:56:38.820Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-13T18:56:39.078Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-13T18:56:39.078Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-13T18:56:39.078Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-13T18:56:39.078Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-13T18:56:39.337Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-13T18:56:39.597Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-13T18:56:39.597Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-13T18:56:39.597Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-13T18:56:39.859Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-13T18:56:39.859Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-13T18:56:40.117Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-13T18:56:40.117Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-13T18:56:40.117Z] [ 68%] Linking C shared library libcsdk.so [2023-07-13T18:56:40.117Z] [ 68%] Built target csdk [2023-07-13T18:56:40.117Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-13T18:56:40.376Z] [ 72%] Linking C executable template [2023-07-13T18:56:40.376Z] [ 72%] Built target template [2023-07-13T18:56:40.376Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-13T18:56:40.376Z] [ 76%] Linking C executable device-counter [2023-07-13T18:56:40.376Z] [ 76%] Built target device-counter [2023-07-13T18:56:40.635Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-13T18:56:40.635Z] [ 80%] Linking C executable device-random [2023-07-13T18:56:40.635Z] [ 80%] Built target device-random [2023-07-13T18:56:40.635Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-13T18:56:40.635Z] [ 84%] Linking C executable device-gyro [2023-07-13T18:56:40.893Z] [ 84%] Built target device-gyro [2023-07-13T18:56:40.893Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-13T18:56:40.893Z] [ 88%] Linking C executable device-bitfields [2023-07-13T18:56:40.893Z] [ 88%] Built target device-bitfields [2023-07-13T18:56:40.893Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-13T18:56:40.893Z] [ 92%] Linking C executable template-discovery [2023-07-13T18:56:41.151Z] [ 92%] Built target template-discovery [2023-07-13T18:56:41.151Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-13T18:56:41.151Z] [ 96%] Linking C executable device-file [2023-07-13T18:56:41.151Z] [ 96%] Built target device-file [2023-07-13T18:56:41.151Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-13T18:56:41.412Z] [100%] Linking C executable device-terminal [2023-07-13T18:56:41.412Z] [100%] Built target device-terminal [2023-07-13T18:56:41.412Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-13T18:56:41.412Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-13T18:56:41.412Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T18:56:41.412Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T18:56:41.412Z] [ 68%] Built target csdk [2023-07-13T18:56:41.412Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T18:56:41.412Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T18:56:41.412Z] [ 72%] Built target template [2023-07-13T18:56:41.412Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T18:56:41.412Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T18:56:41.412Z] [ 76%] Built target device-counter [2023-07-13T18:56:41.412Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T18:56:41.412Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T18:56:41.412Z] [ 80%] Built target device-random [2023-07-13T18:56:41.412Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T18:56:41.671Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T18:56:41.671Z] [ 84%] Built target device-gyro [2023-07-13T18:56:41.671Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T18:56:41.671Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T18:56:41.671Z] [ 88%] Built target device-bitfields [2023-07-13T18:56:41.671Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T18:56:41.671Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T18:56:41.671Z] [ 92%] Built target template-discovery [2023-07-13T18:56:41.671Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T18:56:41.671Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T18:56:41.671Z] [ 96%] Built target device-file [2023-07-13T18:56:41.671Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T18:56:41.671Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T18:56:41.671Z] [100%] Built target device-terminal [2023-07-13T18:56:41.671Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T18:56:41.671Z] Install the project... [2023-07-13T18:56:41.671Z] -- Install configuration: "Release" [2023-07-13T18:56:41.671Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-13T18:56:41.671Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-13T18:56:41.671Z] -- Installing: /usr/local/include [2023-07-13T18:56:41.671Z] -- Installing: /usr/local/include/devsdk [2023-07-13T18:56:41.671Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-13T18:56:41.671Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-13T18:56:41.671Z] -- Installing: /usr/local/include/edgex [2023-07-13T18:56:41.671Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-13T18:56:41.671Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-13T18:56:41.671Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-13T18:56:41.671Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-13T18:56:41.671Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-13T18:56:41.671Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-13T18:56:41.671Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-13T18:56:41.671Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-13T18:56:41.671Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-13T18:56:43.046Z] Removing intermediate container 8cd056ce2326 [2023-07-13T18:56:43.046Z] ---> 42550c239ffb [2023-07-13T18:56:43.046Z] Step 14/21 : FROM ${BASE} [2023-07-13T18:56:43.046Z] ---> e83ffa357ff4 [2023-07-13T18:56:43.046Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-13T18:56:43.046Z] ---> Running in 29fd8c64bca2 [2023-07-13T18:56:43.046Z] Removing intermediate container 29fd8c64bca2 [2023-07-13T18:56:43.046Z] ---> cadda9f405a9 [2023-07-13T18:56:43.046Z] 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-13T18:56:43.046Z] ---> Running in 6886c05fd5cf [2023-07-13T18:56:43.307Z] Connecting to iotech.jfrog.io (54.76.62.242:443) [2023-07-13T18:56:43.875Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-13T18:56:43.875Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-13T18:56:43.875Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-13T18:56:43.875Z] Removing intermediate container 6886c05fd5cf [2023-07-13T18:56:43.875Z] ---> f9c8fbde05b2 [2023-07-13T18:56:43.875Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-13T18:56:43.875Z] ---> Running in d3fdaf369b2e [2023-07-13T18:56:44.446Z] Removing intermediate container d3fdaf369b2e [2023-07-13T18:56:44.446Z] ---> 114c199c23ca [2023-07-13T18:56:44.446Z] 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-13T18:56:44.446Z] ---> Running in e9dff5a815ea [2023-07-13T18:56:44.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-13T18:56:44.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-13T18:56:44.964Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-13T18:56:45.531Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-13T18:56:45.531Z] (1/7) Installing curl (8.1.2-r0) [2023-07-13T18:56:45.531Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-13T18:56:45.531Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-13T18:56:45.531Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-13T18:56:46.105Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-13T18:56:46.105Z] (6/7) Installing libuuid (2.38-r1) [2023-07-13T18:56:46.105Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-13T18:56:47.039Z] Executing busybox-1.35.0-r17.trigger [2023-07-13T18:56:47.039Z] OK: 276 MiB in 83 packages [2023-07-13T18:56:47.299Z] Removing intermediate container e9dff5a815ea [2023-07-13T18:56:47.299Z] ---> 705f65d4ed64 [2023-07-13T18:56:47.299Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-13T18:56:47.558Z] ---> 7ee251572053 [2023-07-13T18:56:47.558Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-13T18:56:47.822Z] ---> 274ae6e8c277 [2023-07-13T18:56:47.822Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-13T18:56:48.389Z] ---> d1e564f2e4ba [2023-07-13T18:56:48.389Z] Successfully built d1e564f2e4ba [2023-07-13T18:56:48.389Z] 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-13T18:56:48.780Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-13T18:56:48.780Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T18:56:48.853Z] prd-ubuntu20.04-docker-8c-8g-1088 does not seem to be running inside a container [2023-07-13T18:56:48.892Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-467 -v /w/workspace/edgexfoundry_device-sdk-c_PR-467:/w/workspace/edgexfoundry_device-sdk-c_PR-467:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-13T18:56:49.351Z] $ docker top c183d8bdf6fd641501bf79a8a483a241a8cdc59cf0b3c6b16c103e6da9462de2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T18:56:49.690Z] + make test [2023-07-13T18:56:49.690Z] echo "make test" [2023-07-13T18:56:49.690Z] make test [Pipeline] } [2023-07-13T18:56:49.703Z] $ docker stop --time=1 c183d8bdf6fd641501bf79a8a483a241a8cdc59cf0b3c6b16c103e6da9462de2 [2023-07-13T18:56:50.982Z] $ docker rm -f --volumes c183d8bdf6fd641501bf79a8a483a241a8cdc59cf0b3c6b16c103e6da9462de2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-13T18:56:51.589Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-13T18:56:51.873Z] + ls -al . [2023-07-13T18:56:51.873Z] total 212 [2023-07-13T18:56:51.873Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 13 18:56 . [2023-07-13T18:56:51.873Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 18:55 .. [2023-07-13T18:56:51.873Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 18:56 .git [2023-07-13T18:56:51.873Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 18:55 .github [2023-07-13T18:56:51.873Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 13 18:55 .gitignore [2023-07-13T18:56:51.873Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 18:56 .semver [2023-07-13T18:56:51.873Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 13 18:55 Attribution.txt [2023-07-13T18:56:51.873Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 13 18:55 CHANGES [2023-07-13T18:56:51.873Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 13 18:55 Doxyfile [2023-07-13T18:56:51.873Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 18:55 GOVERNANCE.md [2023-07-13T18:56:51.873Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 13 18:55 Jenkinsfile [2023-07-13T18:56:51.873Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 13 18:55 LICENSE [2023-07-13T18:56:51.873Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 13 18:55 Makefile [2023-07-13T18:56:51.873Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 13 18:55 OWNERS.md [2023-07-13T18:56:51.873Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 13 18:55 README.IOT.md [2023-07-13T18:56:51.873Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 13 18:55 README.md [2023-07-13T18:56:51.873Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 13 18:55 README.v3.md [2023-07-13T18:56:51.873Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 18:56 VERSION [2023-07-13T18:56:51.873Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 18:55 docs [2023-07-13T18:56:51.873Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 18:55 include [2023-07-13T18:56:51.873Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 18:55 scripts [2023-07-13T18:56:51.873Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 18:55 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T18:56:52.173Z] + 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=6db2153c9effd494fba8eac5af642bb1bf42c171 --label arch=amd64 --label version=0.0.0 . [2023-07-13T18:56:52.173Z] Sending build context to Docker daemon 4.84MB [2023-07-13T18:56:52.173Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-13T18:56:52.173Z] Step 2/17 : FROM ${BASE} [2023-07-13T18:56:52.173Z] ---> d1e564f2e4ba [2023-07-13T18:56:52.173Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-13T18:56:52.173Z] ---> Running in bf3e04851e59 [2023-07-13T18:56:52.173Z] Removing intermediate container bf3e04851e59 [2023-07-13T18:56:52.173Z] ---> b19846f3abb6 [2023-07-13T18:56:52.173Z] 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-13T18:56:52.173Z] ---> Running in d8b7594ecdc1 [2023-07-13T18:56:52.432Z] Connecting to iotech.jfrog.io (52.212.72.229:443) [2023-07-13T18:56:53.002Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-13T18:56:53.002Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-13T18:56:53.002Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-13T18:56:53.260Z] Removing intermediate container d8b7594ecdc1 [2023-07-13T18:56:53.260Z] ---> 21605fb6dcf0 [2023-07-13T18:56:53.260Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-13T18:56:53.260Z] ---> Running in e7644e5d507b [2023-07-13T18:56:53.829Z] Removing intermediate container e7644e5d507b [2023-07-13T18:56:53.829Z] ---> 2691fe849b50 [2023-07-13T18:56:53.829Z] 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-13T18:56:53.829Z] ---> Running in be00de661cd3 [2023-07-13T18:56:53.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-13T18:56:54.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-13T18:56:54.346Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-13T18:56:54.914Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-13T18:56:54.914Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-13T18:56:54.914Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-13T18:56:54.914Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-13T18:56:55.481Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-13T18:56:55.481Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-13T18:56:55.481Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-13T18:56:55.481Z] (7/11) Installing libblkid (2.38-r1) [2023-07-13T18:56:55.481Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-13T18:56:55.481Z] (9/11) Installing libmount (2.38-r1) [2023-07-13T18:56:55.481Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-13T18:56:55.481Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-13T18:56:55.742Z] Executing busybox-1.35.0-r17.trigger [2023-07-13T18:56:55.742Z] OK: 281 MiB in 92 packages [2023-07-13T18:56:56.695Z] Removing intermediate container be00de661cd3 [2023-07-13T18:56:56.695Z] ---> a87459910822 [2023-07-13T18:56:56.695Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-13T18:56:56.954Z] ---> cd171be290c6 [2023-07-13T18:56:56.954Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-13T18:56:57.211Z] ---> 3c31aa324512 [2023-07-13T18:56:57.211Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-13T18:56:57.780Z] ---> 1a20ad8671b2 [2023-07-13T18:56:57.780Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-13T18:56:58.040Z] ---> 201fdd3b0f4d [2023-07-13T18:56:58.040Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-13T18:56:58.608Z] ---> b9ed9caef834 [2023-07-13T18:56:58.608Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-13T18:56:58.608Z] ---> 19c1778e5d82 [2023-07-13T18:56:58.608Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-13T18:56:58.867Z] ---> Running in 6fce6a67cfaf [2023-07-13T18:56:59.126Z] Removing intermediate container 6fce6a67cfaf [2023-07-13T18:56:59.126Z] ---> 06451dde0063 [2023-07-13T18:56:59.126Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-13T18:56:59.385Z] ---> Running in ca9664db931b [2023-07-13T18:56:59.645Z] Removing intermediate container ca9664db931b [2023-07-13T18:56:59.645Z] ---> e78102a99f59 [2023-07-13T18:56:59.645Z] Step 15/17 : LABEL arch=amd64 [2023-07-13T18:56:59.645Z] ---> Running in 087b4ddca200 [2023-07-13T18:56:59.905Z] Removing intermediate container 087b4ddca200 [2023-07-13T18:56:59.905Z] ---> 7f8303275cfd [2023-07-13T18:56:59.905Z] Step 16/17 : LABEL git_sha=6db2153c9effd494fba8eac5af642bb1bf42c171 [2023-07-13T18:56:59.905Z] ---> Running in f166355b3915 [2023-07-13T18:57:00.164Z] Removing intermediate container f166355b3915 [2023-07-13T18:57:00.164Z] ---> 4bf30912f685 [2023-07-13T18:57:00.164Z] Step 17/17 : LABEL version=0.0.0 [2023-07-13T18:57:00.423Z] ---> Running in a0d2782aa105 [2023-07-13T18:57:00.681Z] Removing intermediate container a0d2782aa105 [2023-07-13T18:57:00.681Z] ---> a363f2520e5c [2023-07-13T18:57:00.681Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-07-13T18:57:00.681Z] Successfully built a363f2520e5c [2023-07-13T18:57:00.681Z] 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-13T18:57:01.115Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T18:57:01.115Z] [2023-07-13T18:57:01.115Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T18:57:01.414Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T18:57:01.415Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-13T18:57:01.415Z] 5eb5b503b376: Pulling fs layer [2023-07-13T18:57:01.415Z] 5c69ac0246d0: Pulling fs layer [2023-07-13T18:57:01.415Z] ec43610c2a17: Pulling fs layer [2023-07-13T18:57:01.415Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-13T18:57:01.415Z] 33b1e0a273af: Pulling fs layer [2023-07-13T18:57:01.415Z] 5d3b04190fa2: Pulling fs layer [2023-07-13T18:57:01.415Z] 2f39f015ded8: Pulling fs layer [2023-07-13T18:57:01.415Z] 2f39f015ded8: Waiting [2023-07-13T18:57:01.415Z] 33b1e0a273af: Waiting [2023-07-13T18:57:01.415Z] 5d3b04190fa2: Waiting [2023-07-13T18:57:01.415Z] 3a2ae6a8a46f: Waiting [2023-07-13T18:57:01.674Z] 5c69ac0246d0: Download complete [2023-07-13T18:57:01.674Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-13T18:57:01.674Z] 3a2ae6a8a46f: Download complete [2023-07-13T18:57:01.674Z] 33b1e0a273af: Verifying Checksum [2023-07-13T18:57:01.674Z] 33b1e0a273af: Download complete [2023-07-13T18:57:01.674Z] 5d3b04190fa2: Verifying Checksum [2023-07-13T18:57:01.674Z] 5d3b04190fa2: Download complete [2023-07-13T18:57:01.674Z] ec43610c2a17: Verifying Checksum [2023-07-13T18:57:01.674Z] ec43610c2a17: Download complete [2023-07-13T18:57:01.674Z] 5eb5b503b376: Verifying Checksum [2023-07-13T18:57:01.674Z] 5eb5b503b376: Download complete [2023-07-13T18:57:02.608Z] 2f39f015ded8: Verifying Checksum [2023-07-13T18:57:02.608Z] 2f39f015ded8: Download complete [2023-07-13T18:57:02.865Z] 5eb5b503b376: Pull complete [2023-07-13T18:57:03.123Z] 5c69ac0246d0: Pull complete [2023-07-13T18:57:03.381Z] ec43610c2a17: Pull complete [2023-07-13T18:57:03.640Z] 3a2ae6a8a46f: Pull complete [2023-07-13T18:57:03.640Z] 33b1e0a273af: Pull complete [2023-07-13T18:57:03.899Z] 5d3b04190fa2: Pull complete [2023-07-13T18:57:08.085Z] 2f39f015ded8: Pull complete [2023-07-13T18:57:08.085Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-13T18:57:08.085Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T18:57:08.085Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T18:57:08.162Z] prd-ubuntu20.04-docker-8c-8g-1088 does not seem to be running inside a container [2023-07-13T18:57:08.192Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-467 -v /w/workspace/edgexfoundry_device-sdk-c_PR-467:/w/workspace/edgexfoundry_device-sdk-c_PR-467:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-13T18:57:15.121Z] $ docker top af98df564f020b017456dabe4189cb51c985ff554666bb1c470f3ca2340e15a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T18:57:15.496Z] ---> job-cost.sh [2023-07-13T18:57:15.496Z] lf-activate-venv: SKIPPING [2023-07-13T18:57:15.496Z] INFO: No Stack... [2023-07-13T18:57:16.063Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-13T18:57:16.322Z] INFO: Archiving Costs [Pipeline] sh [2023-07-13T18:57:16.606Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives/cost.csv [2023-07-13T18:57:16.606Z] + cut -d, -f6 [Pipeline] lock [2023-07-13T18:57:16.619Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-467-4-stack-cost] [2023-07-13T18:57:16.624Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-467-4-stack-cost] did not exist. Created. [2023-07-13T18:57:16.624Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-467-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-13T18:57:16.940Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-13T18:57:16.990Z] Stashed 1 file(s) [Pipeline] } [2023-07-13T18:57:16.996Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-467-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-13T18:57:17.020Z] $ docker stop --time=1 af98df564f020b017456dabe4189cb51c985ff554666bb1c470f3ca2340e15a2 [2023-07-13T18:57:18.162Z] $ docker rm -f --volumes af98df564f020b017456dabe4189cb51c985ff554666bb1c470f3ca2340e15a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-13T18:57:54.838Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1090 in /w/workspace/edgexfoundry_device-sdk-c_PR-467 [Pipeline] { [Pipeline] ws [2023-07-13T18:57:54.851Z] Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout [2023-07-13T18:57:54.886Z] Selected Git installation does not exist. Using Default [2023-07-13T18:57:54.886Z] The recommended git tool is: NONE [2023-07-13T18:57:59.813Z] using credential edgex-jenkins-ssh [2023-07-13T18:57:59.835Z] Cloning the remote Git repository [2023-07-13T18:57:59.882Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-07-13T18:57:59.993Z] > git init /w/workspace/device-sdk-c/4 # timeout=10 [2023-07-13T18:58:00.144Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-13T18:58:00.145Z] > git --version # timeout=10 [2023-07-13T18:58:00.175Z] > git --version # 'git version 2.25.1' [2023-07-13T18:58:00.178Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T18:58:00.326Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-13T18:58:02.907Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-13T18:58:02.940Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-13T18:58:04.526Z] Merging remotes/origin/main commit 5083ed3070027848acd6eb0750509a0a7c8e5467 into PR head commit 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 [2023-07-13T18:58:03.802Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-13T18:58:03.842Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-13T18:58:03.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T18:58:03.857Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-13T18:58:04.545Z] > git config core.sparsecheckout # timeout=10 [2023-07-13T18:58:04.634Z] > git checkout -f 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 # timeout=10 [2023-07-13T18:58:04.802Z] > git remote # timeout=10 [2023-07-13T18:58:04.821Z] > git config --get remote.origin.url # timeout=10 [2023-07-13T18:58:04.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T18:58:04.856Z] > git merge 5083ed3070027848acd6eb0750509a0a7c8e5467 # timeout=10 [2023-07-13T18:58:04.967Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-13T18:58:04.992Z] Merge succeeded, producing 498bf39e5a314d74334d629e23096a470c69db0d [2023-07-13T18:58:04.993Z] Checking out Revision 498bf39e5a314d74334d629e23096a470c69db0d (PR-467) [2023-07-13T18:58:04.997Z] > git config core.sparsecheckout # timeout=10 [2023-07-13T18:58:05.011Z] > git checkout -f 498bf39e5a314d74334d629e23096a470c69db0d # timeout=10 [2023-07-13T18:58:08.549Z] Commit message: "Merge commit '5083ed3070027848acd6eb0750509a0a7c8e5467' into HEAD" [2023-07-13T18:58:08.558Z] > git rev-list --no-walk 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-13T18:58:09.493Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-13T18:58:09.493Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-13T18:58:09.493Z] Dload Upload Total Spent Left Speed [2023-07-13T18:58:09.493Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 78226 0 --:--:-- --:--:-- --:--:-- 78226 [Pipeline] sh [2023-07-13T18:58:10.268Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-13T18:58:10.610Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-13T18:58:10.610Z] + sudo tee /etc/docker/daemon.new [2023-07-13T18:58:10.610Z] { [2023-07-13T18:58:10.610Z] "registry-mirrors": [ [2023-07-13T18:58:10.610Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-13T18:58:10.610Z] ], [2023-07-13T18:58:10.610Z] "bip": "10.250.0.254/24", [2023-07-13T18:58:10.610Z] "hosts": [ [2023-07-13T18:58:10.610Z] "tcp://0.0.0.0:5555", [2023-07-13T18:58:10.610Z] "unix:///var/run/docker.sock" [2023-07-13T18:58:10.610Z] ], [2023-07-13T18:58:10.610Z] "mtu": 1458, [2023-07-13T18:58:10.610Z] "selinux-enabled": true, [2023-07-13T18:58:10.610Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-13T18:58:10.610Z] } [Pipeline] sh [2023-07-13T18:58:10.936Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-13T18:58:11.265Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T18:58:29.523Z] provisioning config files... [2023-07-13T18:58:29.548Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config11094062099534116455tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T18:58:29.889Z] ---> docker-login.sh [2023-07-13T18:58:29.889Z] nexus3.edgexfoundry.org:10001 [2023-07-13T18:58:30.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T18:58:30.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T18:58:30.427Z] Configure a credential helper to remove this warning. See [2023-07-13T18:58:30.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T18:58:30.427Z] [2023-07-13T18:58:30.427Z] Login Succeeded [2023-07-13T18:58:30.427Z] nexus3.edgexfoundry.org:10002 [2023-07-13T18:58:30.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T18:58:30.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T18:58:30.705Z] Configure a credential helper to remove this warning. See [2023-07-13T18:58:30.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T18:58:30.705Z] [2023-07-13T18:58:30.705Z] Login Succeeded [2023-07-13T18:58:30.705Z] nexus3.edgexfoundry.org:10003 [2023-07-13T18:58:30.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T18:58:31.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T18:58:31.247Z] Configure a credential helper to remove this warning. See [2023-07-13T18:58:31.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T18:58:31.247Z] [2023-07-13T18:58:31.247Z] Login Succeeded [2023-07-13T18:58:31.247Z] nexus3.edgexfoundry.org:10004 [2023-07-13T18:58:31.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T18:58:31.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T18:58:31.517Z] Configure a credential helper to remove this warning. See [2023-07-13T18:58:31.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T18:58:31.517Z] [2023-07-13T18:58:31.517Z] Login Succeeded [2023-07-13T18:58:31.517Z] docker.io [2023-07-13T18:58:31.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T18:58:32.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T18:58:32.057Z] Configure a credential helper to remove this warning. See [2023-07-13T18:58:32.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T18:58:32.057Z] [2023-07-13T18:58:32.057Z] Login Succeeded [2023-07-13T18:58:32.057Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T18:58:32.071Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-13T18:58:32.309Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T18:58:32.322Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-07-13T18:58:32.337Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T18:58:32.349Z] ========================================================= [2023-07-13T18:58:32.349Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-07-13T18:58:32.349Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T18:58:32.680Z] + 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-13T18:58:32.949Z] Sending build context to Docker daemon 2.902MB [2023-07-13T18:58:32.949Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-13T18:58:32.949Z] Step 2/21 : FROM ${BASE} as builder [2023-07-13T18:58:33.221Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-07-13T18:58:33.221Z] 547446be3368: Pulling fs layer [2023-07-13T18:58:33.221Z] 76bd08e1cacc: Pulling fs layer [2023-07-13T18:58:33.221Z] 547446be3368: Verifying Checksum [2023-07-13T18:58:33.221Z] 547446be3368: Download complete [2023-07-13T18:58:33.823Z] 547446be3368: Pull complete [2023-07-13T18:58:35.243Z] 76bd08e1cacc: Verifying Checksum [2023-07-13T18:58:35.243Z] 76bd08e1cacc: Download complete [2023-07-13T18:58:45.336Z] 76bd08e1cacc: Pull complete [2023-07-13T18:58:45.336Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-07-13T18:58:45.336Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-07-13T18:58:45.336Z] ---> 295cd00e64f4 [2023-07-13T18:58:45.336Z] 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-13T18:58:45.336Z] ---> Running in b6a78cee1d8d [2023-07-13T18:58:45.929Z] Connecting to iotech.jfrog.io (54.76.62.242:443) [2023-07-13T18:58:46.196Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-13T18:58:46.196Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-13T18:58:46.196Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-13T18:58:46.783Z] Removing intermediate container b6a78cee1d8d [2023-07-13T18:58:46.783Z] ---> df1824f7252c [2023-07-13T18:58:46.783Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-13T18:58:47.059Z] ---> Running in 9709101ded85 [2023-07-13T18:58:48.472Z] Removing intermediate container 9709101ded85 [2023-07-13T18:58:48.472Z] ---> 8251289bcdb1 [2023-07-13T18:58:48.472Z] 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-13T18:58:48.743Z] ---> Running in 6ec4d95c3c3e [2023-07-13T18:58:49.714Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-13T18:58:49.983Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-13T18:58:50.249Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-13T18:58:51.215Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-13T18:58:51.215Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-13T18:58:51.215Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-13T18:58:51.215Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-13T18:58:51.215Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-13T18:58:51.215Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-13T18:58:51.797Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-13T18:58:52.063Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-13T18:58:52.063Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-13T18:58:52.063Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-13T18:58:52.063Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-13T18:58:53.022Z] (11/16) Installing libblkid (2.38-r1) [2023-07-13T18:58:53.022Z] (12/16) Installing libuuid (2.38-r1) [2023-07-13T18:58:53.022Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-13T18:58:53.022Z] (14/16) Installing libmount (2.38-r1) [2023-07-13T18:58:53.022Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-13T18:58:53.022Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-13T18:58:53.022Z] Executing busybox-1.35.0-r17.trigger [2023-07-13T18:58:53.022Z] OK: 286 MiB in 90 packages [2023-07-13T18:58:54.432Z] Removing intermediate container 6ec4d95c3c3e [2023-07-13T18:58:54.432Z] ---> 42acce77f0c8 [2023-07-13T18:58:54.432Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-13T18:58:54.432Z] ---> Running in 0cc064d83309 [2023-07-13T18:58:57.764Z] Removing intermediate container 0cc064d83309 [2023-07-13T18:58:57.764Z] ---> 19139d8f1437 [2023-07-13T18:58:57.764Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-13T18:58:58.033Z] ---> e3ac9a4bb811 [2023-07-13T18:58:58.033Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-13T18:58:58.996Z] ---> 628b29c20a0a [2023-07-13T18:58:58.996Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-13T18:58:59.263Z] ---> 71dff3e1b2e8 [2023-07-13T18:58:59.263Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-13T18:58:59.848Z] ---> 0b901e7c325a [2023-07-13T18:58:59.848Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-13T18:59:00.117Z] ---> 75917bccf654 [2023-07-13T18:59:00.117Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-13T18:59:00.701Z] ---> 634191c4d47d [2023-07-13T18:59:00.701Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-13T18:59:00.701Z] ---> Running in 5fda6a14e07f [2023-07-13T18:59:01.660Z] + CPPCHECK=false [2023-07-13T18:59:01.660Z] + DOCGEN=false [2023-07-13T18:59:01.660Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-13T18:59:01.660Z] + '[' 0 -gt 0 ] [2023-07-13T18:59:01.660Z] + readlink -f ./scripts/build.sh [2023-07-13T18:59:01.660Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-13T18:59:01.660Z] + dirname /tmp/sdk/scripts [2023-07-13T18:59:01.660Z] + ROOT=/tmp/sdk [2023-07-13T18:59:01.660Z] + cd /tmp/sdk [2023-07-13T18:59:01.660Z] + mkdir -p /tmp/sdk/build/release [2023-07-13T18:59:01.660Z] + cd /tmp/sdk/build/release [2023-07-13T18:59:01.660Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-13T18:59:01.939Z] -- The C compiler identification is GNU 11.2.1 [2023-07-13T18:59:01.939Z] -- Detecting C compiler ABI info [2023-07-13T18:59:02.206Z] -- Detecting C compiler ABI info - done [2023-07-13T18:59:02.475Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-13T18:59:02.475Z] -- Detecting C compile features [2023-07-13T18:59:02.475Z] -- Detecting C compile features - done [2023-07-13T18:59:02.475Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-13T18:59:02.475Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-13T18:59:02.475Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-13T18:59:02.475Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-13T18:59:02.475Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-13T18:59:02.743Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-13T18:59:02.743Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-13T18:59:02.743Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-13T18:59:02.743Z] -- /opt/iotech/iot/1.5/include [2023-07-13T18:59:02.744Z] -- C SDK 0.0.0 for Linux [2023-07-13T18:59:02.744Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-13T18:59:03.012Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-13T18:59:03.012Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-13T18:59:03.282Z] -- Configuring done [2023-07-13T18:59:03.550Z] -- Generating done [2023-07-13T18:59:03.550Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-13T18:59:03.550Z] + tee release.log [2023-07-13T18:59:03.550Z] + make all package [2023-07-13T18:59:03.819Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-13T18:59:04.779Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-13T18:59:05.739Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-13T18:59:06.699Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-13T18:59:07.657Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-13T18:59:08.238Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-13T18:59:10.818Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-13T18:59:12.230Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-13T18:59:12.496Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-13T18:59:13.457Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-13T18:59:16.034Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-13T18:59:17.004Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-13T18:59:17.962Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-13T18:59:18.921Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-13T18:59:19.188Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-13T18:59:20.597Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-13T18:59:20.864Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-13T18:59:23.450Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-13T18:59:23.717Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-13T18:59:24.300Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-13T18:59:26.240Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-13T18:59:31.581Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-13T18:59:32.536Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-13T18:59:32.803Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-13T18:59:33.385Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-13T18:59:33.970Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-13T18:59:35.374Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-13T18:59:37.947Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-13T18:59:38.528Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-13T18:59:39.489Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-13T18:59:40.075Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-13T18:59:43.412Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-13T18:59:43.993Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-13T18:59:44.574Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-13T18:59:45.155Z] [ 68%] Linking C shared library libcsdk.so [2023-07-13T18:59:45.422Z] [ 68%] Built target csdk [2023-07-13T18:59:45.422Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-13T18:59:46.378Z] [ 72%] Linking C executable template [2023-07-13T18:59:46.646Z] [ 72%] Built target template [2023-07-13T18:59:46.646Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-13T18:59:47.231Z] [ 76%] Linking C executable device-counter [2023-07-13T18:59:47.497Z] [ 76%] Built target device-counter [2023-07-13T18:59:47.497Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-13T18:59:48.079Z] [ 80%] Linking C executable device-random [2023-07-13T18:59:48.347Z] [ 80%] Built target device-random [2023-07-13T18:59:48.615Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-13T18:59:49.199Z] [ 84%] Linking C executable device-gyro [2023-07-13T18:59:49.465Z] [ 84%] Built target device-gyro [2023-07-13T18:59:49.465Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-13T18:59:50.049Z] [ 88%] Linking C executable device-bitfields [2023-07-13T18:59:50.315Z] [ 88%] Built target device-bitfields [2023-07-13T18:59:50.315Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-13T18:59:51.273Z] [ 92%] Linking C executable template-discovery [2023-07-13T18:59:51.539Z] [ 92%] Built target template-discovery [2023-07-13T18:59:51.539Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-13T18:59:52.494Z] [ 96%] Linking C executable device-file [2023-07-13T18:59:52.760Z] [ 96%] Built target device-file [2023-07-13T18:59:52.760Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-13T18:59:53.720Z] [100%] Linking C executable device-terminal [2023-07-13T18:59:53.987Z] [100%] Built target device-terminal [2023-07-13T18:59:53.987Z] Run CPack packaging tool... [2023-07-13T18:59:53.987Z] CPack: Create package using TGZ [2023-07-13T18:59:53.987Z] CPack: Install projects [2023-07-13T18:59:53.987Z] CPack: - Run preinstall target for: Csdk [2023-07-13T18:59:54.946Z] CPack: - Install project: Csdk [] [2023-07-13T18:59:54.946Z] CPack: Create package [2023-07-13T18:59:54.946Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-07-13T18:59:54.946Z] + '[' false '=' true ] [2023-07-13T18:59:54.946Z] + '[' false '=' true ] [2023-07-13T18:59:54.946Z] + mkdir -p /tmp/sdk/build/debug [2023-07-13T18:59:54.946Z] + cd /tmp/sdk/build/debug [2023-07-13T18:59:54.946Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-13T18:59:55.214Z] -- The C compiler identification is GNU 11.2.1 [2023-07-13T18:59:55.214Z] -- Detecting C compiler ABI info [2023-07-13T18:59:55.480Z] -- Detecting C compiler ABI info - done [2023-07-13T18:59:55.480Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-13T18:59:55.480Z] -- Detecting C compile features [2023-07-13T18:59:55.480Z] -- Detecting C compile features - done [2023-07-13T18:59:55.747Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-13T18:59:55.747Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-13T18:59:55.747Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-13T18:59:55.747Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-13T18:59:55.747Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-13T18:59:56.013Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-13T18:59:56.014Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-13T18:59:56.014Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-13T18:59:56.014Z] -- /opt/iotech/iot/1.5/include [2023-07-13T18:59:56.014Z] -- C SDK 0.0.0 for Linux [2023-07-13T18:59:56.014Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-13T18:59:56.282Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-13T18:59:56.549Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-13T18:59:56.549Z] -- Configuring done [2023-07-13T18:59:56.818Z] -- Generating done [2023-07-13T18:59:56.818Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-13T18:59:56.818Z] + make [2023-07-13T18:59:56.818Z] + tee debug.log [2023-07-13T18:59:57.084Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-13T18:59:57.666Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-13T18:59:57.934Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-13T18:59:58.516Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-13T18:59:58.784Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-13T18:59:59.368Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-13T19:00:00.337Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-13T19:00:00.924Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-13T19:00:01.192Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-13T19:00:01.785Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-13T19:00:02.745Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-13T19:00:03.044Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-13T19:00:03.627Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-13T19:00:03.894Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-13T19:00:04.478Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-13T19:00:05.077Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-13T19:00:05.343Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-13T19:00:06.301Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-13T19:00:06.567Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-13T19:00:06.836Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-13T19:00:07.421Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-13T19:00:08.827Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-13T19:00:09.411Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-13T19:00:09.678Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-13T19:00:10.262Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-13T19:00:10.528Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-13T19:00:11.112Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-13T19:00:13.057Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-13T19:00:13.322Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-13T19:00:13.902Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-13T19:00:14.168Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-13T19:00:15.124Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-13T19:00:15.706Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-13T19:00:15.972Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-13T19:00:16.239Z] [ 68%] Linking C shared library libcsdk.so [2023-07-13T19:00:16.507Z] [ 68%] Built target csdk [2023-07-13T19:00:16.507Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-13T19:00:17.090Z] [ 72%] Linking C executable template [2023-07-13T19:00:17.358Z] [ 72%] Built target template [2023-07-13T19:00:17.358Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-13T19:00:17.939Z] [ 76%] Linking C executable device-counter [2023-07-13T19:00:18.205Z] [ 76%] Built target device-counter [2023-07-13T19:00:18.205Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-13T19:00:18.472Z] [ 80%] Linking C executable device-random [2023-07-13T19:00:19.134Z] [ 80%] Built target device-random [2023-07-13T19:00:19.134Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-13T19:00:19.406Z] [ 84%] Linking C executable device-gyro [2023-07-13T19:00:19.678Z] [ 84%] Built target device-gyro [2023-07-13T19:00:19.678Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-13T19:00:19.950Z] [ 88%] Linking C executable device-bitfields [2023-07-13T19:00:20.542Z] [ 88%] Built target device-bitfields [2023-07-13T19:00:20.542Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-13T19:00:20.813Z] [ 92%] Linking C executable template-discovery [2023-07-13T19:00:21.084Z] [ 92%] Built target template-discovery [2023-07-13T19:00:21.358Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-13T19:00:21.629Z] [ 96%] Linking C executable device-file [2023-07-13T19:00:21.901Z] [ 96%] Built target device-file [2023-07-13T19:00:22.173Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-13T19:00:22.785Z] [100%] Linking C executable device-terminal [2023-07-13T19:00:22.785Z] [100%] Built target device-terminal [2023-07-13T19:00:23.055Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-13T19:00:23.055Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-13T19:00:23.055Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T19:00:23.055Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T19:00:23.055Z] [ 68%] Built target csdk [2023-07-13T19:00:23.055Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T19:00:23.055Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T19:00:23.055Z] [ 72%] Built target template [2023-07-13T19:00:23.055Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T19:00:23.323Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T19:00:23.323Z] [ 76%] Built target device-counter [2023-07-13T19:00:23.323Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T19:00:23.323Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T19:00:23.323Z] [ 80%] Built target device-random [2023-07-13T19:00:23.323Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T19:00:23.323Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T19:00:23.323Z] [ 84%] Built target device-gyro [2023-07-13T19:00:23.323Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T19:00:23.323Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T19:00:23.323Z] [ 88%] Built target device-bitfields [2023-07-13T19:00:23.323Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T19:00:23.323Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T19:00:23.323Z] [ 92%] Built target template-discovery [2023-07-13T19:00:23.323Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T19:00:23.323Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T19:00:23.590Z] [ 96%] Built target device-file [2023-07-13T19:00:23.590Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-13T19:00:23.590Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T19:00:23.590Z] [100%] Built target device-terminal [2023-07-13T19:00:23.590Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-13T19:00:23.590Z] Install the project... [2023-07-13T19:00:23.590Z] -- Install configuration: "Release" [2023-07-13T19:00:23.590Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-13T19:00:23.590Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-13T19:00:23.590Z] -- Installing: /usr/local/include [2023-07-13T19:00:23.590Z] -- Installing: /usr/local/include/devsdk [2023-07-13T19:00:23.590Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-13T19:00:23.590Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-13T19:00:23.590Z] -- Installing: /usr/local/include/edgex [2023-07-13T19:00:23.590Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-13T19:00:23.590Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-13T19:00:23.590Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-13T19:00:23.590Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-13T19:00:23.590Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-13T19:00:23.590Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-13T19:00:23.590Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-13T19:00:23.590Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-13T19:00:23.590Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-13T19:00:25.008Z] Removing intermediate container 5fda6a14e07f [2023-07-13T19:00:25.008Z] ---> 2f8795b6e772 [2023-07-13T19:00:25.008Z] Step 14/21 : FROM ${BASE} [2023-07-13T19:00:25.008Z] ---> 295cd00e64f4 [2023-07-13T19:00:25.008Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-13T19:00:25.008Z] ---> Running in 6a4443c9aa21 [2023-07-13T19:00:25.274Z] Removing intermediate container 6a4443c9aa21 [2023-07-13T19:00:25.274Z] ---> 90903bf4f7b5 [2023-07-13T19:00:25.274Z] 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-13T19:00:25.274Z] ---> Running in 0c92ca70bdfc [2023-07-13T19:00:26.689Z] Connecting to iotech.jfrog.io (52.208.202.221:443) [2023-07-13T19:00:26.955Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-13T19:00:26.955Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-13T19:00:26.955Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-13T19:00:29.530Z] Removing intermediate container 0c92ca70bdfc [2023-07-13T19:00:29.530Z] ---> 0dc7bcf158d8 [2023-07-13T19:00:29.530Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-13T19:00:29.530Z] ---> Running in 38cebe0ce63e [2023-07-13T19:00:30.940Z] Removing intermediate container 38cebe0ce63e [2023-07-13T19:00:30.940Z] ---> 3d7f7525cf1d [2023-07-13T19:00:30.940Z] 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-13T19:00:30.940Z] ---> Running in e48e55ae826d [2023-07-13T19:00:31.901Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-13T19:00:32.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-13T19:00:32.755Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-13T19:00:33.718Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-13T19:00:33.718Z] (1/7) Installing curl (8.1.2-r0) [2023-07-13T19:00:33.718Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-13T19:00:33.718Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-13T19:00:33.718Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-13T19:00:34.300Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-13T19:00:34.300Z] (6/7) Installing libuuid (2.38-r1) [2023-07-13T19:00:34.300Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-13T19:00:35.258Z] Executing busybox-1.35.0-r17.trigger [2023-07-13T19:00:35.258Z] OK: 281 MiB in 83 packages [2023-07-13T19:00:36.218Z] Removing intermediate container e48e55ae826d [2023-07-13T19:00:36.218Z] ---> 3f49576a547f [2023-07-13T19:00:36.218Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-13T19:00:36.485Z] ---> 0435e617ef6e [2023-07-13T19:00:36.485Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-13T19:00:37.068Z] ---> dbc494b417bd [2023-07-13T19:00:37.068Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-13T19:00:37.650Z] ---> 608ef207b793 [2023-07-13T19:00:37.650Z] Successfully built 608ef207b793 [2023-07-13T19:00:37.650Z] 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-13T19:00:38.067Z] + docker inspect -f . ci-base-image-arm64 [2023-07-13T19:00:38.067Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T19:00:38.273Z] prd-ubuntu20.04-docker-arm64-4c-16g-1090 does not seem to be running inside a container [2023-07-13T19:00:38.343Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-13T19:00:42.572Z] $ docker top 8866654980f90d0721150a5814e9c92f661870b65b448316f3064b6ab8773388 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T19:00:43.410Z] + make test [2023-07-13T19:00:43.410Z] echo "make test" [2023-07-13T19:00:43.410Z] make test [Pipeline] } [2023-07-13T19:00:43.431Z] $ docker stop --time=1 8866654980f90d0721150a5814e9c92f661870b65b448316f3064b6ab8773388 [2023-07-13T19:00:45.075Z] $ docker rm -f --volumes 8866654980f90d0721150a5814e9c92f661870b65b448316f3064b6ab8773388 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-13T19:00:45.601Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-13T19:00:46.187Z] + ls -al . [2023-07-13T19:00:46.187Z] total 208 [2023-07-13T19:00:46.187Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 18:58 . [2023-07-13T19:00:46.187Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 18:58 .. [2023-07-13T19:00:46.187Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 18:58 .git [2023-07-13T19:00:46.187Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 18:58 .github [2023-07-13T19:00:46.187Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 13 18:58 .gitignore [2023-07-13T19:00:46.187Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 13 18:58 Attribution.txt [2023-07-13T19:00:46.187Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 13 18:58 CHANGES [2023-07-13T19:00:46.187Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 13 18:58 Doxyfile [2023-07-13T19:00:46.187Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 18:58 GOVERNANCE.md [2023-07-13T19:00:46.187Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 13 18:58 Jenkinsfile [2023-07-13T19:00:46.187Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 13 18:58 LICENSE [2023-07-13T19:00:46.187Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 13 18:58 Makefile [2023-07-13T19:00:46.187Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 13 18:58 OWNERS.md [2023-07-13T19:00:46.187Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 13 18:58 README.IOT.md [2023-07-13T19:00:46.187Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 13 18:58 README.md [2023-07-13T19:00:46.187Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 13 18:58 README.v3.md [2023-07-13T19:00:46.187Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 18:56 VERSION [2023-07-13T19:00:46.187Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 18:58 docs [2023-07-13T19:00:46.187Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 18:58 include [2023-07-13T19:00:46.187Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 18:58 scripts [2023-07-13T19:00:46.187Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 18:58 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T19:00:46.523Z] + 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=498bf39e5a314d74334d629e23096a470c69db0d --label arch=arm64 --label version=0.0.0 . [2023-07-13T19:00:46.790Z] Sending build context to Docker daemon 2.902MB [2023-07-13T19:00:46.790Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-13T19:00:46.790Z] Step 2/17 : FROM ${BASE} [2023-07-13T19:00:46.790Z] ---> 608ef207b793 [2023-07-13T19:00:46.790Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-13T19:00:47.057Z] ---> Running in bb40e0d2795a [2023-07-13T19:00:47.325Z] Removing intermediate container bb40e0d2795a [2023-07-13T19:00:47.325Z] ---> a7feec02523c [2023-07-13T19:00:47.325Z] 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-13T19:00:47.325Z] ---> Running in 7a2c164a6789 [2023-07-13T19:00:48.289Z] Connecting to iotech.jfrog.io (54.76.62.242:443) [2023-07-13T19:00:48.871Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-13T19:00:48.871Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-13T19:00:48.871Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-13T19:00:49.456Z] Removing intermediate container 7a2c164a6789 [2023-07-13T19:00:49.456Z] ---> 7b5438e39517 [2023-07-13T19:00:49.456Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-13T19:00:49.456Z] ---> Running in 0afa34ad360f [2023-07-13T19:00:51.398Z] Removing intermediate container 0afa34ad360f [2023-07-13T19:00:51.398Z] ---> 3d0df2717eb2 [2023-07-13T19:00:51.398Z] 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-13T19:00:51.398Z] ---> Running in 6293308c0078 [2023-07-13T19:00:51.975Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-13T19:00:52.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-13T19:00:52.819Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-13T19:00:53.769Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-13T19:00:53.769Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-13T19:00:53.769Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-13T19:00:53.769Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-13T19:00:54.355Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-13T19:00:54.622Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-13T19:00:54.622Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-13T19:00:54.622Z] (7/11) Installing libblkid (2.38-r1) [2023-07-13T19:00:54.622Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-13T19:00:54.622Z] (9/11) Installing libmount (2.38-r1) [2023-07-13T19:00:54.622Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-13T19:00:54.622Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-13T19:00:54.622Z] Executing busybox-1.35.0-r17.trigger [2023-07-13T19:00:54.889Z] OK: 287 MiB in 92 packages [2023-07-13T19:00:55.849Z] Removing intermediate container 6293308c0078 [2023-07-13T19:00:55.849Z] ---> 8a2887cd5847 [2023-07-13T19:00:55.849Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-13T19:00:56.430Z] ---> 13fb4d53bfe8 [2023-07-13T19:00:56.430Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-13T19:00:57.388Z] ---> 7e0d8e79af77 [2023-07-13T19:00:57.388Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-13T19:00:57.653Z] ---> 3a3d4be631ca [2023-07-13T19:00:57.653Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-13T19:00:58.232Z] ---> 37b028e2d8bb [2023-07-13T19:00:58.232Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-13T19:00:58.498Z] ---> 9993f4dc47bd [2023-07-13T19:00:58.498Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-13T19:00:59.081Z] ---> c96968cb782e [2023-07-13T19:00:59.081Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-13T19:00:59.081Z] ---> Running in 82c00651ce64 [2023-07-13T19:00:59.345Z] Removing intermediate container 82c00651ce64 [2023-07-13T19:00:59.345Z] ---> f67f0d80809b [2023-07-13T19:00:59.345Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-13T19:00:59.611Z] ---> Running in 9820f9ff4f4b [2023-07-13T19:00:59.877Z] Removing intermediate container 9820f9ff4f4b [2023-07-13T19:00:59.877Z] ---> 031eba291eee [2023-07-13T19:00:59.877Z] Step 15/17 : LABEL arch=arm64 [2023-07-13T19:00:59.877Z] ---> Running in 4afb36861070 [2023-07-13T19:01:00.143Z] Removing intermediate container 4afb36861070 [2023-07-13T19:01:00.143Z] ---> eae9143cd3ac [2023-07-13T19:01:00.143Z] Step 16/17 : LABEL git_sha=498bf39e5a314d74334d629e23096a470c69db0d [2023-07-13T19:01:00.143Z] ---> Running in 17a0de29ae7b [2023-07-13T19:01:00.408Z] Removing intermediate container 17a0de29ae7b [2023-07-13T19:01:00.408Z] ---> c0639fc361f1 [2023-07-13T19:01:00.408Z] Step 17/17 : LABEL version=0.0.0 [2023-07-13T19:01:00.408Z] ---> Running in 825629f36873 [2023-07-13T19:01:00.672Z] Removing intermediate container 825629f36873 [2023-07-13T19:01:00.672Z] ---> 3d55ea42db50 [2023-07-13T19:01:00.672Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-07-13T19:01:00.672Z] Successfully built 3d55ea42db50 [2023-07-13T19:01:00.672Z] 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-13T19:01:01.085Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T19:01:01.085Z] [2023-07-13T19:01:01.085Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T19:01:01.415Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T19:01:01.682Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-13T19:01:01.682Z] 8998bd30e6a1: Pulling fs layer [2023-07-13T19:01:01.682Z] 04944245beec: Pulling fs layer [2023-07-13T19:01:01.682Z] 699f458cf7ca: Pulling fs layer [2023-07-13T19:01:01.682Z] 765212b225bb: Pulling fs layer [2023-07-13T19:01:01.682Z] f23df028b6ca: Pulling fs layer [2023-07-13T19:01:01.682Z] d65c8cfc05b1: Pulling fs layer [2023-07-13T19:01:01.682Z] 2437ff75d9bd: Pulling fs layer [2023-07-13T19:01:01.682Z] 765212b225bb: Waiting [2023-07-13T19:01:01.682Z] f23df028b6ca: Waiting [2023-07-13T19:01:01.682Z] 2437ff75d9bd: Waiting [2023-07-13T19:01:01.682Z] d65c8cfc05b1: Waiting [2023-07-13T19:01:01.682Z] 04944245beec: Verifying Checksum [2023-07-13T19:01:01.682Z] 04944245beec: Download complete [2023-07-13T19:01:01.682Z] 765212b225bb: Verifying Checksum [2023-07-13T19:01:01.682Z] 765212b225bb: Download complete [2023-07-13T19:01:01.682Z] f23df028b6ca: Download complete [2023-07-13T19:01:01.948Z] d65c8cfc05b1: Verifying Checksum [2023-07-13T19:01:01.948Z] d65c8cfc05b1: Download complete [2023-07-13T19:01:01.949Z] 699f458cf7ca: Verifying Checksum [2023-07-13T19:01:01.949Z] 699f458cf7ca: Download complete [2023-07-13T19:01:02.216Z] 8998bd30e6a1: Verifying Checksum [2023-07-13T19:01:02.216Z] 8998bd30e6a1: Download complete [2023-07-13T19:01:04.788Z] 2437ff75d9bd: Verifying Checksum [2023-07-13T19:01:04.788Z] 2437ff75d9bd: Download complete [2023-07-13T19:01:06.193Z] 8998bd30e6a1: Pull complete [2023-07-13T19:01:06.460Z] 04944245beec: Pull complete [2023-07-13T19:01:07.868Z] 699f458cf7ca: Pull complete [2023-07-13T19:01:07.868Z] 765212b225bb: Pull complete [2023-07-13T19:01:08.826Z] f23df028b6ca: Pull complete [2023-07-13T19:01:08.826Z] d65c8cfc05b1: Pull complete [2023-07-13T19:01:23.811Z] 2437ff75d9bd: Pull complete [2023-07-13T19:01:23.811Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-13T19:01:23.811Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T19:01:23.811Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T19:01:24.005Z] prd-ubuntu20.04-docker-arm64-4c-16g-1090 does not seem to be running inside a container [2023-07-13T19:01:24.065Z] $ 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/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-13T19:01:26.430Z] $ docker top d6fecbce5f5e86916b5ee8e4e4cd07a30842653cd25a25aca30ba670afce8b58 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T19:01:27.240Z] ---> job-cost.sh [2023-07-13T19:01:27.240Z] lf-activate-venv: SKIPPING [2023-07-13T19:01:27.240Z] INFO: No Stack... [2023-07-13T19:01:32.554Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-13T19:01:32.818Z] INFO: Archiving Costs [Pipeline] sh [2023-07-13T19:01:33.448Z] + cat /w/workspace/device-sdk-c/4/archives/cost.csv [2023-07-13T19:01:33.448Z] + cut -d, -f6 [Pipeline] lock [2023-07-13T19:01:33.502Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-467-4-stack-cost] [2023-07-13T19:01:33.515Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-467-4-stack-cost] did not exist. Created. [2023-07-13T19:01:33.515Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-467-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-13T19:01:33.847Z] /w/workspace/device-sdk-c/4@tmp/durable-9076f446/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-13T19:01:34.179Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-13T19:01:34.201Z] Warning: overwriting stash ‘stack-cost’ [2023-07-13T19:01:34.611Z] Stashed 1 file(s) [Pipeline] } [2023-07-13T19:01:34.654Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-467-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-13T19:01:34.676Z] $ docker stop --time=1 d6fecbce5f5e86916b5ee8e4e4cd07a30842653cd25a25aca30ba670afce8b58 [2023-07-13T19:01:36.138Z] $ docker rm -f --volumes d6fecbce5f5e86916b5ee8e4e4cd07a30842653cd25a25aca30ba670afce8b58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-07-13T19:01:36.876Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives ] [2023-07-13T19:01:36.876Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives [2023-07-13T19:01:36.876Z] total 16 [2023-07-13T19:01:36.876Z] drwxr-xr-x 3 root root 4096 Jul 13 18:57 . [2023-07-13T19:01:36.876Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 13 18:57 .. [2023-07-13T19:01:36.876Z] drwxr-xr-x 2 root root 4096 Jul 13 18:57 cost [2023-07-13T19:01:36.876Z] -rw-r--r-- 1 root root 84 Jul 13 18:57 cost.csv [2023-07-13T19:01:36.876Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives [2023-07-13T19:01:36.876Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives [2023-07-13T19:01:36.876Z] total 16 [2023-07-13T19:01:36.876Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 18:57 . [2023-07-13T19:01:36.876Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 13 18:57 .. [2023-07-13T19:01:36.876Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 13 18:57 cost [2023-07-13T19:01:36.876Z] -rw-r--r-- 1 jenkins jenkins 84 Jul 13 18:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-13T19:01:37.163Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T19:01:38.019Z] ---> package-listing.sh [2023-07-13T19:01:38.019Z] ++ facter osfamily [2023-07-13T19:01:38.019Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-13T19:01:38.278Z] + OS_FAMILY=debian [2023-07-13T19:01:38.278Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-467 [2023-07-13T19:01:38.278Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-13T19:01:38.278Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-13T19:01:38.278Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-13T19:01:38.278Z] + PACKAGES=/tmp/packages_start.txt [2023-07-13T19:01:38.278Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-467 ']' [2023-07-13T19:01:38.278Z] + PACKAGES=/tmp/packages_end.txt [2023-07-13T19:01:38.278Z] + case "${OS_FAMILY}" in [2023-07-13T19:01:38.278Z] + dpkg -l [2023-07-13T19:01:38.278Z] + grep '^ii' [2023-07-13T19:01:38.278Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-13T19:01:38.278Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-13T19:01:38.278Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-13T19:01:38.278Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-467 ']' [2023-07-13T19:01:38.278Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives/ [2023-07-13T19:01:38.279Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives/ [Pipeline] echo [2023-07-13T19:01:38.289Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-467/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-13T19:01:38.564Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T19:01:39.126Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T19:01:39.126Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T19:01:39.189Z] prd-ubuntu20.04-docker-8c-8g-1088 does not seem to be running inside a container [2023-07-13T19:01:39.219Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-467/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-467 -v /w/workspace/edgexfoundry_device-sdk-c_PR-467:/w/workspace/edgexfoundry_device-sdk-c_PR-467:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-13T19:01:39.409Z] $ docker top fe5dfea019d864d25dbf440b93c2b7a35c698b5bdcabf19b330092c5b55a3e41 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T19:01:39.745Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-13T19:01:40.031Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-13T19:01:40.313Z] + ls /var/log/sa-host [2023-07-13T19:01:40.314Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T19:01:40.378Z] provisioning config files... [2023-07-13T19:01:40.385Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/config4835817706276200679tmp [Pipeline] { [Pipeline] echo [2023-07-13T19:01:40.394Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T19:01:40.676Z] ---> create-netrc.sh [Pipeline] } [2023-07-13T19:01:40.683Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-13T19:01:41.008Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-13T19:01:41.016Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T19:01:41.300Z] ---> sudo-logs.sh [2023-07-13T19:01:41.300Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-13T19:01:41.329Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T19:01:41.614Z] ---> job-cost.sh [2023-07-13T19:01:41.614Z] lf-activate-venv: SKIPPING [2023-07-13T19:01:41.614Z] DEBUG: total: 0.2199999988079071 [2023-07-13T19:01:41.614Z] INFO: Retrieving Stack Cost... [2023-07-13T19:01:42.992Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-13T19:01:43.252Z] INFO: Archiving Costs [Pipeline] echo [2023-07-13T19:01:43.263Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T19:01:43.546Z] ---> logs-deploy.sh [2023-07-13T19:01:43.546Z] lf-activate-venv: SKIPPING [2023-07-13T19:01:43.546Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-467/4 [2023-07-13T19:01:43.546Z] INFO: archiving workspace using pattern(s): [2023-07-13T19:01:44.480Z] Archives upload complete. [2023-07-13T19:01:44.740Z] INFO: archiving logs to Nexus