Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 60c720530b7232d7be6f88f4d69bf42c6efbb654 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-ssh1849879967950966910.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh7108552878612569028.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh17750285782661189574.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh4083193201845229603.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-ssh17821155547862570880.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-2712 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 60c720530b7232d7be6f88f4d69bf42c6efbb654 (main) Commit message: "Merge pull request #437 from iain-anderson/v3-api-tweaks" > 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 60c720530b7232d7be6f88f4d69bf42c6efbb654 # timeout=10 > git rev-list --no-walk de537f5e6ed5588fb7793bac34c254358bbea04c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-17T09:11:49.173Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-17T09:11:49.216Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-17T09:11:49.232Z] ========================================================= [2023-01-17T09:11:49.232Z] EdgeX Global Pipelines Version Info [2023-01-17T09:11:49.232Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-17T09:11:49.944Z] ------------------- [2023-01-17T09:11:49.944Z] stable info: [2023-01-17T09:11:49.944Z] ------------------- [2023-01-17T09:11:49.944Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-17T09:11:49.944Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-17T09:11:49.944Z] Message: update stable to v1.0.244 [2023-01-17T09:11:50.513Z] ------------------- [2023-01-17T09:11:50.513Z] experimental info: [2023-01-17T09:11:50.513Z] ------------------- [2023-01-17T09:11:50.514Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-17T09:11:50.514Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-17T09:11:50.514Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-17T09:11:50.682Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-01-17T09:11:50.692Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-01-17T09:11:50.703Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-17T09:11:50.713Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-17T09:11:50.726Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-17T09:11:50.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-01-17T09:11:50.748Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-01-17T09:11:50.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-17T09:11:50.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-17T09:11:50.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-01-17T09:11:50.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-17T09:11:50.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-17T09:11:50.814Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-17T09:11:50.823Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-17T09:11:50.836Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-17T09:11:50.850Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-17T09:11:50.861Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-17T09:11:50.873Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-01-17T09:11:50.883Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-01-17T09:11:50.893Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-01-17T09:11:50.905Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 60c720530b7232d7be6f88f4d69bf42c6efbb654 [Pipeline] echo [2023-01-17T09:11:50.915Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 60c7205 [Pipeline] echo [2023-01-17T09:11:50.925Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T09:11:50.969Z] provisioning config files... [2023-01-17T09:11:50.983Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config10517093383871998693tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T09:11:51.286Z] ---> docker-login.sh [2023-01-17T09:11:51.286Z] nexus3.edgexfoundry.org:10001 [2023-01-17T09:11:51.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T09:11:52.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T09:11:52.122Z] Configure a credential helper to remove this warning. See [2023-01-17T09:11:52.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T09:11:52.122Z] [2023-01-17T09:11:52.122Z] Login Succeeded [2023-01-17T09:11:52.122Z] nexus3.edgexfoundry.org:10002 [2023-01-17T09:11:52.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T09:11:52.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T09:11:52.122Z] Configure a credential helper to remove this warning. See [2023-01-17T09:11:52.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T09:11:52.122Z] [2023-01-17T09:11:52.122Z] Login Succeeded [2023-01-17T09:11:52.122Z] nexus3.edgexfoundry.org:10003 [2023-01-17T09:11:52.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T09:11:52.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T09:11:52.122Z] Configure a credential helper to remove this warning. See [2023-01-17T09:11:52.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T09:11:52.122Z] [2023-01-17T09:11:52.122Z] Login Succeeded [2023-01-17T09:11:52.122Z] nexus3.edgexfoundry.org:10004 [2023-01-17T09:11:52.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T09:11:52.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T09:11:52.381Z] Configure a credential helper to remove this warning. See [2023-01-17T09:11:52.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T09:11:52.381Z] [2023-01-17T09:11:52.381Z] Login Succeeded [2023-01-17T09:11:52.381Z] docker.io [2023-01-17T09:11:52.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T09:11:52.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T09:11:52.641Z] Configure a credential helper to remove this warning. See [2023-01-17T09:11:52.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T09:11:52.641Z] [2023-01-17T09:11:52.641Z] Login Succeeded [2023-01-17T09:11:52.641Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T09:11:52.649Z] 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-01-17T09:11:53.010Z] + git rev-list -1 --merges 60c720530b7232d7be6f88f4d69bf42c6efbb654~1..60c720530b7232d7be6f88f4d69bf42c6efbb654 [Pipeline] echo [2023-01-17T09:11:53.054Z] -----------> git rev-list -1 --merges 60c720530b7232d7be6f88f4d69bf42c6efbb654~1..60c720530b7232d7be6f88f4d69bf42c6efbb654 60c720530b7232d7be6f88f4d69bf42c6efbb654 [2023-01-17T09:11:53.054Z] 60c720530b7232d7be6f88f4d69bf42c6efbb654 [false] [Pipeline] sh [2023-01-17T09:11:53.343Z] + git log --format=format:%s -1 60c720530b7232d7be6f88f4d69bf42c6efbb654 [Pipeline] echo [2023-01-17T09:11:53.376Z] ========================================================= [2023-01-17T09:11:53.376Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-17T09:11:53.376Z] ========================================================= 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-01-17T09:11:53.746Z] + git rev-list -1 --merges 60c720530b7232d7be6f88f4d69bf42c6efbb654~1..60c720530b7232d7be6f88f4d69bf42c6efbb654 [Pipeline] echo [2023-01-17T09:11:53.758Z] -----------> git rev-list -1 --merges 60c720530b7232d7be6f88f4d69bf42c6efbb654~1..60c720530b7232d7be6f88f4d69bf42c6efbb654 60c720530b7232d7be6f88f4d69bf42c6efbb654 [2023-01-17T09:11:53.758Z] 60c720530b7232d7be6f88f4d69bf42c6efbb654 [false] [Pipeline] sh [2023-01-17T09:11:54.049Z] + git log --format=format:%s -1 60c720530b7232d7be6f88f4d69bf42c6efbb654 [Pipeline] echo [2023-01-17T09:11:54.067Z] ========================================================= [2023-01-17T09:11:54.067Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-17T09:11:54.067Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-01-17T09:11:54.503Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T09:11:54.503Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-17T09:11:54.503Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-17T09:11:54.503Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-17T09:11:54.503Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-17T09:11:54.503Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-17T09:11:54.503Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T09:11:54.912Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T09:11:54.912Z] [2023-01-17T09:11:54.912Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T09:11:55.216Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T09:11:55.216Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-17T09:11:55.216Z] b85a868b505f: Pulling fs layer [2023-01-17T09:11:55.216Z] e2be974225ed: Pulling fs layer [2023-01-17T09:11:55.216Z] 339a4e72a1f5: Pulling fs layer [2023-01-17T09:11:55.216Z] 988bab9f4d93: Pulling fs layer [2023-01-17T09:11:55.216Z] 1469e6f7b9e6: Pulling fs layer [2023-01-17T09:11:55.216Z] eaf3925da568: Pulling fs layer [2023-01-17T09:11:55.216Z] bab4dde63d76: Pulling fs layer [2023-01-17T09:11:55.216Z] bde34c3a00c8: Pulling fs layer [2023-01-17T09:11:55.216Z] b352a97aabf1: Pulling fs layer [2023-01-17T09:11:55.216Z] 4872d77fe225: Pulling fs layer [2023-01-17T09:11:55.216Z] 5851b861e8e6: Pulling fs layer [2023-01-17T09:11:55.216Z] bde34c3a00c8: Waiting [2023-01-17T09:11:55.216Z] 988bab9f4d93: Waiting [2023-01-17T09:11:55.216Z] 4872d77fe225: Waiting [2023-01-17T09:11:55.216Z] 1469e6f7b9e6: Waiting [2023-01-17T09:11:55.216Z] b352a97aabf1: Waiting [2023-01-17T09:11:55.216Z] bab4dde63d76: Waiting [2023-01-17T09:11:55.216Z] 5851b861e8e6: Waiting [2023-01-17T09:11:55.216Z] eaf3925da568: Waiting [2023-01-17T09:11:55.216Z] e2be974225ed: Verifying Checksum [2023-01-17T09:11:55.216Z] e2be974225ed: Download complete [2023-01-17T09:11:55.216Z] 988bab9f4d93: Verifying Checksum [2023-01-17T09:11:55.216Z] 988bab9f4d93: Download complete [2023-01-17T09:11:55.494Z] 1469e6f7b9e6: Verifying Checksum [2023-01-17T09:11:55.495Z] 1469e6f7b9e6: Download complete [2023-01-17T09:11:55.495Z] eaf3925da568: Verifying Checksum [2023-01-17T09:11:55.495Z] eaf3925da568: Download complete [2023-01-17T09:11:55.495Z] 339a4e72a1f5: Verifying Checksum [2023-01-17T09:11:55.495Z] 339a4e72a1f5: Download complete [2023-01-17T09:11:55.495Z] bde34c3a00c8: Verifying Checksum [2023-01-17T09:11:55.495Z] bde34c3a00c8: Download complete [2023-01-17T09:11:55.759Z] b352a97aabf1: Download complete [2023-01-17T09:11:55.759Z] 4872d77fe225: Verifying Checksum [2023-01-17T09:11:55.759Z] 4872d77fe225: Download complete [2023-01-17T09:11:55.759Z] 5851b861e8e6: Verifying Checksum [2023-01-17T09:11:55.759Z] 5851b861e8e6: Download complete [2023-01-17T09:11:55.759Z] b85a868b505f: Verifying Checksum [2023-01-17T09:11:55.759Z] b85a868b505f: Download complete [2023-01-17T09:11:56.027Z] bab4dde63d76: Verifying Checksum [2023-01-17T09:11:56.027Z] bab4dde63d76: Download complete [2023-01-17T09:11:56.970Z] b85a868b505f: Pull complete [2023-01-17T09:11:57.228Z] e2be974225ed: Pull complete [2023-01-17T09:11:57.794Z] 339a4e72a1f5: Pull complete [2023-01-17T09:11:57.794Z] 988bab9f4d93: Pull complete [2023-01-17T09:11:58.052Z] 1469e6f7b9e6: Pull complete [2023-01-17T09:11:58.052Z] eaf3925da568: Pull complete [2023-01-17T09:11:59.951Z] bab4dde63d76: Pull complete [2023-01-17T09:11:59.951Z] bde34c3a00c8: Pull complete [2023-01-17T09:11:59.951Z] b352a97aabf1: Pull complete [2023-01-17T09:12:00.210Z] 4872d77fe225: Pull complete [2023-01-17T09:12:00.210Z] 5851b861e8e6: Pull complete [2023-01-17T09:12:00.210Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-17T09:12:00.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T09:12:00.210Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T09:12:00.297Z] prd-ubuntu20.04-docker-8c-8g-2712 does not seem to be running inside a container [2023-01-17T09:12:00.336Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-17T09:12:03.121Z] $ docker top 11c9e62699d9ee444eb1f13c227fa9d8caf7e1ccc01d73448d7ec4dce2fc9ea5 -eo pid,comm [2023-01-17T09:12:03.187Z] 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-01-17T09:12:03.187Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T09:12:03.224Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T09:12:03.224Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T09:12:03.346Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T09:12:03.350Z] $ docker exec 11c9e62699d9ee444eb1f13c227fa9d8caf7e1ccc01d73448d7ec4dce2fc9ea5 ssh-agent [2023-01-17T09:12:03.463Z] SSH_AUTH_SOCK=/tmp/ssh-IgFyNolZahwd/agent.32 [2023-01-17T09:12:03.463Z] SSH_AGENT_PID=38 [2023-01-17T09:12:03.470Z] Running ssh-add (command line suppressed) [2023-01-17T09:12:03.583Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6457851008898669544.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6457851008898669544.key) [2023-01-17T09:12:03.597Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T09:12:03.885Z] + git tag --points-at HEAD [Pipeline] } [2023-01-17T09:12:03.911Z] $ docker exec --env ******** --env ******** 11c9e62699d9ee444eb1f13c227fa9d8caf7e1ccc01d73448d7ec4dce2fc9ea5 ssh-agent -k [2023-01-17T09:12:04.005Z] unset SSH_AUTH_SOCK; [2023-01-17T09:12:04.006Z] unset SSH_AGENT_PID; [2023-01-17T09:12:04.006Z] echo Agent pid 38 killed; [2023-01-17T09:12:04.015Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-17T09:12:04.036Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T09:12:04.036Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T09:12:04.151Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T09:12:04.154Z] $ docker exec 11c9e62699d9ee444eb1f13c227fa9d8caf7e1ccc01d73448d7ec4dce2fc9ea5 ssh-agent [2023-01-17T09:12:04.256Z] SSH_AUTH_SOCK=/tmp/ssh-CD8cfGtR159M/agent.69 [2023-01-17T09:12:04.257Z] SSH_AGENT_PID=75 [2023-01-17T09:12:04.261Z] Running ssh-add (command line suppressed) [2023-01-17T09:12:04.363Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_16498490128084313990.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_16498490128084313990.key) [2023-01-17T09:12:04.378Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T09:12:04.666Z] + git semver init [2023-01-17T09:12:04.927Z] 2023-01-17 09:12:04,846 [run_init] DEBUG init version:0.0.0 force:False [2023-01-17T09:12:04.927Z] 2023-01-17 09:12:04,847 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-01-17T09:12:04.927Z] 2023-01-17 09:12:04,847 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-01-17T09:12:04.927Z] 2023-01-17 09:12:04,847 [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-01-17T09:12:05.866Z] 2023-01-17 09:12:05,758 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2023-01-17T09:12:05.866Z] 2023-01-17 09:12:05,758 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2023-01-17T09:12:05.866Z] 2023-01-17 09:12:05,759 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-01-17T09:12:05.866Z] 2023-01-17 09:12:05,759 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-01-17T09:12:05.866Z] 2.3.1-dev.2 [Pipeline] } [2023-01-17T09:12:05.879Z] $ docker exec --env ******** --env ******** 11c9e62699d9ee444eb1f13c227fa9d8caf7e1ccc01d73448d7ec4dce2fc9ea5 ssh-agent -k [2023-01-17T09:12:05.979Z] unset SSH_AUTH_SOCK; [2023-01-17T09:12:05.980Z] unset SSH_AGENT_PID; [2023-01-17T09:12:05.981Z] echo Agent pid 75 killed; [2023-01-17T09:12:05.989Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T09:12:06.297Z] + git semver [Pipeline] } [2023-01-17T09:12:06.573Z] $ docker stop --time=1 11c9e62699d9ee444eb1f13c227fa9d8caf7e1ccc01d73448d7ec4dce2fc9ea5 [2023-01-17T09:12:07.875Z] $ docker rm -f --volumes 11c9e62699d9ee444eb1f13c227fa9d8caf7e1ccc01d73448d7ec4dce2fc9ea5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-17T09:12:08.218Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-17T09:12:08.440Z] Stashed 1 file(s) [Pipeline] echo [2023-01-17T09:12:08.444Z] [edgeXSemver]: initialized semver on version 2.3.1-dev.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] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T09:12:08.533Z] provisioning config files... [2023-01-17T09:12:08.544Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config11862026306335422289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T09:12:08.842Z] ---> docker-login.sh [2023-01-17T09:12:08.843Z] nexus3.edgexfoundry.org:10001 [2023-01-17T09:12:08.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T09:12:08.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T09:12:08.843Z] Configure a credential helper to remove this warning. See [2023-01-17T09:12:08.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T09:12:08.843Z] [2023-01-17T09:12:08.843Z] Login Succeeded [2023-01-17T09:12:08.843Z] nexus3.edgexfoundry.org:10002 [2023-01-17T09:12:08.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T09:12:08.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T09:12:08.843Z] Configure a credential helper to remove this warning. See [2023-01-17T09:12:08.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T09:12:08.843Z] [2023-01-17T09:12:08.843Z] Login Succeeded [2023-01-17T09:12:08.843Z] nexus3.edgexfoundry.org:10003 [2023-01-17T09:12:09.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T09:12:09.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T09:12:09.104Z] Configure a credential helper to remove this warning. See [2023-01-17T09:12:09.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T09:12:09.104Z] [2023-01-17T09:12:09.104Z] Login Succeeded [2023-01-17T09:12:09.104Z] nexus3.edgexfoundry.org:10004 [2023-01-17T09:12:09.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T09:12:09.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T09:12:09.104Z] Configure a credential helper to remove this warning. See [2023-01-17T09:12:09.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T09:12:09.104Z] [2023-01-17T09:12:09.104Z] Login Succeeded [2023-01-17T09:12:09.104Z] docker.io [2023-01-17T09:12:09.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T09:12:09.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T09:12:09.364Z] Configure a credential helper to remove this warning. See [2023-01-17T09:12:09.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T09:12:09.364Z] [2023-01-17T09:12:09.364Z] Login Succeeded [2023-01-17T09:12:09.364Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T09:12:09.372Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-17T09:12:09.434Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T09:12:09.442Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-01-17T09:12:09.449Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T09:12:09.455Z] ========================================================= [2023-01-17T09:12:09.455Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-01-17T09:12:09.455Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T09:12:09.750Z] + 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-01-17T09:12:09.751Z] Sending build context to Docker daemon 4.677MB [2023-01-17T09:12:09.751Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-01-17T09:12:09.751Z] Step 2/21 : FROM ${BASE} as builder [2023-01-17T09:12:09.751Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-01-17T09:12:09.751Z] 213ec9aee27d: Pulling fs layer [2023-01-17T09:12:09.751Z] 0f09ad1b1b37: Pulling fs layer [2023-01-17T09:12:10.010Z] 213ec9aee27d: Verifying Checksum [2023-01-17T09:12:10.010Z] 213ec9aee27d: Download complete [2023-01-17T09:12:10.010Z] 213ec9aee27d: Pull complete [2023-01-17T09:12:10.577Z] 0f09ad1b1b37: Verifying Checksum [2023-01-17T09:12:10.577Z] 0f09ad1b1b37: Download complete [2023-01-17T09:12:13.108Z] 0f09ad1b1b37: Pull complete [2023-01-17T09:12:13.108Z] Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 [2023-01-17T09:12:13.108Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-01-17T09:12:13.108Z] ---> b2bbfebb3566 [2023-01-17T09:12:13.108Z] 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-01-17T09:12:15.010Z] ---> Running in 38e3506e5c29 [2023-01-17T09:12:15.268Z] Connecting to iotech.jfrog.io (54.246.222.161:443) [2023-01-17T09:12:15.838Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-01-17T09:12:15.838Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-01-17T09:12:15.838Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-01-17T09:12:16.097Z] Removing intermediate container 38e3506e5c29 [2023-01-17T09:12:16.097Z] ---> 91c84c5d4f6f [2023-01-17T09:12:16.097Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-01-17T09:12:16.097Z] ---> Running in 0043eb8e4d43 [2023-01-17T09:12:16.664Z] Removing intermediate container 0043eb8e4d43 [2023-01-17T09:12:16.664Z] ---> ec6b2e1e0231 [2023-01-17T09:12:16.664Z] 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.4-dev hiredis-dev [2023-01-17T09:12:16.664Z] ---> Running in b680894d1e03 [2023-01-17T09:12:16.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-17T09:12:17.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-17T09:12:17.181Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-17T09:12:17.749Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-01-17T09:12:17.749Z] (1/14) Installing hiredis (1.0.2-r0) [2023-01-17T09:12:17.749Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-01-17T09:12:18.009Z] (3/14) Installing libuuid (2.38-r1) [2023-01-17T09:12:18.009Z] (4/14) Installing iotech-iot-1.4 (1.4.0-r0) [2023-01-17T09:12:18.579Z] (5/14) Installing iotech-iot-1.4-dev (1.4.0-r0) [2023-01-17T09:12:18.579Z] (6/14) Installing libcbor (0.9.0-r1) [2023-01-17T09:12:18.579Z] (7/14) Installing libcbor-dev (0.9.0-r1) [2023-01-17T09:12:18.579Z] (8/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-01-17T09:12:18.838Z] (9/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-01-17T09:12:19.408Z] (10/14) Installing libblkid (2.38-r1) [2023-01-17T09:12:19.408Z] (11/14) Installing libfdisk (2.38-r1) [2023-01-17T09:12:19.668Z] (12/14) Installing libmount (2.38-r1) [2023-01-17T09:12:19.668Z] (13/14) Installing libsmartcols (2.38-r1) [2023-01-17T09:12:19.668Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-01-17T09:12:19.668Z] Executing busybox-1.35.0-r17.trigger [2023-01-17T09:12:19.668Z] OK: 280 MiB in 90 packages [2023-01-17T09:12:20.234Z] Removing intermediate container b680894d1e03 [2023-01-17T09:12:20.234Z] ---> 0e8bedff6391 [2023-01-17T09:12:20.234Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-01-17T09:12:20.495Z] ---> Running in 2199e0e2236b [2023-01-17T09:12:21.065Z] Removing intermediate container 2199e0e2236b [2023-01-17T09:12:21.065Z] ---> c3cfe3b8cf26 [2023-01-17T09:12:21.065Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-01-17T09:12:21.065Z] ---> 2a1b76125a32 [2023-01-17T09:12:21.065Z] Step 8/21 : COPY src /tmp/sdk/src [2023-01-17T09:12:21.324Z] ---> 2fd2b05b79ca [2023-01-17T09:12:21.324Z] Step 9/21 : COPY include /tmp/sdk/include [2023-01-17T09:12:21.324Z] ---> 44b05520bd2c [2023-01-17T09:12:21.324Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-01-17T09:12:21.584Z] ---> dca44c53f0b7 [2023-01-17T09:12:21.584Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-01-17T09:12:21.584Z] ---> d2bb59ac134f [2023-01-17T09:12:21.584Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-01-17T09:12:21.843Z] ---> 370fb50338a8 [2023-01-17T09:12:21.844Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-01-17T09:12:21.844Z] ---> Running in a87b8f915c76 [2023-01-17T09:12:22.103Z] + CPPCHECK=false [2023-01-17T09:12:22.103Z] + DOCGEN=false [2023-01-17T09:12:22.103Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-01-17T09:12:22.103Z] + TOMLVER=SDK-0.2 [2023-01-17T09:12:22.103Z] + CUTILVER=1.4 [2023-01-17T09:12:22.103Z] + '[' 0 -gt 0 ] [2023-01-17T09:12:22.103Z] + readlink -f ./scripts/build.sh [2023-01-17T09:12:22.103Z] + dirname /tmp/sdk/scripts/build.sh [2023-01-17T09:12:22.103Z] + dirname /tmp/sdk/scripts [2023-01-17T09:12:22.103Z] + ROOT=/tmp/sdk [2023-01-17T09:12:22.103Z] + cd /tmp/sdk [2023-01-17T09:12:22.103Z] + '[' '!' -d deps ] [2023-01-17T09:12:22.103Z] + mkdir deps [2023-01-17T09:12:22.103Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-01-17T09:12:22.103Z] + tar -C deps -z -x -f - [2023-01-17T09:12:22.103Z] Connecting to github.com (140.82.112.4:443) [2023-01-17T09:12:22.365Z] Connecting to codeload.github.com (140.82.112.10:443) [2023-01-17T09:12:22.365Z] writing to stdout [2023-01-17T09:12:22.627Z] - 100% |********************************| 16451 0:00:00 ETA [2023-01-17T09:12:22.627Z] written to stdout [2023-01-17T09:12:22.627Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-01-17T09:12:22.627Z] + mkdir -p /tmp/sdk/build/release [2023-01-17T09:12:22.628Z] + cd /tmp/sdk/build/release [2023-01-17T09:12:22.628Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-01-17T09:12:22.628Z] -- The C compiler identification is GNU 11.2.1 [2023-01-17T09:12:22.628Z] -- Detecting C compiler ABI info [2023-01-17T09:12:22.628Z] -- Detecting C compiler ABI info - done [2023-01-17T09:12:22.628Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-01-17T09:12:22.628Z] -- Detecting C compile features [2023-01-17T09:12:22.628Z] -- Detecting C compile features - done [2023-01-17T09:12:22.628Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-01-17T09:12:22.889Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-01-17T09:12:22.889Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-01-17T09:12:22.889Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-01-17T09:12:22.889Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-01-17T09:12:22.889Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-01-17T09:12:22.889Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-01-17T09:12:22.889Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-01-17T09:12:22.889Z] -- /opt/iotech/iot/1.4/include [2023-01-17T09:12:22.889Z] -- C SDK 2.3.1-dev.2 for Linux [2023-01-17T09:12:22.889Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-01-17T09:12:22.889Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-01-17T09:12:22.889Z] -- Found Curses: /usr/lib/libcurses.so [2023-01-17T09:12:22.889Z] -- Configuring done [2023-01-17T09:12:22.889Z] -- Generating done [2023-01-17T09:12:22.889Z] -- Build files have been written to: /tmp/sdk/build/release [2023-01-17T09:12:22.889Z] + make all package [2023-01-17T09:12:22.889Z] + tee release.log [2023-01-17T09:12:22.889Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-01-17T09:12:23.149Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-01-17T09:12:23.149Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-01-17T09:12:23.504Z] Still waiting to schedule task [2023-01-17T09:12:23.505Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-17T09:12:23.716Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-01-17T09:12:23.716Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-01-17T09:12:23.974Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-01-17T09:12:23.974Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-01-17T09:12:24.234Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2023-01-17T09:12:24.234Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-01-17T09:12:24.494Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-01-17T09:12:24.753Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-01-17T09:12:25.011Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-01-17T09:12:25.011Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-01-17T09:12:25.271Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-01-17T09:12:25.271Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-01-17T09:12:25.532Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-01-17T09:12:26.103Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-01-17T09:12:26.103Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-01-17T09:12:26.103Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-01-17T09:12:26.363Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2023-01-17T09:12:26.363Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-01-17T09:12:27.300Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-01-17T09:12:27.559Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-01-17T09:12:27.559Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-01-17T09:12:27.559Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-01-17T09:12:27.818Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-01-17T09:12:28.386Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-01-17T09:12:28.386Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-01-17T09:12:28.644Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-01-17T09:12:28.644Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-01-17T09:12:29.212Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-01-17T09:12:29.780Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-01-17T09:12:30.039Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-01-17T09:12:30.039Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-01-17T09:12:30.298Z] [ 68%] Linking C shared library libcsdk.so [2023-01-17T09:12:30.298Z] [ 68%] Built target csdk [2023-01-17T09:12:30.298Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-01-17T09:12:30.298Z] [ 72%] Linking C executable template [2023-01-17T09:12:30.558Z] [ 72%] Built target template [2023-01-17T09:12:30.558Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-01-17T09:12:30.558Z] [ 76%] Linking C executable device-counter [2023-01-17T09:12:30.558Z] [ 76%] Built target device-counter [2023-01-17T09:12:30.558Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-01-17T09:12:30.816Z] [ 80%] Linking C executable device-random [2023-01-17T09:12:30.816Z] [ 80%] Built target device-random [2023-01-17T09:12:30.816Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-01-17T09:12:30.816Z] [ 84%] Linking C executable device-gyro [2023-01-17T09:12:31.075Z] [ 84%] Built target device-gyro [2023-01-17T09:12:31.075Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-01-17T09:12:31.075Z] [ 88%] Linking C executable device-bitfields [2023-01-17T09:12:31.075Z] [ 88%] Built target device-bitfields [2023-01-17T09:12:31.075Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-01-17T09:12:31.340Z] [ 92%] Linking C executable template-discovery [2023-01-17T09:12:31.340Z] [ 92%] Built target template-discovery [2023-01-17T09:12:31.340Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-01-17T09:12:31.601Z] [ 96%] Linking C executable device-file [2023-01-17T09:12:31.601Z] [ 96%] Built target device-file [2023-01-17T09:12:31.601Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-01-17T09:12:31.862Z] [100%] Linking C executable device-terminal [2023-01-17T09:12:31.862Z] [100%] Built target device-terminal [2023-01-17T09:12:31.862Z] Run CPack packaging tool... [2023-01-17T09:12:31.862Z] CPack: Create package using TGZ [2023-01-17T09:12:31.862Z] CPack: Install projects [2023-01-17T09:12:31.862Z] CPack: - Run preinstall target for: Csdk [2023-01-17T09:12:32.121Z] CPack: - Install project: Csdk [] [2023-01-17T09:12:32.121Z] CPack: Create package [2023-01-17T09:12:32.121Z] CPack: - package: /tmp/sdk/build/release/csdk-2.3.1-dev.2.tar.gz generated. [2023-01-17T09:12:32.121Z] + '[' false '=' true ] [2023-01-17T09:12:32.121Z] + '[' false '=' true ] [2023-01-17T09:12:32.121Z] + mkdir -p /tmp/sdk/build/debug [2023-01-17T09:12:32.121Z] + cd /tmp/sdk/build/debug [2023-01-17T09:12:32.121Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-01-17T09:12:32.121Z] -- The C compiler identification is GNU 11.2.1 [2023-01-17T09:12:32.121Z] -- Detecting C compiler ABI info [2023-01-17T09:12:32.380Z] -- Detecting C compiler ABI info - done [2023-01-17T09:12:32.380Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-01-17T09:12:32.380Z] -- Detecting C compile features [2023-01-17T09:12:32.380Z] -- Detecting C compile features - done [2023-01-17T09:12:32.380Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-01-17T09:12:32.380Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-01-17T09:12:32.380Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-01-17T09:12:32.380Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-01-17T09:12:32.380Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-01-17T09:12:32.380Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-01-17T09:12:32.380Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-01-17T09:12:32.380Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-01-17T09:12:32.380Z] -- /opt/iotech/iot/1.4/include [2023-01-17T09:12:32.380Z] -- C SDK 2.3.1-dev.2 for Linux [2023-01-17T09:12:32.380Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-01-17T09:12:32.380Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-01-17T09:12:32.380Z] -- Found Curses: /usr/lib/libcurses.so [2023-01-17T09:12:32.380Z] -- Configuring done [2023-01-17T09:12:32.639Z] -- Generating done [2023-01-17T09:12:32.639Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-01-17T09:12:32.639Z] + make [2023-01-17T09:12:32.639Z] + tee debug.log [2023-01-17T09:12:32.639Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-01-17T09:12:32.639Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-01-17T09:12:32.639Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-01-17T09:12:32.897Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-01-17T09:12:32.897Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-01-17T09:12:32.897Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-01-17T09:12:33.158Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-01-17T09:12:33.158Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2023-01-17T09:12:33.158Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-01-17T09:12:33.418Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-01-17T09:12:33.418Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-01-17T09:12:33.676Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-01-17T09:12:33.676Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-01-17T09:12:33.676Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-01-17T09:12:33.676Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-01-17T09:12:33.936Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-01-17T09:12:33.936Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-01-17T09:12:34.203Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-01-17T09:12:34.203Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-01-17T09:12:34.203Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2023-01-17T09:12:34.203Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-01-17T09:12:34.463Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-01-17T09:12:34.722Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-01-17T09:12:34.722Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-01-17T09:12:34.722Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-01-17T09:12:34.722Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-01-17T09:12:34.981Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-01-17T09:12:35.241Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-01-17T09:12:35.241Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-01-17T09:12:35.241Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-01-17T09:12:35.500Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-01-17T09:12:35.500Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-01-17T09:12:35.760Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-01-17T09:12:35.760Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-01-17T09:12:35.760Z] [ 68%] Linking C shared library libcsdk.so [2023-01-17T09:12:36.018Z] [ 68%] Built target csdk [2023-01-17T09:12:36.018Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-01-17T09:12:36.018Z] [ 72%] Linking C executable template [2023-01-17T09:12:36.018Z] [ 72%] Built target template [2023-01-17T09:12:36.018Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-01-17T09:12:36.018Z] [ 76%] Linking C executable device-counter [2023-01-17T09:12:36.275Z] [ 76%] Built target device-counter [2023-01-17T09:12:36.275Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-01-17T09:12:36.275Z] [ 80%] Linking C executable device-random [2023-01-17T09:12:36.275Z] [ 80%] Built target device-random [2023-01-17T09:12:36.275Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-01-17T09:12:36.533Z] [ 84%] Linking C executable device-gyro [2023-01-17T09:12:36.533Z] [ 84%] Built target device-gyro [2023-01-17T09:12:36.533Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-01-17T09:12:36.533Z] [ 88%] Linking C executable device-bitfields [2023-01-17T09:12:36.533Z] [ 88%] Built target device-bitfields [2023-01-17T09:12:36.533Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-01-17T09:12:36.793Z] [ 92%] Linking C executable template-discovery [2023-01-17T09:12:36.793Z] [ 92%] Built target template-discovery [2023-01-17T09:12:36.793Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-01-17T09:12:36.793Z] [ 96%] Linking C executable device-file [2023-01-17T09:12:37.052Z] [ 96%] Built target device-file [2023-01-17T09:12:37.052Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-01-17T09:12:37.052Z] [100%] Linking C executable device-terminal [2023-01-17T09:12:37.052Z] [100%] Built target device-terminal [2023-01-17T09:12:37.052Z] make: Entering directory '/tmp/sdk/build/release' [2023-01-17T09:12:37.052Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-01-17T09:12:37.053Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-17T09:12:37.053Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-17T09:12:37.053Z] [ 68%] Built target csdk [2023-01-17T09:12:37.053Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-17T09:12:37.053Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-17T09:12:37.053Z] [ 72%] Built target template [2023-01-17T09:12:37.053Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-17T09:12:37.053Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-17T09:12:37.053Z] [ 76%] Built target device-counter [2023-01-17T09:12:37.053Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-17T09:12:37.312Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-17T09:12:37.312Z] [ 80%] Built target device-random [2023-01-17T09:12:37.312Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-17T09:12:37.312Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-17T09:12:37.312Z] [ 84%] Built target device-gyro [2023-01-17T09:12:37.312Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-17T09:12:37.312Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-17T09:12:37.312Z] [ 88%] Built target device-bitfields [2023-01-17T09:12:37.312Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-17T09:12:37.312Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-17T09:12:37.312Z] [ 92%] Built target template-discovery [2023-01-17T09:12:37.312Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-17T09:12:37.312Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-17T09:12:37.312Z] [ 96%] Built target device-file [2023-01-17T09:12:37.312Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-17T09:12:37.312Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-17T09:12:37.312Z] [100%] Built target device-terminal [2023-01-17T09:12:37.312Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-01-17T09:12:37.312Z] Install the project... [2023-01-17T09:12:37.312Z] -- Install configuration: "Release" [2023-01-17T09:12:37.312Z] -- Installing: /usr/local/lib/libcsdk.so [2023-01-17T09:12:37.312Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-01-17T09:12:37.312Z] -- Installing: /usr/local/include [2023-01-17T09:12:37.312Z] -- Installing: /usr/local/include/devsdk [2023-01-17T09:12:37.312Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-01-17T09:12:37.312Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-01-17T09:12:37.312Z] -- Installing: /usr/local/include/edgex [2023-01-17T09:12:37.312Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-01-17T09:12:37.312Z] -- Installing: /usr/local/include/edgex/devices.h [2023-01-17T09:12:37.312Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-01-17T09:12:37.312Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-01-17T09:12:37.312Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-01-17T09:12:37.312Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-01-17T09:12:37.312Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-01-17T09:12:37.312Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-01-17T09:12:37.312Z] make: Leaving directory '/tmp/sdk/build/release' [2023-01-17T09:12:37.880Z] Removing intermediate container a87b8f915c76 [2023-01-17T09:12:37.880Z] ---> df2d6266b3a7 [2023-01-17T09:12:37.880Z] Step 14/21 : FROM ${BASE} [2023-01-17T09:12:37.880Z] ---> b2bbfebb3566 [2023-01-17T09:12:37.880Z] Step 15/21 : LABEL maintainer="IOTech " [2023-01-17T09:12:37.880Z] ---> Running in e99caba7a696 [2023-01-17T09:12:38.138Z] Removing intermediate container e99caba7a696 [2023-01-17T09:12:38.138Z] ---> a3f98a8c4c76 [2023-01-17T09:12:38.138Z] 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-01-17T09:12:38.138Z] ---> Running in c927c8fb93c4 [2023-01-17T09:12:38.397Z] Connecting to iotech.jfrog.io (52.212.34.180:443) [2023-01-17T09:12:38.657Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-01-17T09:12:38.657Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-01-17T09:12:38.657Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-01-17T09:12:38.916Z] Removing intermediate container c927c8fb93c4 [2023-01-17T09:12:38.916Z] ---> 11c34bcc144c [2023-01-17T09:12:38.916Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-01-17T09:12:38.916Z] ---> Running in 304ce92b3b75 [2023-01-17T09:12:39.483Z] Removing intermediate container 304ce92b3b75 [2023-01-17T09:12:39.483Z] ---> 54be0c40aa75 [2023-01-17T09:12:39.483Z] 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-01-17T09:12:39.483Z] ---> Running in 920e9db52008 [2023-01-17T09:12:39.742Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-17T09:12:40.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-17T09:12:40.259Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-17T09:12:40.827Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-01-17T09:12:40.827Z] (1/7) Installing curl (7.83.1-r5) [2023-01-17T09:12:40.827Z] (2/7) Installing hiredis (1.0.2-r0) [2023-01-17T09:12:40.827Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-01-17T09:12:40.827Z] (4/7) Installing libuuid (2.38-r1) [2023-01-17T09:12:40.827Z] (5/7) Installing iotech-iot-1.4 (1.4.0-r0) [2023-01-17T09:12:41.394Z] (6/7) Installing libcbor (0.9.0-r1) [2023-01-17T09:12:41.394Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-01-17T09:12:41.962Z] Executing busybox-1.35.0-r17.trigger [2023-01-17T09:12:41.962Z] OK: 275 MiB in 83 packages [2023-01-17T09:12:42.528Z] Removing intermediate container 920e9db52008 [2023-01-17T09:12:42.528Z] ---> 400a4f0ff9d9 [2023-01-17T09:12:42.528Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-01-17T09:12:42.528Z] ---> ceb880bd3ed8 [2023-01-17T09:12:42.528Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-01-17T09:12:42.787Z] ---> b7992ab10b7b [2023-01-17T09:12:42.787Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-01-17T09:12:42.787Z] ---> 3c492a7638a7 [2023-01-17T09:12:42.787Z] Successfully built 3c492a7638a7 [2023-01-17T09:12:42.787Z] 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-01-17T09:12:43.158Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-17T09:12:43.158Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T09:12:43.227Z] prd-ubuntu20.04-docker-8c-8g-2712 does not seem to be running inside a container [2023-01-17T09:12:43.257Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-17T09:12:43.578Z] $ docker top 5899c8b39b1be31bc4213085786476d63a5ac69f2bd68e4a7b28c4c78bd5fc96 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T09:12:43.920Z] + make test [2023-01-17T09:12:43.920Z] echo "make test" [2023-01-17T09:12:43.920Z] make test [Pipeline] } [2023-01-17T09:12:43.932Z] $ docker stop --time=1 5899c8b39b1be31bc4213085786476d63a5ac69f2bd68e4a7b28c4c78bd5fc96 [2023-01-17T09:12:45.187Z] $ docker rm -f --volumes 5899c8b39b1be31bc4213085786476d63a5ac69f2bd68e4a7b28c4c78bd5fc96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-17T09:12:45.789Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-17T09:12:46.072Z] + ls -al . [2023-01-17T09:12:46.073Z] total 204 [2023-01-17T09:12:46.073Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 17 09:12 . [2023-01-17T09:12:46.073Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 09:11 .. [2023-01-17T09:12:46.073Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 09:12 .git [2023-01-17T09:12:46.073Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 09:11 .github [2023-01-17T09:12:46.073Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 17 09:11 .gitignore [2023-01-17T09:12:46.073Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 09:12 .semver [2023-01-17T09:12:46.073Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jan 17 09:11 Attribution.txt [2023-01-17T09:12:46.073Z] -rw-rw-r-- 1 jenkins jenkins 8583 Jan 17 09:11 CHANGES [2023-01-17T09:12:46.073Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 17 09:11 Doxyfile [2023-01-17T09:12:46.073Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 09:11 GOVERNANCE.md [2023-01-17T09:12:46.073Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 17 09:11 Jenkinsfile [2023-01-17T09:12:46.073Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 17 09:11 LICENSE [2023-01-17T09:12:46.073Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 17 09:11 Makefile [2023-01-17T09:12:46.073Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 17 09:11 OWNERS.md [2023-01-17T09:12:46.073Z] -rw-rw-r-- 1 jenkins jenkins 4086 Jan 17 09:11 README.md [2023-01-17T09:12:46.073Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 17 09:11 README.v3.md [2023-01-17T09:12:46.073Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 09:12 VERSION [2023-01-17T09:12:46.073Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 09:11 docs [2023-01-17T09:12:46.073Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 09:11 include [2023-01-17T09:12:46.073Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 09:11 scripts [2023-01-17T09:12:46.073Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 09:11 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T09:12:46.380Z] + 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=60c720530b7232d7be6f88f4d69bf42c6efbb654 --label arch=amd64 --label version=2.3.1-dev.2 . [2023-01-17T09:12:46.380Z] Sending build context to Docker daemon 4.677MB [2023-01-17T09:12:46.380Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-01-17T09:12:46.380Z] Step 2/17 : FROM ${BASE} [2023-01-17T09:12:46.380Z] ---> 3c492a7638a7 [2023-01-17T09:12:46.380Z] Step 3/17 : LABEL maintainer="IOTech " [2023-01-17T09:12:46.637Z] ---> Running in 65f1799336b7 [2023-01-17T09:12:46.896Z] Removing intermediate container 65f1799336b7 [2023-01-17T09:12:46.896Z] ---> 66280d993452 [2023-01-17T09:12:46.896Z] 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-01-17T09:12:46.896Z] ---> Running in 58cf63f970cd [2023-01-17T09:12:47.462Z] Connecting to iotech.jfrog.io (52.210.203.67:443) [2023-01-17T09:12:47.720Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-01-17T09:12:47.720Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-01-17T09:12:47.720Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-01-17T09:12:48.288Z] Removing intermediate container 58cf63f970cd [2023-01-17T09:12:48.288Z] ---> af6e599ffd5f [2023-01-17T09:12:48.288Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-01-17T09:12:48.288Z] ---> Running in 5c4d43304c79 [2023-01-17T09:12:48.854Z] Removing intermediate container 5c4d43304c79 [2023-01-17T09:12:48.854Z] ---> d780f6cf511c [2023-01-17T09:12:48.854Z] 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.4-dev && mkdir -p /edgex-c-sdk/build [2023-01-17T09:12:48.854Z] ---> Running in 24a2a26b37ce [2023-01-17T09:12:49.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-17T09:12:49.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-17T09:12:49.113Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-17T09:12:49.681Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-01-17T09:12:49.681Z] (1/8) Installing iotech-iot-1.4-dev (1.4.0-r0) [2023-01-17T09:12:49.939Z] (2/8) Installing libcbor-dev (0.9.0-r1) [2023-01-17T09:12:49.939Z] (3/8) Installing ncurses-dev (6.3_p20220521-r0) [2023-01-17T09:12:49.939Z] (4/8) Installing libblkid (2.38-r1) [2023-01-17T09:12:49.939Z] (5/8) Installing libfdisk (2.38-r1) [2023-01-17T09:12:49.939Z] (6/8) Installing libmount (2.38-r1) [2023-01-17T09:12:49.939Z] (7/8) Installing libsmartcols (2.38-r1) [2023-01-17T09:12:49.939Z] (8/8) Installing util-linux-dev (2.38-r1) [2023-01-17T09:12:49.939Z] Executing busybox-1.35.0-r17.trigger [2023-01-17T09:12:49.939Z] OK: 280 MiB in 91 packages [2023-01-17T09:12:50.505Z] Removing intermediate container 24a2a26b37ce [2023-01-17T09:12:50.505Z] ---> 0cca9168c23e [2023-01-17T09:12:50.505Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-01-17T09:12:50.505Z] ---> 49254b7035f4 [2023-01-17T09:12:50.505Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-01-17T09:12:50.764Z] ---> a8df0581eb89 [2023-01-17T09:12:50.764Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-01-17T09:12:51.023Z] ---> b028a40f3008 [2023-01-17T09:12:51.023Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-01-17T09:12:51.023Z] ---> 66a819a0d37a [2023-01-17T09:12:51.023Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-01-17T09:12:51.023Z] ---> b0b6ce548cd8 [2023-01-17T09:12:51.023Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-01-17T09:12:51.282Z] ---> ab3be89aaa21 [2023-01-17T09:12:51.282Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-01-17T09:12:51.282Z] ---> Running in 84ff7b32368b [2023-01-17T09:12:51.282Z] Removing intermediate container 84ff7b32368b [2023-01-17T09:12:51.282Z] ---> b74bba4bc210 [2023-01-17T09:12:51.282Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-01-17T09:12:51.282Z] ---> Running in e506c7853b51 [2023-01-17T09:12:51.541Z] Removing intermediate container e506c7853b51 [2023-01-17T09:12:51.541Z] ---> 774c5b181e13 [2023-01-17T09:12:51.541Z] Step 15/17 : LABEL arch=amd64 [2023-01-17T09:12:51.541Z] ---> Running in 23807b380d30 [2023-01-17T09:12:51.541Z] Removing intermediate container 23807b380d30 [2023-01-17T09:12:51.541Z] ---> 2995d441dace [2023-01-17T09:12:51.541Z] Step 16/17 : LABEL git_sha=60c720530b7232d7be6f88f4d69bf42c6efbb654 [2023-01-17T09:12:51.541Z] ---> Running in df1da35212cc [2023-01-17T09:12:51.541Z] Removing intermediate container df1da35212cc [2023-01-17T09:12:51.541Z] ---> fbf346a7b0c0 [2023-01-17T09:12:51.541Z] Step 17/17 : LABEL version=2.3.1-dev.2 [2023-01-17T09:12:51.800Z] ---> Running in 323c893794fa [2023-01-17T09:12:51.800Z] Removing intermediate container 323c893794fa [2023-01-17T09:12:51.800Z] ---> 2aa3ca82d280 [2023-01-17T09:12:51.800Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-01-17T09:12:51.800Z] Successfully built 2aa3ca82d280 [2023-01-17T09:12:51.800Z] 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-01-17T09:12:52.215Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T09:12:52.215Z] [2023-01-17T09:12:52.215Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T09:12:52.520Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T09:12:52.520Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-17T09:12:52.520Z] 5eb5b503b376: Pulling fs layer [2023-01-17T09:12:52.520Z] 5c69ac0246d0: Pulling fs layer [2023-01-17T09:12:52.520Z] ec43610c2a17: Pulling fs layer [2023-01-17T09:12:52.520Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-17T09:12:52.520Z] 33b1e0a273af: Pulling fs layer [2023-01-17T09:12:52.520Z] 5d3b04190fa2: Pulling fs layer [2023-01-17T09:12:52.520Z] 2f39f015ded8: Pulling fs layer [2023-01-17T09:12:52.520Z] 3a2ae6a8a46f: Waiting [2023-01-17T09:12:52.520Z] 33b1e0a273af: Waiting [2023-01-17T09:12:52.520Z] 5d3b04190fa2: Waiting [2023-01-17T09:12:52.520Z] 5c69ac0246d0: Verifying Checksum [2023-01-17T09:12:52.520Z] 5c69ac0246d0: Download complete [2023-01-17T09:12:52.520Z] 3a2ae6a8a46f: Download complete [2023-01-17T09:12:52.787Z] 33b1e0a273af: Verifying Checksum [2023-01-17T09:12:52.787Z] 33b1e0a273af: Download complete [2023-01-17T09:12:52.787Z] 5d3b04190fa2: Verifying Checksum [2023-01-17T09:12:52.787Z] 5d3b04190fa2: Download complete [2023-01-17T09:12:52.787Z] ec43610c2a17: Verifying Checksum [2023-01-17T09:12:52.787Z] ec43610c2a17: Download complete [2023-01-17T09:12:52.787Z] 5eb5b503b376: Verifying Checksum [2023-01-17T09:12:52.787Z] 5eb5b503b376: Download complete [2023-01-17T09:12:53.720Z] 2f39f015ded8: Download complete [2023-01-17T09:12:53.978Z] 5eb5b503b376: Pull complete [2023-01-17T09:12:54.237Z] 5c69ac0246d0: Pull complete [2023-01-17T09:12:54.494Z] ec43610c2a17: Pull complete [2023-01-17T09:12:54.753Z] 3a2ae6a8a46f: Pull complete [2023-01-17T09:12:54.753Z] 33b1e0a273af: Pull complete [2023-01-17T09:12:55.011Z] 5d3b04190fa2: Pull complete [2023-01-17T09:12:59.192Z] 2f39f015ded8: Pull complete [2023-01-17T09:12:59.192Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-17T09:12:59.192Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T09:12:59.192Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T09:12:59.262Z] prd-ubuntu20.04-docker-8c-8g-2712 does not seem to be running inside a container [2023-01-17T09:12:59.293Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-17T09:13:03.343Z] $ docker top c6fa4309e9fa0be22fd15bbf629693dfe99c282e30feb09ef8d344b3d01d81bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T09:13:03.714Z] ---> job-cost.sh [2023-01-17T09:13:03.714Z] lf-activate-venv: SKIPPING [2023-01-17T09:13:03.714Z] INFO: No Stack... [2023-01-17T09:13:03.972Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-17T09:13:04.232Z] INFO: Archiving Costs [Pipeline] sh [2023-01-17T09:13:04.523Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2023-01-17T09:13:04.523Z] + cut -d, -f6 [Pipeline] lock [2023-01-17T09:13:04.540Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-37-stack-cost] [2023-01-17T09:13:04.551Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-37-stack-cost] did not exist. Created. [2023-01-17T09:13:04.551Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-17T09:13:04.848Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-17T09:13:04.890Z] Stashed 1 file(s) [Pipeline] } [2023-01-17T09:13:04.897Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-37-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-17T09:13:04.946Z] $ docker stop --time=1 c6fa4309e9fa0be22fd15bbf629693dfe99c282e30feb09ef8d344b3d01d81bf [2023-01-17T09:13:06.099Z] $ docker rm -f --volumes c6fa4309e9fa0be22fd15bbf629693dfe99c282e30feb09ef8d344b3d01d81bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-17T09:13:53.856Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2713 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2023-01-17T09:13:53.870Z] Running in /w/workspace/device-sdk-c/37 [Pipeline] { [Pipeline] checkout [2023-01-17T09:13:53.902Z] Selected Git installation does not exist. Using Default [2023-01-17T09:13:53.902Z] The recommended git tool is: NONE [2023-01-17T09:13:58.979Z] using credential edgex-jenkins-ssh [2023-01-17T09:13:59.001Z] Cloning the remote Git repository [2023-01-17T09:13:59.045Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-01-17T09:13:59.137Z] > git init /w/workspace/device-sdk-c/37 # timeout=10 [2023-01-17T09:13:59.305Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-01-17T09:13:59.306Z] > git --version # timeout=10 [2023-01-17T09:13:59.326Z] > git --version # 'git version 2.25.1' [2023-01-17T09:13:59.328Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-17T09:13:59.398Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-17T09:14:01.332Z] Avoid second fetch [2023-01-17T09:14:01.332Z] Checking out Revision 60c720530b7232d7be6f88f4d69bf42c6efbb654 (main) [2023-01-17T09:14:00.433Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-01-17T09:14:00.459Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-17T09:14:01.344Z] > git config core.sparsecheckout # timeout=10 [2023-01-17T09:14:01.361Z] > git checkout -f 60c720530b7232d7be6f88f4d69bf42c6efbb654 # timeout=10 [2023-01-17T09:14:01.860Z] Commit message: "Merge pull request #437 from iain-anderson/v3-api-tweaks" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-17T09:14:02.872Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-17T09:14:02.872Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-17T09:14:02.872Z] Dload Upload Total Spent Left Speed [2023-01-17T09:14:02.872Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 72448 0 --:--:-- --:--:-- --:--:-- 72862 [Pipeline] sh [2023-01-17T09:14:03.628Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-17T09:14:03.967Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-17T09:14:03.967Z] + sudo tee /etc/docker/daemon.new [2023-01-17T09:14:03.967Z] { [2023-01-17T09:14:03.967Z] "registry-mirrors": [ [2023-01-17T09:14:03.967Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-17T09:14:03.967Z] ], [2023-01-17T09:14:03.967Z] "bip": "10.250.0.254/24", [2023-01-17T09:14:03.967Z] "hosts": [ [2023-01-17T09:14:03.967Z] "tcp://0.0.0.0:5555", [2023-01-17T09:14:03.967Z] "unix:///var/run/docker.sock" [2023-01-17T09:14:03.967Z] ], [2023-01-17T09:14:03.967Z] "mtu": 1458, [2023-01-17T09:14:03.968Z] "selinux-enabled": true, [2023-01-17T09:14:03.968Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-17T09:14:03.968Z] } [Pipeline] sh [2023-01-17T09:14:04.304Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-17T09:14:04.639Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T09:14:22.926Z] provisioning config files... [2023-01-17T09:14:22.956Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/37@tmp/config18299400889718888726tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T09:14:23.310Z] ---> docker-login.sh [2023-01-17T09:14:23.310Z] nexus3.edgexfoundry.org:10001 [2023-01-17T09:14:23.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T09:14:23.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T09:14:23.900Z] Configure a credential helper to remove this warning. See [2023-01-17T09:14:23.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T09:14:23.900Z] [2023-01-17T09:14:23.900Z] Login Succeeded [2023-01-17T09:14:23.900Z] nexus3.edgexfoundry.org:10002 [2023-01-17T09:14:24.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T09:14:24.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T09:14:24.437Z] Configure a credential helper to remove this warning. See [2023-01-17T09:14:24.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T09:14:24.437Z] [2023-01-17T09:14:24.437Z] Login Succeeded [2023-01-17T09:14:24.437Z] nexus3.edgexfoundry.org:10003 [2023-01-17T09:14:24.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T09:14:24.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T09:14:24.709Z] Configure a credential helper to remove this warning. See [2023-01-17T09:14:24.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T09:14:24.709Z] [2023-01-17T09:14:24.709Z] Login Succeeded [2023-01-17T09:14:24.709Z] nexus3.edgexfoundry.org:10004 [2023-01-17T09:14:24.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T09:14:24.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T09:14:24.978Z] Configure a credential helper to remove this warning. See [2023-01-17T09:14:24.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T09:14:24.978Z] [2023-01-17T09:14:24.978Z] Login Succeeded [2023-01-17T09:14:24.978Z] docker.io [2023-01-17T09:14:25.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-17T09:14:25.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-17T09:14:25.516Z] Configure a credential helper to remove this warning. See [2023-01-17T09:14:25.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-17T09:14:25.516Z] [2023-01-17T09:14:25.517Z] Login Succeeded [2023-01-17T09:14:25.517Z] ---> docker-login.sh ends [Pipeline] } [2023-01-17T09:14:25.531Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-17T09:14:25.786Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T09:14:25.799Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-01-17T09:14:25.809Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-17T09:14:25.819Z] ========================================================= [2023-01-17T09:14:25.819Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-01-17T09:14:25.819Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T09:14:26.272Z] + 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-01-17T09:14:26.542Z] Sending build context to Docker daemon 2.813MB [2023-01-17T09:14:26.542Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-01-17T09:14:26.542Z] Step 2/21 : FROM ${BASE} as builder [2023-01-17T09:14:26.813Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-01-17T09:14:26.813Z] 9b18e9b68314: Pulling fs layer [2023-01-17T09:14:26.813Z] 1def92ead452: Pulling fs layer [2023-01-17T09:14:26.813Z] 9b18e9b68314: Verifying Checksum [2023-01-17T09:14:26.813Z] 9b18e9b68314: Download complete [2023-01-17T09:14:27.404Z] 9b18e9b68314: Pull complete [2023-01-17T09:14:29.377Z] 1def92ead452: Verifying Checksum [2023-01-17T09:14:29.377Z] 1def92ead452: Download complete [2023-01-17T09:14:37.609Z] 1def92ead452: Pull complete [2023-01-17T09:14:37.609Z] Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c [2023-01-17T09:14:37.609Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-01-17T09:14:37.609Z] ---> 9a9802766715 [2023-01-17T09:14:37.609Z] 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-01-17T09:14:37.959Z] ---> Running in e3455f17545c [2023-01-17T09:14:38.933Z] Connecting to iotech.jfrog.io (52.212.10.107:443) [2023-01-17T09:14:39.520Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-01-17T09:14:39.520Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-01-17T09:14:39.520Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-01-17T09:14:40.109Z] Removing intermediate container e3455f17545c [2023-01-17T09:14:40.109Z] ---> 84084a54cffd [2023-01-17T09:14:40.109Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-01-17T09:14:40.109Z] ---> Running in af354707ad80 [2023-01-17T09:14:42.067Z] Removing intermediate container af354707ad80 [2023-01-17T09:14:42.067Z] ---> 5e4eccabef0c [2023-01-17T09:14:42.067Z] 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.4-dev hiredis-dev [2023-01-17T09:14:42.067Z] ---> Running in d9c00f25c018 [2023-01-17T09:14:43.035Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-17T09:14:43.035Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-17T09:14:43.630Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-17T09:14:44.606Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-01-17T09:14:44.606Z] (1/14) Installing hiredis (1.0.2-r0) [2023-01-17T09:14:44.606Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-01-17T09:14:44.606Z] (3/14) Installing libuuid (2.38-r1) [2023-01-17T09:14:44.606Z] (4/14) Installing iotech-iot-1.4 (1.4.0-r0) [2023-01-17T09:14:45.191Z] (5/14) Installing iotech-iot-1.4-dev (1.4.0-r0) [2023-01-17T09:14:45.462Z] (6/14) Installing libcbor (0.9.0-r1) [2023-01-17T09:14:45.462Z] (7/14) Installing libcbor-dev (0.9.0-r1) [2023-01-17T09:14:45.462Z] (8/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-01-17T09:14:45.462Z] (9/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-01-17T09:14:46.424Z] (10/14) Installing libblkid (2.38-r1) [2023-01-17T09:14:46.424Z] (11/14) Installing libfdisk (2.38-r1) [2023-01-17T09:14:46.424Z] (12/14) Installing libmount (2.38-r1) [2023-01-17T09:14:46.424Z] (13/14) Installing libsmartcols (2.38-r1) [2023-01-17T09:14:46.424Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-01-17T09:14:46.424Z] Executing busybox-1.35.0-r17.trigger [2023-01-17T09:14:46.424Z] OK: 286 MiB in 90 packages [2023-01-17T09:14:47.839Z] Removing intermediate container d9c00f25c018 [2023-01-17T09:14:47.839Z] ---> f840df413949 [2023-01-17T09:14:47.839Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-01-17T09:14:47.839Z] ---> Running in d996c517e314 [2023-01-17T09:14:49.269Z] Removing intermediate container d996c517e314 [2023-01-17T09:14:49.269Z] ---> 6fad250c22d2 [2023-01-17T09:14:49.269Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-01-17T09:14:49.919Z] ---> 7ed81868dee4 [2023-01-17T09:14:49.919Z] Step 8/21 : COPY src /tmp/sdk/src [2023-01-17T09:14:50.901Z] ---> adb4e9d76750 [2023-01-17T09:14:50.901Z] Step 9/21 : COPY include /tmp/sdk/include [2023-01-17T09:14:51.175Z] ---> 68f845b05b6e [2023-01-17T09:14:51.175Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-01-17T09:14:51.771Z] ---> f40f4c86ec82 [2023-01-17T09:14:51.771Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-01-17T09:14:52.356Z] ---> d8441e921d15 [2023-01-17T09:14:52.356Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-01-17T09:14:52.624Z] ---> 76c93fd1fd6f [2023-01-17T09:14:52.624Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-01-17T09:14:52.624Z] ---> Running in 2d58e583cde7 [2023-01-17T09:14:53.588Z] + CPPCHECK=false [2023-01-17T09:14:53.588Z] + DOCGEN=false [2023-01-17T09:14:53.588Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-01-17T09:14:53.588Z] + TOMLVER=SDK-0.2 [2023-01-17T09:14:53.588Z] + CUTILVER=1.4 [2023-01-17T09:14:53.588Z] + '[' 0 -gt 0 ] [2023-01-17T09:14:53.588Z] + readlink -f ./scripts/build.sh [2023-01-17T09:14:53.588Z] + dirname /tmp/sdk/scripts/build.sh [2023-01-17T09:14:53.588Z] + dirname /tmp/sdk/scripts [2023-01-17T09:14:53.588Z] + ROOT=/tmp/sdk [2023-01-17T09:14:53.588Z] + cd /tmp/sdk [2023-01-17T09:14:53.588Z] + '[' '!' -d deps ] [2023-01-17T09:14:53.588Z] + mkdir deps [2023-01-17T09:14:53.588Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-01-17T09:14:53.588Z] + tar -C deps -z -x -f - [2023-01-17T09:14:53.588Z] Connecting to github.com (140.82.112.3:443) [2023-01-17T09:14:53.854Z] Connecting to codeload.github.com (140.82.112.9:443) [2023-01-17T09:14:54.120Z] writing to stdout [2023-01-17T09:14:54.120Z] - 100% |********************************| 16451 0:00:00 ETA [2023-01-17T09:14:54.120Z] written to stdout [2023-01-17T09:14:54.120Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-01-17T09:14:54.120Z] + mkdir -p /tmp/sdk/build/release [2023-01-17T09:14:54.120Z] + cd /tmp/sdk/build/release [2023-01-17T09:14:54.120Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-01-17T09:14:54.389Z] -- The C compiler identification is GNU 11.2.1 [2023-01-17T09:14:54.389Z] -- Detecting C compiler ABI info [2023-01-17T09:14:54.976Z] -- Detecting C compiler ABI info - done [2023-01-17T09:14:54.976Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-01-17T09:14:54.976Z] -- Detecting C compile features [2023-01-17T09:14:54.976Z] -- Detecting C compile features - done [2023-01-17T09:14:54.976Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-01-17T09:14:55.244Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-01-17T09:14:55.244Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-01-17T09:14:55.244Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-01-17T09:14:55.244Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-01-17T09:14:55.244Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-01-17T09:14:55.244Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-01-17T09:14:55.244Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-01-17T09:14:55.244Z] -- /opt/iotech/iot/1.4/include [2023-01-17T09:14:55.244Z] -- C SDK 2.3.1-dev.2 for Linux [2023-01-17T09:14:55.244Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-01-17T09:14:55.514Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-01-17T09:14:55.784Z] -- Found Curses: /usr/lib/libcurses.so [2023-01-17T09:14:55.784Z] -- Configuring done [2023-01-17T09:14:56.052Z] -- Generating done [2023-01-17T09:14:56.052Z] -- Build files have been written to: /tmp/sdk/build/release [2023-01-17T09:14:56.052Z] + + maketee all release.log package [2023-01-17T09:14:56.052Z] [2023-01-17T09:14:56.321Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-01-17T09:14:57.285Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-01-17T09:14:57.869Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-01-17T09:15:01.211Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-01-17T09:15:02.219Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-01-17T09:15:02.219Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-01-17T09:15:03.626Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-01-17T09:15:05.028Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2023-01-17T09:15:05.292Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-01-17T09:15:06.691Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-01-17T09:15:08.632Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-01-17T09:15:09.212Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-01-17T09:15:10.168Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-01-17T09:15:11.123Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-01-17T09:15:11.703Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-01-17T09:15:11.969Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-01-17T09:15:16.204Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-01-17T09:15:16.204Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-01-17T09:15:16.785Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-01-17T09:15:18.184Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2023-01-17T09:15:18.450Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-01-17T09:15:25.078Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-01-17T09:15:25.078Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-01-17T09:15:25.078Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-01-17T09:15:25.656Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-01-17T09:15:27.588Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-01-17T09:15:30.160Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-01-17T09:15:30.424Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-01-17T09:15:31.377Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-01-17T09:15:31.956Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-01-17T09:15:35.288Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-01-17T09:15:39.529Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-01-17T09:15:40.485Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-01-17T09:15:41.064Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-01-17T09:15:41.644Z] [ 68%] Linking C shared library libcsdk.so [2023-01-17T09:15:41.908Z] [ 68%] Built target csdk [2023-01-17T09:15:41.908Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-01-17T09:15:42.861Z] [ 72%] Linking C executable template [2023-01-17T09:15:43.126Z] [ 72%] Built target template [2023-01-17T09:15:43.126Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-01-17T09:15:43.708Z] [ 76%] Linking C executable device-counter [2023-01-17T09:15:43.973Z] [ 76%] Built target device-counter [2023-01-17T09:15:43.973Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-01-17T09:15:44.556Z] [ 80%] Linking C executable device-random [2023-01-17T09:15:44.821Z] [ 80%] Built target device-random [2023-01-17T09:15:45.086Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-01-17T09:15:45.665Z] [ 84%] Linking C executable device-gyro [2023-01-17T09:15:45.931Z] [ 84%] Built target device-gyro [2023-01-17T09:15:45.931Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-01-17T09:15:46.514Z] [ 88%] Linking C executable device-bitfields [2023-01-17T09:15:46.780Z] [ 88%] Built target device-bitfields [2023-01-17T09:15:46.780Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-01-17T09:15:48.184Z] [ 92%] Linking C executable template-discovery [2023-01-17T09:15:48.184Z] [ 92%] Built target template-discovery [2023-01-17T09:15:48.184Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-01-17T09:15:49.139Z] [ 96%] Linking C executable device-file [2023-01-17T09:15:49.404Z] [ 96%] Built target device-file [2023-01-17T09:15:49.404Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-01-17T09:15:49.983Z] [100%] Linking C executable device-terminal [2023-01-17T09:15:50.564Z] [100%] Built target device-terminal [2023-01-17T09:15:50.564Z] Run CPack packaging tool... [2023-01-17T09:15:50.564Z] CPack: Create package using TGZ [2023-01-17T09:15:50.564Z] CPack: Install projects [2023-01-17T09:15:50.564Z] CPack: - Run preinstall target for: Csdk [2023-01-17T09:15:51.146Z] CPack: - Install project: Csdk [] [2023-01-17T09:15:51.146Z] CPack: Create package [2023-01-17T09:15:51.411Z] CPack: - package: /tmp/sdk/build/release/csdk-2.3.1-dev.2.tar.gz generated. [2023-01-17T09:15:51.411Z] + '[' false '=' true ] [2023-01-17T09:15:51.411Z] + '[' false '=' true ] [2023-01-17T09:15:51.411Z] + mkdir -p /tmp/sdk/build/debug [2023-01-17T09:15:51.411Z] + cd /tmp/sdk/build/debug [2023-01-17T09:15:51.411Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-01-17T09:15:51.677Z] -- The C compiler identification is GNU 11.2.1 [2023-01-17T09:15:51.677Z] -- Detecting C compiler ABI info [2023-01-17T09:15:51.945Z] -- Detecting C compiler ABI info - done [2023-01-17T09:15:51.945Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-01-17T09:15:51.945Z] -- Detecting C compile features [2023-01-17T09:15:51.945Z] -- Detecting C compile features - done [2023-01-17T09:15:52.212Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-01-17T09:15:52.212Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-01-17T09:15:52.212Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-01-17T09:15:52.212Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-01-17T09:15:52.212Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-01-17T09:15:52.212Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-01-17T09:15:52.212Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-01-17T09:15:52.479Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-01-17T09:15:52.479Z] -- /opt/iotech/iot/1.4/include [2023-01-17T09:15:52.479Z] -- C SDK 2.3.1-dev.2 for Linux [2023-01-17T09:15:52.479Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-01-17T09:15:52.746Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-01-17T09:15:52.746Z] -- Found Curses: /usr/lib/libcurses.so [2023-01-17T09:15:53.012Z] -- Configuring done [2023-01-17T09:15:53.279Z] -- Generating done [2023-01-17T09:15:53.279Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-01-17T09:15:53.279Z] + + maketee [2023-01-17T09:15:53.279Z] debug.log [2023-01-17T09:15:53.279Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-01-17T09:15:53.859Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-01-17T09:15:54.128Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-01-17T09:15:55.082Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-01-17T09:15:55.659Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-01-17T09:15:55.659Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-01-17T09:15:56.240Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-01-17T09:15:56.819Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/data-rest.c.o [2023-01-17T09:15:57.084Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-01-17T09:15:57.664Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-01-17T09:15:58.246Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-01-17T09:15:58.827Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-01-17T09:15:59.092Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-01-17T09:15:59.670Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-01-17T09:15:59.936Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-01-17T09:16:00.201Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-01-17T09:16:01.157Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-01-17T09:16:01.423Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-01-17T09:16:01.687Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-01-17T09:16:02.640Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metrics.c.o [2023-01-17T09:16:02.640Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-01-17T09:16:04.039Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-01-17T09:16:04.304Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-01-17T09:16:04.569Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-01-17T09:16:05.151Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-01-17T09:16:05.730Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-01-17T09:16:07.668Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-01-17T09:16:07.668Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-01-17T09:16:08.248Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-01-17T09:16:08.513Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-01-17T09:16:09.470Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-01-17T09:16:10.425Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-01-17T09:16:11.005Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-01-17T09:16:11.272Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-01-17T09:16:11.539Z] [ 68%] Linking C shared library libcsdk.so [2023-01-17T09:16:11.806Z] [ 68%] Built target csdk [2023-01-17T09:16:11.806Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-01-17T09:16:12.652Z] [ 72%] Linking C executable template [2023-01-17T09:16:12.652Z] [ 72%] Built target template [2023-01-17T09:16:12.652Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-01-17T09:16:12.917Z] [ 76%] Linking C executable device-counter [2023-01-17T09:16:13.182Z] [ 76%] Built target device-counter [2023-01-17T09:16:13.448Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-01-17T09:16:13.713Z] [ 80%] Linking C executable device-random [2023-01-17T09:16:13.978Z] [ 80%] Built target device-random [2023-01-17T09:16:13.978Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-01-17T09:16:14.244Z] [ 84%] Linking C executable device-gyro [2023-01-17T09:16:14.509Z] [ 84%] Built target device-gyro [2023-01-17T09:16:14.509Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-01-17T09:16:15.089Z] [ 88%] Linking C executable device-bitfields [2023-01-17T09:16:15.089Z] [ 88%] Built target device-bitfields [2023-01-17T09:16:15.353Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-01-17T09:16:15.619Z] [ 92%] Linking C executable template-discovery [2023-01-17T09:16:15.884Z] [ 92%] Built target template-discovery [2023-01-17T09:16:15.884Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-01-17T09:16:16.464Z] [ 96%] Linking C executable device-file [2023-01-17T09:16:16.729Z] [ 96%] Built target device-file [2023-01-17T09:16:16.729Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-01-17T09:16:17.310Z] [100%] Linking C executable device-terminal [2023-01-17T09:16:17.310Z] [100%] Built target device-terminal [2023-01-17T09:16:17.575Z] make: Entering directory '/tmp/sdk/build/release' [2023-01-17T09:16:17.575Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-01-17T09:16:17.575Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-17T09:16:17.575Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-17T09:16:17.575Z] [ 68%] Built target csdk [2023-01-17T09:16:17.575Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-17T09:16:17.575Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-17T09:16:17.575Z] [ 72%] Built target template [2023-01-17T09:16:17.575Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-17T09:16:17.575Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-17T09:16:17.575Z] [ 76%] Built target device-counter [2023-01-17T09:16:17.842Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-17T09:16:17.842Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-17T09:16:17.842Z] [ 80%] Built target device-random [2023-01-17T09:16:17.842Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-17T09:16:17.842Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-17T09:16:17.842Z] [ 84%] Built target device-gyro [2023-01-17T09:16:17.842Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-17T09:16:17.842Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-17T09:16:17.842Z] [ 88%] Built target device-bitfields [2023-01-17T09:16:17.842Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-17T09:16:17.842Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-17T09:16:17.842Z] [ 92%] Built target template-discovery [2023-01-17T09:16:17.842Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-17T09:16:17.842Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-17T09:16:17.842Z] [ 96%] Built target device-file [2023-01-17T09:16:17.842Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-01-17T09:16:17.842Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-01-17T09:16:18.114Z] [100%] Built target device-terminal [2023-01-17T09:16:18.114Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-01-17T09:16:18.114Z] Install the project... [2023-01-17T09:16:18.114Z] -- Install configuration: "Release" [2023-01-17T09:16:18.114Z] -- Installing: /usr/local/lib/libcsdk.so [2023-01-17T09:16:18.114Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-01-17T09:16:18.114Z] -- Installing: /usr/local/include [2023-01-17T09:16:18.114Z] -- Installing: /usr/local/include/devsdk [2023-01-17T09:16:18.114Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-01-17T09:16:18.114Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-01-17T09:16:18.114Z] -- Installing: /usr/local/include/edgex [2023-01-17T09:16:18.114Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-01-17T09:16:18.114Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-01-17T09:16:18.114Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-01-17T09:16:18.114Z] -- Installing: /usr/local/include/edgex/devices.h [2023-01-17T09:16:18.114Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-01-17T09:16:18.114Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-01-17T09:16:18.114Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-01-17T09:16:18.114Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-01-17T09:16:18.114Z] make: Leaving directory '/tmp/sdk/build/release' [2023-01-17T09:16:19.527Z] Removing intermediate container 2d58e583cde7 [2023-01-17T09:16:19.527Z] ---> d34ff4c1c766 [2023-01-17T09:16:19.527Z] Step 14/21 : FROM ${BASE} [2023-01-17T09:16:19.527Z] ---> 9a9802766715 [2023-01-17T09:16:19.527Z] Step 15/21 : LABEL maintainer="IOTech " [2023-01-17T09:16:19.527Z] ---> Running in 5061d3128a08 [2023-01-17T09:16:19.527Z] Removing intermediate container 5061d3128a08 [2023-01-17T09:16:19.527Z] ---> a977d9b52296 [2023-01-17T09:16:19.527Z] 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-01-17T09:16:19.796Z] ---> Running in 25c5cddb91d0 [2023-01-17T09:16:20.752Z] Connecting to iotech.jfrog.io (34.249.160.173:443) [2023-01-17T09:16:21.017Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-01-17T09:16:21.017Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-01-17T09:16:21.017Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-01-17T09:16:21.598Z] Removing intermediate container 25c5cddb91d0 [2023-01-17T09:16:21.598Z] ---> 1de468cfc17f [2023-01-17T09:16:21.598Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-01-17T09:16:21.598Z] ---> Running in 445013066b9f [2023-01-17T09:16:23.004Z] Removing intermediate container 445013066b9f [2023-01-17T09:16:23.004Z] ---> d4b8d919ea3a [2023-01-17T09:16:23.004Z] 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-01-17T09:16:23.269Z] ---> Running in 686976212b99 [2023-01-17T09:16:24.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-17T09:16:24.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-17T09:16:24.805Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-17T09:16:25.758Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-01-17T09:16:25.758Z] (1/7) Installing curl (7.83.1-r5) [2023-01-17T09:16:25.758Z] (2/7) Installing hiredis (1.0.2-r0) [2023-01-17T09:16:25.758Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-01-17T09:16:25.758Z] (4/7) Installing libuuid (2.38-r1) [2023-01-17T09:16:25.758Z] (5/7) Installing iotech-iot-1.4 (1.4.0-r0) [2023-01-17T09:16:26.335Z] (6/7) Installing libcbor (0.9.0-r1) [2023-01-17T09:16:26.335Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-01-17T09:16:27.285Z] Executing busybox-1.35.0-r17.trigger [2023-01-17T09:16:27.285Z] OK: 280 MiB in 83 packages [2023-01-17T09:16:28.239Z] Removing intermediate container 686976212b99 [2023-01-17T09:16:28.239Z] ---> a8bfe2e8fd75 [2023-01-17T09:16:28.239Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-01-17T09:16:28.504Z] ---> 44ec1b174a12 [2023-01-17T09:16:28.504Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-01-17T09:16:29.083Z] ---> e2486e6dd46f [2023-01-17T09:16:29.083Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-01-17T09:16:29.348Z] ---> ff51296640c8 [2023-01-17T09:16:29.612Z] Successfully built ff51296640c8 [2023-01-17T09:16:29.612Z] 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-01-17T09:16:30.006Z] + docker inspect -f . ci-base-image-arm64 [2023-01-17T09:16:30.006Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T09:16:30.174Z] prd-ubuntu20.04-docker-arm64-4c-16g-2713 does not seem to be running inside a container [2023-01-17T09:16:30.239Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/37 -v /w/workspace/device-sdk-c/37:/w/workspace/device-sdk-c/37:rw,z -v /w/workspace/device-sdk-c/37@tmp:/w/workspace/device-sdk-c/37@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 ******** ci-base-image-arm64 cat [2023-01-17T09:16:31.293Z] $ docker top 4469cae42171c86aaf417edf34f75b061a3b694d322eba660471504cc9e2a0b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T09:16:32.092Z] + make test [2023-01-17T09:16:32.092Z] echo "make test" [2023-01-17T09:16:32.092Z] make test [Pipeline] } [2023-01-17T09:16:32.117Z] $ docker stop --time=1 4469cae42171c86aaf417edf34f75b061a3b694d322eba660471504cc9e2a0b4 [2023-01-17T09:16:33.681Z] $ docker rm -f --volumes 4469cae42171c86aaf417edf34f75b061a3b694d322eba660471504cc9e2a0b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-17T09:16:34.191Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-17T09:16:34.513Z] + ls -al . [2023-01-17T09:16:34.513Z] total 200 [2023-01-17T09:16:34.513Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 09:14 . [2023-01-17T09:16:34.513Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 09:13 .. [2023-01-17T09:16:34.513Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 09:14 .git [2023-01-17T09:16:34.513Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 09:14 .github [2023-01-17T09:16:34.513Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 17 09:14 .gitignore [2023-01-17T09:16:34.513Z] -rw-rw-r-- 1 jenkins jenkins 3104 Jan 17 09:14 Attribution.txt [2023-01-17T09:16:34.513Z] -rw-rw-r-- 1 jenkins jenkins 8583 Jan 17 09:14 CHANGES [2023-01-17T09:16:34.513Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 17 09:14 Doxyfile [2023-01-17T09:16:34.513Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 09:14 GOVERNANCE.md [2023-01-17T09:16:34.513Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 17 09:14 Jenkinsfile [2023-01-17T09:16:34.513Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 17 09:14 LICENSE [2023-01-17T09:16:34.513Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 17 09:14 Makefile [2023-01-17T09:16:34.513Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 17 09:14 OWNERS.md [2023-01-17T09:16:34.513Z] -rw-rw-r-- 1 jenkins jenkins 4086 Jan 17 09:14 README.md [2023-01-17T09:16:34.513Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 17 09:14 README.v3.md [2023-01-17T09:16:34.513Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 09:12 VERSION [2023-01-17T09:16:34.513Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 09:14 docs [2023-01-17T09:16:34.513Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 09:14 include [2023-01-17T09:16:34.513Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 09:14 scripts [2023-01-17T09:16:34.513Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 09:14 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T09:16:34.839Z] + 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=60c720530b7232d7be6f88f4d69bf42c6efbb654 --label arch=arm64 --label version=2.3.1-dev.2 . [2023-01-17T09:16:37.478Z] Sending build context to Docker daemon 2.813MB [2023-01-17T09:16:37.478Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-01-17T09:16:37.478Z] Step 2/17 : FROM ${BASE} [2023-01-17T09:16:37.478Z] ---> ff51296640c8 [2023-01-17T09:16:37.478Z] Step 3/17 : LABEL maintainer="IOTech " [2023-01-17T09:16:37.743Z] ---> Running in 8fe206ca5b59 [2023-01-17T09:16:38.010Z] Removing intermediate container 8fe206ca5b59 [2023-01-17T09:16:38.010Z] ---> 2044505906b1 [2023-01-17T09:16:38.010Z] 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-01-17T09:16:38.010Z] ---> Running in 804e80178b22 [2023-01-17T09:16:38.965Z] Connecting to iotech.jfrog.io (54.246.222.161:443) [2023-01-17T09:16:39.228Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-01-17T09:16:39.228Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-01-17T09:16:39.228Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-01-17T09:16:39.810Z] Removing intermediate container 804e80178b22 [2023-01-17T09:16:39.810Z] ---> e43b0e559693 [2023-01-17T09:16:39.810Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-01-17T09:16:40.076Z] ---> Running in 99847ca3dc42 [2023-01-17T09:16:41.476Z] Removing intermediate container 99847ca3dc42 [2023-01-17T09:16:41.476Z] ---> fe6ab88266c3 [2023-01-17T09:16:41.476Z] 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.4-dev && mkdir -p /edgex-c-sdk/build [2023-01-17T09:16:41.476Z] ---> Running in 8c03096ac6d2 [2023-01-17T09:16:42.428Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-17T09:16:42.692Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-17T09:16:43.270Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-17T09:16:43.850Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-01-17T09:16:43.850Z] (1/8) Installing iotech-iot-1.4-dev (1.4.0-r0) [2023-01-17T09:16:44.115Z] (2/8) Installing libcbor-dev (0.9.0-r1) [2023-01-17T09:16:44.115Z] (3/8) Installing ncurses-dev (6.3_p20220521-r0) [2023-01-17T09:16:44.115Z] (4/8) Installing libblkid (2.38-r1) [2023-01-17T09:16:44.115Z] (5/8) Installing libfdisk (2.38-r1) [2023-01-17T09:16:44.115Z] (6/8) Installing libmount (2.38-r1) [2023-01-17T09:16:44.115Z] (7/8) Installing libsmartcols (2.38-r1) [2023-01-17T09:16:44.115Z] (8/8) Installing util-linux-dev (2.38-r1) [2023-01-17T09:16:44.115Z] Executing busybox-1.35.0-r17.trigger [2023-01-17T09:16:44.380Z] OK: 286 MiB in 91 packages [2023-01-17T09:16:45.334Z] Removing intermediate container 8c03096ac6d2 [2023-01-17T09:16:45.334Z] ---> 8b7d241fc9fb [2023-01-17T09:16:45.334Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-01-17T09:16:45.976Z] ---> 11e0eaa0eed0 [2023-01-17T09:16:45.976Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-01-17T09:16:46.558Z] ---> 1265754db55f [2023-01-17T09:16:46.558Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-01-17T09:16:46.827Z] ---> 3a1e8b9adb88 [2023-01-17T09:16:46.827Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-01-17T09:16:47.410Z] ---> 211506108d3e [2023-01-17T09:16:47.410Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-01-17T09:16:48.008Z] ---> 27570cc7cc7b [2023-01-17T09:16:48.008Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-01-17T09:16:51.356Z] ---> cb90ed5ac06f [2023-01-17T09:16:51.356Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-01-17T09:16:51.356Z] ---> Running in 375a13afb0de [2023-01-17T09:16:51.356Z] Removing intermediate container 375a13afb0de [2023-01-17T09:16:51.356Z] ---> d1dc5fd1dfdd [2023-01-17T09:16:51.356Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-01-17T09:16:51.356Z] ---> Running in 02368ea4f0dd [2023-01-17T09:16:51.621Z] Removing intermediate container 02368ea4f0dd [2023-01-17T09:16:51.621Z] ---> bebf9b36c711 [2023-01-17T09:16:51.621Z] Step 15/17 : LABEL arch=arm64 [2023-01-17T09:16:51.621Z] ---> Running in 2ceaaf148f37 [2023-01-17T09:16:51.885Z] Removing intermediate container 2ceaaf148f37 [2023-01-17T09:16:51.885Z] ---> ec9c9b644981 [2023-01-17T09:16:51.885Z] Step 16/17 : LABEL git_sha=60c720530b7232d7be6f88f4d69bf42c6efbb654 [2023-01-17T09:16:52.149Z] ---> Running in 4810def36fbf [2023-01-17T09:16:52.149Z] Removing intermediate container 4810def36fbf [2023-01-17T09:16:52.149Z] ---> 62d5933823ab [2023-01-17T09:16:52.149Z] Step 17/17 : LABEL version=2.3.1-dev.2 [2023-01-17T09:16:52.421Z] ---> Running in fbedda1e471e [2023-01-17T09:16:52.685Z] Removing intermediate container fbedda1e471e [2023-01-17T09:16:52.685Z] ---> 7629b64a5b3d [2023-01-17T09:16:52.685Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-01-17T09:16:52.685Z] Successfully built 7629b64a5b3d [2023-01-17T09:16:52.685Z] 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-01-17T09:16:53.103Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-17T09:16:53.103Z] [2023-01-17T09:16:53.103Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T09:16:53.428Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-17T09:16:53.694Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-17T09:16:53.694Z] 8998bd30e6a1: Pulling fs layer [2023-01-17T09:16:53.694Z] 04944245beec: Pulling fs layer [2023-01-17T09:16:53.694Z] 699f458cf7ca: Pulling fs layer [2023-01-17T09:16:53.694Z] 765212b225bb: Pulling fs layer [2023-01-17T09:16:53.694Z] f23df028b6ca: Pulling fs layer [2023-01-17T09:16:53.694Z] d65c8cfc05b1: Pulling fs layer [2023-01-17T09:16:53.694Z] 2437ff75d9bd: Pulling fs layer [2023-01-17T09:16:53.694Z] f23df028b6ca: Waiting [2023-01-17T09:16:53.694Z] d65c8cfc05b1: Waiting [2023-01-17T09:16:53.694Z] 765212b225bb: Waiting [2023-01-17T09:16:53.694Z] 2437ff75d9bd: Waiting [2023-01-17T09:16:53.694Z] 04944245beec: Verifying Checksum [2023-01-17T09:16:53.694Z] 04944245beec: Download complete [2023-01-17T09:16:53.694Z] 765212b225bb: Verifying Checksum [2023-01-17T09:16:53.694Z] 765212b225bb: Download complete [2023-01-17T09:16:53.960Z] f23df028b6ca: Download complete [2023-01-17T09:16:53.960Z] d65c8cfc05b1: Verifying Checksum [2023-01-17T09:16:53.960Z] d65c8cfc05b1: Download complete [2023-01-17T09:16:53.960Z] 699f458cf7ca: Verifying Checksum [2023-01-17T09:16:53.960Z] 699f458cf7ca: Download complete [2023-01-17T09:16:54.226Z] 8998bd30e6a1: Verifying Checksum [2023-01-17T09:16:54.226Z] 8998bd30e6a1: Download complete [2023-01-17T09:16:56.799Z] 2437ff75d9bd: Verifying Checksum [2023-01-17T09:16:56.799Z] 2437ff75d9bd: Download complete [2023-01-17T09:16:57.755Z] 8998bd30e6a1: Pull complete [2023-01-17T09:16:58.019Z] 04944245beec: Pull complete [2023-01-17T09:16:59.421Z] 699f458cf7ca: Pull complete [2023-01-17T09:16:59.421Z] 765212b225bb: Pull complete [2023-01-17T09:17:00.001Z] f23df028b6ca: Pull complete [2023-01-17T09:17:00.267Z] d65c8cfc05b1: Pull complete [2023-01-17T09:17:12.571Z] 2437ff75d9bd: Pull complete [2023-01-17T09:17:12.571Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-17T09:17:12.571Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-17T09:17:12.571Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T09:17:12.737Z] prd-ubuntu20.04-docker-arm64-4c-16g-2713 does not seem to be running inside a container [2023-01-17T09:17:12.804Z] $ 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/37 -v /w/workspace/device-sdk-c/37:/w/workspace/device-sdk-c/37:rw,z -v /w/workspace/device-sdk-c/37@tmp:/w/workspace/device-sdk-c/37@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:arm64 cat [2023-01-17T09:17:16.841Z] $ docker top afa2d9927a8a4a0166a069747926fe7abcfb4748b86189bda59e9bf0dfe08c65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-17T09:17:17.653Z] ---> job-cost.sh [2023-01-17T09:17:17.653Z] lf-activate-venv: SKIPPING [2023-01-17T09:17:17.653Z] INFO: No Stack... [2023-01-17T09:17:18.233Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-17T09:17:18.812Z] INFO: Archiving Costs [Pipeline] sh [2023-01-17T09:17:19.124Z] + cut -d, -f6 [2023-01-17T09:17:19.124Z] + cat /w/workspace/device-sdk-c/37/archives/cost.csv [Pipeline] lock [2023-01-17T09:17:19.184Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-37-stack-cost] [2023-01-17T09:17:19.190Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-37-stack-cost] did not exist. Created. [2023-01-17T09:17:19.190Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-17T09:17:19.520Z] /w/workspace/device-sdk-c/37@tmp/durable-1a214dc2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-17T09:17:19.849Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-17T09:17:20.138Z] Warning: overwriting stash ‘stack-cost’ [2023-01-17T09:17:20.559Z] Stashed 1 file(s) [Pipeline] } [2023-01-17T09:17:20.565Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-37-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-17T09:17:20.591Z] $ docker stop --time=1 afa2d9927a8a4a0166a069747926fe7abcfb4748b86189bda59e9bf0dfe08c65 [2023-01-17T09:17:22.055Z] $ docker rm -f --volumes afa2d9927a8a4a0166a069747926fe7abcfb4748b86189bda59e9bf0dfe08c65 [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-01-17T09:17:22.739Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T09:17:22.739Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T09:17:23.041Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T09:17:23.041Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T09:17:23.105Z] prd-ubuntu20.04-docker-8c-8g-2712 does not seem to be running inside a container [2023-01-17T09:17:23.134Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-17T09:17:23.440Z] $ docker top 2e6f39cc37702cc0f99b3a5d275153705e25fb7f7b28769a0e6f67f99134d8cc -eo pid,comm [2023-01-17T09:17:23.481Z] 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-01-17T09:17:23.481Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T09:17:23.517Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T09:17:23.517Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T09:17:23.620Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T09:17:23.624Z] $ docker exec 2e6f39cc37702cc0f99b3a5d275153705e25fb7f7b28769a0e6f67f99134d8cc ssh-agent [2023-01-17T09:17:23.724Z] SSH_AUTH_SOCK=/tmp/ssh-ceZT9Cl8kg0p/agent.33 [2023-01-17T09:17:23.724Z] SSH_AGENT_PID=40 [2023-01-17T09:17:23.729Z] Running ssh-add (command line suppressed) [2023-01-17T09:17:23.822Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8536783344738602136.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8536783344738602136.key) [2023-01-17T09:17:23.833Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T09:17:24.117Z] + git semver tag [2023-01-17T09:17:24.376Z] 2023-01-17 09:17:24,275 [run_tag] DEBUG tag force:False [2023-01-17T09:17:24.376Z] 2023-01-17 09:17:24,275 [check_head_tag] DEBUG check head tag [2023-01-17T09:17:24.376Z] 2023-01-17 09:17:24,276 [execute] INFO git cat-file --batch-check [2023-01-17T09:17:24.376Z] 2023-01-17 09:17:24,276 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2023-01-17T09:17:24.376Z] 2023-01-17 09:17:24,280 [execute] INFO git cat-file --batch [2023-01-17T09:17:24.376Z] 2023-01-17 09:17:24,280 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2023-01-17T09:17:24.376Z] 2023-01-17 09:17:24,292 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-01-17T09:17:24.376Z] 2023-01-17 09:17:24,293 [execute] INFO git tag -a v2.3.1-dev.2 -m v2.3.1-dev.2 [2023-01-17T09:17:24.376Z] 2023-01-17 09:17:24,293 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.1-dev.2', '-m', 'v2.3.1-dev.2'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2023-01-17T09:17:24.376Z] 2023-01-17 09:17:24,297 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-01-17T09:17:24.376Z] 2.3.1-dev.2 [Pipeline] } [2023-01-17T09:17:24.388Z] $ docker exec --env ******** --env ******** 2e6f39cc37702cc0f99b3a5d275153705e25fb7f7b28769a0e6f67f99134d8cc ssh-agent -k [2023-01-17T09:17:24.478Z] unset SSH_AUTH_SOCK; [2023-01-17T09:17:24.478Z] unset SSH_AGENT_PID; [2023-01-17T09:17:24.479Z] echo Agent pid 40 killed; [2023-01-17T09:17:24.490Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T09:17:24.795Z] + git semver [Pipeline] } [2023-01-17T09:17:25.068Z] $ docker stop --time=1 2e6f39cc37702cc0f99b3a5d275153705e25fb7f7b28769a0e6f67f99134d8cc [2023-01-17T09:17:26.405Z] $ docker rm -f --volumes 2e6f39cc37702cc0f99b3a5d275153705e25fb7f7b28769a0e6f67f99134d8cc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T09:17:26.788Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-17T09:17:26.788Z] [2023-01-17T09:17:26.788Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T09:17:27.083Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-17T09:17:27.083Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-01-17T09:17:27.083Z] ab5ef0e58194: Pulling fs layer [2023-01-17T09:17:27.083Z] 9712f1f96733: Pulling fs layer [2023-01-17T09:17:27.083Z] 63f879dbbcfc: Pulling fs layer [2023-01-17T09:17:27.083Z] 0d9ebad4ef96: Pulling fs layer [2023-01-17T09:17:27.084Z] e9a5061849ea: Pulling fs layer [2023-01-17T09:17:27.084Z] d747dcd14b5f: Pulling fs layer [2023-01-17T09:17:27.084Z] 2de7ff778b66: Pulling fs layer [2023-01-17T09:17:27.084Z] 0d9ebad4ef96: Waiting [2023-01-17T09:17:27.084Z] e9a5061849ea: Waiting [2023-01-17T09:17:27.084Z] 2de7ff778b66: Waiting [2023-01-17T09:17:27.084Z] d747dcd14b5f: Waiting [2023-01-17T09:17:27.084Z] 9712f1f96733: Verifying Checksum [2023-01-17T09:17:27.084Z] 9712f1f96733: Download complete [2023-01-17T09:17:27.674Z] 63f879dbbcfc: Verifying Checksum [2023-01-17T09:17:27.674Z] 63f879dbbcfc: Download complete [2023-01-17T09:17:27.936Z] 0d9ebad4ef96: Verifying Checksum [2023-01-17T09:17:27.936Z] 0d9ebad4ef96: Download complete [2023-01-17T09:17:27.936Z] d747dcd14b5f: Verifying Checksum [2023-01-17T09:17:27.936Z] d747dcd14b5f: Download complete [2023-01-17T09:17:27.936Z] e9a5061849ea: Download complete [2023-01-17T09:17:28.196Z] 2de7ff778b66: Verifying Checksum [2023-01-17T09:17:28.196Z] 2de7ff778b66: Download complete [2023-01-17T09:17:28.764Z] ab5ef0e58194: Verifying Checksum [2023-01-17T09:17:28.764Z] ab5ef0e58194: Download complete [2023-01-17T09:17:31.291Z] ab5ef0e58194: Pull complete [2023-01-17T09:17:31.550Z] 9712f1f96733: Pull complete [2023-01-17T09:17:32.116Z] 63f879dbbcfc: Pull complete [2023-01-17T09:17:37.383Z] 0d9ebad4ef96: Pull complete [2023-01-17T09:17:37.384Z] e9a5061849ea: Pull complete [2023-01-17T09:17:37.384Z] d747dcd14b5f: Pull complete [2023-01-17T09:17:37.951Z] 2de7ff778b66: Pull complete [2023-01-17T09:17:37.951Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-01-17T09:17:37.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-17T09:17:37.951Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T09:17:38.027Z] prd-ubuntu20.04-docker-8c-8g-2712 does not seem to be running inside a container [2023-01-17T09:17:38.059Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-01-17T09:17:42.439Z] $ docker top 04d4ba8feda602f2691676db303fd568526e91fd71abfe02945cf9a18db74b4a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-01-17T09:17:42.497Z] provisioning config files... [2023-01-17T09:17:42.503Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config3277931680750589642tmp [2023-01-17T09:17:42.511Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15952688931440610412tmp [2023-01-17T09:17:42.518Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config161156465634400603tmp [Pipeline] { [Pipeline] echo [2023-01-17T09:17:42.529Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T09:17:42.807Z] ---> sigul-configuration.sh [2023-01-17T09:17:42.807Z] gpg: directory `/root/.gnupg' created [2023-01-17T09:17:42.807Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-01-17T09:17:42.807Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-01-17T09:17:42.807Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-01-17T09:17:42.807Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-01-17T09:17:42.807Z] gpg: CAST5 encrypted data [2023-01-17T09:17:42.807Z] gpg: encrypted with 1 passphrase [2023-01-17T09:17:42.807Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-01-17T09:17:43.095Z] + mkdir /home/jenkins [2023-01-17T09:17:43.095Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-01-17T09:17:43.381Z] + 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-01-17T09:17:43.389Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T09:17:43.674Z] ---> sigul-install.sh [2023-01-17T09:17:43.674Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-01-17T09:17:43.960Z] + git tag --list [2023-01-17T09:17:43.960Z] 0.7.0 [2023-01-17T09:17:43.960Z] 0.7.1 [2023-01-17T09:17:43.960Z] 1.0.0 [2023-01-17T09:17:43.960Z] v1.0.1 [2023-01-17T09:17:43.960Z] v1.0.2 [2023-01-17T09:17:43.960Z] v1.0.3 [2023-01-17T09:17:43.960Z] v1.1.0 [2023-01-17T09:17:43.960Z] v1.1.1 [2023-01-17T09:17:43.960Z] v1.2.0 [2023-01-17T09:17:43.960Z] v1.2.1 [2023-01-17T09:17:43.960Z] v1.2.2 [2023-01-17T09:17:43.960Z] v1.3.0 [2023-01-17T09:17:43.960Z] v1.3.1 [2023-01-17T09:17:43.960Z] v2.0.0 [2023-01-17T09:17:43.960Z] v2.1.0 [2023-01-17T09:17:43.960Z] v2.2.0 [2023-01-17T09:17:43.960Z] v2.2.0-dev.1 [2023-01-17T09:17:43.960Z] v2.2.0-dev.10 [2023-01-17T09:17:43.960Z] v2.2.0-dev.11 [2023-01-17T09:17:43.960Z] v2.2.0-dev.12 [2023-01-17T09:17:43.960Z] v2.2.0-dev.13 [2023-01-17T09:17:43.960Z] v2.2.0-dev.2 [2023-01-17T09:17:43.960Z] v2.2.0-dev.3 [2023-01-17T09:17:43.960Z] v2.2.0-dev.4 [2023-01-17T09:17:43.960Z] v2.2.0-dev.5 [2023-01-17T09:17:43.960Z] v2.2.0-dev.6 [2023-01-17T09:17:43.960Z] v2.2.0-dev.7 [2023-01-17T09:17:43.960Z] v2.2.0-dev.8 [2023-01-17T09:17:43.960Z] v2.2.0-dev.9 [2023-01-17T09:17:43.960Z] v2.2.1-dev.1 [2023-01-17T09:17:43.960Z] v2.2.1-dev.2 [2023-01-17T09:17:43.960Z] v2.2.1-dev.3 [2023-01-17T09:17:43.960Z] v2.3.0 [2023-01-17T09:17:43.960Z] v2.3.1-dev.1 [2023-01-17T09:17:43.960Z] v2.3.1-dev.2 [Pipeline] sh [2023-01-17T09:17:44.247Z] + lftools sign git-tag v2.3.1-dev.2 [2023-01-17T09:17:44.813Z] Signing Git tag with Sigul... [2023-01-17T09:17:44.813Z] Signing v2.3.1-dev.2 [Pipeline] echo [2023-01-17T09:17:45.391Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T09:17:45.674Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-01-17T09:17:45.681Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-01-17T09:17:45.698Z] $ docker stop --time=1 04d4ba8feda602f2691676db303fd568526e91fd71abfe02945cf9a18db74b4a [2023-01-17T09:17:46.976Z] $ docker rm -f --volumes 04d4ba8feda602f2691676db303fd568526e91fd71abfe02945cf9a18db74b4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-01-17T09:17:47.380Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T09:17:47.380Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T09:17:47.677Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T09:17:47.677Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T09:17:47.745Z] prd-ubuntu20.04-docker-8c-8g-2712 does not seem to be running inside a container [2023-01-17T09:17:47.777Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-17T09:17:48.103Z] $ docker top 10ebba133d67e998cf92e4bdbb7315a4f96394e3a29ad45d8511fe03290b9933 -eo pid,comm [2023-01-17T09:17:48.147Z] 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-01-17T09:17:48.147Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T09:17:48.178Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T09:17:48.178Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T09:17:48.280Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T09:17:48.284Z] $ docker exec 10ebba133d67e998cf92e4bdbb7315a4f96394e3a29ad45d8511fe03290b9933 ssh-agent [2023-01-17T09:17:48.389Z] SSH_AUTH_SOCK=/tmp/ssh-i6qfKkcaisUx/agent.31 [2023-01-17T09:17:48.389Z] SSH_AGENT_PID=37 [2023-01-17T09:17:48.394Z] Running ssh-add (command line suppressed) [2023-01-17T09:17:48.492Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13497896880784307261.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13497896880784307261.key) [2023-01-17T09:17:48.505Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T09:17:48.792Z] + git semver bump pre [2023-01-17T09:17:49.051Z] 2023-01-17 09:17:48,968 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-01-17T09:17:49.051Z] 2023-01-17 09:17:48,968 [bump_version] DEBUG bumping version:2.3.1-dev.2 on axis:pre with prefix:dev [2023-01-17T09:17:49.051Z] 2023-01-17 09:17:48,968 [bump_version] DEBUG bumped version:2.3.1-dev.3 [2023-01-17T09:17:49.051Z] 2023-01-17 09:17:48,968 [write_version] DEBUG write version:2.3.1-dev.3 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2023-01-17T09:17:49.051Z] 2023-01-17 09:17:48,968 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-01-17T09:17:49.051Z] 2023-01-17 09:17:48,968 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-01-17T09:17:49.051Z] 2023-01-17 09:17:48,971 [execute] INFO git cat-file --batch-check [2023-01-17T09:17:49.051Z] 2023-01-17 09:17:48,971 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-17T09:17:49.051Z] 2023-01-17 09:17:48,976 [execute] INFO git cat-file --batch [2023-01-17T09:17:49.051Z] 2023-01-17 09:17:48,976 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-17T09:17:49.051Z] 2023-01-17 09:17:48,981 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-01-17T09:17:49.051Z] 2.3.1-dev.3 [Pipeline] } [2023-01-17T09:17:49.063Z] $ docker exec --env ******** --env ******** 10ebba133d67e998cf92e4bdbb7315a4f96394e3a29ad45d8511fe03290b9933 ssh-agent -k [2023-01-17T09:17:49.158Z] unset SSH_AUTH_SOCK; [2023-01-17T09:17:49.158Z] unset SSH_AGENT_PID; [2023-01-17T09:17:49.158Z] echo Agent pid 37 killed; [2023-01-17T09:17:49.165Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T09:17:49.467Z] + git semver [Pipeline] } [2023-01-17T09:17:49.740Z] $ docker stop --time=1 10ebba133d67e998cf92e4bdbb7315a4f96394e3a29ad45d8511fe03290b9933 [2023-01-17T09:17:51.004Z] $ docker rm -f --volumes 10ebba133d67e998cf92e4bdbb7315a4f96394e3a29ad45d8511fe03290b9933 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-17T09:17:51.337Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-17T09:17:51.337Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T09:17:51.631Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-17T09:17:51.631Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T09:17:51.701Z] prd-ubuntu20.04-docker-8c-8g-2712 does not seem to be running inside a container [2023-01-17T09:17:51.730Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-17T09:17:52.049Z] $ docker top b1922a5aa4ab9416499bf3b38f403cc5bbd35c24403282a8f0df140aed083544 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-17T09:17:52.123Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-17T09:17:52.123Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-17T09:17:52.232Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-17T09:17:52.236Z] $ docker exec b1922a5aa4ab9416499bf3b38f403cc5bbd35c24403282a8f0df140aed083544 ssh-agent [2023-01-17T09:17:52.344Z] SSH_AUTH_SOCK=/tmp/ssh-lUxSparAlHwQ/agent.32 [2023-01-17T09:17:52.344Z] SSH_AGENT_PID=38 [2023-01-17T09:17:52.350Z] Running ssh-add (command line suppressed) [2023-01-17T09:17:52.459Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4483251842493751363.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4483251842493751363.key) [2023-01-17T09:17:52.471Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-17T09:17:52.760Z] + git semver push [2023-01-17T09:17:53.019Z] 2023-01-17 09:17:52,931 [run_push] DEBUG push [2023-01-17T09:17:53.019Z] 2023-01-17 09:17:52,931 [execute] INFO git cat-file --batch-check [2023-01-17T09:17:53.019Z] 2023-01-17 09:17:52,932 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-17T09:17:53.019Z] 2023-01-17 09:17:52,936 [execute] INFO git rev-list f160e392fb89e70d2bdc4e8a8518fa3318f9f129 -- [2023-01-17T09:17:53.019Z] 2023-01-17 09:17:52,936 [execute] DEBUG Popen(['git', 'rev-list', 'f160e392fb89e70d2bdc4e8a8518fa3318f9f129', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-17T09:17:53.019Z] 2023-01-17 09:17:52,943 [execute] INFO git fetch -v origin [2023-01-17T09:17:53.019Z] 2023-01-17 09:17:52,943 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-01-17T09:17:53.588Z] 2023-01-17 09:17:53,423 [run_push] DEBUG no remote changes detected [2023-01-17T09:17:53.588Z] 2023-01-17 09:17:53,423 [execute] INFO git push origin semver [2023-01-17T09:17:53.588Z] 2023-01-17 09:17:53,424 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-17T09:17:54.525Z] 2023-01-17 09:17:54,202 [run_push] DEBUG push all version tags [2023-01-17T09:17:54.525Z] 2023-01-17 09:17:54,203 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-01-17T09:17:54.525Z] 2023-01-17 09:17:54,203 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2023-01-17T09:17:55.094Z] 2023-01-17 09:17:54,950 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-01-17T09:17:55.094Z] 2.3.1-dev.3 [Pipeline] } [2023-01-17T09:17:55.106Z] $ docker exec --env ******** --env ******** b1922a5aa4ab9416499bf3b38f403cc5bbd35c24403282a8f0df140aed083544 ssh-agent -k [2023-01-17T09:17:55.206Z] unset SSH_AUTH_SOCK; [2023-01-17T09:17:55.206Z] unset SSH_AGENT_PID; [2023-01-17T09:17:55.206Z] echo Agent pid 38 killed; [2023-01-17T09:17:55.214Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-17T09:17:55.511Z] + git semver [Pipeline] } [2023-01-17T09:17:55.784Z] $ docker stop --time=1 b1922a5aa4ab9416499bf3b38f403cc5bbd35c24403282a8f0df140aed083544 [2023-01-17T09:17:57.065Z] $ docker rm -f --volumes b1922a5aa4ab9416499bf3b38f403cc5bbd35c24403282a8f0df140aed083544 [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-01-17T09:17:57.518Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2023-01-17T09:17:57.518Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-01-17T09:17:57.518Z] total 16 [2023-01-17T09:17:57.518Z] drwxr-xr-x 3 root root 4096 Jan 17 09:13 . [2023-01-17T09:17:57.518Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 09:17 .. [2023-01-17T09:17:57.518Z] drwxr-xr-x 2 root root 4096 Jan 17 09:13 cost [2023-01-17T09:17:57.518Z] -rw-r--r-- 1 root root 83 Jan 17 09:13 cost.csv [2023-01-17T09:17:57.518Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-01-17T09:17:57.518Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-01-17T09:17:57.518Z] total 16 [2023-01-17T09:17:57.518Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 09:13 . [2023-01-17T09:17:57.518Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 09:17 .. [2023-01-17T09:17:57.518Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 17 09:13 cost [2023-01-17T09:17:57.518Z] -rw-r--r-- 1 jenkins jenkins 83 Jan 17 09:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-17T09:17:57.807Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T09:17:58.670Z] ---> package-listing.sh [2023-01-17T09:17:58.670Z] ++ facter osfamily [2023-01-17T09:17:58.670Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-17T09:17:58.930Z] + OS_FAMILY=debian [2023-01-17T09:17:58.930Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2023-01-17T09:17:58.930Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-17T09:17:58.930Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-17T09:17:58.930Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-17T09:17:58.930Z] + PACKAGES=/tmp/packages_start.txt [2023-01-17T09:17:58.930Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-01-17T09:17:58.930Z] + PACKAGES=/tmp/packages_end.txt [2023-01-17T09:17:58.930Z] + case "${OS_FAMILY}" in [2023-01-17T09:17:58.930Z] + grep '^ii' [2023-01-17T09:17:58.930Z] + dpkg -l [2023-01-17T09:17:58.930Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-17T09:17:58.930Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-17T09:17:58.930Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-17T09:17:58.930Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-01-17T09:17:58.930Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2023-01-17T09:17:58.930Z] + 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-01-17T09:17:58.943Z] 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-01-17T09:17:59.221Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-17T09:17:59.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-17T09:17:59.786Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-17T09:17:59.861Z] prd-ubuntu20.04-docker-8c-8g-2712 does not seem to be running inside a container [2023-01-17T09:17:59.894Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-17T09:18:00.098Z] $ docker top 24f92164d37ad59aa98aa82c691977a6c967237263f324f57ba5a636f2776c5d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-17T09:18:00.443Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-17T09:18:00.728Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-17T09:18:01.011Z] + ls /var/log/sa-host [2023-01-17T09:18:01.011Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-17T09:18:01.156Z] provisioning config files... [2023-01-17T09:18:01.165Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config16283204121241900777tmp [Pipeline] { [Pipeline] echo [2023-01-17T09:18:01.181Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T09:18:01.460Z] ---> create-netrc.sh [Pipeline] } [2023-01-17T09:18:01.467Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-17T09:18:01.800Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-17T09:18:01.809Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T09:18:02.094Z] ---> sudo-logs.sh [2023-01-17T09:18:02.094Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-17T09:18:02.118Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T09:18:02.399Z] ---> job-cost.sh [2023-01-17T09:18:02.399Z] lf-activate-venv: SKIPPING [2023-01-17T09:18:02.399Z] DEBUG: total: 0.2199999988079071 [2023-01-17T09:18:02.399Z] INFO: Retrieving Stack Cost... [2023-01-17T09:18:02.659Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-17T09:18:02.918Z] INFO: Archiving Costs [Pipeline] echo [2023-01-17T09:18:02.930Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-17T09:18:03.208Z] ---> logs-deploy.sh [2023-01-17T09:18:03.208Z] lf-activate-venv: SKIPPING [2023-01-17T09:18:03.208Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/37 [2023-01-17T09:18:03.208Z] INFO: archiving workspace using pattern(s): [2023-01-17T09:18:04.144Z] Archives upload complete. [2023-01-17T09:18:04.144Z] INFO: archiving logs to Nexus