Pull request #470 updated 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 4f8820ad03012f3493f4efc0712d2a639770311b+e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d (b0fe262195585bf09920b9bcc26e952a54e7f9b1) 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-ssh17637706596524329949.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-ssh14767378376531634420.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-470/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-470/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8482799881655538090.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-ssh268197851548220900.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-470/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-470/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9032699665702228887.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-1643 in /w/workspace/edgexfoundry_device-sdk-c_PR-470 [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-470 # 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 > 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/470/head:refs/remotes/origin/PR-470 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d into PR head commit 4f8820ad03012f3493f4efc0712d2a639770311b Merge succeeded, producing 408f9ce5b2e5cabc5f9794a08906f476571894f8 Checking out Revision 408f9ce5b2e5cabc5f9794a08906f476571894f8 (PR-470) > git config core.sparsecheckout # timeout=10 > git checkout -f 4f8820ad03012f3493f4efc0712d2a639770311b # 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 e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 408f9ce5b2e5cabc5f9794a08906f476571894f8 # timeout=10 Commit message: "Merge commit 'e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-20T06:55:23.611Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-20T06:55:23.652Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-20T06:55:23.668Z] ========================================================= [2023-07-20T06:55:23.668Z] EdgeX Global Pipelines Version Info [2023-07-20T06:55:23.668Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-20T06:55:24.397Z] ------------------- [2023-07-20T06:55:24.397Z] stable info: [2023-07-20T06:55:24.397Z] ------------------- [2023-07-20T06:55:24.397Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-20T06:55:24.397Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-20T06:55:24.397Z] Message: update stable to v1.0.250 > git rev-list --no-walk 0408e488f6682414e6e95e88899f04cfe19c90d1 # timeout=10 [2023-07-20T06:55:24.965Z] ------------------- [2023-07-20T06:55:24.965Z] experimental info: [2023-07-20T06:55:24.966Z] ------------------- [2023-07-20T06:55:24.966Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-20T06:55:24.966Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-20T06:55:24.966Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-20T06:55:25.127Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-07-20T06:55:25.138Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-07-20T06:55:25.151Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-20T06:55:25.164Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-20T06:55:25.182Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-20T06:55:25.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-07-20T06:55:25.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-07-20T06:55:25.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-20T06:55:25.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-20T06:55:25.245Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-07-20T06:55:25.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-20T06:55:25.269Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-20T06:55:25.286Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-20T06:55:25.301Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-20T06:55:25.317Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-20T06:55:25.332Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-20T06:55:25.341Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-20T06:55:25.353Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-470 [Pipeline] echo [2023-07-20T06:55:25.363Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-470 [Pipeline] echo [2023-07-20T06:55:25.379Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-470 [Pipeline] echo [2023-07-20T06:55:25.393Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 408f9ce5b2e5cabc5f9794a08906f476571894f8 [Pipeline] echo [2023-07-20T06:55:25.405Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 408f9ce [Pipeline] echo [2023-07-20T06:55:25.419Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-20T06:55:25.468Z] provisioning config files... [2023-07-20T06:55:25.481Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp/config15178472319457299104tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T06:55:25.783Z] ---> docker-login.sh [2023-07-20T06:55:25.783Z] nexus3.edgexfoundry.org:10001 [2023-07-20T06:55:26.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:55:26.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:55:26.044Z] Configure a credential helper to remove this warning. See [2023-07-20T06:55:26.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:55:26.044Z] [2023-07-20T06:55:26.044Z] Login Succeeded [2023-07-20T06:55:26.044Z] nexus3.edgexfoundry.org:10002 [2023-07-20T06:55:26.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:55:26.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:55:26.305Z] Configure a credential helper to remove this warning. See [2023-07-20T06:55:26.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:55:26.305Z] [2023-07-20T06:55:26.305Z] Login Succeeded [2023-07-20T06:55:26.305Z] nexus3.edgexfoundry.org:10003 [2023-07-20T06:55:26.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:55:26.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:55:26.305Z] Configure a credential helper to remove this warning. See [2023-07-20T06:55:26.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:55:26.305Z] [2023-07-20T06:55:26.305Z] Login Succeeded [2023-07-20T06:55:26.305Z] nexus3.edgexfoundry.org:10004 [2023-07-20T06:55:26.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:55:26.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:55:26.568Z] Configure a credential helper to remove this warning. See [2023-07-20T06:55:26.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:55:26.568Z] [2023-07-20T06:55:26.568Z] Login Succeeded [2023-07-20T06:55:26.568Z] docker.io [2023-07-20T06:55:26.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:55:26.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:55:26.829Z] Configure a credential helper to remove this warning. See [2023-07-20T06:55:26.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:55:26.829Z] [2023-07-20T06:55:26.829Z] Login Succeeded [2023-07-20T06:55:26.829Z] ---> docker-login.sh ends [Pipeline] } [2023-07-20T06:55:26.836Z] 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-20T06:55:27.191Z] + git rev-list -1 --merges 408f9ce5b2e5cabc5f9794a08906f476571894f8~1..408f9ce5b2e5cabc5f9794a08906f476571894f8 [Pipeline] echo [2023-07-20T06:55:27.239Z] -----------> git rev-list -1 --merges 408f9ce5b2e5cabc5f9794a08906f476571894f8~1..408f9ce5b2e5cabc5f9794a08906f476571894f8 408f9ce5b2e5cabc5f9794a08906f476571894f8 [2023-07-20T06:55:27.239Z] 408f9ce5b2e5cabc5f9794a08906f476571894f8 [false] [Pipeline] sh [2023-07-20T06:55:27.532Z] + git log --format=format:%s -1 408f9ce5b2e5cabc5f9794a08906f476571894f8 [Pipeline] echo [2023-07-20T06:55:27.548Z] ========================================================= [2023-07-20T06:55:27.548Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-20T06:55:27.548Z] ========================================================= 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-20T06:55:27.924Z] + git rev-list -1 --merges 408f9ce5b2e5cabc5f9794a08906f476571894f8~1..408f9ce5b2e5cabc5f9794a08906f476571894f8 [Pipeline] echo [2023-07-20T06:55:27.935Z] -----------> git rev-list -1 --merges 408f9ce5b2e5cabc5f9794a08906f476571894f8~1..408f9ce5b2e5cabc5f9794a08906f476571894f8 408f9ce5b2e5cabc5f9794a08906f476571894f8 [2023-07-20T06:55:27.935Z] 408f9ce5b2e5cabc5f9794a08906f476571894f8 [false] [Pipeline] sh [2023-07-20T06:55:28.226Z] + git log --format=format:%s -1 408f9ce5b2e5cabc5f9794a08906f476571894f8 [Pipeline] echo [2023-07-20T06:55:28.242Z] ========================================================= [2023-07-20T06:55:28.242Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-20T06:55:28.242Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-07-20T06:55:28.692Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-20T06:55:28.692Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-20T06:55:28.692Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-20T06:55:28.692Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-20T06:55:28.692Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-20T06:55:28.692Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-20T06:55:28.692Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T06:55:29.112Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-20T06:55:29.112Z] [2023-07-20T06:55:29.112Z] 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-20T06:55:29.446Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-20T06:55:29.446Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-20T06:55:29.446Z] b85a868b505f: Pulling fs layer [2023-07-20T06:55:29.446Z] e2be974225ed: Pulling fs layer [2023-07-20T06:55:29.446Z] 339a4e72a1f5: Pulling fs layer [2023-07-20T06:55:29.446Z] 988bab9f4d93: Pulling fs layer [2023-07-20T06:55:29.446Z] 1469e6f7b9e6: Pulling fs layer [2023-07-20T06:55:29.446Z] eaf3925da568: Pulling fs layer [2023-07-20T06:55:29.446Z] bab4dde63d76: Pulling fs layer [2023-07-20T06:55:29.446Z] bde34c3a00c8: Pulling fs layer [2023-07-20T06:55:29.446Z] b352a97aabf1: Pulling fs layer [2023-07-20T06:55:29.446Z] 4872d77fe225: Pulling fs layer [2023-07-20T06:55:29.446Z] 988bab9f4d93: Waiting [2023-07-20T06:55:29.446Z] 5851b861e8e6: Pulling fs layer [2023-07-20T06:55:29.446Z] bde34c3a00c8: Waiting [2023-07-20T06:55:29.446Z] b352a97aabf1: Waiting [2023-07-20T06:55:29.446Z] 1469e6f7b9e6: Waiting [2023-07-20T06:55:29.446Z] eaf3925da568: Waiting [2023-07-20T06:55:29.446Z] bab4dde63d76: Waiting [2023-07-20T06:55:29.446Z] 4872d77fe225: Waiting [2023-07-20T06:55:29.446Z] 5851b861e8e6: Waiting [2023-07-20T06:55:29.446Z] e2be974225ed: Verifying Checksum [2023-07-20T06:55:29.446Z] e2be974225ed: Download complete [2023-07-20T06:55:29.446Z] 988bab9f4d93: Verifying Checksum [2023-07-20T06:55:29.446Z] 988bab9f4d93: Download complete [2023-07-20T06:55:29.705Z] 1469e6f7b9e6: Verifying Checksum [2023-07-20T06:55:29.705Z] 1469e6f7b9e6: Download complete [2023-07-20T06:55:29.705Z] eaf3925da568: Verifying Checksum [2023-07-20T06:55:29.705Z] eaf3925da568: Download complete [2023-07-20T06:55:29.705Z] 339a4e72a1f5: Verifying Checksum [2023-07-20T06:55:29.705Z] 339a4e72a1f5: Download complete [2023-07-20T06:55:29.705Z] bde34c3a00c8: Verifying Checksum [2023-07-20T06:55:29.705Z] bde34c3a00c8: Download complete [2023-07-20T06:55:29.705Z] b352a97aabf1: Download complete [2023-07-20T06:55:29.705Z] 4872d77fe225: Download complete [2023-07-20T06:55:29.705Z] 5851b861e8e6: Download complete [2023-07-20T06:55:29.705Z] b85a868b505f: Download complete [2023-07-20T06:55:29.964Z] bab4dde63d76: Verifying Checksum [2023-07-20T06:55:29.964Z] bab4dde63d76: Download complete [2023-07-20T06:55:30.899Z] b85a868b505f: Pull complete [2023-07-20T06:55:31.159Z] e2be974225ed: Pull complete [2023-07-20T06:55:31.418Z] 339a4e72a1f5: Pull complete [2023-07-20T06:55:31.677Z] 988bab9f4d93: Pull complete [2023-07-20T06:55:31.936Z] 1469e6f7b9e6: Pull complete [2023-07-20T06:55:31.936Z] eaf3925da568: Pull complete [2023-07-20T06:55:33.838Z] bab4dde63d76: Pull complete [2023-07-20T06:55:33.838Z] bde34c3a00c8: Pull complete [2023-07-20T06:55:33.838Z] b352a97aabf1: Pull complete [2023-07-20T06:55:33.838Z] 4872d77fe225: Pull complete [2023-07-20T06:55:33.838Z] 5851b861e8e6: Pull complete [2023-07-20T06:55:33.838Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-20T06:55:33.838Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-20T06:55:33.838Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T06:55:33.973Z] prd-ubuntu20.04-docker-8c-8g-1643 does not seem to be running inside a container [2023-07-20T06:55:34.007Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-470 -v /w/workspace/edgexfoundry_device-sdk-c_PR-470:/w/workspace/edgexfoundry_device-sdk-c_PR-470:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-470@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-20T06:55:35.093Z] $ docker top 6d72214bc1102ebb31ffcfef6480ea98f9a2de494a2881d23927cf5c3ff244e0 -eo pid,comm [2023-07-20T06:55:35.145Z] 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-20T06:55:35.145Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-20T06:55:35.181Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-20T06:55:35.181Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-20T06:55:35.294Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-20T06:55:35.300Z] $ docker exec 6d72214bc1102ebb31ffcfef6480ea98f9a2de494a2881d23927cf5c3ff244e0 ssh-agent [2023-07-20T06:55:35.403Z] SSH_AUTH_SOCK=/tmp/ssh-7rJwGVc09H7q/agent.31 [2023-07-20T06:55:35.403Z] SSH_AGENT_PID=37 [2023-07-20T06:55:35.410Z] Running ssh-add (command line suppressed) [2023-07-20T06:55:35.516Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp/private_key_11245731716964134218.key (/w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp/private_key_11245731716964134218.key) [2023-07-20T06:55:35.525Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-20T06:55:35.812Z] + git tag --points-at HEAD [Pipeline] } [2023-07-20T06:55:35.835Z] $ docker exec --env ******** --env ******** 6d72214bc1102ebb31ffcfef6480ea98f9a2de494a2881d23927cf5c3ff244e0 ssh-agent -k [2023-07-20T06:55:35.948Z] unset SSH_AUTH_SOCK; [2023-07-20T06:55:35.948Z] unset SSH_AGENT_PID; [2023-07-20T06:55:35.948Z] echo Agent pid 37 killed; [2023-07-20T06:55:35.956Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-20T06:55:35.980Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-20T06:55:35.980Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-20T06:55:36.098Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-20T06:55:36.103Z] $ docker exec 6d72214bc1102ebb31ffcfef6480ea98f9a2de494a2881d23927cf5c3ff244e0 ssh-agent [2023-07-20T06:55:36.232Z] SSH_AUTH_SOCK=/tmp/ssh-e3En4enGEkzR/agent.69 [2023-07-20T06:55:36.232Z] SSH_AGENT_PID=75 [2023-07-20T06:55:36.237Z] Running ssh-add (command line suppressed) [2023-07-20T06:55:36.329Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp/private_key_619856737149736307.key (/w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp/private_key_619856737149736307.key) [2023-07-20T06:55:36.340Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-20T06:55:36.634Z] + git semver init [2023-07-20T06:55:36.895Z] 2023-07-20 06:55:36,807 [run_init] DEBUG init version:0.0.0 force:False [2023-07-20T06:55:36.895Z] 2023-07-20 06:55:36,808 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-470/.semver [2023-07-20T06:55:36.895Z] 2023-07-20 06:55:36,809 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-470/.semver [2023-07-20T06:55:36.895Z] 2023-07-20 06:55:36,809 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-470/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-470, universal_newlines=False, shell=None, istream=None) [2023-07-20T06:55:37.838Z] 2023-07-20 06:55:37,609 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-470/.git/info/exclude [2023-07-20T06:55:37.838Z] 2023-07-20 06:55:37,611 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-470/.semver/PR-470 with force:False [2023-07-20T06:55:37.838Z] 2023-07-20 06:55:37,611 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-470/.semver/PR-470 [2023-07-20T06:55:37.838Z] 2023-07-20 06:55:37,615 [execute] INFO git cat-file --batch-check [2023-07-20T06:55:37.838Z] 2023-07-20 06:55:37,616 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-470/.semver, universal_newlines=False, shell=None, istream=) [2023-07-20T06:55:37.838Z] 2023-07-20 06:55:37,622 [execute] INFO git cat-file --batch [2023-07-20T06:55:37.838Z] 2023-07-20 06:55:37,623 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-470/.semver, universal_newlines=False, shell=None, istream=) [2023-07-20T06:55:37.838Z] 2023-07-20 06:55:37,628 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-470/.semver/PR-470 [2023-07-20T06:55:37.838Z] 0.0.0 [Pipeline] } [2023-07-20T06:55:37.850Z] $ docker exec --env ******** --env ******** 6d72214bc1102ebb31ffcfef6480ea98f9a2de494a2881d23927cf5c3ff244e0 ssh-agent -k [2023-07-20T06:55:37.965Z] unset SSH_AUTH_SOCK; [2023-07-20T06:55:37.965Z] unset SSH_AGENT_PID; [2023-07-20T06:55:37.965Z] echo Agent pid 75 killed; [2023-07-20T06:55:37.972Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-20T06:55:38.269Z] + git semver [Pipeline] } [2023-07-20T06:55:38.544Z] $ docker stop --time=1 6d72214bc1102ebb31ffcfef6480ea98f9a2de494a2881d23927cf5c3ff244e0 [2023-07-20T06:55:39.806Z] $ docker rm -f --volumes 6d72214bc1102ebb31ffcfef6480ea98f9a2de494a2881d23927cf5c3ff244e0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-20T06:55:40.133Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-20T06:55:40.328Z] Stashed 1 file(s) [Pipeline] echo [2023-07-20T06:55:40.332Z] [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-20T06:55:40.472Z] provisioning config files... [2023-07-20T06:55:40.481Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp/config16283139452805611506tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T06:55:40.773Z] ---> docker-login.sh [2023-07-20T06:55:40.773Z] nexus3.edgexfoundry.org:10001 [2023-07-20T06:55:40.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:55:40.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:55:40.773Z] Configure a credential helper to remove this warning. See [2023-07-20T06:55:40.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:55:40.773Z] [2023-07-20T06:55:40.773Z] Login Succeeded [2023-07-20T06:55:40.773Z] nexus3.edgexfoundry.org:10002 [2023-07-20T06:55:40.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:55:40.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:55:40.773Z] Configure a credential helper to remove this warning. See [2023-07-20T06:55:40.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:55:40.773Z] [2023-07-20T06:55:40.773Z] Login Succeeded [2023-07-20T06:55:40.773Z] nexus3.edgexfoundry.org:10003 [2023-07-20T06:55:41.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:55:41.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:55:41.032Z] Configure a credential helper to remove this warning. See [2023-07-20T06:55:41.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:55:41.032Z] [2023-07-20T06:55:41.032Z] Login Succeeded [2023-07-20T06:55:41.032Z] nexus3.edgexfoundry.org:10004 [2023-07-20T06:55:41.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:55:41.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:55:41.032Z] Configure a credential helper to remove this warning. See [2023-07-20T06:55:41.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:55:41.032Z] [2023-07-20T06:55:41.032Z] Login Succeeded [2023-07-20T06:55:41.032Z] docker.io [2023-07-20T06:55:41.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:55:41.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:55:41.291Z] Configure a credential helper to remove this warning. See [2023-07-20T06:55:41.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:55:41.291Z] [2023-07-20T06:55:41.291Z] Login Succeeded [2023-07-20T06:55:41.291Z] ---> docker-login.sh ends [Pipeline] } [2023-07-20T06:55:41.299Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-20T06:55:41.360Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-20T06:55:41.367Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-07-20T06:55:41.375Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-20T06:55:41.381Z] ========================================================= [2023-07-20T06:55:41.381Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-07-20T06:55:41.381Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T06:55:41.675Z] + 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-20T06:55:41.675Z] Sending build context to Docker daemon 4.866MB [2023-07-20T06:55:41.675Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-20T06:55:41.675Z] Step 2/21 : FROM ${BASE} as builder [2023-07-20T06:55:41.675Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-07-20T06:55:41.675Z] 91d30c5bc195: Pulling fs layer [2023-07-20T06:55:41.675Z] 316e5a4585fb: Pulling fs layer [2023-07-20T06:55:41.675Z] 91d30c5bc195: Verifying Checksum [2023-07-20T06:55:41.675Z] 91d30c5bc195: Download complete [2023-07-20T06:55:41.934Z] 91d30c5bc195: Pull complete [2023-07-20T06:55:42.500Z] 316e5a4585fb: Verifying Checksum [2023-07-20T06:55:42.500Z] 316e5a4585fb: Download complete [2023-07-20T06:55:45.784Z] 316e5a4585fb: Pull complete [2023-07-20T06:55:45.784Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-07-20T06:55:45.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-07-20T06:55:45.784Z] ---> e83ffa357ff4 [2023-07-20T06:55:45.784Z] 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-20T06:55:45.784Z] ---> Running in 2544268be629 [2023-07-20T06:55:46.043Z] Connecting to iotech.jfrog.io (52.18.203.85:443) [2023-07-20T06:55:46.611Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-20T06:55:46.611Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-20T06:55:46.611Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-20T06:55:46.871Z] Removing intermediate container 2544268be629 [2023-07-20T06:55:46.871Z] ---> a1649753a0e7 [2023-07-20T06:55:46.871Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-20T06:55:46.871Z] ---> Running in 93e05673a1c1 [2023-07-20T06:55:47.439Z] Removing intermediate container 93e05673a1c1 [2023-07-20T06:55:47.439Z] ---> e71a7f6dbd59 [2023-07-20T06:55:47.439Z] 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-20T06:55:47.439Z] ---> Running in a845b7066e99 [2023-07-20T06:55:47.697Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-20T06:55:47.957Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-20T06:55:48.217Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-20T06:55:48.476Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-20T06:55:48.476Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-20T06:55:48.476Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-20T06:55:48.476Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-20T06:55:48.476Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-20T06:55:48.476Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-20T06:55:49.862Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-20T06:55:49.862Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-20T06:55:49.862Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-20T06:55:49.862Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-20T06:55:49.862Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-20T06:55:50.430Z] (11/16) Installing libblkid (2.38-r1) [2023-07-20T06:55:50.430Z] (12/16) Installing libuuid (2.38-r1) [2023-07-20T06:55:50.430Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-20T06:55:50.430Z] (14/16) Installing libmount (2.38-r1) [2023-07-20T06:55:50.430Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-20T06:55:50.430Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-20T06:55:50.430Z] Executing busybox-1.35.0-r17.trigger [2023-07-20T06:55:50.430Z] OK: 280 MiB in 90 packages [2023-07-20T06:55:50.998Z] Removing intermediate container a845b7066e99 [2023-07-20T06:55:50.998Z] ---> fc85295ac437 [2023-07-20T06:55:50.998Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-20T06:55:50.998Z] ---> Running in e722e14126cb [2023-07-20T06:55:51.566Z] Removing intermediate container e722e14126cb [2023-07-20T06:55:51.566Z] ---> fd3c5b5d5850 [2023-07-20T06:55:51.566Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-20T06:55:51.566Z] ---> 51a8e0507080 [2023-07-20T06:55:51.566Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-20T06:55:51.826Z] ---> 94c37dd2e41f [2023-07-20T06:55:51.826Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-20T06:55:52.085Z] ---> f6c53cabf325 [2023-07-20T06:55:52.086Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-20T06:55:52.086Z] ---> 192ea7cae525 [2023-07-20T06:55:52.086Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-20T06:55:52.346Z] ---> 9b6b087e2feb [2023-07-20T06:55:52.346Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-20T06:55:52.346Z] ---> 9ad7c33d110d [2023-07-20T06:55:52.346Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-20T06:55:52.346Z] ---> Running in ad9ac8173c69 [2023-07-20T06:55:52.606Z] + CPPCHECK=false [2023-07-20T06:55:52.606Z] + DOCGEN=false [2023-07-20T06:55:52.606Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-20T06:55:52.606Z] + '[' 0 -gt 0 ] [2023-07-20T06:55:52.606Z] + readlink -f ./scripts/build.sh [2023-07-20T06:55:52.606Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-20T06:55:52.606Z] + dirname /tmp/sdk/scripts [2023-07-20T06:55:52.606Z] + ROOT=/tmp/sdk [2023-07-20T06:55:52.606Z] + cd /tmp/sdk [2023-07-20T06:55:52.606Z] + mkdir -p /tmp/sdk/build/release [2023-07-20T06:55:52.606Z] + cd /tmp/sdk/build/release [2023-07-20T06:55:52.606Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-20T06:55:52.606Z] -- The C compiler identification is GNU 11.2.1 [2023-07-20T06:55:52.606Z] -- Detecting C compiler ABI info [2023-07-20T06:55:52.866Z] -- Detecting C compiler ABI info - done [2023-07-20T06:55:52.866Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-20T06:55:52.866Z] -- Detecting C compile features [2023-07-20T06:55:52.866Z] -- Detecting C compile features - done [2023-07-20T06:55:52.866Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-20T06:55:52.866Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-20T06:55:52.866Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-20T06:55:52.866Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-20T06:55:52.866Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-20T06:55:52.866Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-20T06:55:52.866Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-20T06:55:52.866Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-20T06:55:52.866Z] -- /opt/iotech/iot/1.5/include [2023-07-20T06:55:52.866Z] -- C SDK 0.0.0 for Linux [2023-07-20T06:55:52.866Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-20T06:55:52.866Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-20T06:55:53.124Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-20T06:55:53.124Z] -- Configuring done [2023-07-20T06:55:53.124Z] -- Generating done [2023-07-20T06:55:53.124Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-20T06:55:53.124Z] + make all package [2023-07-20T06:55:53.124Z] + tee release.log [2023-07-20T06:55:53.124Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-20T06:55:53.124Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-20T06:55:53.384Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-20T06:55:53.643Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-20T06:55:53.643Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-20T06:55:53.903Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-20T06:55:54.162Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-20T06:55:54.422Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-20T06:55:54.422Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-20T06:55:54.681Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-20T06:55:54.941Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-20T06:55:54.941Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-20T06:55:55.200Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-20T06:55:55.429Z] Still waiting to schedule task [2023-07-20T06:55:55.429Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-20T06:55:55.459Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-20T06:55:55.459Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-20T06:55:55.720Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-20T06:55:55.720Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-20T06:55:55.978Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-20T06:55:56.237Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-20T06:55:56.237Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-20T06:55:56.496Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-20T06:55:57.433Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-20T06:55:57.433Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-20T06:55:57.433Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-20T06:55:57.693Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-20T06:55:57.693Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-20T06:55:57.952Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-20T06:55:58.517Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-20T06:55:58.517Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-20T06:55:58.517Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-20T06:55:58.777Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-20T06:55:59.344Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-20T06:55:59.344Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-20T06:55:59.344Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-20T06:55:59.604Z] [ 68%] Linking C shared library libcsdk.so [2023-07-20T06:55:59.604Z] [ 68%] Built target csdk [2023-07-20T06:55:59.604Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-20T06:55:59.604Z] [ 72%] Linking C executable template [2023-07-20T06:55:59.863Z] [ 72%] Built target template [2023-07-20T06:55:59.863Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-20T06:55:59.863Z] [ 76%] Linking C executable device-counter [2023-07-20T06:55:59.863Z] [ 76%] Built target device-counter [2023-07-20T06:55:59.863Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-20T06:56:00.122Z] [ 80%] Linking C executable device-random [2023-07-20T06:56:00.122Z] [ 80%] Built target device-random [2023-07-20T06:56:00.122Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-20T06:56:00.382Z] [ 84%] Linking C executable device-gyro [2023-07-20T06:56:00.382Z] [ 84%] Built target device-gyro [2023-07-20T06:56:00.382Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-20T06:56:00.382Z] [ 88%] Linking C executable device-bitfields [2023-07-20T06:56:00.641Z] [ 88%] Built target device-bitfields [2023-07-20T06:56:00.641Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-20T06:56:00.641Z] [ 92%] Linking C executable template-discovery [2023-07-20T06:56:00.900Z] [ 92%] Built target template-discovery [2023-07-20T06:56:00.900Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-20T06:56:00.900Z] [ 96%] Linking C executable device-file [2023-07-20T06:56:00.900Z] [ 96%] Built target device-file [2023-07-20T06:56:00.900Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-20T06:56:01.160Z] [100%] Linking C executable device-terminal [2023-07-20T06:56:01.160Z] [100%] Built target device-terminal [2023-07-20T06:56:01.160Z] Run CPack packaging tool... [2023-07-20T06:56:01.160Z] CPack: Create package using TGZ [2023-07-20T06:56:01.160Z] CPack: Install projects [2023-07-20T06:56:01.160Z] CPack: - Run preinstall target for: Csdk [2023-07-20T06:56:01.418Z] CPack: - Install project: Csdk [] [2023-07-20T06:56:01.419Z] CPack: Create package [2023-07-20T06:56:01.419Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-07-20T06:56:01.419Z] + '[' false '=' true ] [2023-07-20T06:56:01.419Z] + '[' false '=' true ] [2023-07-20T06:56:01.419Z] + mkdir -p /tmp/sdk/build/debug [2023-07-20T06:56:01.419Z] + cd /tmp/sdk/build/debug [2023-07-20T06:56:01.419Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-20T06:56:01.677Z] -- The C compiler identification is GNU 11.2.1 [2023-07-20T06:56:01.677Z] -- Detecting C compiler ABI info [2023-07-20T06:56:01.677Z] -- Detecting C compiler ABI info - done [2023-07-20T06:56:01.677Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-20T06:56:01.677Z] -- Detecting C compile features [2023-07-20T06:56:01.677Z] -- Detecting C compile features - done [2023-07-20T06:56:01.677Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-20T06:56:01.677Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-20T06:56:01.677Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-20T06:56:01.677Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-20T06:56:01.677Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-20T06:56:01.677Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-20T06:56:01.677Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-20T06:56:01.677Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-20T06:56:01.677Z] -- /opt/iotech/iot/1.5/include [2023-07-20T06:56:01.677Z] -- C SDK 0.0.0 for Linux [2023-07-20T06:56:01.677Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-20T06:56:01.936Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-20T06:56:01.936Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-20T06:56:01.936Z] -- Configuring done [2023-07-20T06:56:01.936Z] -- Generating done [2023-07-20T06:56:01.936Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-20T06:56:01.936Z] + make [2023-07-20T06:56:01.936Z] + tee debug.log [2023-07-20T06:56:01.936Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-20T06:56:02.195Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-20T06:56:02.195Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-20T06:56:02.195Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-20T06:56:02.455Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-20T06:56:02.455Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-20T06:56:02.455Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-20T06:56:02.715Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-20T06:56:02.715Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-20T06:56:02.715Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-20T06:56:02.975Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-20T06:56:02.975Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-20T06:56:02.975Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-20T06:56:03.234Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-20T06:56:03.234Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-20T06:56:03.235Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-20T06:56:03.235Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-20T06:56:03.494Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-20T06:56:03.494Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-20T06:56:03.754Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-20T06:56:03.754Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-20T06:56:04.013Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-20T06:56:04.013Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-20T06:56:04.013Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-20T06:56:04.273Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-20T06:56:04.273Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-20T06:56:04.273Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-20T06:56:04.532Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-20T06:56:04.792Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-20T06:56:04.792Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-20T06:56:04.792Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-20T06:56:05.051Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-20T06:56:05.051Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-20T06:56:05.051Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-20T06:56:05.309Z] [ 68%] Linking C shared library libcsdk.so [2023-07-20T06:56:05.309Z] [ 68%] Built target csdk [2023-07-20T06:56:05.309Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-20T06:56:05.309Z] [ 72%] Linking C executable template [2023-07-20T06:56:05.569Z] [ 72%] Built target template [2023-07-20T06:56:05.569Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-20T06:56:05.569Z] [ 76%] Linking C executable device-counter [2023-07-20T06:56:05.570Z] [ 76%] Built target device-counter [2023-07-20T06:56:05.570Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-20T06:56:05.570Z] [ 80%] Linking C executable device-random [2023-07-20T06:56:05.828Z] [ 80%] Built target device-random [2023-07-20T06:56:05.828Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-20T06:56:05.828Z] [ 84%] Linking C executable device-gyro [2023-07-20T06:56:05.828Z] [ 84%] Built target device-gyro [2023-07-20T06:56:05.828Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-20T06:56:06.087Z] [ 88%] Linking C executable device-bitfields [2023-07-20T06:56:06.087Z] [ 88%] Built target device-bitfields [2023-07-20T06:56:06.087Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-20T06:56:06.087Z] [ 92%] Linking C executable template-discovery [2023-07-20T06:56:06.345Z] [ 92%] Built target template-discovery [2023-07-20T06:56:06.345Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-20T06:56:06.345Z] [ 96%] Linking C executable device-file [2023-07-20T06:56:06.345Z] [ 96%] Built target device-file [2023-07-20T06:56:06.345Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-20T06:56:06.603Z] [100%] Linking C executable device-terminal [2023-07-20T06:56:06.603Z] [100%] Built target device-terminal [2023-07-20T06:56:06.603Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:56:06.603Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:56:06.603Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:56:06.603Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:56:06.603Z] [ 68%] Built target csdk [2023-07-20T06:56:06.603Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:56:06.603Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:56:06.603Z] [ 72%] Built target template [2023-07-20T06:56:06.603Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:56:06.603Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:56:06.603Z] [ 76%] Built target device-counter [2023-07-20T06:56:06.603Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:56:06.603Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:56:06.603Z] [ 80%] Built target device-random [2023-07-20T06:56:06.603Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:56:06.603Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:56:06.603Z] [ 84%] Built target device-gyro [2023-07-20T06:56:06.603Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:56:06.604Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:56:06.604Z] [ 88%] Built target device-bitfields [2023-07-20T06:56:06.604Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:56:06.604Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:56:06.604Z] [ 92%] Built target template-discovery [2023-07-20T06:56:06.604Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:56:06.604Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:56:06.862Z] [ 96%] Built target device-file [2023-07-20T06:56:06.862Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:56:06.862Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:56:06.862Z] [100%] Built target device-terminal [2023-07-20T06:56:06.862Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:56:06.862Z] Install the project... [2023-07-20T06:56:06.862Z] -- Install configuration: "Release" [2023-07-20T06:56:06.862Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-20T06:56:06.862Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-20T06:56:06.862Z] -- Installing: /usr/local/include [2023-07-20T06:56:06.862Z] -- Installing: /usr/local/include/devsdk [2023-07-20T06:56:06.862Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-20T06:56:06.862Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-20T06:56:06.862Z] -- Installing: /usr/local/include/edgex [2023-07-20T06:56:06.862Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-20T06:56:06.862Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-20T06:56:06.862Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-20T06:56:06.862Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-20T06:56:06.862Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-20T06:56:06.862Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-20T06:56:06.862Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-20T06:56:06.862Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-20T06:56:06.862Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:56:07.121Z] Removing intermediate container ad9ac8173c69 [2023-07-20T06:56:07.121Z] ---> 57ae366c8fc8 [2023-07-20T06:56:07.121Z] Step 14/21 : FROM ${BASE} [2023-07-20T06:56:07.121Z] ---> e83ffa357ff4 [2023-07-20T06:56:07.121Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-20T06:56:07.381Z] ---> Running in 4d0731aa1d51 [2023-07-20T06:56:07.381Z] Removing intermediate container 4d0731aa1d51 [2023-07-20T06:56:07.381Z] ---> 57ade6a96116 [2023-07-20T06:56:07.381Z] 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-20T06:56:07.381Z] ---> Running in 7f36882babb8 [2023-07-20T06:56:07.640Z] Connecting to iotech.jfrog.io (54.76.62.242:443) [2023-07-20T06:56:07.899Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-20T06:56:07.899Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-20T06:56:07.899Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-20T06:56:08.158Z] Removing intermediate container 7f36882babb8 [2023-07-20T06:56:08.158Z] ---> e850703a8833 [2023-07-20T06:56:08.158Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-20T06:56:08.417Z] ---> Running in 598a20d207a8 [2023-07-20T06:56:08.987Z] Removing intermediate container 598a20d207a8 [2023-07-20T06:56:08.987Z] ---> 7e8f208c5ad6 [2023-07-20T06:56:08.987Z] 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-20T06:56:08.987Z] ---> Running in 66159a4d6e40 [2023-07-20T06:56:09.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-20T06:56:09.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-20T06:56:09.505Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-20T06:56:10.441Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-20T06:56:10.441Z] (1/7) Installing curl (8.2.0-r0) [2023-07-20T06:56:10.441Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-20T06:56:10.441Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-20T06:56:10.441Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-20T06:56:11.818Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-20T06:56:11.818Z] (6/7) Installing libuuid (2.38-r1) [2023-07-20T06:56:11.818Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-20T06:56:12.755Z] Executing busybox-1.35.0-r17.trigger [2023-07-20T06:56:12.755Z] OK: 276 MiB in 83 packages [2023-07-20T06:56:13.016Z] Removing intermediate container 66159a4d6e40 [2023-07-20T06:56:13.016Z] ---> cd89e5774f51 [2023-07-20T06:56:13.016Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-20T06:56:13.016Z] ---> 42565a1c2ab3 [2023-07-20T06:56:13.016Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-20T06:56:13.275Z] ---> 7cb13107e4ed [2023-07-20T06:56:13.275Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-20T06:56:13.275Z] ---> 0b35d78a17a6 [2023-07-20T06:56:13.275Z] Successfully built 0b35d78a17a6 [2023-07-20T06:56:13.275Z] 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-20T06:56:13.632Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-20T06:56:13.632Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T06:56:13.698Z] prd-ubuntu20.04-docker-8c-8g-1643 does not seem to be running inside a container [2023-07-20T06:56:13.726Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-470 -v /w/workspace/edgexfoundry_device-sdk-c_PR-470:/w/workspace/edgexfoundry_device-sdk-c_PR-470:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-470@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-x86_64 cat [2023-07-20T06:56:14.043Z] $ docker top af382abad43459e07f0006fb832c9f39beff06c43b38c825e88a39f94088e05d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-20T06:56:14.386Z] + make test [2023-07-20T06:56:14.386Z] echo "make test" [2023-07-20T06:56:14.386Z] make test [Pipeline] } [2023-07-20T06:56:14.400Z] $ docker stop --time=1 af382abad43459e07f0006fb832c9f39beff06c43b38c825e88a39f94088e05d [2023-07-20T06:56:15.639Z] $ docker rm -f --volumes af382abad43459e07f0006fb832c9f39beff06c43b38c825e88a39f94088e05d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-20T06:56:16.255Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-20T06:56:16.541Z] + ls -al . [2023-07-20T06:56:16.541Z] total 212 [2023-07-20T06:56:16.541Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 06:55 . [2023-07-20T06:56:16.541Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 06:55 .. [2023-07-20T06:56:16.541Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 06:55 .git [2023-07-20T06:56:16.541Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 06:55 .github [2023-07-20T06:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 20 06:55 .gitignore [2023-07-20T06:56:16.541Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 06:55 .semver [2023-07-20T06:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 20 06:55 Attribution.txt [2023-07-20T06:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 20 06:55 CHANGES [2023-07-20T06:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 20 06:55 Doxyfile [2023-07-20T06:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 06:55 GOVERNANCE.md [2023-07-20T06:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 20 06:55 Jenkinsfile [2023-07-20T06:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 20 06:55 LICENSE [2023-07-20T06:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 20 06:55 Makefile [2023-07-20T06:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 20 06:55 OWNERS.md [2023-07-20T06:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 20 06:55 README.IOT.md [2023-07-20T06:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 20 06:55 README.md [2023-07-20T06:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 20 06:55 README.v3.md [2023-07-20T06:56:16.541Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 06:55 VERSION [2023-07-20T06:56:16.541Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 06:55 docs [2023-07-20T06:56:16.541Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 06:55 include [2023-07-20T06:56:16.541Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 06:55 scripts [2023-07-20T06:56:16.541Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 06:55 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T06:56:16.849Z] + 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=408f9ce5b2e5cabc5f9794a08906f476571894f8 --label arch=amd64 --label version=0.0.0 . [2023-07-20T06:56:16.849Z] Sending build context to Docker daemon 4.866MB [2023-07-20T06:56:16.849Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-20T06:56:16.849Z] Step 2/17 : FROM ${BASE} [2023-07-20T06:56:16.849Z] ---> 0b35d78a17a6 [2023-07-20T06:56:16.849Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-20T06:56:16.849Z] ---> Running in 25101b9be2f5 [2023-07-20T06:56:16.849Z] Removing intermediate container 25101b9be2f5 [2023-07-20T06:56:16.849Z] ---> fbe413c7a1d0 [2023-07-20T06:56:16.849Z] 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-20T06:56:16.849Z] ---> Running in e6b8b54d1492 [2023-07-20T06:56:17.109Z] Connecting to iotech.jfrog.io (52.212.72.229:443) [2023-07-20T06:56:17.677Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-20T06:56:17.677Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-20T06:56:17.677Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-20T06:56:17.936Z] Removing intermediate container e6b8b54d1492 [2023-07-20T06:56:17.937Z] ---> 574cf4459115 [2023-07-20T06:56:17.937Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-20T06:56:17.937Z] ---> Running in ab12884931ec [2023-07-20T06:56:18.504Z] Removing intermediate container ab12884931ec [2023-07-20T06:56:18.505Z] ---> 833827b0b642 [2023-07-20T06:56:18.505Z] 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-20T06:56:18.505Z] ---> Running in 2ce6eeec9a4d [2023-07-20T06:56:18.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-20T06:56:18.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-20T06:56:18.763Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-20T06:56:19.330Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-20T06:56:19.330Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-20T06:56:19.330Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-20T06:56:19.330Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-20T06:56:20.266Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-20T06:56:20.266Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-20T06:56:20.266Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-20T06:56:20.266Z] (7/11) Installing libblkid (2.38-r1) [2023-07-20T06:56:20.266Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-20T06:56:20.266Z] (9/11) Installing libmount (2.38-r1) [2023-07-20T06:56:20.266Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-20T06:56:20.266Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-20T06:56:20.266Z] Executing busybox-1.35.0-r17.trigger [2023-07-20T06:56:20.266Z] OK: 281 MiB in 92 packages [2023-07-20T06:56:20.834Z] Removing intermediate container 2ce6eeec9a4d [2023-07-20T06:56:20.834Z] ---> 587b524cfa77 [2023-07-20T06:56:20.834Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-20T06:56:20.834Z] ---> 688c61016b9b [2023-07-20T06:56:20.834Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-20T06:56:20.834Z] ---> f9a5901aeb25 [2023-07-20T06:56:20.834Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-20T06:56:21.093Z] ---> adc9d8756e5f [2023-07-20T06:56:21.093Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-20T06:56:21.093Z] ---> d160c3939e3e [2023-07-20T06:56:21.093Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-20T06:56:21.351Z] ---> 2ee0c50b2fab [2023-07-20T06:56:21.351Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-20T06:56:21.351Z] ---> e81a7c88c6f2 [2023-07-20T06:56:21.351Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-20T06:56:21.351Z] ---> Running in e3164c1d90d0 [2023-07-20T06:56:21.351Z] Removing intermediate container e3164c1d90d0 [2023-07-20T06:56:21.351Z] ---> b9307380e425 [2023-07-20T06:56:21.351Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-20T06:56:21.351Z] ---> Running in de2d6249fe78 [2023-07-20T06:56:21.610Z] Removing intermediate container de2d6249fe78 [2023-07-20T06:56:21.610Z] ---> 1e5d1d8c43e5 [2023-07-20T06:56:21.610Z] Step 15/17 : LABEL arch=amd64 [2023-07-20T06:56:21.610Z] ---> Running in 7b184865edf5 [2023-07-20T06:56:21.610Z] Removing intermediate container 7b184865edf5 [2023-07-20T06:56:21.610Z] ---> 7c82e29b5f46 [2023-07-20T06:56:21.610Z] Step 16/17 : LABEL git_sha=408f9ce5b2e5cabc5f9794a08906f476571894f8 [2023-07-20T06:56:21.610Z] ---> Running in af22a6b8e5b9 [2023-07-20T06:56:21.610Z] Removing intermediate container af22a6b8e5b9 [2023-07-20T06:56:21.610Z] ---> a92da04cb268 [2023-07-20T06:56:21.610Z] Step 17/17 : LABEL version=0.0.0 [2023-07-20T06:56:21.610Z] ---> Running in a7f139133988 [2023-07-20T06:56:21.869Z] Removing intermediate container a7f139133988 [2023-07-20T06:56:21.869Z] ---> 95f159a828a6 [2023-07-20T06:56:21.869Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-07-20T06:56:21.869Z] Successfully built 95f159a828a6 [2023-07-20T06:56:21.869Z] 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-20T06:56:22.310Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-20T06:56:22.310Z] [2023-07-20T06:56:22.310Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T06:56:22.606Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-20T06:56:22.607Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-20T06:56:22.607Z] 5eb5b503b376: Pulling fs layer [2023-07-20T06:56:22.607Z] 5c69ac0246d0: Pulling fs layer [2023-07-20T06:56:22.607Z] ec43610c2a17: Pulling fs layer [2023-07-20T06:56:22.607Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-20T06:56:22.607Z] 33b1e0a273af: Pulling fs layer [2023-07-20T06:56:22.607Z] 5d3b04190fa2: Pulling fs layer [2023-07-20T06:56:22.607Z] 2f39f015ded8: Pulling fs layer [2023-07-20T06:56:22.607Z] 33b1e0a273af: Waiting [2023-07-20T06:56:22.607Z] 3a2ae6a8a46f: Waiting [2023-07-20T06:56:22.607Z] 3a2ae6a8a46f: Download complete [2023-07-20T06:56:22.607Z] ec43610c2a17: Verifying Checksum [2023-07-20T06:56:22.607Z] 33b1e0a273af: Verifying Checksum [2023-07-20T06:56:22.607Z] 33b1e0a273af: Download complete [2023-07-20T06:56:22.607Z] 5d3b04190fa2: Download complete [2023-07-20T06:56:22.866Z] 5eb5b503b376: Verifying Checksum [2023-07-20T06:56:22.866Z] 5eb5b503b376: Download complete [2023-07-20T06:56:23.431Z] 2f39f015ded8: Download complete [2023-07-20T06:56:23.998Z] 5eb5b503b376: Pull complete [2023-07-20T06:56:23.998Z] 5c69ac0246d0: Pull complete [2023-07-20T06:56:24.564Z] ec43610c2a17: Pull complete [2023-07-20T06:56:24.564Z] 3a2ae6a8a46f: Pull complete [2023-07-20T06:56:24.822Z] 33b1e0a273af: Pull complete [2023-07-20T06:56:24.822Z] 5d3b04190fa2: Pull complete [2023-07-20T06:56:29.007Z] 2f39f015ded8: Pull complete [2023-07-20T06:56:29.007Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-20T06:56:29.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-20T06:56:29.007Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T06:56:29.080Z] prd-ubuntu20.04-docker-8c-8g-1643 does not seem to be running inside a container [2023-07-20T06:56:29.111Z] $ 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-470 -v /w/workspace/edgexfoundry_device-sdk-c_PR-470:/w/workspace/edgexfoundry_device-sdk-c_PR-470:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-470@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:latest cat [2023-07-20T06:56:30.257Z] $ docker top d0fe2cdf5522eb5ee00e2da5c35589e053f171abddccba1f7695b1134c26a7df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T06:56:30.656Z] ---> job-cost.sh [2023-07-20T06:56:30.657Z] lf-activate-venv: SKIPPING [2023-07-20T06:56:30.657Z] INFO: No Stack... [2023-07-20T06:56:30.916Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-20T06:56:31.176Z] INFO: Archiving Costs [Pipeline] sh [2023-07-20T06:56:31.467Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-470/archives/cost.csv [2023-07-20T06:56:31.468Z] + cut -d, -f6 [Pipeline] lock [2023-07-20T06:56:31.485Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-470-3-stack-cost] [2023-07-20T06:56:31.492Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-470-3-stack-cost] did not exist. Created. [2023-07-20T06:56:31.492Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-470-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-20T06:56:31.787Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-20T06:56:31.829Z] Stashed 1 file(s) [Pipeline] } [2023-07-20T06:56:31.836Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-470-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-20T06:56:31.851Z] $ docker stop --time=1 d0fe2cdf5522eb5ee00e2da5c35589e053f171abddccba1f7695b1134c26a7df [2023-07-20T06:56:32.999Z] $ docker rm -f --volumes d0fe2cdf5522eb5ee00e2da5c35589e053f171abddccba1f7695b1134c26a7df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-20T06:57:36.527Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1644 in /w/workspace/edgexfoundry_device-sdk-c_PR-470 [Pipeline] { [Pipeline] ws [2023-07-20T06:57:36.541Z] Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout [2023-07-20T06:57:36.589Z] Selected Git installation does not exist. Using Default [2023-07-20T06:57:36.589Z] The recommended git tool is: NONE [2023-07-20T06:57:43.227Z] using credential edgex-jenkins-ssh [2023-07-20T06:57:43.249Z] Cloning the remote Git repository [2023-07-20T06:57:43.358Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-07-20T06:57:43.538Z] > git init /w/workspace/device-sdk-c/3 # timeout=10 [2023-07-20T06:57:43.774Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-20T06:57:43.775Z] > git --version # timeout=10 [2023-07-20T06:57:43.815Z] > git --version # 'git version 2.25.1' [2023-07-20T06:57:43.817Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-20T06:57:43.985Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-20T06:57:45.208Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-20T06:57:45.233Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-20T06:57:47.020Z] Merging remotes/origin/main commit e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d into PR head commit 4f8820ad03012f3493f4efc0712d2a639770311b [2023-07-20T06:57:46.355Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-20T06:57:46.438Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-20T06:57:46.438Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-20T06:57:46.456Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/470/head:refs/remotes/origin/PR-470 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-20T06:57:47.042Z] > git config core.sparsecheckout # timeout=10 [2023-07-20T06:57:47.127Z] > git checkout -f 4f8820ad03012f3493f4efc0712d2a639770311b # timeout=10 [2023-07-20T06:57:47.558Z] Merge succeeded, producing 4b6f14aa79ba16aa32672a83e26a33d232ea3aeb [2023-07-20T06:57:47.559Z] Checking out Revision 4b6f14aa79ba16aa32672a83e26a33d232ea3aeb (PR-470) [2023-07-20T06:57:47.305Z] > git remote # timeout=10 [2023-07-20T06:57:47.346Z] > git config --get remote.origin.url # timeout=10 [2023-07-20T06:57:47.367Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-20T06:57:47.385Z] > git merge e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d # timeout=10 [2023-07-20T06:57:47.509Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-20T06:57:47.568Z] > git config core.sparsecheckout # timeout=10 [2023-07-20T06:57:47.595Z] > git checkout -f 4b6f14aa79ba16aa32672a83e26a33d232ea3aeb # timeout=10 [2023-07-20T06:57:51.384Z] Commit message: "Merge commit 'e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d' into HEAD" [2023-07-20T06:57:51.413Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [2023-07-20T06:57:51.396Z] > git rev-list --no-walk 0408e488f6682414e6e95e88899f04cfe19c90d1 # timeout=10 [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-20T06:57:52.358Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-20T06:57:52.358Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-20T06:57:52.358Z] Dload Upload Total Spent Left Speed [2023-07-20T06:57:52.358Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh [2023-07-20T06:57:53.334Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-20T06:57:53.674Z] + sudo tee /etc/docker/daemon.new [2023-07-20T06:57:53.674Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-20T06:57:53.674Z] { [2023-07-20T06:57:53.674Z] "registry-mirrors": [ [2023-07-20T06:57:53.674Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-20T06:57:53.674Z] ], [2023-07-20T06:57:53.674Z] "bip": "10.250.0.254/24", [2023-07-20T06:57:53.674Z] "hosts": [ [2023-07-20T06:57:53.674Z] "tcp://0.0.0.0:5555", [2023-07-20T06:57:53.674Z] "unix:///var/run/docker.sock" [2023-07-20T06:57:53.674Z] ], [2023-07-20T06:57:53.674Z] "mtu": 1458, [2023-07-20T06:57:53.674Z] "selinux-enabled": true, [2023-07-20T06:57:53.674Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-20T06:57:53.674Z] } [Pipeline] sh [2023-07-20T06:57:54.005Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-20T06:57:54.386Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-20T06:58:12.650Z] provisioning config files... [2023-07-20T06:58:12.672Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config4888789763872029750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T06:58:13.014Z] ---> docker-login.sh [2023-07-20T06:58:13.014Z] nexus3.edgexfoundry.org:10001 [2023-07-20T06:58:13.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:58:13.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:58:13.558Z] Configure a credential helper to remove this warning. See [2023-07-20T06:58:13.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:58:13.558Z] [2023-07-20T06:58:13.558Z] Login Succeeded [2023-07-20T06:58:13.830Z] nexus3.edgexfoundry.org:10002 [2023-07-20T06:58:13.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:58:14.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:58:14.102Z] Configure a credential helper to remove this warning. See [2023-07-20T06:58:14.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:58:14.102Z] [2023-07-20T06:58:14.102Z] Login Succeeded [2023-07-20T06:58:14.102Z] nexus3.edgexfoundry.org:10003 [2023-07-20T06:58:14.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:58:14.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:58:14.372Z] Configure a credential helper to remove this warning. See [2023-07-20T06:58:14.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:58:14.372Z] [2023-07-20T06:58:14.372Z] Login Succeeded [2023-07-20T06:58:14.372Z] nexus3.edgexfoundry.org:10004 [2023-07-20T06:58:14.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:58:14.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:58:14.644Z] Configure a credential helper to remove this warning. See [2023-07-20T06:58:14.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:58:14.644Z] [2023-07-20T06:58:14.644Z] Login Succeeded [2023-07-20T06:58:14.644Z] docker.io [2023-07-20T06:58:14.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-20T06:58:15.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-20T06:58:15.181Z] Configure a credential helper to remove this warning. See [2023-07-20T06:58:15.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-20T06:58:15.181Z] [2023-07-20T06:58:15.181Z] Login Succeeded [2023-07-20T06:58:15.181Z] ---> docker-login.sh ends [Pipeline] } [2023-07-20T06:58:15.195Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-20T06:58:15.428Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-20T06:58:15.440Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-07-20T06:58:15.461Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-20T06:58:15.474Z] ========================================================= [2023-07-20T06:58:15.474Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-07-20T06:58:15.474Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T06:58:15.806Z] + 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-20T06:58:16.074Z] Sending build context to Docker daemon 2.92MB [2023-07-20T06:58:16.074Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-20T06:58:16.074Z] Step 2/21 : FROM ${BASE} as builder [2023-07-20T06:58:16.345Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-07-20T06:58:16.346Z] 547446be3368: Pulling fs layer [2023-07-20T06:58:16.346Z] 76bd08e1cacc: Pulling fs layer [2023-07-20T06:58:16.346Z] 547446be3368: Verifying Checksum [2023-07-20T06:58:16.346Z] 547446be3368: Download complete [2023-07-20T06:58:16.936Z] 547446be3368: Pull complete [2023-07-20T06:58:18.889Z] 76bd08e1cacc: Verifying Checksum [2023-07-20T06:58:18.889Z] 76bd08e1cacc: Download complete [2023-07-20T06:58:27.121Z] 76bd08e1cacc: Pull complete [2023-07-20T06:58:27.121Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-07-20T06:58:27.121Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-07-20T06:58:27.121Z] ---> 295cd00e64f4 [2023-07-20T06:58:27.121Z] 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-20T06:58:27.121Z] ---> Running in 3d8aeb46d5f0 [2023-07-20T06:58:28.536Z] Connecting to iotech.jfrog.io (54.154.249.241:443) [2023-07-20T06:58:28.804Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-20T06:58:28.804Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-20T06:58:28.804Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-20T06:58:29.390Z] Removing intermediate container 3d8aeb46d5f0 [2023-07-20T06:58:29.390Z] ---> d614a4eae336 [2023-07-20T06:58:29.390Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-20T06:58:29.390Z] ---> Running in e8fdef046874 [2023-07-20T06:58:31.342Z] Removing intermediate container e8fdef046874 [2023-07-20T06:58:31.342Z] ---> 05b8728fedc6 [2023-07-20T06:58:31.342Z] 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-20T06:58:31.342Z] ---> Running in b43be6240460 [2023-07-20T06:58:31.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-20T06:58:32.193Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-20T06:58:32.779Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-20T06:58:33.742Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-20T06:58:33.742Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-20T06:58:33.742Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-20T06:58:33.742Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-20T06:58:33.742Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-20T06:58:33.742Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-20T06:58:34.700Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-20T06:58:34.700Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-20T06:58:34.700Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-20T06:58:34.700Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-20T06:58:34.700Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-20T06:58:36.106Z] (11/16) Installing libblkid (2.38-r1) [2023-07-20T06:58:36.106Z] (12/16) Installing libuuid (2.38-r1) [2023-07-20T06:58:36.106Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-20T06:58:36.106Z] (14/16) Installing libmount (2.38-r1) [2023-07-20T06:58:36.106Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-20T06:58:36.106Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-20T06:58:36.106Z] Executing busybox-1.35.0-r17.trigger [2023-07-20T06:58:36.106Z] OK: 286 MiB in 90 packages [2023-07-20T06:58:37.528Z] Removing intermediate container b43be6240460 [2023-07-20T06:58:37.528Z] ---> 03e690bc67ec [2023-07-20T06:58:37.528Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-20T06:58:37.528Z] ---> Running in 4c893796aed6 [2023-07-20T06:58:38.944Z] Removing intermediate container 4c893796aed6 [2023-07-20T06:58:38.944Z] ---> d8b2850fe13b [2023-07-20T06:58:38.944Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-20T06:58:39.212Z] ---> 25dd62f37874 [2023-07-20T06:58:39.212Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-20T06:58:39.798Z] ---> b9bbf73791ba [2023-07-20T06:58:39.798Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-20T06:58:40.384Z] ---> a12154c7481f [2023-07-20T06:58:40.384Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-20T06:58:40.973Z] ---> ade6b59cc01f [2023-07-20T06:58:40.973Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-20T06:58:41.242Z] ---> d6a0bdb49493 [2023-07-20T06:58:41.243Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-20T06:58:41.833Z] ---> 841454926819 [2023-07-20T06:58:41.833Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-20T06:58:41.833Z] ---> Running in 444de70390a5 [2023-07-20T06:58:42.803Z] + CPPCHECK=false [2023-07-20T06:58:42.803Z] + DOCGEN=false [2023-07-20T06:58:42.803Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-20T06:58:42.803Z] + '[' 0 -gt 0 ] [2023-07-20T06:58:42.803Z] + readlink -f ./scripts/build.sh [2023-07-20T06:58:42.803Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-20T06:58:42.803Z] + dirname /tmp/sdk/scripts [2023-07-20T06:58:42.803Z] + ROOT=/tmp/sdk [2023-07-20T06:58:42.803Z] + cd /tmp/sdk [2023-07-20T06:58:42.803Z] + mkdir -p /tmp/sdk/build/release [2023-07-20T06:58:42.803Z] + cd /tmp/sdk/build/release [2023-07-20T06:58:42.803Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-20T06:58:43.071Z] -- The C compiler identification is GNU 11.2.1 [2023-07-20T06:58:43.071Z] -- Detecting C compiler ABI info [2023-07-20T06:58:43.660Z] -- Detecting C compiler ABI info - done [2023-07-20T06:58:43.660Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-20T06:58:43.660Z] -- Detecting C compile features [2023-07-20T06:58:43.660Z] -- Detecting C compile features - done [2023-07-20T06:58:43.660Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-20T06:58:43.660Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-20T06:58:43.927Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-20T06:58:43.927Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-20T06:58:43.927Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-20T06:58:43.927Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-20T06:58:43.927Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-20T06:58:43.927Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-20T06:58:43.927Z] -- /opt/iotech/iot/1.5/include [2023-07-20T06:58:43.927Z] -- C SDK 0.0.0 for Linux [2023-07-20T06:58:43.927Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-20T06:58:44.196Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-20T06:58:44.462Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-20T06:58:44.462Z] -- Configuring done [2023-07-20T06:58:44.729Z] -- Generating done [2023-07-20T06:58:44.729Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-20T06:58:44.729Z] + make all package [2023-07-20T06:58:44.729Z] + tee release.log [2023-07-20T06:58:44.995Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-20T06:58:45.953Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-20T06:58:46.908Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-20T06:58:47.492Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-20T06:58:48.452Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-20T06:58:49.037Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-20T06:58:51.618Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-20T06:58:52.574Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-20T06:58:52.574Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-20T06:58:53.980Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-20T06:58:55.915Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-20T06:58:56.496Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-20T06:58:57.453Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-20T06:58:58.411Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-20T06:58:58.995Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-20T06:58:59.953Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-20T06:59:00.220Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-20T06:59:03.584Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-20T06:59:03.584Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-20T06:59:04.168Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-20T06:59:05.572Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-20T06:59:10.901Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-20T06:59:11.484Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-20T06:59:12.067Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-20T06:59:12.650Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-20T06:59:12.916Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-20T06:59:14.854Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-20T06:59:17.434Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-20T06:59:17.434Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-20T06:59:18.839Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-20T06:59:19.424Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-20T06:59:22.757Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-20T06:59:23.338Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-20T06:59:23.604Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-20T06:59:24.185Z] [ 68%] Linking C shared library libcsdk.so [2023-07-20T06:59:24.451Z] [ 68%] Built target csdk [2023-07-20T06:59:24.451Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-20T06:59:25.406Z] [ 72%] Linking C executable template [2023-07-20T06:59:25.674Z] [ 72%] Built target template [2023-07-20T06:59:25.674Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-20T06:59:26.636Z] [ 76%] Linking C executable device-counter [2023-07-20T06:59:26.636Z] [ 76%] Built target device-counter [2023-07-20T06:59:26.636Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-20T06:59:27.596Z] [ 80%] Linking C executable device-random [2023-07-20T06:59:27.596Z] [ 80%] Built target device-random [2023-07-20T06:59:27.596Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-20T06:59:28.179Z] [ 84%] Linking C executable device-gyro [2023-07-20T06:59:28.764Z] [ 84%] Built target device-gyro [2023-07-20T06:59:28.764Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-20T06:59:29.344Z] [ 88%] Linking C executable device-bitfields [2023-07-20T06:59:29.613Z] [ 88%] Built target device-bitfields [2023-07-20T06:59:29.613Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-20T06:59:30.569Z] [ 92%] Linking C executable template-discovery [2023-07-20T06:59:30.835Z] [ 92%] Built target template-discovery [2023-07-20T06:59:30.835Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-20T06:59:31.789Z] [ 96%] Linking C executable device-file [2023-07-20T06:59:32.057Z] [ 96%] Built target device-file [2023-07-20T06:59:32.057Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-20T06:59:32.641Z] [100%] Linking C executable device-terminal [2023-07-20T06:59:33.224Z] [100%] Built target device-terminal [2023-07-20T06:59:33.224Z] Run CPack packaging tool... [2023-07-20T06:59:33.224Z] CPack: Create package using TGZ [2023-07-20T06:59:33.224Z] CPack: Install projects [2023-07-20T06:59:33.224Z] CPack: - Run preinstall target for: Csdk [2023-07-20T06:59:33.804Z] CPack: - Install project: Csdk [] [2023-07-20T06:59:33.804Z] CPack: Create package [2023-07-20T06:59:34.070Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-07-20T06:59:34.070Z] + '[' false '=' true ] [2023-07-20T06:59:34.070Z] + '[' false '=' true ] [2023-07-20T06:59:34.070Z] + mkdir -p /tmp/sdk/build/debug [2023-07-20T06:59:34.070Z] + cd /tmp/sdk/build/debug [2023-07-20T06:59:34.070Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-20T06:59:34.337Z] -- The C compiler identification is GNU 11.2.1 [2023-07-20T06:59:34.337Z] -- Detecting C compiler ABI info [2023-07-20T06:59:34.604Z] -- Detecting C compiler ABI info - done [2023-07-20T06:59:34.604Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-20T06:59:34.604Z] -- Detecting C compile features [2023-07-20T06:59:34.604Z] -- Detecting C compile features - done [2023-07-20T06:59:34.871Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-20T06:59:34.871Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-20T06:59:34.871Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-20T06:59:34.871Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-20T06:59:34.871Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-20T06:59:34.871Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-20T06:59:34.871Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-20T06:59:35.140Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-20T06:59:35.140Z] -- /opt/iotech/iot/1.5/include [2023-07-20T06:59:35.140Z] -- C SDK 0.0.0 for Linux [2023-07-20T06:59:35.140Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-20T06:59:35.406Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-20T06:59:35.406Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-20T06:59:35.672Z] -- Configuring done [2023-07-20T06:59:35.937Z] -- Generating done [2023-07-20T06:59:35.937Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-20T06:59:35.937Z] + + maketee [2023-07-20T06:59:35.937Z] debug.log [2023-07-20T06:59:35.937Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-20T06:59:36.517Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-20T06:59:36.780Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-20T06:59:37.358Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-20T06:59:37.623Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-20T06:59:38.205Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-20T06:59:38.786Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-20T06:59:39.367Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-20T06:59:39.367Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-20T06:59:39.951Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-20T06:59:40.910Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-20T06:59:41.177Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-20T06:59:41.447Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-20T06:59:42.032Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-20T06:59:42.298Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-20T06:59:42.881Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-20T06:59:43.153Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-20T06:59:43.736Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-20T06:59:44.005Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-20T06:59:44.270Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-20T06:59:45.228Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-20T06:59:46.185Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-20T06:59:46.773Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-20T06:59:47.038Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-20T06:59:47.305Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-20T06:59:47.569Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-20T06:59:48.150Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-20T06:59:50.088Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-20T06:59:50.088Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-20T06:59:50.669Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-20T06:59:51.250Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-20T06:59:52.204Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-20T06:59:52.470Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-20T06:59:52.736Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-20T06:59:53.003Z] [ 68%] Linking C shared library libcsdk.so [2023-07-20T06:59:53.268Z] [ 68%] Built target csdk [2023-07-20T06:59:53.269Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-20T06:59:53.848Z] [ 72%] Linking C executable template [2023-07-20T06:59:54.114Z] [ 72%] Built target template [2023-07-20T06:59:54.114Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-20T06:59:54.381Z] [ 76%] Linking C executable device-counter [2023-07-20T06:59:54.649Z] [ 76%] Built target device-counter [2023-07-20T06:59:54.649Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-20T06:59:55.230Z] [ 80%] Linking C executable device-random [2023-07-20T06:59:55.497Z] [ 80%] Built target device-random [2023-07-20T06:59:55.497Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-20T06:59:55.764Z] [ 84%] Linking C executable device-gyro [2023-07-20T06:59:56.030Z] [ 84%] Built target device-gyro [2023-07-20T06:59:56.030Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-20T06:59:56.612Z] [ 88%] Linking C executable device-bitfields [2023-07-20T06:59:56.879Z] [ 88%] Built target device-bitfields [2023-07-20T06:59:56.879Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-20T06:59:57.147Z] [ 92%] Linking C executable template-discovery [2023-07-20T06:59:57.729Z] [ 92%] Built target template-discovery [2023-07-20T06:59:57.729Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-20T06:59:57.995Z] [ 96%] Linking C executable device-file [2023-07-20T06:59:58.261Z] [ 96%] Built target device-file [2023-07-20T06:59:58.261Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-20T06:59:58.842Z] [100%] Linking C executable device-terminal [2023-07-20T06:59:59.108Z] [100%] Built target device-terminal [2023-07-20T06:59:59.108Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:59:59.108Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:59:59.108Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:59:59.108Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:59:59.108Z] [ 68%] Built target csdk [2023-07-20T06:59:59.374Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:59:59.374Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:59:59.374Z] [ 72%] Built target template [2023-07-20T06:59:59.374Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:59:59.374Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:59:59.374Z] [ 76%] Built target device-counter [2023-07-20T06:59:59.374Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:59:59.374Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:59:59.374Z] [ 80%] Built target device-random [2023-07-20T06:59:59.374Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:59:59.374Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:59:59.374Z] [ 84%] Built target device-gyro [2023-07-20T06:59:59.374Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:59:59.374Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:59:59.374Z] [ 88%] Built target device-bitfields [2023-07-20T06:59:59.374Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:59:59.641Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:59:59.641Z] [ 92%] Built target template-discovery [2023-07-20T06:59:59.641Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:59:59.641Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:59:59.641Z] [ 96%] Built target device-file [2023-07-20T06:59:59.641Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-20T06:59:59.641Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:59:59.641Z] [100%] Built target device-terminal [2023-07-20T06:59:59.641Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-20T06:59:59.641Z] Install the project... [2023-07-20T06:59:59.641Z] -- Install configuration: "Release" [2023-07-20T06:59:59.641Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-20T06:59:59.641Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-20T06:59:59.641Z] -- Installing: /usr/local/include [2023-07-20T06:59:59.641Z] -- Installing: /usr/local/include/devsdk [2023-07-20T06:59:59.641Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-20T06:59:59.641Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-20T06:59:59.641Z] -- Installing: /usr/local/include/edgex [2023-07-20T06:59:59.641Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-20T06:59:59.641Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-20T06:59:59.641Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-20T06:59:59.641Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-20T06:59:59.641Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-20T06:59:59.641Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-20T06:59:59.641Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-20T06:59:59.641Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-20T06:59:59.641Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-20T07:00:01.057Z] Removing intermediate container 444de70390a5 [2023-07-20T07:00:01.057Z] ---> 51025a646052 [2023-07-20T07:00:01.057Z] Step 14/21 : FROM ${BASE} [2023-07-20T07:00:01.057Z] ---> 295cd00e64f4 [2023-07-20T07:00:01.057Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-20T07:00:01.057Z] ---> Running in 356c3bed1529 [2023-07-20T07:00:01.327Z] Removing intermediate container 356c3bed1529 [2023-07-20T07:00:01.327Z] ---> 0259e8845e63 [2023-07-20T07:00:01.327Z] 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-20T07:00:01.327Z] ---> Running in 842fa8281cdc [2023-07-20T07:00:02.286Z] Connecting to iotech.jfrog.io (52.214.181.33:443) [2023-07-20T07:00:02.868Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-20T07:00:02.868Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-20T07:00:02.868Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-20T07:00:03.626Z] Removing intermediate container 842fa8281cdc [2023-07-20T07:00:03.626Z] ---> c3538b7f2391 [2023-07-20T07:00:03.626Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-20T07:00:03.626Z] ---> Running in f6a371df2586 [2023-07-20T07:00:05.033Z] Removing intermediate container f6a371df2586 [2023-07-20T07:00:05.033Z] ---> 858e0ecb80ff [2023-07-20T07:00:05.033Z] 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-20T07:00:05.033Z] ---> Running in 947886d732d1 [2023-07-20T07:00:05.988Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-20T07:00:06.253Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-20T07:00:06.832Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-20T07:00:07.784Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-20T07:00:07.784Z] (1/7) Installing curl (8.2.0-r0) [2023-07-20T07:00:07.784Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-20T07:00:07.784Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-20T07:00:07.784Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-20T07:00:08.736Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-20T07:00:08.736Z] (6/7) Installing libuuid (2.38-r1) [2023-07-20T07:00:08.736Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-20T07:00:10.931Z] Executing busybox-1.35.0-r17.trigger [2023-07-20T07:00:10.931Z] OK: 281 MiB in 83 packages [2023-07-20T07:00:12.342Z] Removing intermediate container 947886d732d1 [2023-07-20T07:00:12.342Z] ---> 5b09c37791c8 [2023-07-20T07:00:12.342Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-20T07:00:12.608Z] ---> d2385d47c8b0 [2023-07-20T07:00:12.608Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-20T07:00:13.191Z] ---> 1a10a11ebfea [2023-07-20T07:00:13.191Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-20T07:00:13.954Z] ---> 1c6546138830 [2023-07-20T07:00:13.954Z] Successfully built 1c6546138830 [2023-07-20T07:00:13.954Z] 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-20T07:00:19.011Z] + docker inspect -f . ci-base-image-arm64 [2023-07-20T07:00:19.011Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T07:00:19.264Z] prd-ubuntu20.04-docker-arm64-4c-16g-1644 does not seem to be running inside a container [2023-07-20T07:00:19.372Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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-20T07:00:20.544Z] $ docker top b8298f9f46f0ac1af1b9a420e7f1863865bf05ccf6f849ad7448295e7fbc9a76 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-20T07:00:21.398Z] + make test [2023-07-20T07:00:21.398Z] echo "make test" [2023-07-20T07:00:21.398Z] make test [Pipeline] } [2023-07-20T07:00:21.421Z] $ docker stop --time=1 b8298f9f46f0ac1af1b9a420e7f1863865bf05ccf6f849ad7448295e7fbc9a76 [2023-07-20T07:00:25.984Z] $ docker rm -f --volumes b8298f9f46f0ac1af1b9a420e7f1863865bf05ccf6f849ad7448295e7fbc9a76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-20T07:00:26.548Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-20T07:00:26.859Z] + ls -al . [2023-07-20T07:00:26.859Z] total 208 [2023-07-20T07:00:26.859Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 06:57 . [2023-07-20T07:00:26.859Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 06:57 .. [2023-07-20T07:00:26.859Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 06:57 .git [2023-07-20T07:00:26.859Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 06:57 .github [2023-07-20T07:00:26.859Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 20 06:57 .gitignore [2023-07-20T07:00:26.859Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 20 06:57 Attribution.txt [2023-07-20T07:00:26.859Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 20 06:57 CHANGES [2023-07-20T07:00:26.859Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 20 06:57 Doxyfile [2023-07-20T07:00:26.859Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 06:57 GOVERNANCE.md [2023-07-20T07:00:26.859Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 20 06:57 Jenkinsfile [2023-07-20T07:00:26.859Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 20 06:57 LICENSE [2023-07-20T07:00:26.859Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 20 06:57 Makefile [2023-07-20T07:00:26.859Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 20 06:57 OWNERS.md [2023-07-20T07:00:26.859Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 20 06:57 README.IOT.md [2023-07-20T07:00:26.859Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 20 06:57 README.md [2023-07-20T07:00:26.859Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 20 06:57 README.v3.md [2023-07-20T07:00:26.859Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 06:55 VERSION [2023-07-20T07:00:26.859Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 06:57 docs [2023-07-20T07:00:26.859Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 06:57 include [2023-07-20T07:00:26.859Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 06:57 scripts [2023-07-20T07:00:26.859Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 06:57 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T07:00:27.189Z] + 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=4b6f14aa79ba16aa32672a83e26a33d232ea3aeb --label arch=arm64 --label version=0.0.0 . [2023-07-20T07:00:27.455Z] Sending build context to Docker daemon 2.92MB [2023-07-20T07:00:27.455Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-20T07:00:27.455Z] Step 2/17 : FROM ${BASE} [2023-07-20T07:00:27.455Z] ---> 1c6546138830 [2023-07-20T07:00:27.455Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-20T07:00:27.721Z] ---> Running in d29bdf9a1b02 [2023-07-20T07:00:27.990Z] Removing intermediate container d29bdf9a1b02 [2023-07-20T07:00:27.990Z] ---> f67682e3a3d1 [2023-07-20T07:00:27.990Z] 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-20T07:00:27.990Z] ---> Running in 4de8e7bffa32 [2023-07-20T07:00:28.947Z] Connecting to iotech.jfrog.io (52.213.51.54:443) [2023-07-20T07:00:29.527Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-20T07:00:29.527Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-20T07:00:29.527Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-20T07:00:30.121Z] Removing intermediate container 4de8e7bffa32 [2023-07-20T07:00:30.121Z] ---> f8e3843db078 [2023-07-20T07:00:30.121Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-20T07:00:30.121Z] ---> Running in 979f6fded13b [2023-07-20T07:00:31.536Z] Removing intermediate container 979f6fded13b [2023-07-20T07:00:31.536Z] ---> e01d81b32237 [2023-07-20T07:00:31.536Z] 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-20T07:00:31.803Z] ---> Running in 6859b8ad8ca3 [2023-07-20T07:00:32.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-20T07:00:32.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-20T07:00:33.343Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-20T07:00:34.296Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-20T07:00:34.296Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-20T07:00:34.296Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-20T07:00:34.296Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-20T07:00:34.872Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-20T07:00:34.872Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-20T07:00:34.872Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-20T07:00:35.136Z] (7/11) Installing libblkid (2.38-r1) [2023-07-20T07:00:35.136Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-20T07:00:35.137Z] (9/11) Installing libmount (2.38-r1) [2023-07-20T07:00:35.137Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-20T07:00:35.137Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-20T07:00:35.137Z] Executing busybox-1.35.0-r17.trigger [2023-07-20T07:00:35.137Z] OK: 287 MiB in 92 packages [2023-07-20T07:00:36.546Z] Removing intermediate container 6859b8ad8ca3 [2023-07-20T07:00:36.546Z] ---> 2acb73a84026 [2023-07-20T07:00:36.546Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-20T07:00:39.877Z] ---> 96e7f89e0acb [2023-07-20T07:00:39.877Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-20T07:00:40.462Z] ---> ba40d99a0000 [2023-07-20T07:00:40.462Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-20T07:00:41.044Z] ---> 92e3293b2ab2 [2023-07-20T07:00:41.044Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-20T07:00:41.626Z] ---> 8ab8291f4a42 [2023-07-20T07:00:41.626Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-20T07:00:41.891Z] ---> 7d3fc9e06125 [2023-07-20T07:00:41.891Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-20T07:00:42.481Z] ---> c26ba164186c [2023-07-20T07:00:42.481Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-20T07:00:42.481Z] ---> Running in 7a5d6139ad08 [2023-07-20T07:00:42.748Z] Removing intermediate container 7a5d6139ad08 [2023-07-20T07:00:42.748Z] ---> e4fb8ce891a3 [2023-07-20T07:00:42.748Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-20T07:00:42.748Z] ---> Running in 7ec50cabea75 [2023-07-20T07:00:43.016Z] Removing intermediate container 7ec50cabea75 [2023-07-20T07:00:43.016Z] ---> e8dcc7aaa8ec [2023-07-20T07:00:43.016Z] Step 15/17 : LABEL arch=arm64 [2023-07-20T07:00:43.016Z] ---> Running in 70ed38dbfad2 [2023-07-20T07:00:43.281Z] Removing intermediate container 70ed38dbfad2 [2023-07-20T07:00:43.282Z] ---> c00131900c67 [2023-07-20T07:00:43.282Z] Step 16/17 : LABEL git_sha=4b6f14aa79ba16aa32672a83e26a33d232ea3aeb [2023-07-20T07:00:43.549Z] ---> Running in f335a214557b [2023-07-20T07:00:43.550Z] Removing intermediate container f335a214557b [2023-07-20T07:00:43.550Z] ---> 6ba6ce474eaf [2023-07-20T07:00:43.550Z] Step 17/17 : LABEL version=0.0.0 [2023-07-20T07:00:43.813Z] ---> Running in ae8380d3e7f4 [2023-07-20T07:00:44.078Z] Removing intermediate container ae8380d3e7f4 [2023-07-20T07:00:44.078Z] ---> ccf58bf06c10 [2023-07-20T07:00:44.078Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-07-20T07:00:44.078Z] Successfully built ccf58bf06c10 [2023-07-20T07:00:44.078Z] 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-20T07:00:44.749Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-20T07:00:44.749Z] [2023-07-20T07:00:44.749Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T07:00:45.069Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-20T07:00:45.333Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-20T07:00:45.333Z] 8998bd30e6a1: Pulling fs layer [2023-07-20T07:00:45.333Z] 04944245beec: Pulling fs layer [2023-07-20T07:00:45.333Z] 699f458cf7ca: Pulling fs layer [2023-07-20T07:00:45.333Z] 765212b225bb: Pulling fs layer [2023-07-20T07:00:45.333Z] f23df028b6ca: Pulling fs layer [2023-07-20T07:00:45.333Z] d65c8cfc05b1: Pulling fs layer [2023-07-20T07:00:45.333Z] 2437ff75d9bd: Pulling fs layer [2023-07-20T07:00:45.333Z] f23df028b6ca: Waiting [2023-07-20T07:00:45.333Z] 765212b225bb: Waiting [2023-07-20T07:00:45.333Z] d65c8cfc05b1: Waiting [2023-07-20T07:00:45.333Z] 2437ff75d9bd: Waiting [2023-07-20T07:00:45.333Z] 04944245beec: Verifying Checksum [2023-07-20T07:00:45.333Z] 04944245beec: Download complete [2023-07-20T07:00:45.333Z] 765212b225bb: Verifying Checksum [2023-07-20T07:00:45.333Z] 765212b225bb: Download complete [2023-07-20T07:00:45.333Z] f23df028b6ca: Download complete [2023-07-20T07:00:45.333Z] d65c8cfc05b1: Verifying Checksum [2023-07-20T07:00:45.333Z] d65c8cfc05b1: Download complete [2023-07-20T07:00:45.601Z] 699f458cf7ca: Verifying Checksum [2023-07-20T07:00:45.601Z] 699f458cf7ca: Download complete [2023-07-20T07:00:45.866Z] 8998bd30e6a1: Verifying Checksum [2023-07-20T07:00:45.866Z] 8998bd30e6a1: Download complete [2023-07-20T07:00:48.445Z] 2437ff75d9bd: Verifying Checksum [2023-07-20T07:00:48.445Z] 2437ff75d9bd: Download complete [2023-07-20T07:00:49.850Z] 8998bd30e6a1: Pull complete [2023-07-20T07:00:50.117Z] 04944245beec: Pull complete [2023-07-20T07:00:54.362Z] 699f458cf7ca: Pull complete [2023-07-20T07:00:54.362Z] 765212b225bb: Pull complete [2023-07-20T07:00:54.942Z] f23df028b6ca: Pull complete [2023-07-20T07:00:55.209Z] d65c8cfc05b1: Pull complete [2023-07-20T07:01:10.194Z] 2437ff75d9bd: Pull complete [2023-07-20T07:01:10.194Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-20T07:01:10.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-20T07:01:10.194Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T07:01:10.378Z] prd-ubuntu20.04-docker-arm64-4c-16g-1644 does not seem to be running inside a container [2023-07-20T07:01:10.437Z] $ 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/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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-20T07:01:12.762Z] $ docker top b9ab89c6e325477dc48745ea1e707d7a0f5c9597b02321c824ddd340fad95b03 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-20T07:01:13.271Z] ---> job-cost.sh [2023-07-20T07:01:13.536Z] lf-activate-venv: SKIPPING [2023-07-20T07:01:13.536Z] INFO: No Stack... [2023-07-20T07:01:13.798Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-20T07:01:14.749Z] INFO: Archiving Costs [Pipeline] sh [2023-07-20T07:01:15.062Z] + cat /w/workspace/device-sdk-c/3/archives/cost.csv [2023-07-20T07:01:15.062Z] + cut -d, -f6 [Pipeline] lock [2023-07-20T07:01:15.120Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-470-3-stack-cost] [2023-07-20T07:01:15.127Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-470-3-stack-cost] did not exist. Created. [2023-07-20T07:01:15.127Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-470-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-20T07:01:15.460Z] /w/workspace/device-sdk-c/3@tmp/durable-323713da/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-20T07:01:15.789Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-20T07:01:15.809Z] Warning: overwriting stash ‘stack-cost’ [2023-07-20T07:01:16.241Z] Stashed 1 file(s) [Pipeline] } [2023-07-20T07:01:16.254Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-470-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-20T07:01:16.274Z] $ docker stop --time=1 b9ab89c6e325477dc48745ea1e707d7a0f5c9597b02321c824ddd340fad95b03 [2023-07-20T07:01:17.740Z] $ docker rm -f --volumes b9ab89c6e325477dc48745ea1e707d7a0f5c9597b02321c824ddd340fad95b03 [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-20T07:01:18.530Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-470/archives ] [2023-07-20T07:01:18.530Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-470/archives [2023-07-20T07:01:18.530Z] total 16 [2023-07-20T07:01:18.530Z] drwxr-xr-x 3 root root 4096 Jul 20 06:56 . [2023-07-20T07:01:18.530Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 06:56 .. [2023-07-20T07:01:18.530Z] drwxr-xr-x 2 root root 4096 Jul 20 06:56 cost [2023-07-20T07:01:18.530Z] -rw-r--r-- 1 root root 84 Jul 20 06:56 cost.csv [2023-07-20T07:01:18.530Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-470/archives [2023-07-20T07:01:18.530Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-470/archives [2023-07-20T07:01:18.530Z] total 16 [2023-07-20T07:01:18.530Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 06:56 . [2023-07-20T07:01:18.530Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 06:56 .. [2023-07-20T07:01:18.530Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 20 06:56 cost [2023-07-20T07:01:18.530Z] -rw-r--r-- 1 jenkins jenkins 84 Jul 20 06:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-20T07:01:18.815Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T07:01:19.671Z] ---> package-listing.sh [2023-07-20T07:01:19.672Z] ++ facter osfamily [2023-07-20T07:01:19.672Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-20T07:01:19.931Z] + OS_FAMILY=debian [2023-07-20T07:01:19.931Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-470 [2023-07-20T07:01:19.931Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-20T07:01:19.931Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-20T07:01:19.931Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-20T07:01:19.931Z] + PACKAGES=/tmp/packages_start.txt [2023-07-20T07:01:19.931Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-470 ']' [2023-07-20T07:01:19.931Z] + PACKAGES=/tmp/packages_end.txt [2023-07-20T07:01:19.931Z] + case "${OS_FAMILY}" in [2023-07-20T07:01:19.931Z] + dpkg -l [2023-07-20T07:01:19.931Z] + grep '^ii' [2023-07-20T07:01:19.931Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-20T07:01:19.931Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-20T07:01:19.931Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-20T07:01:19.931Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-470 ']' [2023-07-20T07:01:19.931Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-470/archives/ [2023-07-20T07:01:19.931Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-470/archives/ [Pipeline] echo [2023-07-20T07:01:19.941Z] 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-470/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-20T07:01:20.218Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-20T07:01:20.771Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-20T07:01:20.771Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-20T07:01:20.842Z] prd-ubuntu20.04-docker-8c-8g-1643 does not seem to be running inside a container [2023-07-20T07:01:20.873Z] $ 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-470/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-470 -v /w/workspace/edgexfoundry_device-sdk-c_PR-470:/w/workspace/edgexfoundry_device-sdk-c_PR-470:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-470@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-20T07:01:21.058Z] $ docker top 065d65fc2e7847d15f5a42afada50f078e9481059a8317b3393bbf01cc0f81aa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-20T07:01:21.406Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-20T07:01:21.690Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-20T07:01:21.975Z] + ls /var/log/sa-host [2023-07-20T07:01:21.975Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-20T07:01:22.119Z] provisioning config files... [2023-07-20T07:01:22.126Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-470@tmp/config5869437378436922361tmp [Pipeline] { [Pipeline] echo [2023-07-20T07:01:22.142Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T07:01:22.423Z] ---> create-netrc.sh [Pipeline] } [2023-07-20T07:01:22.429Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-20T07:01:22.760Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-20T07:01:22.767Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T07:01:23.057Z] ---> sudo-logs.sh [2023-07-20T07:01:23.057Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-20T07:01:23.085Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T07:01:23.366Z] ---> job-cost.sh [2023-07-20T07:01:23.367Z] lf-activate-venv: SKIPPING [2023-07-20T07:01:23.367Z] DEBUG: total: 0.2199999988079071 [2023-07-20T07:01:23.367Z] INFO: Retrieving Stack Cost... [2023-07-20T07:01:23.625Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-20T07:01:23.885Z] INFO: Archiving Costs [Pipeline] echo [2023-07-20T07:01:23.895Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-20T07:01:24.177Z] ---> logs-deploy.sh [2023-07-20T07:01:24.177Z] lf-activate-venv: SKIPPING [2023-07-20T07:01:24.177Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-470/3 [2023-07-20T07:01:24.177Z] INFO: archiving workspace using pattern(s): [2023-07-20T07:01:25.162Z] Archives upload complete. [2023-07-20T07:01:25.162Z] INFO: archiving logs to Nexus