Pull request #477 opened 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 3139641de59f77553c7e4c591b1edec7a5540cea+bfbc4d95ab8eb97644f5e71d3e0edd56fee4b05b (e34fd84e44374c976caab08158090338b8d2abf7) 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-ssh15531169415399561691.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-ssh10565334333296035642.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-477/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-477/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4698476241732322929.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-477/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17664728458351815995.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh4429856998060639921.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-477/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-477/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1282390816874920691.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-2662 in /w/workspace/edgexfoundry_device-sdk-c_PR-477 [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-477 # 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/477/head:refs/remotes/origin/PR-477 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bfbc4d95ab8eb97644f5e71d3e0edd56fee4b05b into PR head commit 3139641de59f77553c7e4c591b1edec7a5540cea Merge succeeded, producing a3784922ae8de491d3ba3ae7006828593e1b92ea Checking out Revision a3784922ae8de491d3ba3ae7006828593e1b92ea (PR-477) > git config core.sparsecheckout # timeout=10 > git checkout -f 3139641de59f77553c7e4c591b1edec7a5540cea # 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 bfbc4d95ab8eb97644f5e71d3e0edd56fee4b05b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a3784922ae8de491d3ba3ae7006828593e1b92ea # timeout=10 Commit message: "Merge commit 'bfbc4d95ab8eb97644f5e71d3e0edd56fee4b05b' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-01T15:29:12.378Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-01T15:29:12.525Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-01T15:29:12.623Z] ========================================================= [2023-08-01T15:29:12.623Z] EdgeX Global Pipelines Version Info [2023-08-01T15:29:12.623Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-01T15:29:13.392Z] ------------------- [2023-08-01T15:29:13.392Z] stable info: [2023-08-01T15:29:13.392Z] ------------------- [2023-08-01T15:29:13.392Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-01T15:29:13.392Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-01T15:29:13.392Z] Message: update stable to v1.0.250 [2023-08-01T15:29:13.965Z] ------------------- [2023-08-01T15:29:13.965Z] experimental info: [2023-08-01T15:29:13.965Z] ------------------- [2023-08-01T15:29:13.965Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-01T15:29:13.965Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-01T15:29:13.965Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-01T15:29:14.241Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-08-01T15:29:14.281Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-08-01T15:29:14.320Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-01T15:29:14.356Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-01T15:29:14.394Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-01T15:29:14.547Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-08-01T15:29:14.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-08-01T15:29:14.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-01T15:29:14.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-01T15:29:14.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-08-01T15:29:14.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-01T15:29:14.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-01T15:29:14.819Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-01T15:29:14.855Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-01T15:29:14.895Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-01T15:29:14.931Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-01T15:29:14.973Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-01T15:29:15.014Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-477 [Pipeline] echo [2023-08-01T15:29:15.053Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-477 [Pipeline] echo [2023-08-01T15:29:15.094Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-477 [Pipeline] echo [2023-08-01T15:29:15.132Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a3784922ae8de491d3ba3ae7006828593e1b92ea [Pipeline] echo [2023-08-01T15:29:15.171Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a378492 [Pipeline] echo [2023-08-01T15:29:15.210Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-01T15:29:15.322Z] provisioning config files... [2023-08-01T15:29:15.337Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-477@tmp/config5724010184701711039tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-01T15:29:15.684Z] ---> docker-login.sh [2023-08-01T15:29:15.684Z] nexus3.edgexfoundry.org:10001 [2023-08-01T15:29:15.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T15:29:15.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T15:29:15.944Z] Configure a credential helper to remove this warning. See [2023-08-01T15:29:15.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T15:29:15.944Z] [2023-08-01T15:29:15.944Z] Login Succeeded [2023-08-01T15:29:15.944Z] nexus3.edgexfoundry.org:10002 [2023-08-01T15:29:15.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T15:29:15.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T15:29:15.944Z] Configure a credential helper to remove this warning. See [2023-08-01T15:29:15.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T15:29:15.944Z] [2023-08-01T15:29:15.944Z] Login Succeeded [2023-08-01T15:29:15.944Z] nexus3.edgexfoundry.org:10003 [2023-08-01T15:29:16.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T15:29:16.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T15:29:16.206Z] Configure a credential helper to remove this warning. See [2023-08-01T15:29:16.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T15:29:16.206Z] [2023-08-01T15:29:16.206Z] Login Succeeded [2023-08-01T15:29:16.206Z] nexus3.edgexfoundry.org:10004 [2023-08-01T15:29:16.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T15:29:16.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T15:29:16.206Z] Configure a credential helper to remove this warning. See [2023-08-01T15:29:16.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T15:29:16.206Z] [2023-08-01T15:29:16.206Z] Login Succeeded [2023-08-01T15:29:16.206Z] docker.io [2023-08-01T15:29:16.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T15:29:16.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T15:29:16.728Z] Configure a credential helper to remove this warning. See [2023-08-01T15:29:16.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T15:29:16.728Z] [2023-08-01T15:29:16.728Z] Login Succeeded [2023-08-01T15:29:16.728Z] ---> docker-login.sh ends [Pipeline] } [2023-08-01T15:29:16.754Z] 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-08-01T15:29:17.396Z] + git rev-list -1 --merges a3784922ae8de491d3ba3ae7006828593e1b92ea~1..a3784922ae8de491d3ba3ae7006828593e1b92ea [Pipeline] echo [2023-08-01T15:29:17.458Z] -----------> git rev-list -1 --merges a3784922ae8de491d3ba3ae7006828593e1b92ea~1..a3784922ae8de491d3ba3ae7006828593e1b92ea a3784922ae8de491d3ba3ae7006828593e1b92ea [2023-08-01T15:29:17.458Z] a3784922ae8de491d3ba3ae7006828593e1b92ea [false] [Pipeline] sh [2023-08-01T15:29:17.774Z] + git log --format=format:%s -1 a3784922ae8de491d3ba3ae7006828593e1b92ea [Pipeline] echo [2023-08-01T15:29:17.808Z] ========================================================= [2023-08-01T15:29:17.808Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-01T15:29:17.808Z] ========================================================= 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-08-01T15:29:18.630Z] + git rev-list -1 --merges a3784922ae8de491d3ba3ae7006828593e1b92ea~1..a3784922ae8de491d3ba3ae7006828593e1b92ea [Pipeline] echo [2023-08-01T15:29:18.719Z] -----------> git rev-list -1 --merges a3784922ae8de491d3ba3ae7006828593e1b92ea~1..a3784922ae8de491d3ba3ae7006828593e1b92ea a3784922ae8de491d3ba3ae7006828593e1b92ea [2023-08-01T15:29:18.719Z] a3784922ae8de491d3ba3ae7006828593e1b92ea [false] [Pipeline] sh [2023-08-01T15:29:19.042Z] + git log --format=format:%s -1 a3784922ae8de491d3ba3ae7006828593e1b92ea [Pipeline] echo [2023-08-01T15:29:19.076Z] ========================================================= [2023-08-01T15:29:19.076Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-01T15:29:19.076Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-08-01T15:29:19.584Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-01T15:29:19.584Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-01T15:29:19.584Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-01T15:29:19.584Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-01T15:29:19.584Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-01T15:29:19.584Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-01T15:29:19.584Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-01T15:29:20.112Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-01T15:29:20.113Z] [2023-08-01T15:29:20.113Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-01T15:29:20.484Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-01T15:29:20.484Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-01T15:29:20.484Z] b85a868b505f: Pulling fs layer [2023-08-01T15:29:20.484Z] e2be974225ed: Pulling fs layer [2023-08-01T15:29:20.484Z] 339a4e72a1f5: Pulling fs layer [2023-08-01T15:29:20.484Z] 988bab9f4d93: Pulling fs layer [2023-08-01T15:29:20.484Z] 1469e6f7b9e6: Pulling fs layer [2023-08-01T15:29:20.484Z] eaf3925da568: Pulling fs layer [2023-08-01T15:29:20.484Z] bab4dde63d76: Pulling fs layer [2023-08-01T15:29:20.484Z] bde34c3a00c8: Pulling fs layer [2023-08-01T15:29:20.484Z] b352a97aabf1: Pulling fs layer [2023-08-01T15:29:20.484Z] 4872d77fe225: Pulling fs layer [2023-08-01T15:29:20.484Z] 5851b861e8e6: Pulling fs layer [2023-08-01T15:29:20.484Z] 1469e6f7b9e6: Waiting [2023-08-01T15:29:20.484Z] 988bab9f4d93: Waiting [2023-08-01T15:29:20.484Z] 4872d77fe225: Waiting [2023-08-01T15:29:20.484Z] b352a97aabf1: Waiting [2023-08-01T15:29:20.484Z] bde34c3a00c8: Waiting [2023-08-01T15:29:20.484Z] eaf3925da568: Waiting [2023-08-01T15:29:20.484Z] 5851b861e8e6: Waiting [2023-08-01T15:29:20.484Z] bab4dde63d76: Waiting [2023-08-01T15:29:20.484Z] e2be974225ed: Verifying Checksum [2023-08-01T15:29:20.484Z] e2be974225ed: Download complete [2023-08-01T15:29:20.484Z] 988bab9f4d93: Verifying Checksum [2023-08-01T15:29:20.484Z] 1469e6f7b9e6: Verifying Checksum [2023-08-01T15:29:20.484Z] 1469e6f7b9e6: Download complete [2023-08-01T15:29:20.743Z] eaf3925da568: Verifying Checksum [2023-08-01T15:29:20.743Z] eaf3925da568: Download complete [2023-08-01T15:29:20.743Z] 339a4e72a1f5: Verifying Checksum [2023-08-01T15:29:20.743Z] 339a4e72a1f5: Download complete [2023-08-01T15:29:20.743Z] bde34c3a00c8: Verifying Checksum [2023-08-01T15:29:20.743Z] bde34c3a00c8: Download complete [2023-08-01T15:29:20.743Z] b352a97aabf1: Download complete [2023-08-01T15:29:20.743Z] 5851b861e8e6: Download complete [2023-08-01T15:29:20.743Z] b85a868b505f: Verifying Checksum [2023-08-01T15:29:20.743Z] b85a868b505f: Download complete [2023-08-01T15:29:21.003Z] bab4dde63d76: Verifying Checksum [2023-08-01T15:29:21.003Z] bab4dde63d76: Download complete [2023-08-01T15:29:21.946Z] b85a868b505f: Pull complete [2023-08-01T15:29:22.205Z] e2be974225ed: Pull complete [2023-08-01T15:29:22.465Z] 339a4e72a1f5: Pull complete [2023-08-01T15:29:22.465Z] 988bab9f4d93: Pull complete [2023-08-01T15:29:22.725Z] 1469e6f7b9e6: Pull complete [2023-08-01T15:29:22.984Z] eaf3925da568: Pull complete [2023-08-01T15:29:24.901Z] bab4dde63d76: Pull complete [2023-08-01T15:29:24.901Z] bde34c3a00c8: Pull complete [2023-08-01T15:29:24.901Z] b352a97aabf1: Pull complete [2023-08-01T15:29:24.901Z] 4872d77fe225: Pull complete [2023-08-01T15:29:24.901Z] 5851b861e8e6: Pull complete [2023-08-01T15:29:24.901Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-01T15:29:24.901Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-01T15:29:24.901Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-01T15:29:25.153Z] prd-ubuntu20.04-docker-8c-8g-2662 does not seem to be running inside a container [2023-08-01T15:29:25.188Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-477 -v /w/workspace/edgexfoundry_device-sdk-c_PR-477:/w/workspace/edgexfoundry_device-sdk-c_PR-477:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-477@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-477@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-01T15:29:26.309Z] $ docker top 12ab0034353e0716172fdbc0c74fecdea20c2459306d3157454a5361b0788415 -eo pid,comm [2023-08-01T15:29:26.366Z] 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-08-01T15:29:26.366Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-01T15:29:26.494Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-01T15:29:26.494Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-01T15:29:26.616Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-01T15:29:26.621Z] $ docker exec 12ab0034353e0716172fdbc0c74fecdea20c2459306d3157454a5361b0788415 ssh-agent [2023-08-01T15:29:26.732Z] SSH_AUTH_SOCK=/tmp/ssh-6oIs3NljmGkz/agent.32 [2023-08-01T15:29:26.732Z] SSH_AGENT_PID=38 [2023-08-01T15:29:26.740Z] Running ssh-add (command line suppressed) [2023-08-01T15:29:26.845Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-477@tmp/private_key_8268622903681938429.key (/w/workspace/edgexfoundry_device-sdk-c_PR-477@tmp/private_key_8268622903681938429.key) [2023-08-01T15:29:26.857Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-01T15:29:27.191Z] + git tag --points-at HEAD [Pipeline] } [2023-08-01T15:29:27.216Z] $ docker exec --env ******** --env ******** 12ab0034353e0716172fdbc0c74fecdea20c2459306d3157454a5361b0788415 ssh-agent -k [2023-08-01T15:29:27.320Z] unset SSH_AUTH_SOCK; [2023-08-01T15:29:27.320Z] unset SSH_AGENT_PID; [2023-08-01T15:29:27.320Z] echo Agent pid 38 killed; [2023-08-01T15:29:27.327Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-01T15:29:27.417Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-01T15:29:27.417Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-01T15:29:27.544Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-01T15:29:27.549Z] $ docker exec 12ab0034353e0716172fdbc0c74fecdea20c2459306d3157454a5361b0788415 ssh-agent [2023-08-01T15:29:27.660Z] SSH_AUTH_SOCK=/tmp/ssh-ur0uV9BKZZeJ/agent.70 [2023-08-01T15:29:27.660Z] SSH_AGENT_PID=76 [2023-08-01T15:29:27.670Z] Running ssh-add (command line suppressed) [2023-08-01T15:29:27.783Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-477@tmp/private_key_14231037571762209413.key (/w/workspace/edgexfoundry_device-sdk-c_PR-477@tmp/private_key_14231037571762209413.key) [2023-08-01T15:29:27.794Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-01T15:29:28.122Z] + git semver init [2023-08-01T15:29:28.385Z] 2023-08-01 15:29:28,305 [run_init] DEBUG init version:0.0.0 force:False [2023-08-01T15:29:28.385Z] 2023-08-01 15:29:28,306 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-477/.semver [2023-08-01T15:29:28.385Z] 2023-08-01 15:29:28,307 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-477/.semver [2023-08-01T15:29:28.385Z] 2023-08-01 15:29:28,307 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-477/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-477, universal_newlines=False, shell=None, istream=None) [2023-08-01T15:29:29.323Z] 2023-08-01 15:29:29,197 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-477/.git/info/exclude [2023-08-01T15:29:29.323Z] 2023-08-01 15:29:29,198 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-477/.semver/PR-477 with force:False [2023-08-01T15:29:29.323Z] 2023-08-01 15:29:29,198 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-477/.semver/PR-477 [2023-08-01T15:29:29.323Z] 2023-08-01 15:29:29,203 [execute] INFO git cat-file --batch-check [2023-08-01T15:29:29.324Z] 2023-08-01 15:29:29,204 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-477/.semver, universal_newlines=False, shell=None, istream=) [2023-08-01T15:29:29.324Z] 2023-08-01 15:29:29,210 [execute] INFO git cat-file --batch [2023-08-01T15:29:29.324Z] 2023-08-01 15:29:29,210 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-477/.semver, universal_newlines=False, shell=None, istream=) [2023-08-01T15:29:29.324Z] 2023-08-01 15:29:29,216 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-477/.semver/PR-477 [2023-08-01T15:29:29.324Z] 0.0.0 [Pipeline] } [2023-08-01T15:29:29.351Z] $ docker exec --env ******** --env ******** 12ab0034353e0716172fdbc0c74fecdea20c2459306d3157454a5361b0788415 ssh-agent -k [2023-08-01T15:29:29.454Z] unset SSH_AUTH_SOCK; [2023-08-01T15:29:29.454Z] unset SSH_AGENT_PID; [2023-08-01T15:29:29.454Z] echo Agent pid 76 killed; [2023-08-01T15:29:29.461Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-01T15:29:29.878Z] + git semver [Pipeline] } [2023-08-01T15:29:30.165Z] $ docker stop --time=1 12ab0034353e0716172fdbc0c74fecdea20c2459306d3157454a5361b0788415 [2023-08-01T15:29:31.485Z] $ docker rm -f --volumes 12ab0034353e0716172fdbc0c74fecdea20c2459306d3157454a5361b0788415 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-01T15:29:31.880Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-01T15:29:32.181Z] Stashed 1 file(s) [Pipeline] echo [2023-08-01T15:29:32.197Z] [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-08-01T15:29:32.717Z] provisioning config files... [2023-08-01T15:29:32.727Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-477@tmp/config3480922996859020318tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-01T15:29:33.074Z] ---> docker-login.sh [2023-08-01T15:29:33.074Z] nexus3.edgexfoundry.org:10001 [2023-08-01T15:29:33.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T15:29:33.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T15:29:33.074Z] Configure a credential helper to remove this warning. See [2023-08-01T15:29:33.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T15:29:33.074Z] [2023-08-01T15:29:33.074Z] Login Succeeded [2023-08-01T15:29:33.074Z] nexus3.edgexfoundry.org:10002 [2023-08-01T15:29:33.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T15:29:33.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T15:29:33.074Z] Configure a credential helper to remove this warning. See [2023-08-01T15:29:33.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T15:29:33.074Z] [2023-08-01T15:29:33.074Z] Login Succeeded [2023-08-01T15:29:33.074Z] nexus3.edgexfoundry.org:10003 [2023-08-01T15:29:33.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T15:29:33.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T15:29:33.334Z] Configure a credential helper to remove this warning. See [2023-08-01T15:29:33.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T15:29:33.334Z] [2023-08-01T15:29:33.334Z] Login Succeeded [2023-08-01T15:29:33.334Z] nexus3.edgexfoundry.org:10004 [2023-08-01T15:29:33.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T15:29:33.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T15:29:33.334Z] Configure a credential helper to remove this warning. See [2023-08-01T15:29:33.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T15:29:33.334Z] [2023-08-01T15:29:33.334Z] Login Succeeded [2023-08-01T15:29:33.334Z] docker.io [2023-08-01T15:29:33.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T15:29:33.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T15:29:33.852Z] Configure a credential helper to remove this warning. See [2023-08-01T15:29:33.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T15:29:33.852Z] [2023-08-01T15:29:33.852Z] Login Succeeded [2023-08-01T15:29:33.852Z] ---> docker-login.sh ends [Pipeline] } [2023-08-01T15:29:33.882Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-01T15:29:34.073Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-01T15:29:34.103Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-08-01T15:29:34.134Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-01T15:29:34.163Z] ========================================================= [2023-08-01T15:29:34.163Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-08-01T15:29:34.163Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-01T15:29:34.572Z] + 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-08-01T15:29:34.572Z] Sending build context to Docker daemon 4.887MB [2023-08-01T15:29:34.572Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-08-01T15:29:34.572Z] Step 2/21 : FROM ${BASE} as builder [2023-08-01T15:29:34.572Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-08-01T15:29:34.572Z] 91d30c5bc195: Pulling fs layer [2023-08-01T15:29:34.572Z] 316e5a4585fb: Pulling fs layer [2023-08-01T15:29:34.572Z] 91d30c5bc195: Verifying Checksum [2023-08-01T15:29:34.572Z] 91d30c5bc195: Download complete [2023-08-01T15:29:34.832Z] 91d30c5bc195: Pull complete [2023-08-01T15:29:35.397Z] 316e5a4585fb: Verifying Checksum [2023-08-01T15:29:35.397Z] 316e5a4585fb: Download complete [2023-08-01T15:29:37.924Z] 316e5a4585fb: Pull complete [2023-08-01T15:29:37.924Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-08-01T15:29:37.924Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-08-01T15:29:37.924Z] ---> e83ffa357ff4 [2023-08-01T15:29:37.924Z] 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-08-01T15:29:38.493Z] ---> Running in 9606d54b1091 [2023-08-01T15:29:38.752Z] Connecting to iotech.jfrog.io (52.208.1.54:443) [2023-08-01T15:29:39.321Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-01T15:29:39.321Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-01T15:29:39.321Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-01T15:29:39.581Z] Removing intermediate container 9606d54b1091 [2023-08-01T15:29:39.581Z] ---> df3e37fa7540 [2023-08-01T15:29:39.581Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-01T15:29:39.581Z] ---> Running in 6ad7648e68fa [2023-08-01T15:29:40.148Z] Removing intermediate container 6ad7648e68fa [2023-08-01T15:29:40.148Z] ---> b19a294b5323 [2023-08-01T15:29:40.148Z] 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-08-01T15:29:40.148Z] ---> Running in 4a278541854d [2023-08-01T15:29:40.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-01T15:29:40.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-08-01T15:29:40.666Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-01T15:29:41.236Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-01T15:29:41.236Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-01T15:29:41.236Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-01T15:29:41.236Z] (3/16) Installing hiredis (1.0.2-r0) [2023-08-01T15:29:41.236Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-08-01T15:29:41.236Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-01T15:29:42.173Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-01T15:29:42.173Z] (7/16) Installing libcbor (0.9.0-r1) [2023-08-01T15:29:42.173Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-08-01T15:29:42.173Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-01T15:29:42.173Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-01T15:29:42.743Z] (11/16) Installing libblkid (2.38-r1) [2023-08-01T15:29:42.743Z] (12/16) Installing libuuid (2.38-r1) [2023-08-01T15:29:42.743Z] (13/16) Installing libfdisk (2.38-r1) [2023-08-01T15:29:42.743Z] (14/16) Installing libmount (2.38-r1) [2023-08-01T15:29:42.743Z] (15/16) Installing libsmartcols (2.38-r1) [2023-08-01T15:29:42.743Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-08-01T15:29:42.743Z] Executing busybox-1.35.0-r17.trigger [2023-08-01T15:29:42.743Z] OK: 280 MiB in 90 packages [2023-08-01T15:29:43.310Z] Removing intermediate container 4a278541854d [2023-08-01T15:29:43.310Z] ---> acb1a8696229 [2023-08-01T15:29:43.310Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-08-01T15:29:43.310Z] ---> Running in d25088e04955 [2023-08-01T15:29:43.878Z] Removing intermediate container d25088e04955 [2023-08-01T15:29:43.878Z] ---> 7ad9aa42a2ac [2023-08-01T15:29:43.878Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-08-01T15:29:44.137Z] ---> 55b2fee68477 [2023-08-01T15:29:44.138Z] Step 8/21 : COPY src /tmp/sdk/src [2023-08-01T15:29:44.138Z] ---> 1aacc6c39b29 [2023-08-01T15:29:44.138Z] Step 9/21 : COPY include /tmp/sdk/include [2023-08-01T15:29:44.402Z] ---> 378a5057de76 [2023-08-01T15:29:44.402Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-08-01T15:29:44.402Z] ---> 3906298e1479 [2023-08-01T15:29:44.402Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-08-01T15:29:44.663Z] ---> 07ca7a7765dc [2023-08-01T15:29:44.663Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-08-01T15:29:44.663Z] ---> 55dd82b413eb [2023-08-01T15:29:44.663Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-08-01T15:29:44.663Z] ---> Running in 5cf467d38d6e [2023-08-01T15:29:44.922Z] + CPPCHECK=false [2023-08-01T15:29:44.922Z] + DOCGEN=false [2023-08-01T15:29:44.922Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-08-01T15:29:44.922Z] + '[' 0 -gt 0 ] [2023-08-01T15:29:44.922Z] + readlink -f ./scripts/build.sh [2023-08-01T15:29:44.922Z] + dirname /tmp/sdk/scripts/build.sh [2023-08-01T15:29:44.922Z] + dirname /tmp/sdk/scripts [2023-08-01T15:29:44.922Z] + ROOT=/tmp/sdk [2023-08-01T15:29:44.922Z] + cd /tmp/sdk [2023-08-01T15:29:44.922Z] + mkdir -p /tmp/sdk/build/release [2023-08-01T15:29:44.922Z] + cd /tmp/sdk/build/release [2023-08-01T15:29:44.922Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-08-01T15:29:45.182Z] -- The C compiler identification is GNU 11.2.1 [2023-08-01T15:29:45.182Z] -- Detecting C compiler ABI info [2023-08-01T15:29:45.182Z] -- Detecting C compiler ABI info - done [2023-08-01T15:29:45.182Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-01T15:29:45.182Z] -- Detecting C compile features [2023-08-01T15:29:45.182Z] -- Detecting C compile features - done [2023-08-01T15:29:45.182Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-01T15:29:45.182Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-01T15:29:45.182Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-01T15:29:45.182Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-01T15:29:45.182Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-01T15:29:45.182Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-01T15:29:45.182Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-01T15:29:45.182Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-01T15:29:45.182Z] -- /opt/iotech/iot/1.5/include [2023-08-01T15:29:45.182Z] -- C SDK 0.0.0 for Linux [2023-08-01T15:29:45.182Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-01T15:29:45.443Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-01T15:29:45.443Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-01T15:29:45.443Z] -- Configuring done [2023-08-01T15:29:45.443Z] -- Generating done [2023-08-01T15:29:45.443Z] -- Build files have been written to: /tmp/sdk/build/release [2023-08-01T15:29:45.443Z] + make all package [2023-08-01T15:29:45.443Z] + tee release.log [2023-08-01T15:29:45.443Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-01T15:29:45.702Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-08-01T15:29:45.962Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-08-01T15:29:45.962Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-08-01T15:29:46.222Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-08-01T15:29:46.222Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-08-01T15:29:46.482Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-08-01T15:29:46.741Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-08-01T15:29:46.741Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-08-01T15:29:47.002Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-08-01T15:29:47.261Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-08-01T15:29:47.522Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-08-01T15:29:47.522Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-08-01T15:29:47.543Z] Still waiting to schedule task [2023-08-01T15:29:47.543Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-01T15:29:47.781Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-08-01T15:29:47.781Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-08-01T15:29:48.041Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-08-01T15:29:48.042Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-08-01T15:29:48.614Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-08-01T15:29:48.614Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-08-01T15:29:48.614Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-08-01T15:29:48.873Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-08-01T15:29:49.811Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-08-01T15:29:50.073Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-08-01T15:29:50.074Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-08-01T15:29:50.074Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-08-01T15:29:50.333Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-08-01T15:29:50.591Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-08-01T15:29:50.850Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-08-01T15:29:51.110Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-08-01T15:29:51.110Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-08-01T15:29:51.370Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-08-01T15:29:51.938Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-08-01T15:29:51.938Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-08-01T15:29:51.938Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-08-01T15:29:52.198Z] [ 68%] Linking C shared library libcsdk.so [2023-08-01T15:29:52.199Z] [ 68%] Built target csdk [2023-08-01T15:29:52.199Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-08-01T15:29:52.458Z] [ 72%] Linking C executable template [2023-08-01T15:29:52.458Z] [ 72%] Built target template [2023-08-01T15:29:52.458Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-08-01T15:29:52.458Z] [ 76%] Linking C executable device-counter [2023-08-01T15:29:52.716Z] [ 76%] Built target device-counter [2023-08-01T15:29:52.716Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-08-01T15:29:52.716Z] [ 80%] Linking C executable device-random [2023-08-01T15:29:52.716Z] [ 80%] Built target device-random [2023-08-01T15:29:52.716Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-08-01T15:29:52.974Z] [ 84%] Linking C executable device-gyro [2023-08-01T15:29:52.974Z] [ 84%] Built target device-gyro [2023-08-01T15:29:52.974Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-08-01T15:29:52.974Z] [ 88%] Linking C executable device-bitfields [2023-08-01T15:29:53.233Z] [ 88%] Built target device-bitfields [2023-08-01T15:29:53.233Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-08-01T15:29:53.233Z] [ 92%] Linking C executable template-discovery [2023-08-01T15:29:53.493Z] [ 92%] Built target template-discovery [2023-08-01T15:29:53.493Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-08-01T15:29:53.493Z] [ 96%] Linking C executable device-file [2023-08-01T15:29:53.493Z] [ 96%] Built target device-file [2023-08-01T15:29:53.753Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-08-01T15:29:53.753Z] [100%] Linking C executable device-terminal [2023-08-01T15:29:53.753Z] [100%] Built target device-terminal [2023-08-01T15:29:53.753Z] Run CPack packaging tool... [2023-08-01T15:29:53.753Z] CPack: Create package using TGZ [2023-08-01T15:29:53.753Z] CPack: Install projects [2023-08-01T15:29:53.753Z] CPack: - Run preinstall target for: Csdk [2023-08-01T15:29:54.010Z] CPack: - Install project: Csdk [] [2023-08-01T15:29:54.010Z] CPack: Create package [2023-08-01T15:29:54.010Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-08-01T15:29:54.010Z] + '[' false '=' true ] [2023-08-01T15:29:54.010Z] + '[' false '=' true ] [2023-08-01T15:29:54.010Z] + mkdir -p /tmp/sdk/build/debug [2023-08-01T15:29:54.010Z] + cd /tmp/sdk/build/debug [2023-08-01T15:29:54.010Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-08-01T15:29:54.268Z] -- The C compiler identification is GNU 11.2.1 [2023-08-01T15:29:54.268Z] -- Detecting C compiler ABI info [2023-08-01T15:29:54.268Z] -- Detecting C compiler ABI info - done [2023-08-01T15:29:54.268Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-01T15:29:54.268Z] -- Detecting C compile features [2023-08-01T15:29:54.268Z] -- Detecting C compile features - done [2023-08-01T15:29:54.268Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-01T15:29:54.268Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-01T15:29:54.268Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-01T15:29:54.268Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-01T15:29:54.268Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-01T15:29:54.268Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-01T15:29:54.268Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-01T15:29:54.268Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-01T15:29:54.268Z] -- /opt/iotech/iot/1.5/include [2023-08-01T15:29:54.268Z] -- C SDK 0.0.0 for Linux [2023-08-01T15:29:54.268Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-01T15:29:54.527Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-01T15:29:54.527Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-01T15:29:54.527Z] -- Configuring done [2023-08-01T15:29:54.527Z] -- Generating done [2023-08-01T15:29:54.527Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-08-01T15:29:54.527Z] + make [2023-08-01T15:29:54.527Z] + tee debug.log [2023-08-01T15:29:54.527Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-01T15:29:54.788Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-08-01T15:29:54.788Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-08-01T15:29:54.788Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-08-01T15:29:55.049Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-08-01T15:29:55.049Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-08-01T15:29:55.049Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-08-01T15:29:55.310Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-08-01T15:29:55.310Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-08-01T15:29:55.310Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-08-01T15:29:55.570Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-08-01T15:29:55.570Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-08-01T15:29:55.570Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-08-01T15:29:55.829Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-08-01T15:29:55.829Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-08-01T15:29:55.829Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-08-01T15:29:55.829Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-08-01T15:29:56.088Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-08-01T15:29:56.088Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-08-01T15:29:56.088Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-08-01T15:29:56.346Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-08-01T15:29:56.605Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-08-01T15:29:56.605Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-08-01T15:29:56.605Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-08-01T15:29:56.865Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-08-01T15:29:56.865Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-08-01T15:29:56.865Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-08-01T15:29:57.124Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-08-01T15:29:57.382Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-08-01T15:29:57.382Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-08-01T15:29:57.382Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-08-01T15:29:57.642Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-08-01T15:29:57.642Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-08-01T15:29:57.901Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-08-01T15:29:57.901Z] [ 68%] Linking C shared library libcsdk.so [2023-08-01T15:29:57.901Z] [ 68%] Built target csdk [2023-08-01T15:29:57.901Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-08-01T15:29:57.901Z] [ 72%] Linking C executable template [2023-08-01T15:29:58.161Z] [ 72%] Built target template [2023-08-01T15:29:58.161Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-08-01T15:29:58.161Z] [ 76%] Linking C executable device-counter [2023-08-01T15:29:58.161Z] [ 76%] Built target device-counter [2023-08-01T15:29:58.161Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-08-01T15:29:58.161Z] [ 80%] Linking C executable device-random [2023-08-01T15:29:58.420Z] [ 80%] Built target device-random [2023-08-01T15:29:58.420Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-08-01T15:29:58.420Z] [ 84%] Linking C executable device-gyro [2023-08-01T15:29:58.420Z] [ 84%] Built target device-gyro [2023-08-01T15:29:58.420Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-08-01T15:29:58.678Z] [ 88%] Linking C executable device-bitfields [2023-08-01T15:29:58.678Z] [ 88%] Built target device-bitfields [2023-08-01T15:29:58.678Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-08-01T15:29:58.678Z] [ 92%] Linking C executable template-discovery [2023-08-01T15:29:58.678Z] [ 92%] Built target template-discovery [2023-08-01T15:29:58.938Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-08-01T15:29:58.938Z] [ 96%] Linking C executable device-file [2023-08-01T15:29:58.938Z] [ 96%] Built target device-file [2023-08-01T15:29:58.938Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-08-01T15:29:58.938Z] [100%] Linking C executable device-terminal [2023-08-01T15:29:59.196Z] [100%] Built target device-terminal [2023-08-01T15:29:59.196Z] make: Entering directory '/tmp/sdk/build/release' [2023-08-01T15:29:59.196Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-08-01T15:29:59.196Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-01T15:29:59.196Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T15:29:59.196Z] [ 68%] Built target csdk [2023-08-01T15:29:59.196Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-01T15:29:59.196Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T15:29:59.196Z] [ 72%] Built target template [2023-08-01T15:29:59.196Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-01T15:29:59.196Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T15:29:59.196Z] [ 76%] Built target device-counter [2023-08-01T15:29:59.196Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-01T15:29:59.196Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T15:29:59.196Z] [ 80%] Built target device-random [2023-08-01T15:29:59.196Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-01T15:29:59.196Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T15:29:59.196Z] [ 84%] Built target device-gyro [2023-08-01T15:29:59.196Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-01T15:29:59.196Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T15:29:59.196Z] [ 88%] Built target device-bitfields [2023-08-01T15:29:59.196Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-01T15:29:59.196Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T15:29:59.196Z] [ 92%] Built target template-discovery [2023-08-01T15:29:59.196Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-01T15:29:59.196Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T15:29:59.459Z] [ 96%] Built target device-file [2023-08-01T15:29:59.459Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-01T15:29:59.459Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T15:29:59.459Z] [100%] Built target device-terminal [2023-08-01T15:29:59.459Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T15:29:59.459Z] Install the project... [2023-08-01T15:29:59.459Z] -- Install configuration: "Release" [2023-08-01T15:29:59.459Z] -- Installing: /usr/local/lib/libcsdk.so [2023-08-01T15:29:59.459Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-08-01T15:29:59.459Z] -- Installing: /usr/local/include [2023-08-01T15:29:59.459Z] -- Installing: /usr/local/include/devsdk [2023-08-01T15:29:59.459Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-08-01T15:29:59.459Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-08-01T15:29:59.459Z] -- Installing: /usr/local/include/edgex [2023-08-01T15:29:59.459Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-08-01T15:29:59.459Z] -- Installing: /usr/local/include/edgex/devices.h [2023-08-01T15:29:59.459Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-08-01T15:29:59.459Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-08-01T15:29:59.459Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-08-01T15:29:59.459Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-08-01T15:29:59.459Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-08-01T15:29:59.459Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-08-01T15:29:59.459Z] make: Leaving directory '/tmp/sdk/build/release' [2023-08-01T15:29:59.717Z] Removing intermediate container 5cf467d38d6e [2023-08-01T15:29:59.717Z] ---> f06c659ae411 [2023-08-01T15:29:59.717Z] Step 14/21 : FROM ${BASE} [2023-08-01T15:29:59.717Z] ---> e83ffa357ff4 [2023-08-01T15:29:59.717Z] Step 15/21 : LABEL maintainer="IOTech " [2023-08-01T15:29:59.976Z] ---> Running in f2d0c90833fe [2023-08-01T15:29:59.976Z] Removing intermediate container f2d0c90833fe [2023-08-01T15:29:59.976Z] ---> 88454b9bc744 [2023-08-01T15:29:59.976Z] 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-08-01T15:29:59.976Z] ---> Running in fa5ca6857544 [2023-08-01T15:30:00.236Z] Connecting to iotech.jfrog.io (52.19.176.93:443) [2023-08-01T15:30:00.801Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-01T15:30:00.801Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-01T15:30:00.801Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-01T15:30:01.060Z] Removing intermediate container fa5ca6857544 [2023-08-01T15:30:01.060Z] ---> d919271736d5 [2023-08-01T15:30:01.060Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-01T15:30:01.060Z] ---> Running in e59e62cb0a7d [2023-08-01T15:30:01.643Z] Removing intermediate container e59e62cb0a7d [2023-08-01T15:30:01.643Z] ---> c3475fe84a12 [2023-08-01T15:30:01.643Z] 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-08-01T15:30:01.643Z] ---> Running in b6d0be028c6a [2023-08-01T15:30:01.903Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-01T15:30:01.903Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-08-01T15:30:02.162Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-01T15:30:02.731Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-01T15:30:02.731Z] (1/7) Installing curl (8.2.1-r0) [2023-08-01T15:30:02.731Z] (2/7) Installing hiredis (1.0.2-r0) [2023-08-01T15:30:02.731Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-08-01T15:30:02.731Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-08-01T15:30:03.299Z] (5/7) Installing libcbor (0.9.0-r1) [2023-08-01T15:30:03.299Z] (6/7) Installing libuuid (2.38-r1) [2023-08-01T15:30:03.299Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-01T15:30:04.233Z] Executing busybox-1.35.0-r17.trigger [2023-08-01T15:30:04.233Z] OK: 276 MiB in 83 packages [2023-08-01T15:30:04.490Z] Removing intermediate container b6d0be028c6a [2023-08-01T15:30:04.490Z] ---> d0f6e8fe409b [2023-08-01T15:30:04.490Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-08-01T15:30:04.490Z] ---> c90afc12bdf2 [2023-08-01T15:30:04.490Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-08-01T15:30:04.751Z] ---> 238196f01599 [2023-08-01T15:30:04.751Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-08-01T15:30:04.751Z] ---> 3152f6721aa4 [2023-08-01T15:30:04.751Z] Successfully built 3152f6721aa4 [2023-08-01T15:30:04.751Z] 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-08-01T15:30:05.422Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-01T15:30:05.422Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-01T15:30:05.574Z] prd-ubuntu20.04-docker-8c-8g-2662 does not seem to be running inside a container [2023-08-01T15:30:05.609Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-477 -v /w/workspace/edgexfoundry_device-sdk-c_PR-477:/w/workspace/edgexfoundry_device-sdk-c_PR-477:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-477@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-477@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 ******** ci-base-image-x86_64 cat [2023-08-01T15:30:05.954Z] $ docker top a333fb0dff9682fe85639f7c60eea58c51a34580c9d19a633426bba74db732f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-01T15:30:06.353Z] + make test [2023-08-01T15:30:06.353Z] echo "make test" [2023-08-01T15:30:06.353Z] make test [Pipeline] } [2023-08-01T15:30:06.389Z] $ docker stop --time=1 a333fb0dff9682fe85639f7c60eea58c51a34580c9d19a633426bba74db732f2 [2023-08-01T15:30:07.649Z] $ docker rm -f --volumes a333fb0dff9682fe85639f7c60eea58c51a34580c9d19a633426bba74db732f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-01T15:30:08.489Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-01T15:30:08.800Z] + ls -al . [2023-08-01T15:30:08.800Z] total 212 [2023-08-01T15:30:08.800Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 1 15:29 . [2023-08-01T15:30:08.800Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 15:29 .. [2023-08-01T15:30:08.800Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 15:29 .git [2023-08-01T15:30:08.800Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 15:29 .github [2023-08-01T15:30:08.800Z] -rw-rw-r-- 1 jenkins jenkins 176 Aug 1 15:29 .gitignore [2023-08-01T15:30:08.800Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 15:29 .semver [2023-08-01T15:30:08.800Z] -rw-rw-r-- 1 jenkins jenkins 2908 Aug 1 15:29 Attribution.txt [2023-08-01T15:30:08.800Z] -rw-rw-r-- 1 jenkins jenkins 9268 Aug 1 15:29 CHANGES [2023-08-01T15:30:08.800Z] -rw-rw-r-- 1 jenkins jenkins 108574 Aug 1 15:29 Doxyfile [2023-08-01T15:30:08.800Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 15:29 GOVERNANCE.md [2023-08-01T15:30:08.800Z] -rw-rw-r-- 1 jenkins jenkins 784 Aug 1 15:29 Jenkinsfile [2023-08-01T15:30:08.800Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 1 15:29 LICENSE [2023-08-01T15:30:08.800Z] -rw-rw-r-- 1 jenkins jenkins 444 Aug 1 15:29 Makefile [2023-08-01T15:30:08.800Z] -rw-rw-r-- 1 jenkins jenkins 618 Aug 1 15:29 OWNERS.md [2023-08-01T15:30:08.800Z] -rw-rw-r-- 1 jenkins jenkins 1651 Aug 1 15:29 README.IOT.md [2023-08-01T15:30:08.800Z] -rw-rw-r-- 1 jenkins jenkins 4215 Aug 1 15:29 README.md [2023-08-01T15:30:08.800Z] -rw-rw-r-- 1 jenkins jenkins 1245 Aug 1 15:29 README.v3.md [2023-08-01T15:30:08.800Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 15:29 VERSION [2023-08-01T15:30:08.800Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 15:29 docs [2023-08-01T15:30:08.800Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 15:29 include [2023-08-01T15:30:08.800Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 15:29 scripts [2023-08-01T15:30:08.800Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 15:29 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-01T15:30:09.191Z] + 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=a3784922ae8de491d3ba3ae7006828593e1b92ea --label arch=amd64 --label version=0.0.0 . [2023-08-01T15:30:09.191Z] Sending build context to Docker daemon 4.887MB [2023-08-01T15:30:09.191Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-08-01T15:30:09.191Z] Step 2/17 : FROM ${BASE} [2023-08-01T15:30:09.191Z] ---> 3152f6721aa4 [2023-08-01T15:30:09.191Z] Step 3/17 : LABEL maintainer="IOTech " [2023-08-01T15:30:09.191Z] ---> Running in 192d8562acaa [2023-08-01T15:30:09.191Z] Removing intermediate container 192d8562acaa [2023-08-01T15:30:09.191Z] ---> 01e31ce9509b [2023-08-01T15:30:09.191Z] 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-08-01T15:30:09.452Z] ---> Running in 722df6b8ffaf [2023-08-01T15:30:09.713Z] Connecting to iotech.jfrog.io (52.208.1.54:443) [2023-08-01T15:30:09.971Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-01T15:30:09.971Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-01T15:30:09.971Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-01T15:30:10.230Z] Removing intermediate container 722df6b8ffaf [2023-08-01T15:30:10.230Z] ---> eb58dfcefcad [2023-08-01T15:30:10.230Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-01T15:30:10.230Z] ---> Running in a351375190ea [2023-08-01T15:30:10.795Z] Removing intermediate container a351375190ea [2023-08-01T15:30:10.795Z] ---> f514d3c0774e [2023-08-01T15:30:10.795Z] 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-08-01T15:30:10.795Z] ---> Running in f04d8126a5cd [2023-08-01T15:30:11.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-01T15:30:11.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-08-01T15:30:11.316Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-01T15:30:11.884Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-01T15:30:11.884Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-01T15:30:11.884Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-01T15:30:11.884Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-01T15:30:12.452Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-01T15:30:12.711Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-08-01T15:30:12.711Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-01T15:30:12.711Z] (7/11) Installing libblkid (2.38-r1) [2023-08-01T15:30:12.711Z] (8/11) Installing libfdisk (2.38-r1) [2023-08-01T15:30:12.711Z] (9/11) Installing libmount (2.38-r1) [2023-08-01T15:30:12.711Z] (10/11) Installing libsmartcols (2.38-r1) [2023-08-01T15:30:12.711Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-08-01T15:30:12.711Z] Executing busybox-1.35.0-r17.trigger [2023-08-01T15:30:12.711Z] OK: 281 MiB in 92 packages [2023-08-01T15:30:12.972Z] Removing intermediate container f04d8126a5cd [2023-08-01T15:30:12.972Z] ---> 9ec945ebfe39 [2023-08-01T15:30:12.972Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-08-01T15:30:13.230Z] ---> 69f3efb8d0db [2023-08-01T15:30:13.230Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-08-01T15:30:13.489Z] ---> 4575c082d3c0 [2023-08-01T15:30:13.489Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-08-01T15:30:13.489Z] ---> 92e232b04585 [2023-08-01T15:30:13.489Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-08-01T15:30:13.748Z] ---> 1bb0d01e8e3f [2023-08-01T15:30:13.748Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-08-01T15:30:13.748Z] ---> 458210522ee6 [2023-08-01T15:30:13.748Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-08-01T15:30:14.008Z] ---> e387e156eef3 [2023-08-01T15:30:14.008Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-08-01T15:30:14.008Z] ---> Running in 5c4408e1abab [2023-08-01T15:30:14.008Z] Removing intermediate container 5c4408e1abab [2023-08-01T15:30:14.008Z] ---> 2e0af5426b8d [2023-08-01T15:30:14.008Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-08-01T15:30:14.008Z] ---> Running in 55632193a340 [2023-08-01T15:30:14.008Z] Removing intermediate container 55632193a340 [2023-08-01T15:30:14.008Z] ---> 3fea8e87f263 [2023-08-01T15:30:14.008Z] Step 15/17 : LABEL arch=amd64 [2023-08-01T15:30:14.008Z] ---> Running in 8ca1b6cf038d [2023-08-01T15:30:14.267Z] Removing intermediate container 8ca1b6cf038d [2023-08-01T15:30:14.267Z] ---> 85079d1c0a78 [2023-08-01T15:30:14.267Z] Step 16/17 : LABEL git_sha=a3784922ae8de491d3ba3ae7006828593e1b92ea [2023-08-01T15:30:14.267Z] ---> Running in 55fa864386cd [2023-08-01T15:30:14.267Z] Removing intermediate container 55fa864386cd [2023-08-01T15:30:14.267Z] ---> 2c9dec7c5e31 [2023-08-01T15:30:14.267Z] Step 17/17 : LABEL version=0.0.0 [2023-08-01T15:30:14.267Z] ---> Running in 9141e3572c40 [2023-08-01T15:30:14.267Z] Removing intermediate container 9141e3572c40 [2023-08-01T15:30:14.267Z] ---> 43c28bc8b83d [2023-08-01T15:30:14.267Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-08-01T15:30:14.527Z] Successfully built 43c28bc8b83d [2023-08-01T15:30:14.527Z] 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-08-01T15:30:15.440Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-01T15:30:15.440Z] [2023-08-01T15:30:15.440Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-01T15:30:15.809Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-01T15:30:15.809Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-01T15:30:15.809Z] 5eb5b503b376: Pulling fs layer [2023-08-01T15:30:15.809Z] 5c69ac0246d0: Pulling fs layer [2023-08-01T15:30:15.809Z] ec43610c2a17: Pulling fs layer [2023-08-01T15:30:15.809Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-01T15:30:15.809Z] 33b1e0a273af: Pulling fs layer [2023-08-01T15:30:15.809Z] 5d3b04190fa2: Pulling fs layer [2023-08-01T15:30:15.809Z] 2f39f015ded8: Pulling fs layer [2023-08-01T15:30:15.809Z] 5d3b04190fa2: Waiting [2023-08-01T15:30:15.809Z] 2f39f015ded8: Waiting [2023-08-01T15:30:15.809Z] 33b1e0a273af: Waiting [2023-08-01T15:30:15.809Z] 5c69ac0246d0: Verifying Checksum [2023-08-01T15:30:15.809Z] 5c69ac0246d0: Download complete [2023-08-01T15:30:15.809Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-01T15:30:15.809Z] 3a2ae6a8a46f: Download complete [2023-08-01T15:30:15.809Z] ec43610c2a17: Verifying Checksum [2023-08-01T15:30:15.809Z] ec43610c2a17: Download complete [2023-08-01T15:30:15.809Z] 33b1e0a273af: Verifying Checksum [2023-08-01T15:30:15.809Z] 33b1e0a273af: Download complete [2023-08-01T15:30:16.067Z] 5d3b04190fa2: Verifying Checksum [2023-08-01T15:30:16.067Z] 5d3b04190fa2: Download complete [2023-08-01T15:30:16.067Z] 5eb5b503b376: Download complete [2023-08-01T15:30:16.634Z] 2f39f015ded8: Download complete [2023-08-01T15:30:17.201Z] 5eb5b503b376: Pull complete [2023-08-01T15:30:17.201Z] 5c69ac0246d0: Pull complete [2023-08-01T15:30:17.766Z] ec43610c2a17: Pull complete [2023-08-01T15:30:17.766Z] 3a2ae6a8a46f: Pull complete [2023-08-01T15:30:18.024Z] 33b1e0a273af: Pull complete [2023-08-01T15:30:18.024Z] 5d3b04190fa2: Pull complete [2023-08-01T15:30:22.214Z] 2f39f015ded8: Pull complete [2023-08-01T15:30:22.214Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-01T15:30:22.214Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-01T15:30:22.214Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-01T15:30:22.430Z] prd-ubuntu20.04-docker-8c-8g-2662 does not seem to be running inside a container [2023-08-01T15:30:22.465Z] $ 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-477 -v /w/workspace/edgexfoundry_device-sdk-c_PR-477:/w/workspace/edgexfoundry_device-sdk-c_PR-477:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-477@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-477@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-01T15:30:23.672Z] $ docker top e840a3b8298474ab69772aca890d08bced271754dc547f0ddbfad7437dbeb9ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-01T15:30:24.131Z] ---> job-cost.sh [2023-08-01T15:30:24.131Z] lf-activate-venv: SKIPPING [2023-08-01T15:30:24.131Z] INFO: No Stack... [2023-08-01T15:30:24.391Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-01T15:30:24.652Z] INFO: Archiving Costs [Pipeline] sh [2023-08-01T15:30:24.967Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-477/archives/cost.csv [2023-08-01T15:30:24.967Z] + cut -d, -f6 [Pipeline] lock [2023-08-01T15:30:25.011Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-477-1-stack-cost] [2023-08-01T15:30:25.016Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-477-1-stack-cost] did not exist. Created. [2023-08-01T15:30:25.016Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-477-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-01T15:30:25.408Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-01T15:30:25.477Z] Stashed 1 file(s) [Pipeline] } [2023-08-01T15:30:25.493Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-477-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-01T15:30:25.569Z] $ docker stop --time=1 e840a3b8298474ab69772aca890d08bced271754dc547f0ddbfad7437dbeb9ff [2023-08-01T15:30:26.709Z] $ docker rm -f --volumes e840a3b8298474ab69772aca890d08bced271754dc547f0ddbfad7437dbeb9ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-01T15:31:14.976Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2663 in /w/workspace/edgexfoundry_device-sdk-c_PR-477 [Pipeline] { [Pipeline] ws [2023-08-01T15:31:15.034Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2023-08-01T15:31:15.121Z] Selected Git installation does not exist. Using Default [2023-08-01T15:31:15.121Z] The recommended git tool is: NONE [2023-08-01T15:31:20.103Z] using credential edgex-jenkins-ssh [2023-08-01T15:31:20.129Z] Cloning the remote Git repository [2023-08-01T15:31:20.169Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-08-01T15:31:20.282Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2023-08-01T15:31:20.435Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-08-01T15:31:20.435Z] > git --version # timeout=10 [2023-08-01T15:31:20.457Z] > git --version # 'git version 2.25.1' [2023-08-01T15:31:20.459Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-01T15:31:20.602Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-01T15:31:21.773Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-08-01T15:31:21.797Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-01T15:31:22.642Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-08-01T15:31:23.376Z] Merging remotes/origin/main commit bfbc4d95ab8eb97644f5e71d3e0edd56fee4b05b into PR head commit 3139641de59f77553c7e4c591b1edec7a5540cea [2023-08-01T15:31:23.762Z] Merge succeeded, producing 82e7ebec1ccb23917b2d91acbc6e3e506ae47f7a [2023-08-01T15:31:23.762Z] Checking out Revision 82e7ebec1ccb23917b2d91acbc6e3e506ae47f7a (PR-477) [2023-08-01T15:31:22.685Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-08-01T15:31:22.686Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-01T15:31:22.702Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/477/head:refs/remotes/origin/PR-477 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-01T15:31:23.395Z] > git config core.sparsecheckout # timeout=10 [2023-08-01T15:31:23.474Z] > git checkout -f 3139641de59f77553c7e4c591b1edec7a5540cea # timeout=10 [2023-08-01T15:31:23.590Z] > git remote # timeout=10 [2023-08-01T15:31:23.607Z] > git config --get remote.origin.url # timeout=10 [2023-08-01T15:31:23.629Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-01T15:31:23.641Z] > git merge bfbc4d95ab8eb97644f5e71d3e0edd56fee4b05b # timeout=10 [2023-08-01T15:31:23.743Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-01T15:31:23.770Z] > git config core.sparsecheckout # timeout=10 [2023-08-01T15:31:23.784Z] > git checkout -f 82e7ebec1ccb23917b2d91acbc6e3e506ae47f7a # timeout=10 [2023-08-01T15:31:27.275Z] Commit message: "Merge commit 'bfbc4d95ab8eb97644f5e71d3e0edd56fee4b05b' into HEAD" [2023-08-01T15:31:27.275Z] First time build. Skipping changelog. [2023-08-01T15:31:27.330Z] > git --version # timeout=10 [2023-08-01T15:31:27.351Z] > git --version # 'git version 2.25.1' [2023-08-01T15:31:27.366Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-01T15:31:28.417Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-01T15:31:28.417Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-01T15:31:28.417Z] Dload Upload Total Spent Left Speed [2023-08-01T15:31:28.417Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 86155 [Pipeline] sh [2023-08-01T15:31:29.122Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-01T15:31:29.470Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-01T15:31:29.470Z] + sudo tee /etc/docker/daemon.new [2023-08-01T15:31:29.470Z] { [2023-08-01T15:31:29.470Z] "registry-mirrors": [ [2023-08-01T15:31:29.470Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-01T15:31:29.470Z] ], [2023-08-01T15:31:29.470Z] "bip": "10.250.0.254/24", [2023-08-01T15:31:29.470Z] "hosts": [ [2023-08-01T15:31:29.470Z] "tcp://0.0.0.0:5555", [2023-08-01T15:31:29.470Z] "unix:///var/run/docker.sock" [2023-08-01T15:31:29.470Z] ], [2023-08-01T15:31:29.470Z] "mtu": 1458, [2023-08-01T15:31:29.470Z] "selinux-enabled": true, [2023-08-01T15:31:29.470Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-01T15:31:29.470Z] } [Pipeline] sh [2023-08-01T15:31:29.809Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-01T15:31:30.170Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-01T15:31:48.496Z] provisioning config files... [2023-08-01T15:31:48.522Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config7503409843903433280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-01T15:31:48.912Z] ---> docker-login.sh [2023-08-01T15:31:48.912Z] nexus3.edgexfoundry.org:10001 [2023-08-01T15:31:49.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T15:31:49.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T15:31:49.452Z] Configure a credential helper to remove this warning. See [2023-08-01T15:31:49.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T15:31:49.452Z] [2023-08-01T15:31:49.452Z] Login Succeeded [2023-08-01T15:31:49.452Z] nexus3.edgexfoundry.org:10002 [2023-08-01T15:31:49.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T15:31:49.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T15:31:49.989Z] Configure a credential helper to remove this warning. See [2023-08-01T15:31:49.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T15:31:49.989Z] [2023-08-01T15:31:49.989Z] Login Succeeded [2023-08-01T15:31:49.989Z] nexus3.edgexfoundry.org:10003 [2023-08-01T15:31:49.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T15:31:50.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T15:31:50.258Z] Configure a credential helper to remove this warning. See [2023-08-01T15:31:50.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T15:31:50.258Z] [2023-08-01T15:31:50.258Z] Login Succeeded [2023-08-01T15:31:50.258Z] nexus3.edgexfoundry.org:10004 [2023-08-01T15:31:50.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T15:31:50.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T15:31:50.529Z] Configure a credential helper to remove this warning. See [2023-08-01T15:31:50.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T15:31:50.529Z] [2023-08-01T15:31:50.529Z] Login Succeeded [2023-08-01T15:31:50.529Z] docker.io [2023-08-01T15:31:50.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-01T15:31:51.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-01T15:31:51.063Z] Configure a credential helper to remove this warning. See [2023-08-01T15:31:51.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-01T15:31:51.063Z] [2023-08-01T15:31:51.063Z] Login Succeeded [2023-08-01T15:31:51.063Z] ---> docker-login.sh ends [Pipeline] } [2023-08-01T15:31:51.131Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-01T15:31:51.570Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-01T15:31:51.603Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-08-01T15:31:51.637Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-01T15:31:51.677Z] ========================================================= [2023-08-01T15:31:51.677Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-08-01T15:31:51.677Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-01T15:31:52.208Z] + 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-08-01T15:31:54.153Z] Sending build context to Docker daemon 2.933MB [2023-08-01T15:31:54.153Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-08-01T15:31:54.153Z] Step 2/21 : FROM ${BASE} as builder [2023-08-01T15:31:54.420Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-08-01T15:31:54.420Z] 547446be3368: Pulling fs layer [2023-08-01T15:31:54.420Z] 76bd08e1cacc: Pulling fs layer [2023-08-01T15:31:54.420Z] 547446be3368: Verifying Checksum [2023-08-01T15:31:54.420Z] 547446be3368: Download complete [2023-08-01T15:31:55.007Z] 547446be3368: Pull complete [2023-08-01T15:31:56.957Z] 76bd08e1cacc: Download complete [2023-08-01T15:32:05.166Z] 76bd08e1cacc: Pull complete [2023-08-01T15:32:05.166Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-08-01T15:32:05.166Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-08-01T15:32:05.166Z] ---> 295cd00e64f4 [2023-08-01T15:32:05.166Z] 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-08-01T15:32:05.439Z] ---> Running in 909c894be7ca [2023-08-01T15:32:06.853Z] Connecting to iotech.jfrog.io (54.154.83.67:443) [2023-08-01T15:32:06.853Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-01T15:32:06.853Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-01T15:32:06.853Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-01T15:32:07.817Z] Removing intermediate container 909c894be7ca [2023-08-01T15:32:07.817Z] ---> 4ff037559dd4 [2023-08-01T15:32:07.817Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-01T15:32:07.817Z] ---> Running in 392ae8fe9198 [2023-08-01T15:32:09.244Z] Removing intermediate container 392ae8fe9198 [2023-08-01T15:32:09.244Z] ---> f6367d1a08f7 [2023-08-01T15:32:09.244Z] 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-08-01T15:32:09.244Z] ---> Running in 90e993a7f96f [2023-08-01T15:32:10.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-01T15:32:10.484Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-08-01T15:32:11.114Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-01T15:32:11.727Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-01T15:32:11.727Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-01T15:32:11.727Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-01T15:32:11.727Z] (3/16) Installing hiredis (1.0.2-r0) [2023-08-01T15:32:11.727Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-08-01T15:32:11.727Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-01T15:32:12.681Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-01T15:32:12.681Z] (7/16) Installing libcbor (0.9.0-r1) [2023-08-01T15:32:12.681Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-08-01T15:32:12.681Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-01T15:32:12.681Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-01T15:32:13.636Z] (11/16) Installing libblkid (2.38-r1) [2023-08-01T15:32:13.636Z] (12/16) Installing libuuid (2.38-r1) [2023-08-01T15:32:13.636Z] (13/16) Installing libfdisk (2.38-r1) [2023-08-01T15:32:13.636Z] (14/16) Installing libmount (2.38-r1) [2023-08-01T15:32:13.636Z] (15/16) Installing libsmartcols (2.38-r1) [2023-08-01T15:32:13.636Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-08-01T15:32:13.636Z] Executing busybox-1.35.0-r17.trigger [2023-08-01T15:32:13.636Z] OK: 286 MiB in 90 packages [2023-08-01T15:32:15.046Z] Removing intermediate container 90e993a7f96f [2023-08-01T15:32:15.046Z] ---> ebc290c9ca71 [2023-08-01T15:32:15.046Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-08-01T15:32:15.046Z] ---> Running in 3c6d435a450c [2023-08-01T15:32:16.507Z] Removing intermediate container 3c6d435a450c [2023-08-01T15:32:16.507Z] ---> 0565712e74d2 [2023-08-01T15:32:16.507Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-08-01T15:32:17.091Z] ---> 71dcefc6368b [2023-08-01T15:32:17.091Z] Step 8/21 : COPY src /tmp/sdk/src [2023-08-01T15:32:21.350Z] ---> f18796db8ef4 [2023-08-01T15:32:21.350Z] Step 9/21 : COPY include /tmp/sdk/include [2023-08-01T15:32:21.635Z] ---> 36a7c0de20fe [2023-08-01T15:32:21.635Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-08-01T15:32:21.907Z] ---> 45362fdd0f4e [2023-08-01T15:32:21.907Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-08-01T15:32:22.497Z] ---> 131ab375f466 [2023-08-01T15:32:22.497Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-08-01T15:32:22.810Z] ---> b52e85745514 [2023-08-01T15:32:22.810Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-08-01T15:32:23.085Z] ---> Running in b1c86d19e29d [2023-08-01T15:32:24.046Z] + CPPCHECK=false [2023-08-01T15:32:24.046Z] + DOCGEN=false [2023-08-01T15:32:24.046Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-08-01T15:32:24.046Z] + '[' 0 -gt 0 ] [2023-08-01T15:32:24.046Z] + readlink -f ./scripts/build.sh [2023-08-01T15:32:24.046Z] + dirname /tmp/sdk/scripts/build.sh [2023-08-01T15:32:24.046Z] + dirname /tmp/sdk/scripts [2023-08-01T15:32:24.046Z] + ROOT=/tmp/sdk [2023-08-01T15:32:24.046Z] + cd /tmp/sdk [2023-08-01T15:32:24.046Z] + mkdir -p /tmp/sdk/build/release [2023-08-01T15:32:24.046Z] + cd /tmp/sdk/build/release [2023-08-01T15:32:24.046Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-08-01T15:32:24.314Z] -- The C compiler identification is GNU 11.2.1 [2023-08-01T15:32:24.315Z] -- Detecting C compiler ABI info [2023-08-01T15:32:24.582Z] -- Detecting C compiler ABI info - done [2023-08-01T15:32:24.582Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-01T15:32:24.582Z] -- Detecting C compile features [2023-08-01T15:32:24.582Z] -- Detecting C compile features - done [2023-08-01T15:32:24.850Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-01T15:32:24.850Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-01T15:32:24.850Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-01T15:32:24.850Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-01T15:32:24.850Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-01T15:32:24.850Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-01T15:32:25.132Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-01T15:32:25.132Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-01T15:32:25.132Z] -- /opt/iotech/iot/1.5/include [2023-08-01T15:32:25.132Z] -- C SDK 0.0.0 for Linux [2023-08-01T15:32:25.132Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-01T15:32:25.403Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-01T15:32:25.403Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-01T15:32:25.673Z] -- Configuring done [2023-08-01T15:32:25.942Z] -- Generating done [2023-08-01T15:32:25.942Z] -- Build files have been written to: /tmp/sdk/build/release [2023-08-01T15:32:25.942Z] + make all package [2023-08-01T15:32:25.942Z] + tee release.log [2023-08-01T15:32:26.209Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-01T15:32:26.803Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-08-01T15:32:27.766Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-08-01T15:32:28.729Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-08-01T15:32:29.732Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-08-01T15:32:30.073Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-08-01T15:32:32.677Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-08-01T15:32:33.645Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-08-01T15:32:33.645Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-08-01T15:32:35.061Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-08-01T15:32:37.007Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-08-01T15:32:37.593Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-08-01T15:32:38.558Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-08-01T15:32:39.521Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-08-01T15:32:39.790Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-08-01T15:32:41.207Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-08-01T15:32:41.476Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-08-01T15:32:44.064Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-08-01T15:32:44.064Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-08-01T15:32:44.653Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-08-01T15:32:46.606Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-08-01T15:32:51.958Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-08-01T15:32:52.227Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-08-01T15:32:52.496Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-08-01T15:32:53.082Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-08-01T15:32:53.667Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-08-01T15:32:55.079Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-08-01T15:32:57.674Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-08-01T15:32:58.262Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-08-01T15:32:59.226Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-08-01T15:32:59.814Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-08-01T15:33:03.168Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-08-01T15:33:03.761Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-08-01T15:33:04.383Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-08-01T15:33:04.964Z] [ 68%] Linking C shared library libcsdk.so [2023-08-01T15:33:04.964Z] [ 68%] Built target csdk [2023-08-01T15:33:04.964Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-08-01T15:33:05.921Z] [ 72%] Linking C executable template [2023-08-01T15:33:06.188Z] [ 72%] Built target template [2023-08-01T15:33:06.188Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-08-01T15:33:06.769Z] [ 76%] Linking C executable device-counter [2023-08-01T15:33:07.038Z] [ 76%] Built target device-counter [2023-08-01T15:33:07.335Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-08-01T15:33:07.921Z] [ 80%] Linking C executable device-random [2023-08-01T15:33:08.188Z] [ 80%] Built target device-random [2023-08-01T15:33:08.188Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-08-01T15:33:08.770Z] [ 84%] Linking C executable device-gyro [2023-08-01T15:33:09.035Z] [ 84%] Built target device-gyro [2023-08-01T15:33:09.035Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-08-01T15:33:09.616Z] [ 88%] Linking C executable device-bitfields [2023-08-01T15:33:09.884Z] [ 88%] Built target device-bitfields [2023-08-01T15:33:09.884Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-08-01T15:33:10.842Z] [ 92%] Linking C executable template-discovery [2023-08-01T15:33:11.109Z] [ 92%] Built target template-discovery [2023-08-01T15:33:11.110Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-08-01T15:33:12.070Z] [ 96%] Linking C executable device-file [2023-08-01T15:33:12.338Z] [ 96%] Built target device-file [2023-08-01T15:33:12.338Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-08-01T15:33:12.923Z] [100%] Linking C executable device-terminal [2023-08-01T15:33:13.189Z] [100%] Built target device-terminal [2023-08-01T15:33:13.770Z] Run CPack packaging tool... [2023-08-01T15:33:14.037Z] CPack: Create package using TGZ [2023-08-01T15:33:14.037Z] CPack: Install projects [2023-08-01T15:33:14.037Z] CPack: - Run preinstall target for: Csdk [2023-08-01T15:33:14.625Z] CPack: - Install project: Csdk [] [2023-08-01T15:33:14.625Z] CPack: Create package [2023-08-01T15:33:14.625Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-08-01T15:33:14.625Z] + '[' false '=' true ] [2023-08-01T15:33:14.625Z] + '[' false '=' true ] [2023-08-01T15:33:14.625Z] + mkdir -p /tmp/sdk/build/debug [2023-08-01T15:33:14.625Z] + cd /tmp/sdk/build/debug [2023-08-01T15:33:14.625Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-08-01T15:33:15.209Z] -- The C compiler identification is GNU 11.2.1 [2023-08-01T15:33:15.209Z] -- Detecting C compiler ABI info [2023-08-01T15:33:15.479Z] -- Detecting C compiler ABI info - done [2023-08-01T15:33:15.479Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-01T15:33:15.479Z] -- Detecting C compile features [2023-08-01T15:33:15.479Z] -- Detecting C compile features - done [2023-08-01T15:33:15.479Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-01T15:33:15.747Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-01T15:33:15.747Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-01T15:33:15.747Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-01T15:33:15.747Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-01T15:33:15.747Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-01T15:33:15.747Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-01T15:33:15.747Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-01T15:33:15.747Z] -- /opt/iotech/iot/1.5/include [2023-08-01T15:33:15.747Z] -- C SDK 0.0.0 for Linux [2023-08-01T15:33:15.747Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-01T15:33:16.015Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-01T15:33:16.282Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-01T15:33:16.282Z] -- Configuring done [2023-08-01T15:33:16.552Z] -- Generating done [2023-08-01T15:33:16.552Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-08-01T15:33:16.552Z] + make [2023-08-01T15:33:16.552Z] + tee debug.log [2023-08-01T15:33:16.820Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-01T15:33:17.086Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-08-01T15:33:17.669Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-08-01T15:33:17.940Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-08-01T15:33:18.523Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-08-01T15:33:18.789Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-08-01T15:33:19.743Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-08-01T15:33:20.008Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-08-01T15:33:20.273Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-08-01T15:33:20.859Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-08-01T15:33:21.441Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-08-01T15:33:21.707Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-08-01T15:33:22.307Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-08-01T15:33:22.574Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-08-01T15:33:23.167Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-08-01T15:33:23.435Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-08-01T15:33:23.715Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-08-01T15:33:24.688Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-08-01T15:33:24.688Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-08-01T15:33:24.958Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-08-01T15:33:25.924Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-08-01T15:33:26.887Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-08-01T15:33:27.470Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-08-01T15:33:27.768Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-08-01T15:33:28.037Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-08-01T15:33:28.305Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-08-01T15:33:28.895Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-08-01T15:33:30.867Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-08-01T15:33:30.867Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-08-01T15:33:31.136Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-08-01T15:33:31.722Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-08-01T15:33:32.689Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-08-01T15:33:32.957Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-08-01T15:33:33.226Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-08-01T15:33:33.495Z] [ 68%] Linking C shared library libcsdk.so [2023-08-01T15:33:33.765Z] [ 68%] Built target csdk [2023-08-01T15:33:33.765Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-08-01T15:33:34.352Z] [ 72%] Linking C executable template [2023-08-01T15:33:34.621Z] [ 72%] Built target template [2023-08-01T15:33:34.621Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-08-01T15:33:34.889Z] [ 76%] Linking C executable device-counter [2023-08-01T15:33:35.159Z] [ 76%] Built target device-counter [2023-08-01T15:33:35.159Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-08-01T15:33:35.745Z] [ 80%] Linking C executable device-random [2023-08-01T15:33:35.745Z] [ 80%] Built target device-random [2023-08-01T15:33:36.013Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-08-01T15:33:36.280Z] [ 84%] Linking C executable device-gyro [2023-08-01T15:33:36.549Z] [ 84%] Built target device-gyro [2023-08-01T15:33:36.549Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-08-01T15:33:36.817Z] [ 88%] Linking C executable device-bitfields [2023-08-01T15:33:37.087Z] [ 88%] Built target device-bitfields [2023-08-01T15:33:37.087Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-08-01T15:33:37.672Z] [ 92%] Linking C executable template-discovery [2023-08-01T15:33:37.941Z] [ 92%] Built target template-discovery [2023-08-01T15:33:37.941Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-08-01T15:33:38.211Z] [ 96%] Linking C executable device-file [2023-08-01T15:33:38.479Z] [ 96%] Built target device-file [2023-08-01T15:33:38.479Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-08-01T15:33:39.129Z] [100%] Linking C executable device-terminal [2023-08-01T15:33:39.394Z] [100%] Built target device-terminal [2023-08-01T15:33:40.798Z] make: Entering directory '/tmp/sdk/build/release' [2023-08-01T15:33:41.065Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-08-01T15:33:41.065Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-01T15:33:41.065Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T15:33:41.065Z] [ 68%] Built target csdk [2023-08-01T15:33:41.065Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-01T15:33:41.065Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T15:33:41.065Z] [ 72%] Built target template [2023-08-01T15:33:41.065Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-01T15:33:41.065Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T15:33:41.065Z] [ 76%] Built target device-counter [2023-08-01T15:33:41.065Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-01T15:33:41.065Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T15:33:41.347Z] [ 80%] Built target device-random [2023-08-01T15:33:41.347Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-01T15:33:41.347Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T15:33:41.347Z] [ 84%] Built target device-gyro [2023-08-01T15:33:41.347Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-01T15:33:41.347Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T15:33:41.347Z] [ 88%] Built target device-bitfields [2023-08-01T15:33:41.347Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-01T15:33:41.347Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T15:33:41.347Z] [ 92%] Built target template-discovery [2023-08-01T15:33:41.347Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-01T15:33:41.347Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T15:33:41.347Z] [ 96%] Built target device-file [2023-08-01T15:33:41.347Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-01T15:33:41.347Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T15:33:41.347Z] [100%] Built target device-terminal [2023-08-01T15:33:41.347Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-08-01T15:33:41.614Z] Install the project... [2023-08-01T15:33:41.614Z] -- Install configuration: "Release" [2023-08-01T15:33:41.614Z] -- Installing: /usr/local/lib/libcsdk.so [2023-08-01T15:33:41.614Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-08-01T15:33:41.614Z] -- Installing: /usr/local/include [2023-08-01T15:33:41.614Z] -- Installing: /usr/local/include/devsdk [2023-08-01T15:33:41.614Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-08-01T15:33:41.614Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-08-01T15:33:41.614Z] -- Installing: /usr/local/include/edgex [2023-08-01T15:33:41.614Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-08-01T15:33:41.614Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-08-01T15:33:41.614Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-08-01T15:33:41.614Z] -- Installing: /usr/local/include/edgex/devices.h [2023-08-01T15:33:41.614Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-08-01T15:33:41.614Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-08-01T15:33:41.614Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-08-01T15:33:41.614Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-08-01T15:33:41.614Z] make: Leaving directory '/tmp/sdk/build/release' [2023-08-01T15:33:43.028Z] Removing intermediate container b1c86d19e29d [2023-08-01T15:33:43.028Z] ---> 014d4dc4fc7a [2023-08-01T15:33:43.028Z] Step 14/21 : FROM ${BASE} [2023-08-01T15:33:43.028Z] ---> 295cd00e64f4 [2023-08-01T15:33:43.028Z] Step 15/21 : LABEL maintainer="IOTech " [2023-08-01T15:33:43.028Z] ---> Running in cf3a3ee19641 [2023-08-01T15:33:43.028Z] Removing intermediate container cf3a3ee19641 [2023-08-01T15:33:43.028Z] ---> afa43c8083bc [2023-08-01T15:33:43.028Z] 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-08-01T15:33:43.298Z] ---> Running in 2cd87440af24 [2023-08-01T15:33:44.327Z] Connecting to iotech.jfrog.io (52.213.19.111:443) [2023-08-01T15:33:44.634Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-01T15:33:44.634Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-01T15:33:44.634Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-01T15:33:45.229Z] Removing intermediate container 2cd87440af24 [2023-08-01T15:33:45.229Z] ---> 11a66d9e46c8 [2023-08-01T15:33:45.229Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-01T15:33:45.581Z] ---> Running in 6ce28cc3bbc5 [2023-08-01T15:33:47.008Z] Removing intermediate container 6ce28cc3bbc5 [2023-08-01T15:33:47.008Z] ---> 2c5acf26ef9b [2023-08-01T15:33:47.008Z] 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-08-01T15:33:47.008Z] ---> Running in c8da8e54c6c3 [2023-08-01T15:33:48.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-01T15:33:48.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-08-01T15:33:48.955Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-01T15:33:49.543Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-01T15:33:49.543Z] (1/7) Installing curl (8.2.1-r0) [2023-08-01T15:33:49.543Z] (2/7) Installing hiredis (1.0.2-r0) [2023-08-01T15:33:49.543Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-08-01T15:33:49.543Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-08-01T15:33:50.547Z] (5/7) Installing libcbor (0.9.0-r1) [2023-08-01T15:33:50.547Z] (6/7) Installing libuuid (2.38-r1) [2023-08-01T15:33:50.547Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-01T15:33:51.130Z] Executing busybox-1.35.0-r17.trigger [2023-08-01T15:33:51.130Z] OK: 281 MiB in 83 packages [2023-08-01T15:33:52.091Z] Removing intermediate container c8da8e54c6c3 [2023-08-01T15:33:52.091Z] ---> 4a989fd6fae2 [2023-08-01T15:33:52.091Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-08-01T15:33:55.427Z] ---> fbbd7c9af094 [2023-08-01T15:33:55.427Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-08-01T15:33:55.694Z] ---> a1afc0e809ca [2023-08-01T15:33:55.694Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-08-01T15:33:55.960Z] ---> b3026096d0b3 [2023-08-01T15:33:56.224Z] Successfully built b3026096d0b3 [2023-08-01T15:33:56.224Z] 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-08-01T15:33:56.997Z] + docker inspect -f . ci-base-image-arm64 [2023-08-01T15:33:56.997Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-01T15:33:57.271Z] prd-ubuntu20.04-docker-arm64-4c-16g-2663 does not seem to be running inside a container [2023-08-01T15:33:57.334Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** ci-base-image-arm64 cat [2023-08-01T15:33:58.553Z] $ docker top 5aad765124904b96557ec27bbadecaa52917ca451f8f65c54670613ec6e6664b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-01T15:33:59.420Z] + make test [2023-08-01T15:33:59.420Z] echo "make test" [2023-08-01T15:33:59.420Z] make test [Pipeline] } [2023-08-01T15:33:59.457Z] $ docker stop --time=1 5aad765124904b96557ec27bbadecaa52917ca451f8f65c54670613ec6e6664b [2023-08-01T15:34:01.034Z] $ docker rm -f --volumes 5aad765124904b96557ec27bbadecaa52917ca451f8f65c54670613ec6e6664b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-01T15:34:01.857Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-01T15:34:02.197Z] + ls -al . [2023-08-01T15:34:02.197Z] total 208 [2023-08-01T15:34:02.197Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 15:31 . [2023-08-01T15:34:02.197Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 15:31 .. [2023-08-01T15:34:02.197Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 15:31 .git [2023-08-01T15:34:02.197Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 15:31 .github [2023-08-01T15:34:02.197Z] -rw-rw-r-- 1 jenkins jenkins 176 Aug 1 15:31 .gitignore [2023-08-01T15:34:02.197Z] -rw-rw-r-- 1 jenkins jenkins 2908 Aug 1 15:31 Attribution.txt [2023-08-01T15:34:02.197Z] -rw-rw-r-- 1 jenkins jenkins 9268 Aug 1 15:31 CHANGES [2023-08-01T15:34:02.197Z] -rw-rw-r-- 1 jenkins jenkins 108574 Aug 1 15:31 Doxyfile [2023-08-01T15:34:02.197Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 15:31 GOVERNANCE.md [2023-08-01T15:34:02.197Z] -rw-rw-r-- 1 jenkins jenkins 784 Aug 1 15:31 Jenkinsfile [2023-08-01T15:34:02.197Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 1 15:31 LICENSE [2023-08-01T15:34:02.197Z] -rw-rw-r-- 1 jenkins jenkins 444 Aug 1 15:31 Makefile [2023-08-01T15:34:02.197Z] -rw-rw-r-- 1 jenkins jenkins 618 Aug 1 15:31 OWNERS.md [2023-08-01T15:34:02.197Z] -rw-rw-r-- 1 jenkins jenkins 1651 Aug 1 15:31 README.IOT.md [2023-08-01T15:34:02.197Z] -rw-rw-r-- 1 jenkins jenkins 4215 Aug 1 15:31 README.md [2023-08-01T15:34:02.197Z] -rw-rw-r-- 1 jenkins jenkins 1245 Aug 1 15:31 README.v3.md [2023-08-01T15:34:02.197Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 15:29 VERSION [2023-08-01T15:34:02.197Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 15:31 docs [2023-08-01T15:34:02.197Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 15:31 include [2023-08-01T15:34:02.197Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 15:31 scripts [2023-08-01T15:34:02.197Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 15:31 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-01T15:34:02.645Z] + 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=82e7ebec1ccb23917b2d91acbc6e3e506ae47f7a --label arch=arm64 --label version=0.0.0 . [2023-08-01T15:34:02.915Z] Sending build context to Docker daemon 2.933MB [2023-08-01T15:34:02.915Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-08-01T15:34:02.915Z] Step 2/17 : FROM ${BASE} [2023-08-01T15:34:02.915Z] ---> b3026096d0b3 [2023-08-01T15:34:02.915Z] Step 3/17 : LABEL maintainer="IOTech " [2023-08-01T15:34:03.181Z] ---> Running in 594e4e1bdc1a [2023-08-01T15:34:03.447Z] Removing intermediate container 594e4e1bdc1a [2023-08-01T15:34:03.447Z] ---> 452c7f917355 [2023-08-01T15:34:03.447Z] 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-08-01T15:34:03.447Z] ---> Running in 8ac496cd712b [2023-08-01T15:34:04.402Z] Connecting to iotech.jfrog.io (52.19.176.93:443) [2023-08-01T15:34:04.668Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-01T15:34:04.668Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-01T15:34:04.668Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-01T15:34:05.249Z] Removing intermediate container 8ac496cd712b [2023-08-01T15:34:05.249Z] ---> 20a087ba55a9 [2023-08-01T15:34:05.249Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-01T15:34:05.514Z] ---> Running in ec6d4f758c43 [2023-08-01T15:34:09.761Z] Removing intermediate container ec6d4f758c43 [2023-08-01T15:34:09.761Z] ---> 84e1f1722d78 [2023-08-01T15:34:09.761Z] 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-08-01T15:34:09.761Z] ---> Running in 8f96a874a126 [2023-08-01T15:34:10.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-01T15:34:10.988Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-08-01T15:34:11.567Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-01T15:34:12.144Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-01T15:34:12.144Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-01T15:34:12.144Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-01T15:34:12.144Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-01T15:34:13.096Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-01T15:34:13.096Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-08-01T15:34:13.096Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-01T15:34:13.096Z] (7/11) Installing libblkid (2.38-r1) [2023-08-01T15:34:13.096Z] (8/11) Installing libfdisk (2.38-r1) [2023-08-01T15:34:13.096Z] (9/11) Installing libmount (2.38-r1) [2023-08-01T15:34:13.096Z] (10/11) Installing libsmartcols (2.38-r1) [2023-08-01T15:34:13.096Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-08-01T15:34:13.363Z] Executing busybox-1.35.0-r17.trigger [2023-08-01T15:34:13.363Z] OK: 287 MiB in 92 packages [2023-08-01T15:34:14.359Z] Removing intermediate container 8f96a874a126 [2023-08-01T15:34:14.359Z] ---> 9a7d91004c49 [2023-08-01T15:34:14.359Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-08-01T15:34:14.942Z] ---> e959fa50d0e3 [2023-08-01T15:34:14.942Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-08-01T15:34:15.525Z] ---> ac1d94426c60 [2023-08-01T15:34:15.525Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-08-01T15:34:16.107Z] ---> 6629bc7aa021 [2023-08-01T15:34:16.107Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-08-01T15:34:16.689Z] ---> dfb84553d336 [2023-08-01T15:34:16.689Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-08-01T15:34:16.956Z] ---> 40d03a00837d [2023-08-01T15:34:16.956Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-08-01T15:34:17.537Z] ---> 725933c13412 [2023-08-01T15:34:17.537Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-08-01T15:34:17.537Z] ---> Running in 9a6a8aaee958 [2023-08-01T15:34:17.809Z] Removing intermediate container 9a6a8aaee958 [2023-08-01T15:34:17.809Z] ---> 78a94b55a191 [2023-08-01T15:34:17.809Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-08-01T15:34:17.809Z] ---> Running in 3a20c511a878 [2023-08-01T15:34:18.082Z] Removing intermediate container 3a20c511a878 [2023-08-01T15:34:18.082Z] ---> af9d8a9f24e2 [2023-08-01T15:34:18.082Z] Step 15/17 : LABEL arch=arm64 [2023-08-01T15:34:18.349Z] ---> Running in 8d1a57c36362 [2023-08-01T15:34:18.614Z] Removing intermediate container 8d1a57c36362 [2023-08-01T15:34:18.614Z] ---> 8c8a381992b3 [2023-08-01T15:34:18.614Z] Step 16/17 : LABEL git_sha=82e7ebec1ccb23917b2d91acbc6e3e506ae47f7a [2023-08-01T15:34:18.614Z] ---> Running in 3f532e54d63f [2023-08-01T15:34:18.879Z] Removing intermediate container 3f532e54d63f [2023-08-01T15:34:18.879Z] ---> 7c8c46ee8dea [2023-08-01T15:34:18.879Z] Step 17/17 : LABEL version=0.0.0 [2023-08-01T15:34:18.879Z] ---> Running in 3bf36060759d [2023-08-01T15:34:19.145Z] Removing intermediate container 3bf36060759d [2023-08-01T15:34:19.145Z] ---> e7464f05f25a [2023-08-01T15:34:19.145Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-08-01T15:34:19.145Z] Successfully built e7464f05f25a [2023-08-01T15:34:19.145Z] 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-08-01T15:34:19.936Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-01T15:34:19.936Z] [2023-08-01T15:34:19.936Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-01T15:34:20.341Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-01T15:34:20.609Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-01T15:34:20.609Z] 8998bd30e6a1: Pulling fs layer [2023-08-01T15:34:20.609Z] 04944245beec: Pulling fs layer [2023-08-01T15:34:20.609Z] 699f458cf7ca: Pulling fs layer [2023-08-01T15:34:20.609Z] 765212b225bb: Pulling fs layer [2023-08-01T15:34:20.609Z] f23df028b6ca: Pulling fs layer [2023-08-01T15:34:20.609Z] d65c8cfc05b1: Pulling fs layer [2023-08-01T15:34:20.609Z] 2437ff75d9bd: Pulling fs layer [2023-08-01T15:34:20.609Z] 765212b225bb: Waiting [2023-08-01T15:34:20.609Z] f23df028b6ca: Waiting [2023-08-01T15:34:20.609Z] d65c8cfc05b1: Waiting [2023-08-01T15:34:20.609Z] 2437ff75d9bd: Waiting [2023-08-01T15:34:20.609Z] 04944245beec: Verifying Checksum [2023-08-01T15:34:20.609Z] 04944245beec: Download complete [2023-08-01T15:34:20.609Z] 765212b225bb: Verifying Checksum [2023-08-01T15:34:20.609Z] 765212b225bb: Download complete [2023-08-01T15:34:20.609Z] f23df028b6ca: Verifying Checksum [2023-08-01T15:34:20.609Z] f23df028b6ca: Download complete [2023-08-01T15:34:20.609Z] d65c8cfc05b1: Download complete [2023-08-01T15:34:20.876Z] 699f458cf7ca: Verifying Checksum [2023-08-01T15:34:20.876Z] 699f458cf7ca: Download complete [2023-08-01T15:34:21.143Z] 8998bd30e6a1: Verifying Checksum [2023-08-01T15:34:21.143Z] 8998bd30e6a1: Download complete [2023-08-01T15:34:23.737Z] 2437ff75d9bd: Verifying Checksum [2023-08-01T15:34:23.737Z] 2437ff75d9bd: Download complete [2023-08-01T15:34:25.143Z] 8998bd30e6a1: Pull complete [2023-08-01T15:34:25.432Z] 04944245beec: Pull complete [2023-08-01T15:34:26.837Z] 699f458cf7ca: Pull complete [2023-08-01T15:34:26.837Z] 765212b225bb: Pull complete [2023-08-01T15:34:27.796Z] f23df028b6ca: Pull complete [2023-08-01T15:34:27.796Z] d65c8cfc05b1: Pull complete [2023-08-01T15:34:42.785Z] 2437ff75d9bd: Pull complete [2023-08-01T15:34:42.785Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-01T15:34:42.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-01T15:34:42.785Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-01T15:34:43.099Z] prd-ubuntu20.04-docker-arm64-4c-16g-2663 does not seem to be running inside a container [2023-08-01T15:34:43.166Z] $ 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/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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-lftools-log-publisher:arm64 cat [2023-08-01T15:34:45.502Z] $ docker top 2080f7ba88dc6384fb9d5b73ed5c26df0166739aea1dfd2dd747f13e4a0ec489 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-01T15:34:46.082Z] ---> job-cost.sh [2023-08-01T15:34:46.349Z] lf-activate-venv: SKIPPING [2023-08-01T15:34:46.349Z] INFO: No Stack... [2023-08-01T15:34:46.615Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-01T15:34:47.569Z] INFO: Archiving Costs [Pipeline] sh [2023-08-01T15:34:48.052Z] + cut -d, -f6 [2023-08-01T15:34:48.052Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [Pipeline] lock [2023-08-01T15:34:48.131Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-477-1-stack-cost] [2023-08-01T15:34:48.136Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-477-1-stack-cost] did not exist. Created. [2023-08-01T15:34:48.136Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-477-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-01T15:34:48.543Z] /w/workspace/device-sdk-c/1@tmp/durable-e2c16238/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-01T15:34:48.901Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-01T15:34:48.936Z] Warning: overwriting stash ‘stack-cost’ [2023-08-01T15:34:49.400Z] Stashed 1 file(s) [Pipeline] } [2023-08-01T15:34:49.416Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-477-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-01T15:34:49.506Z] $ docker stop --time=1 2080f7ba88dc6384fb9d5b73ed5c26df0166739aea1dfd2dd747f13e4a0ec489 [2023-08-01T15:34:50.985Z] $ docker rm -f --volumes 2080f7ba88dc6384fb9d5b73ed5c26df0166739aea1dfd2dd747f13e4a0ec489 [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-08-01T15:34:52.676Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-477/archives ] [2023-08-01T15:34:52.676Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-477/archives [2023-08-01T15:34:52.676Z] total 16 [2023-08-01T15:34:52.676Z] drwxr-xr-x 3 root root 4096 Aug 1 15:30 . [2023-08-01T15:34:52.676Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 15:30 .. [2023-08-01T15:34:52.676Z] drwxr-xr-x 2 root root 4096 Aug 1 15:30 cost [2023-08-01T15:34:52.676Z] -rw-r--r-- 1 root root 84 Aug 1 15:30 cost.csv [2023-08-01T15:34:52.676Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-477/archives [2023-08-01T15:34:52.676Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-477/archives [2023-08-01T15:34:52.676Z] total 16 [2023-08-01T15:34:52.676Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 15:30 . [2023-08-01T15:34:52.676Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 15:30 .. [2023-08-01T15:34:52.676Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 1 15:30 cost [2023-08-01T15:34:52.676Z] -rw-r--r-- 1 jenkins jenkins 84 Aug 1 15:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-01T15:34:53.003Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-01T15:34:53.891Z] ---> package-listing.sh [2023-08-01T15:34:53.891Z] ++ facter osfamily [2023-08-01T15:34:53.891Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-01T15:34:54.152Z] + OS_FAMILY=debian [2023-08-01T15:34:54.152Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-477 [2023-08-01T15:34:54.152Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-01T15:34:54.152Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-01T15:34:54.152Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-01T15:34:54.152Z] + PACKAGES=/tmp/packages_start.txt [2023-08-01T15:34:54.152Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-477 ']' [2023-08-01T15:34:54.152Z] + PACKAGES=/tmp/packages_end.txt [2023-08-01T15:34:54.152Z] + case "${OS_FAMILY}" in [2023-08-01T15:34:54.152Z] + dpkg -l [2023-08-01T15:34:54.152Z] + grep '^ii' [2023-08-01T15:34:54.152Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-01T15:34:54.152Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-01T15:34:54.152Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-01T15:34:54.152Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-477 ']' [2023-08-01T15:34:54.152Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-477/archives/ [2023-08-01T15:34:54.152Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-477/archives/ [Pipeline] echo [2023-08-01T15:34:54.190Z] 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-477/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-01T15:34:54.485Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-01T15:34:55.106Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-01T15:34:55.106Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-01T15:34:55.282Z] prd-ubuntu20.04-docker-8c-8g-2662 does not seem to be running inside a container [2023-08-01T15:34:55.314Z] $ 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-477/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-477 -v /w/workspace/edgexfoundry_device-sdk-c_PR-477:/w/workspace/edgexfoundry_device-sdk-c_PR-477:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-477@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-477@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-01T15:34:55.524Z] $ docker top 6bd2d105997e82541179ab50e7796798e080844dc63c3202793207c79ccc273b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-01T15:34:56.210Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-01T15:34:56.515Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-01T15:34:56.820Z] + ls /var/log/sa-host [2023-08-01T15:34:56.820Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-01T15:34:57.041Z] provisioning config files... [2023-08-01T15:34:57.051Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-477@tmp/config5241799176925847486tmp [Pipeline] { [Pipeline] echo [2023-08-01T15:34:57.093Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-01T15:34:57.400Z] ---> create-netrc.sh [Pipeline] } [2023-08-01T15:34:57.426Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-01T15:34:57.813Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-01T15:34:57.842Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-01T15:34:58.150Z] ---> sudo-logs.sh [2023-08-01T15:34:58.150Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-01T15:34:58.227Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-01T15:34:58.533Z] ---> job-cost.sh [2023-08-01T15:34:58.533Z] lf-activate-venv: SKIPPING [2023-08-01T15:34:58.533Z] DEBUG: total: 0.2199999988079071 [2023-08-01T15:34:58.533Z] INFO: Retrieving Stack Cost... [2023-08-01T15:34:58.793Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-01T15:34:59.051Z] INFO: Archiving Costs [Pipeline] echo [2023-08-01T15:34:59.088Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-01T15:34:59.401Z] ---> logs-deploy.sh [2023-08-01T15:34:59.401Z] lf-activate-venv: SKIPPING [2023-08-01T15:34:59.401Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-477/1 [2023-08-01T15:34:59.401Z] INFO: archiving workspace using pattern(s): [2023-08-01T15:35:00.343Z] Archives upload complete. [2023-08-01T15:35:00.343Z] INFO: archiving logs to Nexus