Started by upstream project "edgexfoundry/cd-management/release" build number 161 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3bd72eafd135fc13cc0388e2e4a2395f7020de89 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-ssh5256965747794244384.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh14267578878263161978.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5761650008743446106.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3332231598433947300.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh644202958473994402.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3313 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 3bd72eafd135fc13cc0388e2e4a2395f7020de89 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3bd72eafd135fc13cc0388e2e4a2395f7020de89 # timeout=10 Commit message: "Merge pull request #478 from FelixTing/changelog-update" > git rev-list --no-walk 3bd72eafd135fc13cc0388e2e4a2395f7020de89 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-10T23:51:20.817Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-10T23:51:20.868Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-10T23:51:20.882Z] ========================================================= [2023-08-10T23:51:20.882Z] EdgeX Global Pipelines Version Info [2023-08-10T23:51:20.882Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-10T23:51:21.606Z] ------------------- [2023-08-10T23:51:21.606Z] stable info: [2023-08-10T23:51:21.606Z] ------------------- [2023-08-10T23:51:21.606Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-10T23:51:21.606Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-10T23:51:21.606Z] Message: update stable to v1.0.253 [2023-08-10T23:51:22.176Z] ------------------- [2023-08-10T23:51:22.176Z] experimental info: [2023-08-10T23:51:22.176Z] ------------------- [2023-08-10T23:51:22.176Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-10T23:51:22.176Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-10T23:51:22.176Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-10T23:51:22.354Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-08-10T23:51:22.368Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-08-10T23:51:22.378Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-10T23:51:22.390Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-10T23:51:22.404Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-10T23:51:22.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-08-10T23:51:22.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-08-10T23:51:22.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-10T23:51:22.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-10T23:51:22.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-08-10T23:51:22.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-10T23:51:22.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-10T23:51:22.495Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-10T23:51:22.504Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-10T23:51:22.512Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-10T23:51:22.520Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-10T23:51:22.528Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-10T23:51:22.537Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-10T23:51:22.555Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-10T23:51:22.571Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-10T23:51:22.586Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3bd72eafd135fc13cc0388e2e4a2395f7020de89 [Pipeline] echo [2023-08-10T23:51:22.601Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3bd72ea [Pipeline] echo [2023-08-10T23:51:22.620Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-10T23:51:22.667Z] provisioning config files... [2023-08-10T23:51:22.682Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7225341419307864942tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-10T23:51:22.984Z] ---> docker-login.sh [2023-08-10T23:51:22.984Z] nexus3.edgexfoundry.org:10001 [2023-08-10T23:51:23.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T23:51:23.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T23:51:23.244Z] Configure a credential helper to remove this warning. See [2023-08-10T23:51:23.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T23:51:23.244Z] [2023-08-10T23:51:23.244Z] Login Succeeded [2023-08-10T23:51:23.244Z] nexus3.edgexfoundry.org:10002 [2023-08-10T23:51:23.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T23:51:23.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T23:51:23.244Z] Configure a credential helper to remove this warning. See [2023-08-10T23:51:23.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T23:51:23.244Z] [2023-08-10T23:51:23.244Z] Login Succeeded [2023-08-10T23:51:23.244Z] nexus3.edgexfoundry.org:10003 [2023-08-10T23:51:23.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T23:51:23.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T23:51:23.504Z] Configure a credential helper to remove this warning. See [2023-08-10T23:51:23.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T23:51:23.504Z] [2023-08-10T23:51:23.504Z] Login Succeeded [2023-08-10T23:51:23.504Z] nexus3.edgexfoundry.org:10004 [2023-08-10T23:51:23.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T23:51:23.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T23:51:23.504Z] Configure a credential helper to remove this warning. See [2023-08-10T23:51:23.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T23:51:23.504Z] [2023-08-10T23:51:23.504Z] Login Succeeded [2023-08-10T23:51:23.504Z] docker.io [2023-08-10T23:51:23.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T23:51:23.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T23:51:23.765Z] Configure a credential helper to remove this warning. See [2023-08-10T23:51:23.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T23:51:23.765Z] [2023-08-10T23:51:23.765Z] Login Succeeded [2023-08-10T23:51:23.765Z] ---> docker-login.sh ends [Pipeline] } [2023-08-10T23:51:23.773Z] 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-10T23:51:24.119Z] + git rev-list -1 --merges 3bd72eafd135fc13cc0388e2e4a2395f7020de89~1..3bd72eafd135fc13cc0388e2e4a2395f7020de89 [Pipeline] echo [2023-08-10T23:51:24.167Z] -----------> git rev-list -1 --merges 3bd72eafd135fc13cc0388e2e4a2395f7020de89~1..3bd72eafd135fc13cc0388e2e4a2395f7020de89 3bd72eafd135fc13cc0388e2e4a2395f7020de89 [2023-08-10T23:51:24.167Z] 3bd72eafd135fc13cc0388e2e4a2395f7020de89 [false] [Pipeline] sh [2023-08-10T23:51:24.451Z] + git log --format=format:%s -1 3bd72eafd135fc13cc0388e2e4a2395f7020de89 [Pipeline] echo [2023-08-10T23:51:24.466Z] ========================================================= [2023-08-10T23:51:24.466Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2023-08-10T23:51:24.466Z] ========================================================= 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-10T23:51:24.852Z] + git rev-list -1 --merges 3bd72eafd135fc13cc0388e2e4a2395f7020de89~1..3bd72eafd135fc13cc0388e2e4a2395f7020de89 [Pipeline] echo [2023-08-10T23:51:24.861Z] -----------> git rev-list -1 --merges 3bd72eafd135fc13cc0388e2e4a2395f7020de89~1..3bd72eafd135fc13cc0388e2e4a2395f7020de89 3bd72eafd135fc13cc0388e2e4a2395f7020de89 [2023-08-10T23:51:24.861Z] 3bd72eafd135fc13cc0388e2e4a2395f7020de89 [false] [Pipeline] sh [2023-08-10T23:51:25.150Z] + git log --format=format:%s -1 3bd72eafd135fc13cc0388e2e4a2395f7020de89 [Pipeline] echo [2023-08-10T23:51:25.185Z] ========================================================= [2023-08-10T23:51:25.185Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2023-08-10T23:51:25.185Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-08-10T23:51:25.562Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-10T23:51:25.562Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-10T23:51:25.562Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-10T23:51:25.562Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-10T23:51:25.562Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-10T23:51:25.562Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-10T23:51:25.562Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T23:51:25.918Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-10T23:51:25.918Z] [2023-08-10T23:51:25.918Z] 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-10T23:51:26.226Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-10T23:51:26.226Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-10T23:51:26.226Z] b85a868b505f: Pulling fs layer [2023-08-10T23:51:26.226Z] e2be974225ed: Pulling fs layer [2023-08-10T23:51:26.226Z] 339a4e72a1f5: Pulling fs layer [2023-08-10T23:51:26.226Z] 988bab9f4d93: Pulling fs layer [2023-08-10T23:51:26.226Z] 1469e6f7b9e6: Pulling fs layer [2023-08-10T23:51:26.226Z] eaf3925da568: Pulling fs layer [2023-08-10T23:51:26.226Z] bab4dde63d76: Pulling fs layer [2023-08-10T23:51:26.226Z] bde34c3a00c8: Pulling fs layer [2023-08-10T23:51:26.226Z] b352a97aabf1: Pulling fs layer [2023-08-10T23:51:26.226Z] 4872d77fe225: Pulling fs layer [2023-08-10T23:51:26.226Z] 5851b861e8e6: Pulling fs layer [2023-08-10T23:51:26.226Z] bab4dde63d76: Waiting [2023-08-10T23:51:26.226Z] bde34c3a00c8: Waiting [2023-08-10T23:51:26.226Z] b352a97aabf1: Waiting [2023-08-10T23:51:26.226Z] 4872d77fe225: Waiting [2023-08-10T23:51:26.226Z] 5851b861e8e6: Waiting [2023-08-10T23:51:26.226Z] 988bab9f4d93: Waiting [2023-08-10T23:51:26.226Z] 1469e6f7b9e6: Waiting [2023-08-10T23:51:26.226Z] eaf3925da568: Waiting [2023-08-10T23:51:26.226Z] e2be974225ed: Verifying Checksum [2023-08-10T23:51:26.226Z] e2be974225ed: Download complete [2023-08-10T23:51:26.226Z] 988bab9f4d93: Verifying Checksum [2023-08-10T23:51:26.226Z] 988bab9f4d93: Download complete [2023-08-10T23:51:26.486Z] 339a4e72a1f5: Verifying Checksum [2023-08-10T23:51:26.486Z] 339a4e72a1f5: Download complete [2023-08-10T23:51:26.486Z] 1469e6f7b9e6: Verifying Checksum [2023-08-10T23:51:26.486Z] eaf3925da568: Download complete [2023-08-10T23:51:26.486Z] bde34c3a00c8: Download complete [2023-08-10T23:51:26.486Z] b352a97aabf1: Verifying Checksum [2023-08-10T23:51:26.486Z] b352a97aabf1: Download complete [2023-08-10T23:51:26.486Z] 4872d77fe225: Verifying Checksum [2023-08-10T23:51:26.486Z] 4872d77fe225: Download complete [2023-08-10T23:51:26.486Z] 5851b861e8e6: Verifying Checksum [2023-08-10T23:51:26.486Z] 5851b861e8e6: Download complete [2023-08-10T23:51:26.486Z] b85a868b505f: Download complete [2023-08-10T23:51:26.745Z] bab4dde63d76: Verifying Checksum [2023-08-10T23:51:26.745Z] bab4dde63d76: Download complete [2023-08-10T23:51:27.681Z] b85a868b505f: Pull complete [2023-08-10T23:51:27.938Z] e2be974225ed: Pull complete [2023-08-10T23:51:28.198Z] 339a4e72a1f5: Pull complete [2023-08-10T23:51:28.457Z] 988bab9f4d93: Pull complete [2023-08-10T23:51:28.716Z] 1469e6f7b9e6: Pull complete [2023-08-10T23:51:28.717Z] eaf3925da568: Pull complete [2023-08-10T23:51:30.643Z] bab4dde63d76: Pull complete [2023-08-10T23:51:30.643Z] bde34c3a00c8: Pull complete [2023-08-10T23:51:30.643Z] b352a97aabf1: Pull complete [2023-08-10T23:51:30.643Z] 4872d77fe225: Pull complete [2023-08-10T23:51:30.643Z] 5851b861e8e6: Pull complete [2023-08-10T23:51:30.643Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-10T23:51:30.643Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-10T23:51:30.643Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T23:51:30.758Z] prd-ubuntu20.04-docker-8c-8g-3313 does not seem to be running inside a container [2023-08-10T23:51:30.774Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-10T23:51:33.507Z] $ docker top fa303e0db158b785a40139235b3d5e96ae8f18a02cbf61c91e56873a8c09b197 -eo pid,comm [2023-08-10T23:51:33.577Z] 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-10T23:51:33.577Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-10T23:51:33.615Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-10T23:51:33.615Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-10T23:51:33.717Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-10T23:51:33.706Z] $ docker exec fa303e0db158b785a40139235b3d5e96ae8f18a02cbf61c91e56873a8c09b197 ssh-agent [2023-08-10T23:51:33.829Z] SSH_AUTH_SOCK=/tmp/ssh-lFi2cowKgrkT/agent.31 [2023-08-10T23:51:33.829Z] SSH_AGENT_PID=37 [2023-08-10T23:51:33.835Z] Running ssh-add (command line suppressed) [2023-08-10T23:51:33.919Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7445082557815251106.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7445082557815251106.key) [2023-08-10T23:51:33.945Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-10T23:51:34.231Z] + git tag --points-at 3bd72eafd135fc13cc0388e2e4a2395f7020de89 [Pipeline] } [2023-08-10T23:51:34.230Z] $ docker exec --env ******** --env ******** fa303e0db158b785a40139235b3d5e96ae8f18a02cbf61c91e56873a8c09b197 ssh-agent -k [2023-08-10T23:51:34.320Z] unset SSH_AUTH_SOCK; [2023-08-10T23:51:34.321Z] unset SSH_AGENT_PID; [2023-08-10T23:51:34.321Z] echo Agent pid 37 killed; [2023-08-10T23:51:34.341Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2023-08-10T23:51:34.357Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.0.2|v3.1.0-dev.9' [Pipeline] sshagent [2023-08-10T23:51:34.370Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-10T23:51:34.370Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-10T23:51:34.475Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-10T23:51:34.465Z] $ docker exec fa303e0db158b785a40139235b3d5e96ae8f18a02cbf61c91e56873a8c09b197 ssh-agent [2023-08-10T23:51:34.585Z] SSH_AUTH_SOCK=/tmp/ssh-6t3af4pMJw7F/agent.69 [2023-08-10T23:51:34.585Z] SSH_AGENT_PID=75 [2023-08-10T23:51:34.590Z] Running ssh-add (command line suppressed) [2023-08-10T23:51:34.685Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11623545567595131844.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11623545567595131844.key) [2023-08-10T23:51:34.709Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-10T23:51:34.993Z] + git semver init [2023-08-10T23:51:35.252Z] 2023-08-10 23:51:35,150 [run_init] DEBUG init version:0.0.0 force:False [2023-08-10T23:51:35.252Z] 2023-08-10 23:51:35,151 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-08-10T23:51:35.252Z] 2023-08-10 23:51:35,152 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-08-10T23:51:35.252Z] 2023-08-10 23:51:35,152 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2023-08-10T23:51:36.190Z] 2023-08-10 23:51:35,971 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2023-08-10T23:51:36.190Z] 2023-08-10 23:51:35,971 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2023-08-10T23:51:36.190Z] 2023-08-10 23:51:35,972 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-10T23:51:36.190Z] 2023-08-10 23:51:35,972 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-08-10T23:51:36.190Z] 3.0.2 [Pipeline] } [2023-08-10T23:51:36.190Z] $ docker exec --env ******** --env ******** fa303e0db158b785a40139235b3d5e96ae8f18a02cbf61c91e56873a8c09b197 ssh-agent -k [2023-08-10T23:51:36.282Z] unset SSH_AUTH_SOCK; [2023-08-10T23:51:36.283Z] unset SSH_AGENT_PID; [2023-08-10T23:51:36.283Z] echo Agent pid 75 killed; [2023-08-10T23:51:36.307Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-10T23:51:36.602Z] + git semver [Pipeline] } [2023-08-10T23:51:36.865Z] $ docker stop --time=1 fa303e0db158b785a40139235b3d5e96ae8f18a02cbf61c91e56873a8c09b197 [2023-08-10T23:51:38.156Z] $ docker rm -f --volumes fa303e0db158b785a40139235b3d5e96ae8f18a02cbf61c91e56873a8c09b197 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-10T23:51:38.507Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-10T23:51:38.705Z] Stashed 1 file(s) [Pipeline] echo [2023-08-10T23:51:38.708Z] [edgeXSemver]: initialized semver on version 3.0.2 [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] sh [2023-08-10T23:51:39.059Z] + git checkout 3bd72eafd135fc13cc0388e2e4a2395f7020de89 [2023-08-10T23:51:39.059Z] HEAD is now at 3bd72ea Merge pull request #478 from FelixTing/changelog-update [2023-08-10T23:51:39.059Z] M VERSION [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-10T23:51:39.081Z] provisioning config files... [2023-08-10T23:51:39.088Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7046389679110307372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-10T23:51:39.378Z] ---> docker-login.sh [2023-08-10T23:51:39.378Z] nexus3.edgexfoundry.org:10001 [2023-08-10T23:51:39.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T23:51:39.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T23:51:39.378Z] Configure a credential helper to remove this warning. See [2023-08-10T23:51:39.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T23:51:39.378Z] [2023-08-10T23:51:39.378Z] Login Succeeded [2023-08-10T23:51:39.378Z] nexus3.edgexfoundry.org:10002 [2023-08-10T23:51:39.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T23:51:39.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T23:51:39.378Z] Configure a credential helper to remove this warning. See [2023-08-10T23:51:39.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T23:51:39.378Z] [2023-08-10T23:51:39.378Z] Login Succeeded [2023-08-10T23:51:39.378Z] nexus3.edgexfoundry.org:10003 [2023-08-10T23:51:39.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T23:51:39.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T23:51:39.637Z] Configure a credential helper to remove this warning. See [2023-08-10T23:51:39.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T23:51:39.637Z] [2023-08-10T23:51:39.637Z] Login Succeeded [2023-08-10T23:51:39.637Z] nexus3.edgexfoundry.org:10004 [2023-08-10T23:51:39.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T23:51:39.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T23:51:39.637Z] Configure a credential helper to remove this warning. See [2023-08-10T23:51:39.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T23:51:39.637Z] [2023-08-10T23:51:39.637Z] Login Succeeded [2023-08-10T23:51:39.637Z] docker.io [2023-08-10T23:51:39.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T23:51:39.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T23:51:39.895Z] Configure a credential helper to remove this warning. See [2023-08-10T23:51:39.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T23:51:39.895Z] [2023-08-10T23:51:39.895Z] Login Succeeded [2023-08-10T23:51:39.895Z] ---> docker-login.sh ends [Pipeline] } [2023-08-10T23:51:39.912Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-10T23:51:39.969Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-10T23:51:39.977Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-08-10T23:51:39.985Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-10T23:51:39.991Z] ========================================================= [2023-08-10T23:51:39.991Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-08-10T23:51:39.991Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T23:51:40.289Z] + 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-10T23:51:40.289Z] Sending build context to Docker daemon 4.881MB [2023-08-10T23:51:40.289Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-08-10T23:51:40.289Z] Step 2/21 : FROM ${BASE} as builder [2023-08-10T23:51:40.289Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-08-10T23:51:40.289Z] 91d30c5bc195: Pulling fs layer [2023-08-10T23:51:40.289Z] 316e5a4585fb: Pulling fs layer [2023-08-10T23:51:40.560Z] 91d30c5bc195: Verifying Checksum [2023-08-10T23:51:40.560Z] 91d30c5bc195: Pull complete [2023-08-10T23:51:41.127Z] 316e5a4585fb: Verifying Checksum [2023-08-10T23:51:41.127Z] 316e5a4585fb: Download complete [2023-08-10T23:51:43.656Z] 316e5a4585fb: Pull complete [2023-08-10T23:51:43.656Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-08-10T23:51:43.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-08-10T23:51:43.656Z] ---> e83ffa357ff4 [2023-08-10T23:51:43.656Z] 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-10T23:51:45.574Z] ---> Running in 8c967442b2bc [2023-08-10T23:51:45.574Z] Connecting to iotech.jfrog.io (34.248.243.246:443) [2023-08-10T23:51:46.143Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-10T23:51:46.143Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-10T23:51:46.143Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-10T23:51:46.404Z] Removing intermediate container 8c967442b2bc [2023-08-10T23:51:46.404Z] ---> cb0404eb4e6e [2023-08-10T23:51:46.404Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-10T23:51:46.404Z] ---> Running in dd8106b9404a [2023-08-10T23:51:46.971Z] Removing intermediate container dd8106b9404a [2023-08-10T23:51:46.971Z] ---> 127e5a9e86c6 [2023-08-10T23:51:46.971Z] 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-10T23:51:46.971Z] ---> Running in 57c6d7763c14 [2023-08-10T23:51:47.230Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-10T23:51:47.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-08-10T23:51:47.749Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-10T23:51:48.315Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-10T23:51:48.315Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-10T23:51:48.315Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-10T23:51:48.315Z] (3/16) Installing hiredis (1.0.2-r0) [2023-08-10T23:51:48.315Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-08-10T23:51:48.315Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-10T23:51:48.883Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-10T23:51:49.141Z] (7/16) Installing libcbor (0.9.0-r1) [2023-08-10T23:51:49.141Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-08-10T23:51:49.141Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-10T23:51:49.141Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-10T23:51:49.708Z] (11/16) Installing libblkid (2.38-r1) [2023-08-10T23:51:49.708Z] (12/16) Installing libuuid (2.38-r1) [2023-08-10T23:51:49.967Z] (13/16) Installing libfdisk (2.38-r1) [2023-08-10T23:51:49.967Z] (14/16) Installing libmount (2.38-r1) [2023-08-10T23:51:49.967Z] (15/16) Installing libsmartcols (2.38-r1) [2023-08-10T23:51:49.967Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-08-10T23:51:49.967Z] Executing busybox-1.35.0-r17.trigger [2023-08-10T23:51:49.967Z] OK: 280 MiB in 90 packages [2023-08-10T23:51:50.533Z] Removing intermediate container 57c6d7763c14 [2023-08-10T23:51:50.533Z] ---> 76f5d3d0bfca [2023-08-10T23:51:50.533Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-08-10T23:51:50.533Z] ---> Running in cc3bd16580c9 [2023-08-10T23:51:51.102Z] Removing intermediate container cc3bd16580c9 [2023-08-10T23:51:51.102Z] ---> d9839e6a364e [2023-08-10T23:51:51.102Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-08-10T23:51:51.360Z] ---> 14254e917fd9 [2023-08-10T23:51:51.360Z] Step 8/21 : COPY src /tmp/sdk/src [2023-08-10T23:51:51.360Z] ---> dbf6e2da0fed [2023-08-10T23:51:51.360Z] Step 9/21 : COPY include /tmp/sdk/include [2023-08-10T23:51:51.619Z] ---> 297a7690bee1 [2023-08-10T23:51:51.619Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-08-10T23:51:51.619Z] ---> 5fc1fadca565 [2023-08-10T23:51:51.619Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-08-10T23:51:51.880Z] ---> 01593d74ebaa [2023-08-10T23:51:51.880Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-08-10T23:51:52.139Z] ---> 09a7c68924d0 [2023-08-10T23:51:52.139Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-08-10T23:51:52.139Z] ---> Running in 627fc1e6e0f0 [2023-08-10T23:51:52.399Z] + CPPCHECK=false [2023-08-10T23:51:52.399Z] + DOCGEN=false [2023-08-10T23:51:52.399Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-08-10T23:51:52.399Z] + '[' 0 -gt 0 ] [2023-08-10T23:51:52.399Z] + readlink -f ./scripts/build.sh [2023-08-10T23:51:52.399Z] + dirname /tmp/sdk/scripts/build.sh [2023-08-10T23:51:52.399Z] + dirname /tmp/sdk/scripts [2023-08-10T23:51:52.399Z] + ROOT=/tmp/sdk [2023-08-10T23:51:52.399Z] + cd /tmp/sdk [2023-08-10T23:51:52.399Z] + mkdir -p /tmp/sdk/build/release [2023-08-10T23:51:52.399Z] + cd /tmp/sdk/build/release [2023-08-10T23:51:52.399Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-08-10T23:51:52.399Z] -- The C compiler identification is GNU 11.2.1 [2023-08-10T23:51:52.399Z] -- Detecting C compiler ABI info [2023-08-10T23:51:52.399Z] -- Detecting C compiler ABI info - done [2023-08-10T23:51:52.399Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-10T23:51:52.399Z] -- Detecting C compile features [2023-08-10T23:51:52.399Z] -- Detecting C compile features - done [2023-08-10T23:51:52.399Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-10T23:51:52.658Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-10T23:51:52.658Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-10T23:51:52.658Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-10T23:51:52.658Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-10T23:51:52.658Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-10T23:51:52.658Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-10T23:51:52.658Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-10T23:51:52.658Z] -- /opt/iotech/iot/1.5/include [2023-08-10T23:51:52.658Z] -- C SDK 3.0.2 for Linux [2023-08-10T23:51:52.658Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-10T23:51:52.658Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-10T23:51:52.658Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-10T23:51:52.658Z] -- Configuring done [2023-08-10T23:51:52.658Z] -- Generating done [2023-08-10T23:51:52.658Z] -- Build files have been written to: /tmp/sdk/build/release [2023-08-10T23:51:52.658Z] + make all package [2023-08-10T23:51:52.658Z] + tee release.log [2023-08-10T23:51:52.658Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-10T23:51:52.917Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-08-10T23:51:53.176Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-08-10T23:51:53.176Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-08-10T23:51:53.434Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-08-10T23:51:53.434Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-08-10T23:51:53.765Z] Still waiting to schedule task [2023-08-10T23:51:53.765Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-10T23:51:54.003Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-08-10T23:51:54.003Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-08-10T23:51:54.003Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-08-10T23:51:54.263Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-08-10T23:51:54.522Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-08-10T23:51:54.782Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-08-10T23:51:54.782Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-08-10T23:51:55.042Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-08-10T23:51:55.042Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-08-10T23:51:55.301Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-08-10T23:51:55.301Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-08-10T23:51:55.870Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-08-10T23:51:55.870Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-08-10T23:51:55.870Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-08-10T23:51:56.130Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-08-10T23:51:57.067Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-08-10T23:51:57.067Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-08-10T23:51:57.067Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-08-10T23:51:57.327Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-08-10T23:51:57.327Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-08-10T23:51:57.586Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-08-10T23:51:57.845Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-08-10T23:51:58.108Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-08-10T23:51:58.108Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-08-10T23:51:58.367Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-08-10T23:51:58.935Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-08-10T23:51:58.935Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-08-10T23:51:58.935Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-08-10T23:51:59.195Z] [ 68%] Linking C shared library libcsdk.so [2023-08-10T23:51:59.195Z] [ 68%] Built target csdk [2023-08-10T23:51:59.195Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-08-10T23:51:59.455Z] [ 72%] Linking C executable template [2023-08-10T23:51:59.455Z] [ 72%] Built target template [2023-08-10T23:51:59.455Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-08-10T23:51:59.455Z] [ 76%] Linking C executable device-counter [2023-08-10T23:51:59.715Z] [ 76%] Built target device-counter [2023-08-10T23:51:59.715Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-08-10T23:51:59.715Z] [ 80%] Linking C executable device-random [2023-08-10T23:51:59.715Z] [ 80%] Built target device-random [2023-08-10T23:51:59.715Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-08-10T23:51:59.974Z] [ 84%] Linking C executable device-gyro [2023-08-10T23:51:59.974Z] [ 84%] Built target device-gyro [2023-08-10T23:51:59.974Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-08-10T23:51:59.974Z] [ 88%] Linking C executable device-bitfields [2023-08-10T23:52:00.235Z] [ 88%] Built target device-bitfields [2023-08-10T23:52:00.235Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-08-10T23:52:00.235Z] [ 92%] Linking C executable template-discovery [2023-08-10T23:52:00.495Z] [ 92%] Built target template-discovery [2023-08-10T23:52:00.495Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-08-10T23:52:00.495Z] [ 96%] Linking C executable device-file [2023-08-10T23:52:00.495Z] [ 96%] Built target device-file [2023-08-10T23:52:00.495Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-08-10T23:52:00.754Z] [100%] Linking C executable device-terminal [2023-08-10T23:52:00.754Z] [100%] Built target device-terminal [2023-08-10T23:52:00.754Z] Run CPack packaging tool... [2023-08-10T23:52:00.754Z] CPack: Create package using TGZ [2023-08-10T23:52:00.754Z] CPack: Install projects [2023-08-10T23:52:00.754Z] CPack: - Run preinstall target for: Csdk [2023-08-10T23:52:01.013Z] CPack: - Install project: Csdk [] [2023-08-10T23:52:01.013Z] CPack: Create package [2023-08-10T23:52:01.013Z] CPack: - package: /tmp/sdk/build/release/csdk-3.0.2.tar.gz generated. [2023-08-10T23:52:01.013Z] + '[' false '=' true ] [2023-08-10T23:52:01.013Z] + '[' false '=' true ] [2023-08-10T23:52:01.013Z] + mkdir -p /tmp/sdk/build/debug [2023-08-10T23:52:01.013Z] + cd /tmp/sdk/build/debug [2023-08-10T23:52:01.013Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-08-10T23:52:01.272Z] -- The C compiler identification is GNU 11.2.1 [2023-08-10T23:52:01.272Z] -- Detecting C compiler ABI info [2023-08-10T23:52:01.272Z] -- Detecting C compiler ABI info - done [2023-08-10T23:52:01.272Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-10T23:52:01.272Z] -- Detecting C compile features [2023-08-10T23:52:01.272Z] -- Detecting C compile features - done [2023-08-10T23:52:01.272Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-10T23:52:01.272Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-10T23:52:01.272Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-10T23:52:01.272Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-10T23:52:01.272Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-10T23:52:01.272Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-10T23:52:01.272Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-10T23:52:01.272Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-10T23:52:01.272Z] -- /opt/iotech/iot/1.5/include [2023-08-10T23:52:01.272Z] -- C SDK 3.0.2 for Linux [2023-08-10T23:52:01.272Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-10T23:52:01.531Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-10T23:52:01.531Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-10T23:52:01.531Z] -- Configuring done [2023-08-10T23:52:01.531Z] -- Generating done [2023-08-10T23:52:01.531Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-08-10T23:52:01.531Z] + make [2023-08-10T23:52:01.531Z] + tee debug.log [2023-08-10T23:52:01.531Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-10T23:52:01.531Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-08-10T23:52:01.790Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-08-10T23:52:01.790Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-08-10T23:52:01.790Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-08-10T23:52:02.048Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-08-10T23:52:02.048Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-08-10T23:52:02.048Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-08-10T23:52:02.308Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-08-10T23:52:02.308Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-08-10T23:52:02.308Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-08-10T23:52:02.567Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-08-10T23:52:02.567Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-08-10T23:52:02.567Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-08-10T23:52:02.827Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-08-10T23:52:02.827Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-08-10T23:52:02.827Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-08-10T23:52:03.086Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-08-10T23:52:03.086Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-08-10T23:52:03.086Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-08-10T23:52:03.346Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-08-10T23:52:03.606Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-08-10T23:52:03.606Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-08-10T23:52:03.606Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-08-10T23:52:03.606Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-08-10T23:52:03.865Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-08-10T23:52:03.865Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-08-10T23:52:04.123Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-08-10T23:52:04.123Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-08-10T23:52:04.123Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-08-10T23:52:04.383Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-08-10T23:52:04.383Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-08-10T23:52:04.643Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-08-10T23:52:04.643Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-08-10T23:52:04.643Z] [ 68%] Linking C shared library libcsdk.so [2023-08-10T23:52:04.643Z] [ 68%] Built target csdk [2023-08-10T23:52:04.643Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-08-10T23:52:04.901Z] [ 72%] Linking C executable template [2023-08-10T23:52:04.901Z] [ 72%] Built target template [2023-08-10T23:52:04.901Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-08-10T23:52:04.901Z] [ 76%] Linking C executable device-counter [2023-08-10T23:52:05.160Z] [ 76%] Built target device-counter [2023-08-10T23:52:05.160Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-08-10T23:52:05.160Z] [ 80%] Linking C executable device-random [2023-08-10T23:52:05.160Z] [ 80%] Built target device-random [2023-08-10T23:52:05.160Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-08-10T23:52:05.160Z] [ 84%] Linking C executable device-gyro [2023-08-10T23:52:05.419Z] [ 84%] Built target device-gyro [2023-08-10T23:52:05.419Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-08-10T23:52:05.419Z] [ 88%] Linking C executable device-bitfields [2023-08-10T23:52:05.419Z] [ 88%] Built target device-bitfields [2023-08-10T23:52:05.419Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-08-10T23:52:05.679Z] [ 92%] Linking C executable template-discovery [2023-08-10T23:52:05.679Z] [ 92%] Built target template-discovery [2023-08-10T23:52:05.679Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-08-10T23:52:05.679Z] [ 96%] Linking C executable device-file [2023-08-10T23:52:05.679Z] [ 96%] Built target device-file [2023-08-10T23:52:05.679Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-08-10T23:52:05.937Z] [100%] Linking C executable device-terminal [2023-08-10T23:52:05.937Z] [100%] Built target device-terminal [2023-08-10T23:52:05.938Z] make: Entering directory '/tmp/sdk/build/release' [2023-08-10T23:52:05.938Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-08-10T23:52:05.938Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T23:52:05.938Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T23:52:05.938Z] [ 68%] Built target csdk [2023-08-10T23:52:05.938Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T23:52:05.938Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T23:52:05.938Z] [ 72%] Built target template [2023-08-10T23:52:05.938Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T23:52:05.938Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T23:52:05.938Z] [ 76%] Built target device-counter [2023-08-10T23:52:05.938Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T23:52:05.938Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T23:52:05.938Z] [ 80%] Built target device-random [2023-08-10T23:52:05.938Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T23:52:05.938Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T23:52:06.197Z] [ 84%] Built target device-gyro [2023-08-10T23:52:06.197Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T23:52:06.197Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T23:52:06.197Z] [ 88%] Built target device-bitfields [2023-08-10T23:52:06.197Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T23:52:06.197Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T23:52:06.197Z] [ 92%] Built target template-discovery [2023-08-10T23:52:06.197Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T23:52:06.197Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T23:52:06.197Z] [ 96%] Built target device-file [2023-08-10T23:52:06.197Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T23:52:06.197Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T23:52:06.197Z] [100%] Built target device-terminal [2023-08-10T23:52:06.197Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T23:52:06.197Z] Install the project... [2023-08-10T23:52:06.197Z] -- Install configuration: "Release" [2023-08-10T23:52:06.197Z] -- Installing: /usr/local/lib/libcsdk.so [2023-08-10T23:52:06.197Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-08-10T23:52:06.197Z] -- Installing: /usr/local/include [2023-08-10T23:52:06.197Z] -- Installing: /usr/local/include/devsdk [2023-08-10T23:52:06.197Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-08-10T23:52:06.197Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-08-10T23:52:06.197Z] -- Installing: /usr/local/include/edgex [2023-08-10T23:52:06.197Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-08-10T23:52:06.197Z] -- Installing: /usr/local/include/edgex/devices.h [2023-08-10T23:52:06.197Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-08-10T23:52:06.197Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-08-10T23:52:06.197Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-08-10T23:52:06.197Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-08-10T23:52:06.197Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-08-10T23:52:06.197Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-08-10T23:52:06.197Z] make: Leaving directory '/tmp/sdk/build/release' [2023-08-10T23:52:06.766Z] Removing intermediate container 627fc1e6e0f0 [2023-08-10T23:52:06.766Z] ---> 1a4794e442b4 [2023-08-10T23:52:06.766Z] Step 14/21 : FROM ${BASE} [2023-08-10T23:52:06.766Z] ---> e83ffa357ff4 [2023-08-10T23:52:06.766Z] Step 15/21 : LABEL maintainer="IOTech " [2023-08-10T23:52:06.766Z] ---> Running in 2dc117011a44 [2023-08-10T23:52:07.025Z] Removing intermediate container 2dc117011a44 [2023-08-10T23:52:07.025Z] ---> ad313b836284 [2023-08-10T23:52:07.025Z] 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-10T23:52:07.025Z] ---> Running in c564d13b688b [2023-08-10T23:52:07.284Z] Connecting to iotech.jfrog.io (46.51.205.85:443) [2023-08-10T23:52:07.543Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-10T23:52:07.543Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-10T23:52:07.543Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-10T23:52:08.111Z] Removing intermediate container c564d13b688b [2023-08-10T23:52:08.111Z] ---> e92773733b70 [2023-08-10T23:52:08.111Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-10T23:52:08.111Z] ---> Running in cd8e9cf78ba4 [2023-08-10T23:52:08.370Z] Removing intermediate container cd8e9cf78ba4 [2023-08-10T23:52:08.370Z] ---> fa690fbc4f61 [2023-08-10T23:52:08.370Z] 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-10T23:52:08.370Z] ---> Running in 4a6782a104cb [2023-08-10T23:52:08.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-10T23:52:08.884Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-08-10T23:52:09.142Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-10T23:52:09.708Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-10T23:52:09.709Z] (1/7) Installing curl (8.2.1-r0) [2023-08-10T23:52:09.709Z] (2/7) Installing hiredis (1.0.2-r0) [2023-08-10T23:52:09.709Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-08-10T23:52:09.709Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-08-10T23:52:10.277Z] (5/7) Installing libcbor (0.9.0-r1) [2023-08-10T23:52:10.277Z] (6/7) Installing libuuid (2.38-r1) [2023-08-10T23:52:10.277Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-10T23:52:11.214Z] Executing busybox-1.35.0-r17.trigger [2023-08-10T23:52:11.214Z] OK: 276 MiB in 83 packages [2023-08-10T23:52:11.780Z] Removing intermediate container 4a6782a104cb [2023-08-10T23:52:11.780Z] ---> bb961b624163 [2023-08-10T23:52:11.780Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-08-10T23:52:11.780Z] ---> bb053e3078f4 [2023-08-10T23:52:11.780Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-08-10T23:52:11.780Z] ---> b86e388642ad [2023-08-10T23:52:11.780Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-08-10T23:52:12.039Z] ---> b0653d474747 [2023-08-10T23:52:12.039Z] Successfully built b0653d474747 [2023-08-10T23:52:12.039Z] 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-10T23:52:12.389Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-10T23:52:12.389Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T23:52:12.461Z] prd-ubuntu20.04-docker-8c-8g-3313 does not seem to be running inside a container [2023-08-10T23:52:12.496Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-10T23:52:12.807Z] $ docker top 83d47ad8b678c02737421d206564c4c36e98fe92945acbe040263a7408327cf1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-10T23:52:13.138Z] + make test [2023-08-10T23:52:13.138Z] echo "make test" [2023-08-10T23:52:13.138Z] make test [Pipeline] } [2023-08-10T23:52:13.154Z] $ docker stop --time=1 83d47ad8b678c02737421d206564c4c36e98fe92945acbe040263a7408327cf1 [2023-08-10T23:52:14.419Z] $ docker rm -f --volumes 83d47ad8b678c02737421d206564c4c36e98fe92945acbe040263a7408327cf1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-10T23:52:15.033Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-10T23:52:15.317Z] + ls -al . [2023-08-10T23:52:15.317Z] total 212 [2023-08-10T23:52:15.317Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 10 23:51 . [2023-08-10T23:52:15.317Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 23:51 .. [2023-08-10T23:52:15.317Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 23:51 .git [2023-08-10T23:52:15.317Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 23:51 .github [2023-08-10T23:52:15.318Z] -rw-rw-r-- 1 jenkins jenkins 176 Aug 10 23:51 .gitignore [2023-08-10T23:52:15.318Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 10 23:51 .semver [2023-08-10T23:52:15.318Z] -rw-rw-r-- 1 jenkins jenkins 2908 Aug 10 23:51 Attribution.txt [2023-08-10T23:52:15.318Z] -rw-rw-r-- 1 jenkins jenkins 9802 Aug 10 23:51 CHANGES [2023-08-10T23:52:15.318Z] -rw-rw-r-- 1 jenkins jenkins 108574 Aug 10 23:51 Doxyfile [2023-08-10T23:52:15.318Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 10 23:51 GOVERNANCE.md [2023-08-10T23:52:15.318Z] -rw-rw-r-- 1 jenkins jenkins 784 Aug 10 23:51 Jenkinsfile [2023-08-10T23:52:15.318Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 10 23:51 LICENSE [2023-08-10T23:52:15.318Z] -rw-rw-r-- 1 jenkins jenkins 444 Aug 10 23:51 Makefile [2023-08-10T23:52:15.318Z] -rw-rw-r-- 1 jenkins jenkins 618 Aug 10 23:51 OWNERS.md [2023-08-10T23:52:15.318Z] -rw-rw-r-- 1 jenkins jenkins 1651 Aug 10 23:51 README.IOT.md [2023-08-10T23:52:15.318Z] -rw-rw-r-- 1 jenkins jenkins 4215 Aug 10 23:51 README.md [2023-08-10T23:52:15.318Z] -rw-rw-r-- 1 jenkins jenkins 1245 Aug 10 23:51 README.v3.md [2023-08-10T23:52:15.318Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 10 23:51 VERSION [2023-08-10T23:52:15.318Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 23:51 docs [2023-08-10T23:52:15.318Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 23:51 include [2023-08-10T23:52:15.318Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 23:51 scripts [2023-08-10T23:52:15.318Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 23:51 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T23:52:15.622Z] + 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=3bd72eafd135fc13cc0388e2e4a2395f7020de89 --label arch=amd64 --label version=3.0.2 . [2023-08-10T23:52:15.622Z] Sending build context to Docker daemon 4.881MB [2023-08-10T23:52:15.622Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-08-10T23:52:15.622Z] Step 2/17 : FROM ${BASE} [2023-08-10T23:52:15.622Z] ---> b0653d474747 [2023-08-10T23:52:15.622Z] Step 3/17 : LABEL maintainer="IOTech " [2023-08-10T23:52:15.622Z] ---> Running in 581dbb67cb7e [2023-08-10T23:52:15.881Z] Removing intermediate container 581dbb67cb7e [2023-08-10T23:52:15.881Z] ---> 1466f3cfe77a [2023-08-10T23:52:15.881Z] 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-10T23:52:15.881Z] ---> Running in 380c218fe6e6 [2023-08-10T23:52:16.140Z] Connecting to iotech.jfrog.io (46.51.205.85:443) [2023-08-10T23:52:16.399Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-10T23:52:16.399Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-10T23:52:16.399Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-10T23:52:16.659Z] Removing intermediate container 380c218fe6e6 [2023-08-10T23:52:16.659Z] ---> f8ffc9e890d9 [2023-08-10T23:52:16.659Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-10T23:52:16.659Z] ---> Running in ecadb8f40d47 [2023-08-10T23:52:17.227Z] Removing intermediate container ecadb8f40d47 [2023-08-10T23:52:17.227Z] ---> 415a55218003 [2023-08-10T23:52:17.227Z] 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-10T23:52:17.227Z] ---> Running in 7da7d88e3994 [2023-08-10T23:52:17.794Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-10T23:52:17.794Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-08-10T23:52:17.794Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-10T23:52:18.361Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-10T23:52:18.361Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-10T23:52:18.361Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-10T23:52:18.361Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-10T23:52:19.299Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-10T23:52:19.299Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-08-10T23:52:19.299Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-10T23:52:19.299Z] (7/11) Installing libblkid (2.38-r1) [2023-08-10T23:52:19.299Z] (8/11) Installing libfdisk (2.38-r1) [2023-08-10T23:52:19.299Z] (9/11) Installing libmount (2.38-r1) [2023-08-10T23:52:19.299Z] (10/11) Installing libsmartcols (2.38-r1) [2023-08-10T23:52:19.299Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-08-10T23:52:19.299Z] Executing busybox-1.35.0-r17.trigger [2023-08-10T23:52:19.299Z] OK: 281 MiB in 92 packages [2023-08-10T23:52:19.864Z] Removing intermediate container 7da7d88e3994 [2023-08-10T23:52:19.864Z] ---> c730b0bc08da [2023-08-10T23:52:19.865Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-08-10T23:52:19.865Z] ---> ab7308c26133 [2023-08-10T23:52:19.865Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-08-10T23:52:20.123Z] ---> b33f26edb05a [2023-08-10T23:52:20.123Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-08-10T23:52:20.381Z] ---> 3173a58ba37b [2023-08-10T23:52:20.381Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-08-10T23:52:20.381Z] ---> 74f26323ec3e [2023-08-10T23:52:20.381Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-08-10T23:52:20.640Z] ---> 54f6caa55139 [2023-08-10T23:52:20.640Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-08-10T23:52:20.640Z] ---> fa92697f64c7 [2023-08-10T23:52:20.640Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-08-10T23:52:20.640Z] ---> Running in 24c395e75f3d [2023-08-10T23:52:20.640Z] Removing intermediate container 24c395e75f3d [2023-08-10T23:52:20.640Z] ---> 648fc67df366 [2023-08-10T23:52:20.640Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-08-10T23:52:20.899Z] ---> Running in bb26664b00af [2023-08-10T23:52:20.899Z] Removing intermediate container bb26664b00af [2023-08-10T23:52:20.899Z] ---> c506a0536d82 [2023-08-10T23:52:20.899Z] Step 15/17 : LABEL arch=amd64 [2023-08-10T23:52:20.899Z] ---> Running in 9003546e290e [2023-08-10T23:52:20.899Z] Removing intermediate container 9003546e290e [2023-08-10T23:52:20.899Z] ---> 859679218b3b [2023-08-10T23:52:20.899Z] Step 16/17 : LABEL git_sha=3bd72eafd135fc13cc0388e2e4a2395f7020de89 [2023-08-10T23:52:20.899Z] ---> Running in cfbf75cdb702 [2023-08-10T23:52:21.157Z] Removing intermediate container cfbf75cdb702 [2023-08-10T23:52:21.157Z] ---> 2a5e08d9a184 [2023-08-10T23:52:21.157Z] Step 17/17 : LABEL version=3.0.2 [2023-08-10T23:52:21.157Z] ---> Running in e9b5521c75ef [2023-08-10T23:52:21.157Z] Removing intermediate container e9b5521c75ef [2023-08-10T23:52:21.157Z] ---> 2f67ef577d37 [2023-08-10T23:52:21.157Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-08-10T23:52:21.157Z] Successfully built 2f67ef577d37 [2023-08-10T23:52:21.157Z] 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-10T23:52:21.575Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-10T23:52:21.575Z] [2023-08-10T23:52:21.575Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T23:52:21.875Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-10T23:52:21.875Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-10T23:52:21.875Z] 5eb5b503b376: Pulling fs layer [2023-08-10T23:52:21.875Z] 5c69ac0246d0: Pulling fs layer [2023-08-10T23:52:21.875Z] ec43610c2a17: Pulling fs layer [2023-08-10T23:52:21.875Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-10T23:52:21.875Z] 33b1e0a273af: Pulling fs layer [2023-08-10T23:52:21.875Z] 5d3b04190fa2: Pulling fs layer [2023-08-10T23:52:21.875Z] 2f39f015ded8: Pulling fs layer [2023-08-10T23:52:21.875Z] 2f39f015ded8: Waiting [2023-08-10T23:52:21.875Z] 3a2ae6a8a46f: Waiting [2023-08-10T23:52:21.875Z] 5d3b04190fa2: Waiting [2023-08-10T23:52:21.875Z] 5c69ac0246d0: Verifying Checksum [2023-08-10T23:52:21.875Z] 5c69ac0246d0: Download complete [2023-08-10T23:52:21.875Z] 3a2ae6a8a46f: Download complete [2023-08-10T23:52:21.875Z] 33b1e0a273af: Verifying Checksum [2023-08-10T23:52:21.875Z] 33b1e0a273af: Download complete [2023-08-10T23:52:22.149Z] ec43610c2a17: Verifying Checksum [2023-08-10T23:52:22.149Z] ec43610c2a17: Download complete [2023-08-10T23:52:22.149Z] 5d3b04190fa2: Download complete [2023-08-10T23:52:22.149Z] 5eb5b503b376: Verifying Checksum [2023-08-10T23:52:22.149Z] 5eb5b503b376: Download complete [2023-08-10T23:52:22.716Z] 2f39f015ded8: Verifying Checksum [2023-08-10T23:52:22.716Z] 2f39f015ded8: Download complete [2023-08-10T23:52:23.281Z] 5eb5b503b376: Pull complete [2023-08-10T23:52:23.538Z] 5c69ac0246d0: Pull complete [2023-08-10T23:52:23.797Z] ec43610c2a17: Pull complete [2023-08-10T23:52:24.056Z] 3a2ae6a8a46f: Pull complete [2023-08-10T23:52:24.315Z] 33b1e0a273af: Pull complete [2023-08-10T23:52:24.315Z] 5d3b04190fa2: Pull complete [2023-08-10T23:52:28.504Z] 2f39f015ded8: Pull complete [2023-08-10T23:52:28.504Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-10T23:52:28.504Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-10T23:52:28.504Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T23:52:28.643Z] prd-ubuntu20.04-docker-8c-8g-3313 does not seem to be running inside a container [2023-08-10T23:52:28.722Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-10T23:52:32.634Z] $ docker top e74cbe6fc960aec8d67239e74b2578a26ff848d6cc3f80163b264733a73aa3f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-10T23:52:33.077Z] ---> job-cost.sh [2023-08-10T23:52:33.077Z] lf-activate-venv: SKIPPING [2023-08-10T23:52:33.077Z] INFO: No Stack... [2023-08-10T23:52:33.336Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-10T23:52:33.903Z] INFO: Archiving Costs [Pipeline] sh [2023-08-10T23:52:34.191Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2023-08-10T23:52:34.191Z] + cut -d, -f6 [Pipeline] lock [2023-08-10T23:52:34.205Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-59-stack-cost] [2023-08-10T23:52:34.213Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-59-stack-cost] did not exist. Created. [2023-08-10T23:52:34.213Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-59-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-10T23:52:34.514Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-10T23:52:34.561Z] Stashed 1 file(s) [Pipeline] } [2023-08-10T23:52:34.567Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-59-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-10T23:52:34.596Z] $ docker stop --time=1 e74cbe6fc960aec8d67239e74b2578a26ff848d6cc3f80163b264733a73aa3f0 [2023-08-10T23:52:35.765Z] $ docker rm -f --volumes e74cbe6fc960aec8d67239e74b2578a26ff848d6cc3f80163b264733a73aa3f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-10T23:53:32.235Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3314 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2023-08-10T23:53:32.251Z] Running in /w/workspace/device-sdk-c/59 [Pipeline] { [Pipeline] checkout [2023-08-10T23:53:32.286Z] Selected Git installation does not exist. Using Default [2023-08-10T23:53:32.286Z] The recommended git tool is: NONE [2023-08-10T23:53:37.105Z] using credential edgex-jenkins-ssh [2023-08-10T23:53:37.119Z] Cloning the remote Git repository [2023-08-10T23:53:37.158Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-08-10T23:53:37.237Z] > git init /w/workspace/device-sdk-c/59 # timeout=10 [2023-08-10T23:53:37.363Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-08-10T23:53:37.364Z] > git --version # timeout=10 [2023-08-10T23:53:37.384Z] > git --version # 'git version 2.25.1' [2023-08-10T23:53:37.386Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-10T23:53:37.532Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-10T23:53:39.434Z] Avoid second fetch [2023-08-10T23:53:39.435Z] Checking out Revision 3bd72eafd135fc13cc0388e2e4a2395f7020de89 (main) [2023-08-10T23:53:38.632Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-08-10T23:53:38.650Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-10T23:53:39.449Z] > git config core.sparsecheckout # timeout=10 [2023-08-10T23:53:39.510Z] > git checkout -f 3bd72eafd135fc13cc0388e2e4a2395f7020de89 # timeout=10 [2023-08-10T23:53:39.967Z] Commit message: "Merge pull request #478 from FelixTing/changelog-update" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-10T23:53:40.941Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-10T23:53:40.941Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-10T23:53:40.941Z] Dload Upload Total Spent Left Speed [2023-08-10T23:53:41.211Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 29931 0 --:--:-- --:--:-- --:--:-- 29861 100 12751 100 12751 0 0 29861 0 --:--:-- --:--:-- --:--:-- 29792 [Pipeline] sh [2023-08-10T23:53:41.783Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-10T23:53:42.118Z] + sudo jq+ sudo tee /etc/docker/daemon.new [2023-08-10T23:53:42.118Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-10T23:53:42.118Z] { [2023-08-10T23:53:42.118Z] "registry-mirrors": [ [2023-08-10T23:53:42.118Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-10T23:53:42.118Z] ], [2023-08-10T23:53:42.118Z] "bip": "10.250.0.254/24", [2023-08-10T23:53:42.118Z] "hosts": [ [2023-08-10T23:53:42.118Z] "tcp://0.0.0.0:5555", [2023-08-10T23:53:42.118Z] "unix:///var/run/docker.sock" [2023-08-10T23:53:42.118Z] ], [2023-08-10T23:53:42.118Z] "mtu": 1458, [2023-08-10T23:53:42.118Z] "selinux-enabled": true, [2023-08-10T23:53:42.118Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-10T23:53:42.118Z] } [Pipeline] sh [2023-08-10T23:53:42.452Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-10T23:53:42.784Z] + sudo service docker restart [Pipeline] sh [2023-08-10T23:54:01.327Z] + git checkout 3bd72eafd135fc13cc0388e2e4a2395f7020de89 [2023-08-10T23:54:01.327Z] HEAD is now at 3bd72ea Merge pull request #478 from FelixTing/changelog-update [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-10T23:54:01.358Z] provisioning config files... [2023-08-10T23:54:01.380Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/59@tmp/config3223322566925603201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-10T23:54:01.721Z] ---> docker-login.sh [2023-08-10T23:54:01.721Z] nexus3.edgexfoundry.org:10001 [2023-08-10T23:54:01.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T23:54:02.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T23:54:02.580Z] Configure a credential helper to remove this warning. See [2023-08-10T23:54:02.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T23:54:02.580Z] [2023-08-10T23:54:02.580Z] Login Succeeded [2023-08-10T23:54:02.580Z] nexus3.edgexfoundry.org:10002 [2023-08-10T23:54:02.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T23:54:02.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T23:54:02.847Z] Configure a credential helper to remove this warning. See [2023-08-10T23:54:02.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T23:54:02.847Z] [2023-08-10T23:54:02.847Z] Login Succeeded [2023-08-10T23:54:02.847Z] nexus3.edgexfoundry.org:10003 [2023-08-10T23:54:03.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T23:54:03.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T23:54:03.115Z] Configure a credential helper to remove this warning. See [2023-08-10T23:54:03.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T23:54:03.115Z] [2023-08-10T23:54:03.115Z] Login Succeeded [2023-08-10T23:54:03.115Z] nexus3.edgexfoundry.org:10004 [2023-08-10T23:54:03.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T23:54:03.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T23:54:03.384Z] Configure a credential helper to remove this warning. See [2023-08-10T23:54:03.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T23:54:03.384Z] [2023-08-10T23:54:03.384Z] Login Succeeded [2023-08-10T23:54:03.384Z] docker.io [2023-08-10T23:54:03.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-10T23:54:03.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-10T23:54:03.923Z] Configure a credential helper to remove this warning. See [2023-08-10T23:54:03.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-10T23:54:03.923Z] [2023-08-10T23:54:03.923Z] Login Succeeded [2023-08-10T23:54:03.923Z] ---> docker-login.sh ends [Pipeline] } [2023-08-10T23:54:03.936Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-10T23:54:04.179Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-10T23:54:04.192Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-08-10T23:54:04.208Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-10T23:54:04.220Z] ========================================================= [2023-08-10T23:54:04.220Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-08-10T23:54:04.220Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T23:54:04.556Z] + 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-10T23:54:04.825Z] Sending build context to Docker daemon 2.916MB [2023-08-10T23:54:04.825Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-08-10T23:54:04.825Z] Step 2/21 : FROM ${BASE} as builder [2023-08-10T23:54:05.100Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-08-10T23:54:05.100Z] 547446be3368: Pulling fs layer [2023-08-10T23:54:05.100Z] 76bd08e1cacc: Pulling fs layer [2023-08-10T23:54:05.100Z] 547446be3368: Verifying Checksum [2023-08-10T23:54:05.100Z] 547446be3368: Download complete [2023-08-10T23:54:05.698Z] 547446be3368: Pull complete [2023-08-10T23:54:07.657Z] 76bd08e1cacc: Verifying Checksum [2023-08-10T23:54:07.657Z] 76bd08e1cacc: Download complete [2023-08-10T23:54:16.532Z] 76bd08e1cacc: Pull complete [2023-08-10T23:54:16.532Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-08-10T23:54:16.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-08-10T23:54:16.532Z] ---> 295cd00e64f4 [2023-08-10T23:54:16.533Z] 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-10T23:54:16.533Z] ---> Running in 02ee1b14a58c [2023-08-10T23:54:17.116Z] Connecting to iotech.jfrog.io (63.32.140.65:443) [2023-08-10T23:54:17.383Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-10T23:54:17.383Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-10T23:54:17.383Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-10T23:54:17.976Z] Removing intermediate container 02ee1b14a58c [2023-08-10T23:54:17.976Z] ---> fb74c699d065 [2023-08-10T23:54:17.976Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-10T23:54:18.244Z] ---> Running in 284c8a9a1597 [2023-08-10T23:54:19.670Z] Removing intermediate container 284c8a9a1597 [2023-08-10T23:54:19.670Z] ---> ae43cb15f5c0 [2023-08-10T23:54:19.670Z] 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-10T23:54:19.670Z] ---> Running in 965b5dc5a4f5 [2023-08-10T23:54:20.634Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-10T23:54:20.901Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-08-10T23:54:21.485Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-10T23:54:22.443Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-10T23:54:22.443Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-10T23:54:22.443Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-10T23:54:22.443Z] (3/16) Installing hiredis (1.0.2-r0) [2023-08-10T23:54:22.443Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-08-10T23:54:22.443Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-10T23:54:23.027Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-10T23:54:23.027Z] (7/16) Installing libcbor (0.9.0-r1) [2023-08-10T23:54:23.027Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-08-10T23:54:23.291Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-10T23:54:23.291Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-10T23:54:23.869Z] (11/16) Installing libblkid (2.38-r1) [2023-08-10T23:54:24.137Z] (12/16) Installing libuuid (2.38-r1) [2023-08-10T23:54:24.137Z] (13/16) Installing libfdisk (2.38-r1) [2023-08-10T23:54:24.137Z] (14/16) Installing libmount (2.38-r1) [2023-08-10T23:54:24.137Z] (15/16) Installing libsmartcols (2.38-r1) [2023-08-10T23:54:24.137Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-08-10T23:54:24.137Z] Executing busybox-1.35.0-r17.trigger [2023-08-10T23:54:24.137Z] OK: 286 MiB in 90 packages [2023-08-10T23:54:25.543Z] Removing intermediate container 965b5dc5a4f5 [2023-08-10T23:54:25.543Z] ---> e0a0866c56ec [2023-08-10T23:54:25.543Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-08-10T23:54:25.543Z] ---> Running in eff9f8711a78 [2023-08-10T23:54:26.959Z] Removing intermediate container eff9f8711a78 [2023-08-10T23:54:26.959Z] ---> 2ad5afcdafa5 [2023-08-10T23:54:26.959Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-08-10T23:54:27.227Z] ---> 502507fd00a9 [2023-08-10T23:54:27.227Z] Step 8/21 : COPY src /tmp/sdk/src [2023-08-10T23:54:28.188Z] ---> 69ed7dd9e88f [2023-08-10T23:54:28.188Z] Step 9/21 : COPY include /tmp/sdk/include [2023-08-10T23:54:28.458Z] ---> 8315467a7a9b [2023-08-10T23:54:28.458Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-08-10T23:54:29.043Z] ---> 3040c78a1fee [2023-08-10T23:54:29.043Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-08-10T23:54:29.384Z] ---> f17b86e25ce5 [2023-08-10T23:54:29.384Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-08-10T23:54:30.015Z] ---> 84818a9b11aa [2023-08-10T23:54:30.015Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-08-10T23:54:30.015Z] ---> Running in 1f1179970c05 [2023-08-10T23:54:31.014Z] + CPPCHECK=false [2023-08-10T23:54:31.014Z] + DOCGEN=false [2023-08-10T23:54:31.014Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-08-10T23:54:31.014Z] + '[' 0 -gt 0 ] [2023-08-10T23:54:31.014Z] + readlink -f ./scripts/build.sh [2023-08-10T23:54:31.014Z] + dirname /tmp/sdk/scripts/build.sh [2023-08-10T23:54:31.014Z] + dirname /tmp/sdk/scripts [2023-08-10T23:54:31.014Z] + ROOT=/tmp/sdk [2023-08-10T23:54:31.015Z] + cd /tmp/sdk [2023-08-10T23:54:31.015Z] + mkdir -p /tmp/sdk/build/release [2023-08-10T23:54:31.015Z] + cd /tmp/sdk/build/release [2023-08-10T23:54:31.015Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-08-10T23:54:31.281Z] -- The C compiler identification is GNU 11.2.1 [2023-08-10T23:54:31.281Z] -- Detecting C compiler ABI info [2023-08-10T23:54:31.552Z] -- Detecting C compiler ABI info - done [2023-08-10T23:54:31.552Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-10T23:54:31.552Z] -- Detecting C compile features [2023-08-10T23:54:31.552Z] -- Detecting C compile features - done [2023-08-10T23:54:31.822Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-10T23:54:31.822Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-10T23:54:31.822Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-10T23:54:31.822Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-10T23:54:31.822Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-10T23:54:31.822Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-10T23:54:31.822Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-10T23:54:32.093Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-10T23:54:32.093Z] -- /opt/iotech/iot/1.5/include [2023-08-10T23:54:32.093Z] -- C SDK 3.0.2 for Linux [2023-08-10T23:54:32.093Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-10T23:54:32.364Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-10T23:54:32.364Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-10T23:54:32.633Z] -- Configuring done [2023-08-10T23:54:32.903Z] -- Generating done [2023-08-10T23:54:32.903Z] -- Build files have been written to: /tmp/sdk/build/release [2023-08-10T23:54:32.903Z] + make all package [2023-08-10T23:54:32.903Z] + tee release.log [2023-08-10T23:54:32.903Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-10T23:54:33.869Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-08-10T23:54:34.836Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-08-10T23:54:35.427Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-08-10T23:54:36.391Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-08-10T23:54:37.354Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-08-10T23:54:39.295Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-08-10T23:54:40.704Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-08-10T23:54:40.704Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-08-10T23:54:41.665Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-08-10T23:54:44.249Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-08-10T23:54:44.516Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-08-10T23:54:45.474Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-08-10T23:54:46.434Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-08-10T23:54:47.020Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-08-10T23:54:47.984Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-08-10T23:54:48.568Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-08-10T23:54:51.150Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-08-10T23:54:51.150Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-08-10T23:54:51.736Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-08-10T23:54:53.145Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-08-10T23:54:58.492Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-08-10T23:54:59.076Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-08-10T23:54:59.343Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-08-10T23:54:59.926Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-08-10T23:55:00.511Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-08-10T23:55:01.921Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-08-10T23:55:04.505Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-08-10T23:55:05.086Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-08-10T23:55:06.039Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-08-10T23:55:06.620Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-08-10T23:55:09.949Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-08-10T23:55:10.531Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-08-10T23:55:10.798Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-08-10T23:55:11.379Z] [ 68%] Linking C shared library libcsdk.so [2023-08-10T23:55:11.644Z] [ 68%] Built target csdk [2023-08-10T23:55:11.645Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-08-10T23:55:12.603Z] [ 72%] Linking C executable template [2023-08-10T23:55:12.870Z] [ 72%] Built target template [2023-08-10T23:55:12.871Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-08-10T23:55:13.455Z] [ 76%] Linking C executable device-counter [2023-08-10T23:55:13.723Z] [ 76%] Built target device-counter [2023-08-10T23:55:13.990Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-08-10T23:55:14.572Z] [ 80%] Linking C executable device-random [2023-08-10T23:55:14.838Z] [ 80%] Built target device-random [2023-08-10T23:55:14.838Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-08-10T23:55:15.420Z] [ 84%] Linking C executable device-gyro [2023-08-10T23:55:15.686Z] [ 84%] Built target device-gyro [2023-08-10T23:55:15.686Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-08-10T23:55:16.269Z] [ 88%] Linking C executable device-bitfields [2023-08-10T23:55:16.536Z] [ 88%] Built target device-bitfields [2023-08-10T23:55:16.536Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-08-10T23:55:17.497Z] [ 92%] Linking C executable template-discovery [2023-08-10T23:55:17.765Z] [ 92%] Built target template-discovery [2023-08-10T23:55:17.765Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-08-10T23:55:18.724Z] [ 96%] Linking C executable device-file [2023-08-10T23:55:18.990Z] [ 96%] Built target device-file [2023-08-10T23:55:18.990Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-08-10T23:55:19.950Z] [100%] Linking C executable device-terminal [2023-08-10T23:55:19.950Z] [100%] Built target device-terminal [2023-08-10T23:55:19.950Z] Run CPack packaging tool... [2023-08-10T23:55:20.217Z] CPack: Create package using TGZ [2023-08-10T23:55:20.217Z] CPack: Install projects [2023-08-10T23:55:20.217Z] CPack: - Run preinstall target for: Csdk [2023-08-10T23:55:20.800Z] CPack: - Install project: Csdk [] [2023-08-10T23:55:20.800Z] CPack: Create package [2023-08-10T23:55:20.800Z] CPack: - package: /tmp/sdk/build/release/csdk-3.0.2.tar.gz generated. [2023-08-10T23:55:20.800Z] + '[' false '=' true ] [2023-08-10T23:55:20.800Z] + '[' false '=' true ] [2023-08-10T23:55:20.800Z] + mkdir -p /tmp/sdk/build/debug [2023-08-10T23:55:20.800Z] + cd /tmp/sdk/build/debug [2023-08-10T23:55:20.800Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-08-10T23:55:21.384Z] -- The C compiler identification is GNU 11.2.1 [2023-08-10T23:55:21.384Z] -- Detecting C compiler ABI info [2023-08-10T23:55:21.651Z] -- Detecting C compiler ABI info - done [2023-08-10T23:55:21.651Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-10T23:55:21.651Z] -- Detecting C compile features [2023-08-10T23:55:21.651Z] -- Detecting C compile features - done [2023-08-10T23:55:21.651Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-10T23:55:21.917Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-10T23:55:21.917Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-10T23:55:21.917Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-10T23:55:21.917Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-10T23:55:21.917Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-10T23:55:21.917Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-10T23:55:21.917Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-10T23:55:21.917Z] -- /opt/iotech/iot/1.5/include [2023-08-10T23:55:21.917Z] -- C SDK 3.0.2 for Linux [2023-08-10T23:55:21.917Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-10T23:55:22.186Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-10T23:55:22.454Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-10T23:55:22.454Z] -- Configuring done [2023-08-10T23:55:22.722Z] -- Generating done [2023-08-10T23:55:22.722Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-08-10T23:55:22.722Z] + make [2023-08-10T23:55:22.722Z] + tee debug.log [2023-08-10T23:55:22.988Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-10T23:55:23.253Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-08-10T23:55:23.832Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-08-10T23:55:24.097Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-08-10T23:55:24.677Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-08-10T23:55:24.945Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-08-10T23:55:25.902Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-08-10T23:55:26.170Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-08-10T23:55:26.437Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-08-10T23:55:26.704Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-08-10T23:55:27.664Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-08-10T23:55:27.931Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-08-10T23:55:28.513Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-08-10T23:55:28.779Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-08-10T23:55:29.047Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-08-10T23:55:29.630Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-08-10T23:55:29.630Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-08-10T23:55:31.035Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-08-10T23:55:31.303Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-08-10T23:55:31.569Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-08-10T23:55:32.150Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-08-10T23:55:33.554Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-08-10T23:55:33.821Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-08-10T23:55:34.088Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-08-10T23:55:34.670Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-08-10T23:55:34.670Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-08-10T23:55:35.259Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-08-10T23:55:37.194Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-08-10T23:55:37.194Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-08-10T23:55:37.775Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-08-10T23:55:38.041Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-08-10T23:55:38.995Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-08-10T23:55:39.575Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-08-10T23:55:39.840Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-08-10T23:55:40.107Z] [ 68%] Linking C shared library libcsdk.so [2023-08-10T23:55:40.372Z] [ 68%] Built target csdk [2023-08-10T23:55:40.372Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-08-10T23:55:40.638Z] [ 72%] Linking C executable template [2023-08-10T23:55:40.904Z] [ 72%] Built target template [2023-08-10T23:55:41.170Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-08-10T23:55:41.436Z] [ 76%] Linking C executable device-counter [2023-08-10T23:55:41.703Z] [ 76%] Built target device-counter [2023-08-10T23:55:41.703Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-08-10T23:55:41.972Z] [ 80%] Linking C executable device-random [2023-08-10T23:55:42.239Z] [ 80%] Built target device-random [2023-08-10T23:55:42.505Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-08-10T23:55:42.771Z] [ 84%] Linking C executable device-gyro [2023-08-10T23:55:43.036Z] [ 84%] Built target device-gyro [2023-08-10T23:55:43.036Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-08-10T23:55:43.303Z] [ 88%] Linking C executable device-bitfields [2023-08-10T23:55:43.570Z] [ 88%] Built target device-bitfields [2023-08-10T23:55:43.570Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-08-10T23:55:44.149Z] [ 92%] Linking C executable template-discovery [2023-08-10T23:55:44.415Z] [ 92%] Built target template-discovery [2023-08-10T23:55:44.415Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-08-10T23:55:44.682Z] [ 96%] Linking C executable device-file [2023-08-10T23:55:44.948Z] [ 96%] Built target device-file [2023-08-10T23:55:45.213Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-08-10T23:55:45.480Z] [100%] Linking C executable device-terminal [2023-08-10T23:55:45.748Z] [100%] Built target device-terminal [2023-08-10T23:55:45.748Z] make: Entering directory '/tmp/sdk/build/release' [2023-08-10T23:55:46.013Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-08-10T23:55:46.013Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T23:55:46.013Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T23:55:46.013Z] [ 68%] Built target csdk [2023-08-10T23:55:46.013Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T23:55:46.013Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T23:55:46.013Z] [ 72%] Built target template [2023-08-10T23:55:46.013Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T23:55:46.013Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T23:55:46.013Z] [ 76%] Built target device-counter [2023-08-10T23:55:46.013Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T23:55:46.013Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T23:55:46.279Z] [ 80%] Built target device-random [2023-08-10T23:55:46.279Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T23:55:46.279Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T23:55:46.279Z] [ 84%] Built target device-gyro [2023-08-10T23:55:46.279Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T23:55:46.279Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T23:55:46.279Z] [ 88%] Built target device-bitfields [2023-08-10T23:55:46.279Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T23:55:46.279Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T23:55:46.279Z] [ 92%] Built target template-discovery [2023-08-10T23:55:46.279Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T23:55:46.279Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T23:55:46.279Z] [ 96%] Built target device-file [2023-08-10T23:55:46.279Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-10T23:55:46.279Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T23:55:46.279Z] [100%] Built target device-terminal [2023-08-10T23:55:46.279Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-08-10T23:55:46.549Z] Install the project... [2023-08-10T23:55:46.549Z] -- Install configuration: "Release" [2023-08-10T23:55:46.549Z] -- Installing: /usr/local/lib/libcsdk.so [2023-08-10T23:55:46.549Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-08-10T23:55:46.549Z] -- Installing: /usr/local/include [2023-08-10T23:55:46.549Z] -- Installing: /usr/local/include/devsdk [2023-08-10T23:55:46.549Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-08-10T23:55:46.549Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-08-10T23:55:46.549Z] -- Installing: /usr/local/include/edgex [2023-08-10T23:55:46.549Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-08-10T23:55:46.549Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-08-10T23:55:46.549Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-08-10T23:55:46.549Z] -- Installing: /usr/local/include/edgex/devices.h [2023-08-10T23:55:46.549Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-08-10T23:55:46.549Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-08-10T23:55:46.549Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-08-10T23:55:46.549Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-08-10T23:55:46.549Z] make: Leaving directory '/tmp/sdk/build/release' [2023-08-10T23:55:47.960Z] Removing intermediate container 1f1179970c05 [2023-08-10T23:55:47.960Z] ---> ef254dcd84dd [2023-08-10T23:55:47.960Z] Step 14/21 : FROM ${BASE} [2023-08-10T23:55:47.960Z] ---> 295cd00e64f4 [2023-08-10T23:55:47.960Z] Step 15/21 : LABEL maintainer="IOTech " [2023-08-10T23:55:47.960Z] ---> Running in ee02b58d4eb1 [2023-08-10T23:55:48.227Z] Removing intermediate container ee02b58d4eb1 [2023-08-10T23:55:48.227Z] ---> 5b2a1ffacc3d [2023-08-10T23:55:48.227Z] 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-10T23:55:48.227Z] ---> Running in 023e9bd1903c [2023-08-10T23:55:49.181Z] Connecting to iotech.jfrog.io (46.51.205.85:443) [2023-08-10T23:55:49.446Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-10T23:55:49.446Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-10T23:55:49.446Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-10T23:55:50.027Z] Removing intermediate container 023e9bd1903c [2023-08-10T23:55:50.027Z] ---> e63860e45adf [2023-08-10T23:55:50.027Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-10T23:55:50.295Z] ---> Running in d0e16b93683d [2023-08-10T23:55:51.701Z] Removing intermediate container d0e16b93683d [2023-08-10T23:55:51.701Z] ---> 29d54e3f5192 [2023-08-10T23:55:51.701Z] 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-10T23:55:51.701Z] ---> Running in 057610b7446e [2023-08-10T23:55:52.660Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-10T23:55:52.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-08-10T23:55:53.506Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-10T23:55:54.456Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-10T23:55:54.456Z] (1/7) Installing curl (8.2.1-r0) [2023-08-10T23:55:54.456Z] (2/7) Installing hiredis (1.0.2-r0) [2023-08-10T23:55:54.456Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-08-10T23:55:54.456Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-08-10T23:55:55.035Z] (5/7) Installing libcbor (0.9.0-r1) [2023-08-10T23:55:55.035Z] (6/7) Installing libuuid (2.38-r1) [2023-08-10T23:55:55.035Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-10T23:55:55.985Z] Executing busybox-1.35.0-r17.trigger [2023-08-10T23:55:55.985Z] OK: 281 MiB in 83 packages [2023-08-10T23:55:56.958Z] Removing intermediate container 057610b7446e [2023-08-10T23:55:56.958Z] ---> f44950e606c1 [2023-08-10T23:55:56.958Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-08-10T23:55:57.538Z] ---> 086ec56350dc [2023-08-10T23:55:57.538Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-08-10T23:55:57.805Z] ---> 8a1bdc913ce2 [2023-08-10T23:55:57.805Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-08-10T23:55:58.385Z] ---> e2e7a160460b [2023-08-10T23:55:58.385Z] Successfully built e2e7a160460b [2023-08-10T23:55:58.385Z] 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-10T23:55:58.802Z] + docker inspect -f . ci-base-image-arm64 [2023-08-10T23:55:58.802Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T23:55:58.998Z] prd-ubuntu20.04-docker-arm64-4c-16g-3314 does not seem to be running inside a container [2023-08-10T23:55:59.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/59 -v /w/workspace/device-sdk-c/59:/w/workspace/device-sdk-c/59:rw,z -v /w/workspace/device-sdk-c/59@tmp:/w/workspace/device-sdk-c/59@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 ******** ci-base-image-arm64 cat [2023-08-10T23:56:00.221Z] $ docker top dd0981662b5f6a814b884173b94883c697f5abb061aab173ff24b3536114be93 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-10T23:56:01.032Z] + make test [2023-08-10T23:56:01.032Z] echo "make test" [2023-08-10T23:56:01.032Z] make test [Pipeline] } [2023-08-10T23:56:01.055Z] $ docker stop --time=1 dd0981662b5f6a814b884173b94883c697f5abb061aab173ff24b3536114be93 [2023-08-10T23:56:02.674Z] $ docker rm -f --volumes dd0981662b5f6a814b884173b94883c697f5abb061aab173ff24b3536114be93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-10T23:56:03.185Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-10T23:56:03.496Z] + ls -al . [2023-08-10T23:56:03.496Z] total 208 [2023-08-10T23:56:03.496Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 23:53 . [2023-08-10T23:56:03.496Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 23:53 .. [2023-08-10T23:56:03.496Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 10 23:54 .git [2023-08-10T23:56:03.496Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 23:53 .github [2023-08-10T23:56:03.496Z] -rw-rw-r-- 1 jenkins jenkins 176 Aug 10 23:53 .gitignore [2023-08-10T23:56:03.496Z] -rw-rw-r-- 1 jenkins jenkins 2908 Aug 10 23:53 Attribution.txt [2023-08-10T23:56:03.496Z] -rw-rw-r-- 1 jenkins jenkins 9802 Aug 10 23:53 CHANGES [2023-08-10T23:56:03.496Z] -rw-rw-r-- 1 jenkins jenkins 108574 Aug 10 23:53 Doxyfile [2023-08-10T23:56:03.496Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 10 23:53 GOVERNANCE.md [2023-08-10T23:56:03.496Z] -rw-rw-r-- 1 jenkins jenkins 784 Aug 10 23:53 Jenkinsfile [2023-08-10T23:56:03.496Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 10 23:53 LICENSE [2023-08-10T23:56:03.496Z] -rw-rw-r-- 1 jenkins jenkins 444 Aug 10 23:53 Makefile [2023-08-10T23:56:03.496Z] -rw-rw-r-- 1 jenkins jenkins 618 Aug 10 23:53 OWNERS.md [2023-08-10T23:56:03.496Z] -rw-rw-r-- 1 jenkins jenkins 1651 Aug 10 23:53 README.IOT.md [2023-08-10T23:56:03.496Z] -rw-rw-r-- 1 jenkins jenkins 4215 Aug 10 23:53 README.md [2023-08-10T23:56:03.496Z] -rw-rw-r-- 1 jenkins jenkins 1245 Aug 10 23:53 README.v3.md [2023-08-10T23:56:03.496Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 10 23:51 VERSION [2023-08-10T23:56:03.496Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 23:53 docs [2023-08-10T23:56:03.496Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 23:53 include [2023-08-10T23:56:03.496Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 10 23:53 scripts [2023-08-10T23:56:03.496Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 10 23:53 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T23:56:03.825Z] + 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=3bd72eafd135fc13cc0388e2e4a2395f7020de89 --label arch=arm64 --label version=3.0.2 . [2023-08-10T23:56:04.093Z] Sending build context to Docker daemon 2.916MB [2023-08-10T23:56:04.094Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-08-10T23:56:04.094Z] Step 2/17 : FROM ${BASE} [2023-08-10T23:56:04.094Z] ---> e2e7a160460b [2023-08-10T23:56:04.094Z] Step 3/17 : LABEL maintainer="IOTech " [2023-08-10T23:56:04.360Z] ---> Running in 2f9fde304cb9 [2023-08-10T23:56:04.626Z] Removing intermediate container 2f9fde304cb9 [2023-08-10T23:56:04.627Z] ---> b4cb73057c13 [2023-08-10T23:56:04.627Z] 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-10T23:56:04.627Z] ---> Running in 48087e57f259 [2023-08-10T23:56:05.588Z] Connecting to iotech.jfrog.io (34.248.243.246:443) [2023-08-10T23:56:05.854Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-10T23:56:05.854Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-10T23:56:05.854Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-10T23:56:06.436Z] Removing intermediate container 48087e57f259 [2023-08-10T23:56:06.436Z] ---> 553ef4fc5f05 [2023-08-10T23:56:06.436Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-10T23:56:06.704Z] ---> Running in 39e9cb548bd7 [2023-08-10T23:56:12.035Z] Removing intermediate container 39e9cb548bd7 [2023-08-10T23:56:12.035Z] ---> ad52c6e3e6a7 [2023-08-10T23:56:12.035Z] 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-10T23:56:12.035Z] ---> Running in a65543dd860b [2023-08-10T23:56:12.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-10T23:56:13.199Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-08-10T23:56:13.464Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-10T23:56:14.419Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-10T23:56:14.419Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-10T23:56:14.419Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-10T23:56:14.419Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-10T23:56:14.997Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-10T23:56:15.262Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-08-10T23:56:15.262Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-10T23:56:15.262Z] (7/11) Installing libblkid (2.38-r1) [2023-08-10T23:56:15.262Z] (8/11) Installing libfdisk (2.38-r1) [2023-08-10T23:56:15.262Z] (9/11) Installing libmount (2.38-r1) [2023-08-10T23:56:15.262Z] (10/11) Installing libsmartcols (2.38-r1) [2023-08-10T23:56:15.262Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-08-10T23:56:15.262Z] Executing busybox-1.35.0-r17.trigger [2023-08-10T23:56:15.527Z] OK: 287 MiB in 92 packages [2023-08-10T23:56:16.492Z] Removing intermediate container a65543dd860b [2023-08-10T23:56:16.493Z] ---> 84f16c01860d [2023-08-10T23:56:16.493Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-08-10T23:56:17.076Z] ---> 8fd3c5f2d97f [2023-08-10T23:56:17.076Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-08-10T23:56:17.659Z] ---> 71d9d236547c [2023-08-10T23:56:17.659Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-08-10T23:56:18.242Z] ---> fa4c974c32cc [2023-08-10T23:56:18.242Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-08-10T23:56:18.823Z] ---> 8b55593d1c24 [2023-08-10T23:56:18.823Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-08-10T23:56:19.090Z] ---> ecb25657b02d [2023-08-10T23:56:19.090Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-08-10T23:56:19.671Z] ---> 6135b7ab8075 [2023-08-10T23:56:19.671Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-08-10T23:56:19.671Z] ---> Running in 9f036a6634a2 [2023-08-10T23:56:19.943Z] Removing intermediate container 9f036a6634a2 [2023-08-10T23:56:19.943Z] ---> 2f0fdf15d92a [2023-08-10T23:56:19.943Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-08-10T23:56:20.210Z] ---> Running in a15c07dfa0ff [2023-08-10T23:56:20.475Z] Removing intermediate container a15c07dfa0ff [2023-08-10T23:56:20.475Z] ---> 332eaeeb4e3a [2023-08-10T23:56:20.475Z] Step 15/17 : LABEL arch=arm64 [2023-08-10T23:56:20.475Z] ---> Running in 1f4e80f049dc [2023-08-10T23:56:20.742Z] Removing intermediate container 1f4e80f049dc [2023-08-10T23:56:20.742Z] ---> 2ffc4f40b501 [2023-08-10T23:56:20.742Z] Step 16/17 : LABEL git_sha=3bd72eafd135fc13cc0388e2e4a2395f7020de89 [2023-08-10T23:56:20.742Z] ---> Running in 4f71b4698e64 [2023-08-10T23:56:21.008Z] Removing intermediate container 4f71b4698e64 [2023-08-10T23:56:21.008Z] ---> 4d3ae08e2526 [2023-08-10T23:56:21.008Z] Step 17/17 : LABEL version=3.0.2 [2023-08-10T23:56:21.008Z] ---> Running in a73a2a940bd7 [2023-08-10T23:56:21.274Z] Removing intermediate container a73a2a940bd7 [2023-08-10T23:56:21.274Z] ---> 45f398a4e0b6 [2023-08-10T23:56:21.274Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-08-10T23:56:21.540Z] Successfully built 45f398a4e0b6 [2023-08-10T23:56:21.540Z] 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-10T23:56:21.948Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-10T23:56:21.948Z] [2023-08-10T23:56:21.948Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T23:56:22.278Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-10T23:56:24.211Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-10T23:56:24.211Z] 8998bd30e6a1: Pulling fs layer [2023-08-10T23:56:24.211Z] 04944245beec: Pulling fs layer [2023-08-10T23:56:24.211Z] 699f458cf7ca: Pulling fs layer [2023-08-10T23:56:24.211Z] 765212b225bb: Pulling fs layer [2023-08-10T23:56:24.211Z] f23df028b6ca: Pulling fs layer [2023-08-10T23:56:24.211Z] d65c8cfc05b1: Pulling fs layer [2023-08-10T23:56:24.211Z] 2437ff75d9bd: Pulling fs layer [2023-08-10T23:56:24.211Z] f23df028b6ca: Waiting [2023-08-10T23:56:24.211Z] 2437ff75d9bd: Waiting [2023-08-10T23:56:24.211Z] d65c8cfc05b1: Waiting [2023-08-10T23:56:24.211Z] 765212b225bb: Waiting [2023-08-10T23:56:24.211Z] 04944245beec: Verifying Checksum [2023-08-10T23:56:24.211Z] 04944245beec: Download complete [2023-08-10T23:56:24.211Z] 765212b225bb: Verifying Checksum [2023-08-10T23:56:24.211Z] 765212b225bb: Download complete [2023-08-10T23:56:24.211Z] f23df028b6ca: Verifying Checksum [2023-08-10T23:56:24.211Z] f23df028b6ca: Download complete [2023-08-10T23:56:24.211Z] d65c8cfc05b1: Verifying Checksum [2023-08-10T23:56:24.211Z] d65c8cfc05b1: Download complete [2023-08-10T23:56:24.211Z] 699f458cf7ca: Verifying Checksum [2023-08-10T23:56:24.211Z] 699f458cf7ca: Download complete [2023-08-10T23:56:24.794Z] 8998bd30e6a1: Verifying Checksum [2023-08-10T23:56:24.794Z] 8998bd30e6a1: Download complete [2023-08-10T23:56:26.734Z] 2437ff75d9bd: Verifying Checksum [2023-08-10T23:56:26.734Z] 2437ff75d9bd: Download complete [2023-08-10T23:56:28.676Z] 8998bd30e6a1: Pull complete [2023-08-10T23:56:28.940Z] 04944245beec: Pull complete [2023-08-10T23:56:30.343Z] 699f458cf7ca: Pull complete [2023-08-10T23:56:30.343Z] 765212b225bb: Pull complete [2023-08-10T23:56:30.923Z] f23df028b6ca: Pull complete [2023-08-10T23:56:31.191Z] d65c8cfc05b1: Pull complete [2023-08-10T23:56:46.172Z] 2437ff75d9bd: Pull complete [2023-08-10T23:56:46.172Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-10T23:56:46.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-10T23:56:46.172Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T23:56:46.354Z] prd-ubuntu20.04-docker-arm64-4c-16g-3314 does not seem to be running inside a container [2023-08-10T23:56:46.476Z] $ 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/59 -v /w/workspace/device-sdk-c/59:/w/workspace/device-sdk-c/59:rw,z -v /w/workspace/device-sdk-c/59@tmp:/w/workspace/device-sdk-c/59@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-10T23:56:48.731Z] $ docker top 59ec769ee3c4d884653530e15d37d489f8151ef63442f8536c9157aecd7bbc9e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-10T23:56:49.244Z] ---> job-cost.sh [2023-08-10T23:56:49.521Z] lf-activate-venv: SKIPPING [2023-08-10T23:56:49.521Z] INFO: No Stack... [2023-08-10T23:56:49.801Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-10T23:56:50.775Z] INFO: Archiving Costs [Pipeline] sh [2023-08-10T23:56:51.123Z] + cut -d, -f6 [2023-08-10T23:56:51.123Z] + cat /w/workspace/device-sdk-c/59/archives/cost.csv [Pipeline] lock [2023-08-10T23:56:51.200Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-59-stack-cost] [2023-08-10T23:56:51.206Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-59-stack-cost] did not exist. Created. [2023-08-10T23:56:51.206Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-59-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-10T23:56:51.572Z] /w/workspace/device-sdk-c/59@tmp/durable-8eb6d514/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-10T23:56:51.923Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-10T23:56:51.941Z] Warning: overwriting stash ‘stack-cost’ [2023-08-10T23:56:52.351Z] Stashed 1 file(s) [Pipeline] } [2023-08-10T23:56:52.359Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-59-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-10T23:56:52.385Z] $ docker stop --time=1 59ec769ee3c4d884653530e15d37d489f8151ef63442f8536c9157aecd7bbc9e [2023-08-10T23:56:53.863Z] $ docker rm -f --volumes 59ec769ee3c4d884653530e15d37d489f8151ef63442f8536c9157aecd7bbc9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh [2023-08-10T23:56:54.496Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-10T23:56:54.496Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T23:56:54.798Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-10T23:56:54.798Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T23:56:54.868Z] prd-ubuntu20.04-docker-8c-8g-3313 does not seem to be running inside a container [2023-08-10T23:56:54.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-10T23:56:55.323Z] $ docker top 19168489ac0e07222a34a1057176f9b0f0f296af1745025b21293d819668d1ed -eo pid,comm [2023-08-10T23:56:55.363Z] 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-10T23:56:55.363Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-10T23:56:55.395Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.0.2|v3.1.0-dev.9' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-10T23:56:55.684Z] + git semver [Pipeline] } [2023-08-10T23:56:55.968Z] $ docker stop --time=1 19168489ac0e07222a34a1057176f9b0f0f296af1745025b21293d819668d1ed [2023-08-10T23:56:57.224Z] $ docker rm -f --volumes 19168489ac0e07222a34a1057176f9b0f0f296af1745025b21293d819668d1ed [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T23:56:57.630Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-10T23:56:57.630Z] [2023-08-10T23:56:57.630Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T23:56:57.937Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-10T23:56:57.938Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-10T23:56:57.938Z] ab5ef0e58194: Pulling fs layer [2023-08-10T23:56:57.938Z] 9712f1f96733: Pulling fs layer [2023-08-10T23:56:57.938Z] 63f879dbbcfc: Pulling fs layer [2023-08-10T23:56:57.938Z] 0d9ebad4ef96: Pulling fs layer [2023-08-10T23:56:57.938Z] e9a5061849ea: Pulling fs layer [2023-08-10T23:56:57.938Z] d747dcd14b5f: Pulling fs layer [2023-08-10T23:56:57.938Z] 2de7ff778b66: Pulling fs layer [2023-08-10T23:56:57.938Z] 2de7ff778b66: Waiting [2023-08-10T23:56:57.938Z] d747dcd14b5f: Waiting [2023-08-10T23:56:57.938Z] 0d9ebad4ef96: Waiting [2023-08-10T23:56:57.938Z] e9a5061849ea: Waiting [2023-08-10T23:56:57.938Z] 9712f1f96733: Verifying Checksum [2023-08-10T23:56:57.938Z] 9712f1f96733: Download complete [2023-08-10T23:56:58.199Z] 63f879dbbcfc: Verifying Checksum [2023-08-10T23:56:58.199Z] 63f879dbbcfc: Download complete [2023-08-10T23:56:58.458Z] 0d9ebad4ef96: Verifying Checksum [2023-08-10T23:56:58.458Z] 0d9ebad4ef96: Download complete [2023-08-10T23:56:58.458Z] d747dcd14b5f: Download complete [2023-08-10T23:56:58.458Z] e9a5061849ea: Verifying Checksum [2023-08-10T23:56:58.458Z] e9a5061849ea: Download complete [2023-08-10T23:56:58.716Z] ab5ef0e58194: Verifying Checksum [2023-08-10T23:56:58.716Z] ab5ef0e58194: Download complete [2023-08-10T23:56:58.716Z] 2de7ff778b66: Verifying Checksum [2023-08-10T23:56:58.716Z] 2de7ff778b66: Download complete [2023-08-10T23:57:01.247Z] ab5ef0e58194: Pull complete [2023-08-10T23:57:01.506Z] 9712f1f96733: Pull complete [2023-08-10T23:57:02.072Z] 63f879dbbcfc: Pull complete [2023-08-10T23:57:06.255Z] 0d9ebad4ef96: Pull complete [2023-08-10T23:57:06.255Z] e9a5061849ea: Pull complete [2023-08-10T23:57:06.255Z] d747dcd14b5f: Pull complete [2023-08-10T23:57:07.189Z] 2de7ff778b66: Pull complete [2023-08-10T23:57:07.189Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-10T23:57:07.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-10T23:57:07.189Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T23:57:07.272Z] prd-ubuntu20.04-docker-8c-8g-3313 does not seem to be running inside a container [2023-08-10T23:57:07.312Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-08-10T23:57:14.212Z] $ docker top c0b36da011b03c2e6535e943ffaec304cf77337cccd778b59b54be3ee5fa19a5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-10T23:57:14.268Z] provisioning config files... [2023-08-10T23:57:14.274Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7579765464636586095tmp [2023-08-10T23:57:14.283Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7785326932751059212tmp [2023-08-10T23:57:14.294Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15101674242226573575tmp [Pipeline] { [Pipeline] echo [2023-08-10T23:57:14.307Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T23:57:14.590Z] ---> sigul-configuration.sh [2023-08-10T23:57:14.590Z] gpg: directory `/root/.gnupg' created [2023-08-10T23:57:14.590Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-10T23:57:14.590Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-10T23:57:14.590Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-10T23:57:14.590Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-10T23:57:14.590Z] gpg: CAST5 encrypted data [2023-08-10T23:57:14.590Z] gpg: encrypted with 1 passphrase [2023-08-10T23:57:14.590Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-10T23:57:14.876Z] + mkdir /home/jenkins [2023-08-10T23:57:14.876Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-10T23:57:15.161Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-08-10T23:57:15.171Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T23:57:15.467Z] ---> sigul-install.sh [2023-08-10T23:57:15.468Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-10T23:57:15.754Z] + git tag --list [2023-08-10T23:57:15.754Z] 0.7.0 [2023-08-10T23:57:15.754Z] 0.7.1 [2023-08-10T23:57:15.754Z] 1.0.0 [2023-08-10T23:57:15.754Z] v1.0.1 [2023-08-10T23:57:15.754Z] v1.0.2 [2023-08-10T23:57:15.754Z] v1.0.3 [2023-08-10T23:57:15.754Z] v1.1.0 [2023-08-10T23:57:15.754Z] v1.1.1 [2023-08-10T23:57:15.754Z] v1.2.0 [2023-08-10T23:57:15.754Z] v1.2.1 [2023-08-10T23:57:15.754Z] v1.2.2 [2023-08-10T23:57:15.754Z] v1.3.0 [2023-08-10T23:57:15.754Z] v1.3.1 [2023-08-10T23:57:15.754Z] v2.0.0 [2023-08-10T23:57:15.754Z] v2.1.0 [2023-08-10T23:57:15.754Z] v2.2.0 [2023-08-10T23:57:15.754Z] v2.3.0 [2023-08-10T23:57:15.754Z] v3.0 [2023-08-10T23:57:15.754Z] v3.0.0 [2023-08-10T23:57:15.754Z] v3.0.1 [2023-08-10T23:57:15.754Z] v3.0.2 [2023-08-10T23:57:15.754Z] v3.1.0-dev.1 [2023-08-10T23:57:15.754Z] v3.1.0-dev.2 [2023-08-10T23:57:15.754Z] v3.1.0-dev.3 [2023-08-10T23:57:15.754Z] v3.1.0-dev.4 [2023-08-10T23:57:15.754Z] v3.1.0-dev.5 [2023-08-10T23:57:15.754Z] v3.1.0-dev.6 [2023-08-10T23:57:15.754Z] v3.1.0-dev.7 [2023-08-10T23:57:15.754Z] v3.1.0-dev.8 [2023-08-10T23:57:15.754Z] v3.1.0-dev.9 [Pipeline] sh [2023-08-10T23:57:16.046Z] + lftools sign git-tag v3.0.2 [2023-08-10T23:57:16.614Z] Signing Git tag with Sigul... [2023-08-10T23:57:16.614Z] Signing v3.0.2 [Pipeline] echo [2023-08-10T23:57:16.882Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T23:57:17.167Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-10T23:57:17.174Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-10T23:57:17.206Z] $ docker stop --time=1 c0b36da011b03c2e6535e943ffaec304cf77337cccd778b59b54be3ee5fa19a5 [2023-08-10T23:57:18.483Z] $ docker rm -f --volumes c0b36da011b03c2e6535e943ffaec304cf77337cccd778b59b54be3ee5fa19a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-10T23:57:18.854Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-10T23:57:18.854Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T23:57:19.158Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-10T23:57:19.158Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T23:57:19.234Z] prd-ubuntu20.04-docker-8c-8g-3313 does not seem to be running inside a container [2023-08-10T23:57:19.274Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-10T23:57:19.637Z] $ docker top 6aac07902fdce4e98c039b712489a0960df7889bc9bc332d4f34b6fb9834fc76 -eo pid,comm [2023-08-10T23:57:19.672Z] 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-10T23:57:19.672Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-10T23:57:19.699Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.0.2|v3.1.0-dev.9' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-10T23:57:19.988Z] + git semver [Pipeline] } [2023-08-10T23:57:20.272Z] $ docker stop --time=1 6aac07902fdce4e98c039b712489a0960df7889bc9bc332d4f34b6fb9834fc76 [2023-08-10T23:57:21.533Z] $ docker rm -f --volumes 6aac07902fdce4e98c039b712489a0960df7889bc9bc332d4f34b6fb9834fc76 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-10T23:57:21.861Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-10T23:57:21.861Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T23:57:22.159Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-10T23:57:22.159Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T23:57:22.224Z] prd-ubuntu20.04-docker-8c-8g-3313 does not seem to be running inside a container [2023-08-10T23:57:22.267Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-10T23:57:22.591Z] $ docker top 6dec47cc57e9f6c908143b2532003c016ae2cd5e445fd5ee23284f94a018f84e -eo pid,comm [2023-08-10T23:57:22.624Z] 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-10T23:57:22.624Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-10T23:57:22.650Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.0.2|v3.1.0-dev.9' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-10T23:57:22.940Z] + git semver [Pipeline] } [2023-08-10T23:57:23.225Z] $ docker stop --time=1 6dec47cc57e9f6c908143b2532003c016ae2cd5e445fd5ee23284f94a018f84e [2023-08-10T23:57:24.481Z] $ docker rm -f --volumes 6dec47cc57e9f6c908143b2532003c016ae2cd5e445fd5ee23284f94a018f84e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-08-10T23:57:24.952Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2023-08-10T23:57:24.952Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-08-10T23:57:24.952Z] total 16 [2023-08-10T23:57:24.952Z] drwxr-xr-x 3 root root 4096 Aug 10 23:52 . [2023-08-10T23:57:24.952Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 10 23:57 .. [2023-08-10T23:57:24.952Z] drwxr-xr-x 2 root root 4096 Aug 10 23:52 cost [2023-08-10T23:57:24.952Z] -rw-r--r-- 1 root root 83 Aug 10 23:52 cost.csv [2023-08-10T23:57:24.952Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-08-10T23:57:24.952Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-08-10T23:57:24.952Z] total 16 [2023-08-10T23:57:24.952Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 10 23:52 . [2023-08-10T23:57:24.952Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 10 23:57 .. [2023-08-10T23:57:24.952Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 10 23:52 cost [2023-08-10T23:57:24.952Z] -rw-r--r-- 1 jenkins jenkins 83 Aug 10 23:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-10T23:57:25.244Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T23:57:26.112Z] ---> package-listing.sh [2023-08-10T23:57:26.112Z] ++ facter osfamily [2023-08-10T23:57:26.112Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-10T23:57:26.370Z] + OS_FAMILY=debian [2023-08-10T23:57:26.370Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2023-08-10T23:57:26.370Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-10T23:57:26.370Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-10T23:57:26.370Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-10T23:57:26.370Z] + PACKAGES=/tmp/packages_start.txt [2023-08-10T23:57:26.370Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-08-10T23:57:26.370Z] + PACKAGES=/tmp/packages_end.txt [2023-08-10T23:57:26.371Z] + case "${OS_FAMILY}" in [2023-08-10T23:57:26.371Z] + dpkg -l [2023-08-10T23:57:26.371Z] + grep '^ii' [2023-08-10T23:57:26.371Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-10T23:57:26.371Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-10T23:57:26.371Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-10T23:57:26.371Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-08-10T23:57:26.371Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2023-08-10T23:57:26.371Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo [2023-08-10T23:57:26.382Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-10T23:57:26.659Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-10T23:57:27.213Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-10T23:57:27.213Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-10T23:57:27.289Z] prd-ubuntu20.04-docker-8c-8g-3313 does not seem to be running inside a container [2023-08-10T23:57:27.334Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-10T23:57:27.516Z] $ docker top 75925f09aa14c512714a66b47b51fb30ede64d05d144fb1db647deb02de3c1ad -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-10T23:57:27.841Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-10T23:57:28.126Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-10T23:57:28.413Z] + ls /var/log/sa-host [2023-08-10T23:57:28.414Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-10T23:57:28.567Z] provisioning config files... [2023-08-10T23:57:28.577Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7826463191788312834tmp [Pipeline] { [Pipeline] echo [2023-08-10T23:57:28.593Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T23:57:28.875Z] ---> create-netrc.sh [Pipeline] } [2023-08-10T23:57:28.883Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-10T23:57:29.217Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-10T23:57:29.225Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T23:57:29.511Z] ---> sudo-logs.sh [2023-08-10T23:57:29.511Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-10T23:57:29.541Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T23:57:29.823Z] ---> job-cost.sh [2023-08-10T23:57:29.823Z] lf-activate-venv: SKIPPING [2023-08-10T23:57:29.823Z] DEBUG: total: 0.2199999988079071 [2023-08-10T23:57:29.823Z] INFO: Retrieving Stack Cost... [2023-08-10T23:57:30.082Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-10T23:57:30.650Z] INFO: Archiving Costs [Pipeline] echo [2023-08-10T23:57:30.661Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-10T23:57:30.945Z] ---> logs-deploy.sh [2023-08-10T23:57:30.945Z] lf-activate-venv: SKIPPING [2023-08-10T23:57:30.945Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/59 [2023-08-10T23:57:30.945Z] INFO: archiving workspace using pattern(s): [2023-08-10T23:57:31.893Z] Archives upload complete. [2023-08-10T23:57:31.893Z] INFO: archiving logs to Nexus