Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b359547df5a09ee3070876df63645d58a75503b0 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-ssh9362634022614248654.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh1432934899179229376.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh12770102959213895637.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh14069375413130305012.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-ssh1418655589940720491.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 ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-docker-4c-2g-7218’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-docker-4c-2g-7219’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-7214’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-7215’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-7226’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-7217’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7227 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 b359547df5a09ee3070876df63645d58a75503b0 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b359547df5a09ee3070876df63645d58a75503b0 # timeout=10 Commit message: "Merge pull request #483 from ernestojeda/create-release" > git rev-list --no-walk b62e37af488d81aa36bc8e7f628d0bcafa679f3c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-20T20:55:19.319Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T20:55:19.364Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T20:55:19.378Z] ========================================================= [2023-09-20T20:55:19.378Z] EdgeX Global Pipelines Version Info [2023-09-20T20:55:19.378Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:55:20.099Z] ------------------- [2023-09-20T20:55:20.099Z] stable info: [2023-09-20T20:55:20.099Z] ------------------- [2023-09-20T20:55:20.099Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T20:55:20.099Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T20:55:20.099Z] Message: update stable to v1.0.254 [2023-09-20T20:55:20.669Z] ------------------- [2023-09-20T20:55:20.669Z] experimental info: [2023-09-20T20:55:20.669Z] ------------------- [2023-09-20T20:55:20.669Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T20:55:20.669Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T20:55:20.669Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T20:55:20.811Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-09-20T20:55:20.820Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-09-20T20:55:20.828Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T20:55:20.836Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T20:55:20.849Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T20:55:20.863Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-09-20T20:55:20.882Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-09-20T20:55:20.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T20:55:20.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T20:55:20.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-09-20T20:55:20.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T20:55:20.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T20:55:20.951Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T20:55:20.966Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T20:55:20.978Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T20:55:20.996Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T20:55:21.013Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T20:55:21.030Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-20T20:55:21.050Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-20T20:55:21.064Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-20T20:55:21.077Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b359547df5a09ee3070876df63645d58a75503b0 [Pipeline] echo [2023-09-20T20:55:21.095Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b359547 [Pipeline] echo [2023-09-20T20:55:21.112Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T20:55:21.153Z] provisioning config files... [2023-09-20T20:55:21.167Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config13986655511654739159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:55:21.469Z] ---> docker-login.sh [2023-09-20T20:55:21.469Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:55:21.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:55:21.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:55:21.730Z] Configure a credential helper to remove this warning. See [2023-09-20T20:55:21.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:55:21.730Z] [2023-09-20T20:55:21.730Z] Login Succeeded [2023-09-20T20:55:21.730Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:55:21.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:55:21.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:55:21.730Z] Configure a credential helper to remove this warning. See [2023-09-20T20:55:21.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:55:21.730Z] [2023-09-20T20:55:21.730Z] Login Succeeded [2023-09-20T20:55:21.730Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:55:21.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:55:21.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:55:21.991Z] Configure a credential helper to remove this warning. See [2023-09-20T20:55:21.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:55:21.991Z] [2023-09-20T20:55:21.991Z] Login Succeeded [2023-09-20T20:55:21.991Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:55:21.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:55:21.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:55:21.991Z] Configure a credential helper to remove this warning. See [2023-09-20T20:55:21.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:55:21.991Z] [2023-09-20T20:55:21.991Z] Login Succeeded [2023-09-20T20:55:21.991Z] docker.io [2023-09-20T20:55:21.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:55:22.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:55:22.252Z] Configure a credential helper to remove this warning. See [2023-09-20T20:55:22.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:55:22.252Z] [2023-09-20T20:55:22.252Z] Login Succeeded [2023-09-20T20:55:22.252Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:55:22.260Z] 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-09-20T20:55:22.610Z] + git rev-list -1 --merges b359547df5a09ee3070876df63645d58a75503b0~1..b359547df5a09ee3070876df63645d58a75503b0 [Pipeline] echo [2023-09-20T20:55:22.655Z] -----------> git rev-list -1 --merges b359547df5a09ee3070876df63645d58a75503b0~1..b359547df5a09ee3070876df63645d58a75503b0 b359547df5a09ee3070876df63645d58a75503b0 [2023-09-20T20:55:22.655Z] b359547df5a09ee3070876df63645d58a75503b0 [false] [Pipeline] sh [2023-09-20T20:55:22.942Z] + git log --format=format:%s -1 b359547df5a09ee3070876df63645d58a75503b0 [Pipeline] echo [2023-09-20T20:55:22.956Z] ========================================================= [2023-09-20T20:55:22.956Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T20:55:22.956Z] ========================================================= 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-09-20T20:55:23.323Z] + git rev-list -1 --merges b359547df5a09ee3070876df63645d58a75503b0~1..b359547df5a09ee3070876df63645d58a75503b0 [Pipeline] echo [2023-09-20T20:55:23.335Z] -----------> git rev-list -1 --merges b359547df5a09ee3070876df63645d58a75503b0~1..b359547df5a09ee3070876df63645d58a75503b0 b359547df5a09ee3070876df63645d58a75503b0 [2023-09-20T20:55:23.335Z] b359547df5a09ee3070876df63645d58a75503b0 [false] [Pipeline] sh [2023-09-20T20:55:23.627Z] + git log --format=format:%s -1 b359547df5a09ee3070876df63645d58a75503b0 [Pipeline] echo [2023-09-20T20:55:23.645Z] ========================================================= [2023-09-20T20:55:23.645Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T20:55:23.645Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-09-20T20:55:24.047Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T20:55:24.047Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T20:55:24.047Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T20:55:24.047Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T20:55:24.047Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T20:55:24.047Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T20:55:24.047Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:55:24.395Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:55:24.395Z] [2023-09-20T20:55:24.395Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:55:24.697Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:55:24.698Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T20:55:24.698Z] b85a868b505f: Pulling fs layer [2023-09-20T20:55:24.698Z] e2be974225ed: Pulling fs layer [2023-09-20T20:55:24.698Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T20:55:24.698Z] 988bab9f4d93: Pulling fs layer [2023-09-20T20:55:24.698Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T20:55:24.698Z] eaf3925da568: Pulling fs layer [2023-09-20T20:55:24.698Z] bab4dde63d76: Pulling fs layer [2023-09-20T20:55:24.698Z] bde34c3a00c8: Pulling fs layer [2023-09-20T20:55:24.698Z] b352a97aabf1: Pulling fs layer [2023-09-20T20:55:24.698Z] 4872d77fe225: Pulling fs layer [2023-09-20T20:55:24.698Z] 5851b861e8e6: Pulling fs layer [2023-09-20T20:55:24.698Z] bab4dde63d76: Waiting [2023-09-20T20:55:24.698Z] 4872d77fe225: Waiting [2023-09-20T20:55:24.698Z] 5851b861e8e6: Waiting [2023-09-20T20:55:24.698Z] bde34c3a00c8: Waiting [2023-09-20T20:55:24.698Z] 988bab9f4d93: Waiting [2023-09-20T20:55:24.698Z] 1469e6f7b9e6: Waiting [2023-09-20T20:55:24.698Z] b352a97aabf1: Waiting [2023-09-20T20:55:24.698Z] eaf3925da568: Waiting [2023-09-20T20:55:24.698Z] e2be974225ed: Verifying Checksum [2023-09-20T20:55:24.698Z] e2be974225ed: Download complete [2023-09-20T20:55:24.698Z] 988bab9f4d93: Verifying Checksum [2023-09-20T20:55:24.698Z] 988bab9f4d93: Download complete [2023-09-20T20:55:24.698Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T20:55:24.698Z] 1469e6f7b9e6: Download complete [2023-09-20T20:55:24.698Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T20:55:24.698Z] 339a4e72a1f5: Download complete [2023-09-20T20:55:24.698Z] eaf3925da568: Verifying Checksum [2023-09-20T20:55:24.698Z] eaf3925da568: Download complete [2023-09-20T20:55:24.957Z] bde34c3a00c8: Download complete [2023-09-20T20:55:24.957Z] b352a97aabf1: Verifying Checksum [2023-09-20T20:55:24.957Z] b352a97aabf1: Download complete [2023-09-20T20:55:24.957Z] 4872d77fe225: Download complete [2023-09-20T20:55:24.957Z] 5851b861e8e6: Download complete [2023-09-20T20:55:24.957Z] b85a868b505f: Verifying Checksum [2023-09-20T20:55:24.957Z] b85a868b505f: Download complete [2023-09-20T20:55:25.218Z] bab4dde63d76: Verifying Checksum [2023-09-20T20:55:25.218Z] bab4dde63d76: Download complete [2023-09-20T20:55:26.154Z] b85a868b505f: Pull complete [2023-09-20T20:55:26.414Z] e2be974225ed: Pull complete [2023-09-20T20:55:26.983Z] 339a4e72a1f5: Pull complete [2023-09-20T20:55:26.983Z] 988bab9f4d93: Pull complete [2023-09-20T20:55:27.242Z] 1469e6f7b9e6: Pull complete [2023-09-20T20:55:27.242Z] eaf3925da568: Pull complete [2023-09-20T20:55:29.145Z] bab4dde63d76: Pull complete [2023-09-20T20:55:29.145Z] bde34c3a00c8: Pull complete [2023-09-20T20:55:29.407Z] b352a97aabf1: Pull complete [2023-09-20T20:55:29.407Z] 4872d77fe225: Pull complete [2023-09-20T20:55:29.407Z] 5851b861e8e6: Pull complete [2023-09-20T20:55:29.407Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T20:55:29.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:55:29.407Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:55:29.502Z] prd-ubuntu20.04-docker-8c-8g-7227 does not seem to be running inside a container [2023-09-20T20:55:29.533Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T20:55:30.878Z] $ docker top 958f9da3d88bb53ff6b47282a065085c39a2ba58d5d74541f43bf554ba06ef2c -eo pid,comm [2023-09-20T20:55:30.935Z] 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-09-20T20:55:30.935Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T20:55:30.967Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T20:55:30.968Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T20:55:31.105Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T20:55:31.110Z] $ docker exec 958f9da3d88bb53ff6b47282a065085c39a2ba58d5d74541f43bf554ba06ef2c ssh-agent [2023-09-20T20:55:31.215Z] SSH_AUTH_SOCK=/tmp/ssh-vyGami1jbU5e/agent.32 [2023-09-20T20:55:31.215Z] SSH_AGENT_PID=38 [2023-09-20T20:55:31.222Z] Running ssh-add (command line suppressed) [2023-09-20T20:55:31.333Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_17620060982897529287.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_17620060982897529287.key) [2023-09-20T20:55:31.387Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T20:55:31.675Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T20:55:31.694Z] $ docker exec --env ******** --env ******** 958f9da3d88bb53ff6b47282a065085c39a2ba58d5d74541f43bf554ba06ef2c ssh-agent -k [2023-09-20T20:55:31.797Z] unset SSH_AUTH_SOCK; [2023-09-20T20:55:31.798Z] unset SSH_AGENT_PID; [2023-09-20T20:55:31.798Z] echo Agent pid 38 killed; [2023-09-20T20:55:31.805Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T20:55:31.829Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T20:55:31.829Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T20:55:31.939Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T20:55:31.945Z] $ docker exec 958f9da3d88bb53ff6b47282a065085c39a2ba58d5d74541f43bf554ba06ef2c ssh-agent [2023-09-20T20:55:32.049Z] SSH_AUTH_SOCK=/tmp/ssh-75LDS9LPbo4P/agent.70 [2023-09-20T20:55:32.049Z] SSH_AGENT_PID=76 [2023-09-20T20:55:32.055Z] Running ssh-add (command line suppressed) [2023-09-20T20:55:32.160Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1594318672424664708.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1594318672424664708.key) [2023-09-20T20:55:32.174Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T20:55:32.464Z] + git semver init [2023-09-20T20:55:32.723Z] 2023-09-20 20:55:32,666 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T20:55:32.723Z] 2023-09-20 20:55:32,667 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-09-20T20:55:32.723Z] 2023-09-20 20:55:32,667 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-09-20T20:55:32.723Z] 2023-09-20 20:55:32,667 [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-09-20T20:55:33.660Z] 2023-09-20 20:55:33,544 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2023-09-20T20:55:33.660Z] 2023-09-20 20:55:33,545 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2023-09-20T20:55:33.660Z] 2023-09-20 20:55:33,545 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-09-20T20:55:33.660Z] 2023-09-20 20:55:33,545 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-09-20T20:55:33.660Z] 3.0.3-dev.2 [Pipeline] } [2023-09-20T20:55:33.672Z] $ docker exec --env ******** --env ******** 958f9da3d88bb53ff6b47282a065085c39a2ba58d5d74541f43bf554ba06ef2c ssh-agent -k [2023-09-20T20:55:33.774Z] unset SSH_AUTH_SOCK; [2023-09-20T20:55:33.774Z] unset SSH_AGENT_PID; [2023-09-20T20:55:33.775Z] echo Agent pid 76 killed; [2023-09-20T20:55:33.787Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T20:55:34.088Z] + git semver [Pipeline] } [2023-09-20T20:55:34.364Z] $ docker stop --time=1 958f9da3d88bb53ff6b47282a065085c39a2ba58d5d74541f43bf554ba06ef2c [2023-09-20T20:55:35.649Z] $ docker rm -f --volumes 958f9da3d88bb53ff6b47282a065085c39a2ba58d5d74541f43bf554ba06ef2c [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T20:55:35.989Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T20:55:36.204Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T20:55:36.206Z] [edgeXSemver]: initialized semver on version 3.0.3-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-09-20T20:55:36.339Z] provisioning config files... [2023-09-20T20:55:36.348Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config9922871149508489144tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:55:36.645Z] ---> docker-login.sh [2023-09-20T20:55:36.646Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:55:36.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:55:36.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:55:36.646Z] Configure a credential helper to remove this warning. See [2023-09-20T20:55:36.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:55:36.646Z] [2023-09-20T20:55:36.646Z] Login Succeeded [2023-09-20T20:55:36.646Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:55:36.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:55:36.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:55:36.646Z] Configure a credential helper to remove this warning. See [2023-09-20T20:55:36.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:55:36.646Z] [2023-09-20T20:55:36.646Z] Login Succeeded [2023-09-20T20:55:36.646Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:55:36.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:55:36.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:55:36.905Z] Configure a credential helper to remove this warning. See [2023-09-20T20:55:36.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:55:36.905Z] [2023-09-20T20:55:36.905Z] Login Succeeded [2023-09-20T20:55:36.905Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:55:36.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:55:36.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:55:36.905Z] Configure a credential helper to remove this warning. See [2023-09-20T20:55:36.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:55:36.905Z] [2023-09-20T20:55:36.905Z] Login Succeeded [2023-09-20T20:55:36.905Z] docker.io [2023-09-20T20:55:37.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:55:37.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:55:37.165Z] Configure a credential helper to remove this warning. See [2023-09-20T20:55:37.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:55:37.165Z] [2023-09-20T20:55:37.165Z] Login Succeeded [2023-09-20T20:55:37.165Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:55:37.175Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T20:55:37.229Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:55:37.236Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-09-20T20:55:37.244Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:55:37.251Z] ========================================================= [2023-09-20T20:55:37.251Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-09-20T20:55:37.251Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:55:37.547Z] + 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-09-20T20:55:37.547Z] Sending build context to Docker daemon 4.9MB [2023-09-20T20:55:37.547Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-09-20T20:55:37.547Z] Step 2/21 : FROM ${BASE} as builder [2023-09-20T20:55:37.547Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-09-20T20:55:37.547Z] 91d30c5bc195: Pulling fs layer [2023-09-20T20:55:37.547Z] 316e5a4585fb: Pulling fs layer [2023-09-20T20:55:37.806Z] 91d30c5bc195: Verifying Checksum [2023-09-20T20:55:37.806Z] 91d30c5bc195: Download complete [2023-09-20T20:55:37.806Z] 91d30c5bc195: Pull complete [2023-09-20T20:55:38.375Z] 316e5a4585fb: Verifying Checksum [2023-09-20T20:55:38.375Z] 316e5a4585fb: Download complete [2023-09-20T20:55:40.905Z] 316e5a4585fb: Pull complete [2023-09-20T20:55:40.905Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-09-20T20:55:40.905Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-09-20T20:55:40.905Z] ---> e83ffa357ff4 [2023-09-20T20:55:40.905Z] 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-09-20T20:55:41.472Z] ---> Running in d082b5258ec8 [2023-09-20T20:55:41.731Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-09-20T20:55:41.990Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-20T20:55:41.990Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-20T20:55:41.990Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-20T20:55:42.556Z] Removing intermediate container d082b5258ec8 [2023-09-20T20:55:42.556Z] ---> 8ec195ccf6f7 [2023-09-20T20:55:42.556Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-20T20:55:42.556Z] ---> Running in ede359e7590c [2023-09-20T20:55:43.123Z] Removing intermediate container ede359e7590c [2023-09-20T20:55:43.123Z] ---> b20e550b81df [2023-09-20T20:55:43.123Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-09-20T20:55:43.123Z] ---> Running in f280a83a42a5 [2023-09-20T20:55:43.382Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:55:43.382Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:55:43.642Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:55:44.209Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-20T20:55:44.209Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-20T20:55:44.209Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-20T20:55:44.209Z] (3/16) Installing hiredis (1.0.2-r0) [2023-09-20T20:55:44.209Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-09-20T20:55:44.209Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-09-20T20:55:45.146Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-09-20T20:55:45.146Z] (7/16) Installing libcbor (0.9.0-r1) [2023-09-20T20:55:45.146Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-09-20T20:55:45.146Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-09-20T20:55:45.146Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-09-20T20:55:46.170Z] (11/16) Installing libblkid (2.38-r1) [2023-09-20T20:55:46.170Z] (12/16) Installing libuuid (2.38-r1) [2023-09-20T20:55:46.170Z] (13/16) Installing libfdisk (2.38-r1) [2023-09-20T20:55:46.170Z] (14/16) Installing libmount (2.38-r1) [2023-09-20T20:55:46.170Z] (15/16) Installing libsmartcols (2.38-r1) [2023-09-20T20:55:46.170Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-09-20T20:55:46.170Z] Executing busybox-1.35.0-r17.trigger [2023-09-20T20:55:46.170Z] OK: 280 MiB in 90 packages [2023-09-20T20:55:46.738Z] Removing intermediate container f280a83a42a5 [2023-09-20T20:55:46.738Z] ---> 27cdecbda297 [2023-09-20T20:55:46.738Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-09-20T20:55:46.738Z] ---> Running in d49ffea05c62 [2023-09-20T20:55:47.309Z] Removing intermediate container d49ffea05c62 [2023-09-20T20:55:47.309Z] ---> fdb3040b2911 [2023-09-20T20:55:47.309Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-09-20T20:55:47.309Z] ---> 24fcbeabcf9c [2023-09-20T20:55:47.309Z] Step 8/21 : COPY src /tmp/sdk/src [2023-09-20T20:55:47.568Z] ---> e2619bafb30c [2023-09-20T20:55:47.568Z] Step 9/21 : COPY include /tmp/sdk/include [2023-09-20T20:55:47.827Z] ---> c73a08a6b2cc [2023-09-20T20:55:47.827Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-09-20T20:55:47.827Z] ---> 7f07a5b5838d [2023-09-20T20:55:47.827Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-09-20T20:55:48.089Z] ---> 600e001349b4 [2023-09-20T20:55:48.089Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-09-20T20:55:48.089Z] ---> 7f4fda16d1a7 [2023-09-20T20:55:48.089Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-09-20T20:55:48.089Z] ---> Running in 588dcde942ab [2023-09-20T20:55:48.348Z] + CPPCHECK=false [2023-09-20T20:55:48.348Z] + DOCGEN=false [2023-09-20T20:55:48.348Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-09-20T20:55:48.348Z] + '[' 0 -gt 0 ] [2023-09-20T20:55:48.348Z] + readlink -f ./scripts/build.sh [2023-09-20T20:55:48.348Z] + dirname /tmp/sdk/scripts/build.sh [2023-09-20T20:55:48.348Z] + dirname /tmp/sdk/scripts [2023-09-20T20:55:48.348Z] + ROOT=/tmp/sdk [2023-09-20T20:55:48.348Z] + cd /tmp/sdk [2023-09-20T20:55:48.348Z] + mkdir -p /tmp/sdk/build/release [2023-09-20T20:55:48.348Z] + cd /tmp/sdk/build/release [2023-09-20T20:55:48.348Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-09-20T20:55:48.606Z] -- The C compiler identification is GNU 11.2.1 [2023-09-20T20:55:48.606Z] -- Detecting C compiler ABI info [2023-09-20T20:55:48.606Z] -- Detecting C compiler ABI info - done [2023-09-20T20:55:48.606Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-09-20T20:55:48.606Z] -- Detecting C compile features [2023-09-20T20:55:48.606Z] -- Detecting C compile features - done [2023-09-20T20:55:48.606Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-09-20T20:55:48.606Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-09-20T20:55:48.606Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-09-20T20:55:48.606Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-09-20T20:55:48.606Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-09-20T20:55:48.606Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-09-20T20:55:48.606Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-09-20T20:55:48.606Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-09-20T20:55:48.606Z] -- /opt/iotech/iot/1.5/include [2023-09-20T20:55:48.606Z] -- C SDK 3.0.3-dev.2 for Linux [2023-09-20T20:55:48.606Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-09-20T20:55:48.866Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-09-20T20:55:48.866Z] -- Found Curses: /usr/lib/libcurses.so [2023-09-20T20:55:48.866Z] -- Configuring done [2023-09-20T20:55:48.866Z] -- Generating done [2023-09-20T20:55:48.866Z] -- Build files have been written to: /tmp/sdk/build/release [2023-09-20T20:55:48.866Z] + make all package [2023-09-20T20:55:48.866Z] + tee release.log [2023-09-20T20:55:48.866Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-09-20T20:55:49.130Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-09-20T20:55:49.130Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-09-20T20:55:49.388Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-09-20T20:55:49.388Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-09-20T20:55:49.654Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-09-20T20:55:49.912Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-09-20T20:55:50.174Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-09-20T20:55:50.174Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-09-20T20:55:50.433Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-09-20T20:55:50.692Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-09-20T20:55:50.692Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-09-20T20:55:50.953Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-09-20T20:55:51.213Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-09-20T20:55:51.213Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-09-20T20:55:51.289Z] Still waiting to schedule task [2023-09-20T20:55:51.289Z] ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:55:51.289Z] ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:55:51.289Z] ‘prd-ubuntu20.04-docker-8c-8g-7216’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:55:51.289Z] ‘prd-ubuntu20.04-docker-8c-8g-7229’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:55:51.289Z] ‘prd-ubuntu20.04-docker-8c-8g-7230’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T20:55:51.289Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7228’ is offline [2023-09-20T20:55:51.473Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-09-20T20:55:51.473Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-09-20T20:55:51.732Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-09-20T20:55:51.991Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-09-20T20:55:51.991Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-09-20T20:55:52.250Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-09-20T20:55:53.192Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-09-20T20:55:53.192Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-09-20T20:55:53.449Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-09-20T20:55:53.449Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-09-20T20:55:53.449Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-09-20T20:55:53.708Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-09-20T20:55:54.275Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-09-20T20:55:54.275Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-09-20T20:55:54.534Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-09-20T20:55:54.534Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-09-20T20:55:55.102Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-09-20T20:55:55.102Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-09-20T20:55:55.360Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-09-20T20:55:55.360Z] [ 68%] Linking C shared library libcsdk.so [2023-09-20T20:55:55.360Z] [ 68%] Built target csdk [2023-09-20T20:55:55.360Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-09-20T20:55:55.619Z] [ 72%] Linking C executable template [2023-09-20T20:55:55.619Z] [ 72%] Built target template [2023-09-20T20:55:55.619Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-09-20T20:55:55.877Z] [ 76%] Linking C executable device-counter [2023-09-20T20:55:55.877Z] [ 76%] Built target device-counter [2023-09-20T20:55:55.877Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-09-20T20:55:55.877Z] [ 80%] Linking C executable device-random [2023-09-20T20:55:56.136Z] [ 80%] Built target device-random [2023-09-20T20:55:56.136Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-09-20T20:55:56.136Z] [ 84%] Linking C executable device-gyro [2023-09-20T20:55:56.136Z] [ 84%] Built target device-gyro [2023-09-20T20:55:56.394Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-09-20T20:55:56.394Z] [ 88%] Linking C executable device-bitfields [2023-09-20T20:55:56.394Z] [ 88%] Built target device-bitfields [2023-09-20T20:55:56.394Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-09-20T20:55:56.653Z] [ 92%] Linking C executable template-discovery [2023-09-20T20:55:56.653Z] [ 92%] Built target template-discovery [2023-09-20T20:55:56.653Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-09-20T20:55:56.911Z] [ 96%] Linking C executable device-file [2023-09-20T20:55:56.911Z] [ 96%] Built target device-file [2023-09-20T20:55:56.911Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-09-20T20:55:56.911Z] [100%] Linking C executable device-terminal [2023-09-20T20:55:57.170Z] [100%] Built target device-terminal [2023-09-20T20:55:57.170Z] Run CPack packaging tool... [2023-09-20T20:55:57.170Z] CPack: Create package using TGZ [2023-09-20T20:55:57.170Z] CPack: Install projects [2023-09-20T20:55:57.170Z] CPack: - Run preinstall target for: Csdk [2023-09-20T20:55:57.430Z] CPack: - Install project: Csdk [] [2023-09-20T20:55:57.430Z] CPack: Create package [2023-09-20T20:55:57.430Z] CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.2.tar.gz generated. [2023-09-20T20:55:57.430Z] + '[' false '=' true ] [2023-09-20T20:55:57.430Z] + '[' false '=' true ] [2023-09-20T20:55:57.430Z] + mkdir -p /tmp/sdk/build/debug [2023-09-20T20:55:57.430Z] + cd /tmp/sdk/build/debug [2023-09-20T20:55:57.430Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-09-20T20:55:57.430Z] -- The C compiler identification is GNU 11.2.1 [2023-09-20T20:55:57.430Z] -- Detecting C compiler ABI info [2023-09-20T20:55:57.700Z] -- Detecting C compiler ABI info - done [2023-09-20T20:55:57.700Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-09-20T20:55:57.700Z] -- Detecting C compile features [2023-09-20T20:55:57.700Z] -- Detecting C compile features - done [2023-09-20T20:55:57.700Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-09-20T20:55:57.700Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-09-20T20:55:57.700Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-09-20T20:55:57.700Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-09-20T20:55:57.700Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-09-20T20:55:57.700Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-09-20T20:55:57.700Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-09-20T20:55:57.700Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-09-20T20:55:57.700Z] -- /opt/iotech/iot/1.5/include [2023-09-20T20:55:57.700Z] -- C SDK 3.0.3-dev.2 for Linux [2023-09-20T20:55:57.700Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-09-20T20:55:57.700Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-09-20T20:55:57.700Z] -- Found Curses: /usr/lib/libcurses.so [2023-09-20T20:55:57.700Z] -- Configuring done [2023-09-20T20:55:57.700Z] -- Generating done [2023-09-20T20:55:57.959Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-09-20T20:55:57.959Z] + make [2023-09-20T20:55:57.959Z] + tee debug.log [2023-09-20T20:55:57.959Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-09-20T20:55:57.959Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-09-20T20:55:57.959Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-09-20T20:55:58.218Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-09-20T20:55:58.218Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-09-20T20:55:58.218Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-09-20T20:55:58.476Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-09-20T20:55:58.476Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-09-20T20:55:58.476Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-09-20T20:55:58.735Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-09-20T20:55:58.735Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-09-20T20:55:58.735Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-09-20T20:55:59.010Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-09-20T20:55:59.010Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-09-20T20:55:59.010Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-09-20T20:55:59.269Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-09-20T20:55:59.269Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-09-20T20:55:59.269Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-09-20T20:55:59.528Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-09-20T20:55:59.528Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-09-20T20:55:59.528Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-09-20T20:55:59.788Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-09-20T20:56:00.047Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-09-20T20:56:00.047Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-09-20T20:56:00.047Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-09-20T20:56:00.047Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-09-20T20:56:00.306Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-09-20T20:56:00.565Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-09-20T20:56:00.565Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-09-20T20:56:00.565Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-09-20T20:56:00.823Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-09-20T20:56:00.824Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-09-20T20:56:01.083Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-09-20T20:56:01.083Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-09-20T20:56:01.083Z] [ 68%] Linking C shared library libcsdk.so [2023-09-20T20:56:01.083Z] [ 68%] Built target csdk [2023-09-20T20:56:01.083Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-09-20T20:56:01.342Z] [ 72%] Linking C executable template [2023-09-20T20:56:01.342Z] [ 72%] Built target template [2023-09-20T20:56:01.342Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-09-20T20:56:01.342Z] [ 76%] Linking C executable device-counter [2023-09-20T20:56:01.601Z] [ 76%] Built target device-counter [2023-09-20T20:56:01.601Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-09-20T20:56:01.601Z] [ 80%] Linking C executable device-random [2023-09-20T20:56:01.601Z] [ 80%] Built target device-random [2023-09-20T20:56:01.601Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-09-20T20:56:01.601Z] [ 84%] Linking C executable device-gyro [2023-09-20T20:56:01.860Z] [ 84%] Built target device-gyro [2023-09-20T20:56:01.860Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-09-20T20:56:01.860Z] [ 88%] Linking C executable device-bitfields [2023-09-20T20:56:01.860Z] [ 88%] Built target device-bitfields [2023-09-20T20:56:01.860Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-09-20T20:56:02.118Z] [ 92%] Linking C executable template-discovery [2023-09-20T20:56:02.118Z] [ 92%] Built target template-discovery [2023-09-20T20:56:02.118Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-09-20T20:56:02.118Z] [ 96%] Linking C executable device-file [2023-09-20T20:56:02.378Z] [ 96%] Built target device-file [2023-09-20T20:56:02.378Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-09-20T20:56:02.378Z] [100%] Linking C executable device-terminal [2023-09-20T20:56:02.378Z] [100%] Built target device-terminal [2023-09-20T20:56:02.378Z] make: Entering directory '/tmp/sdk/build/release' [2023-09-20T20:56:02.378Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-09-20T20:56:02.378Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T20:56:02.636Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T20:56:02.636Z] [ 68%] Built target csdk [2023-09-20T20:56:02.636Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T20:56:02.636Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T20:56:02.636Z] [ 72%] Built target template [2023-09-20T20:56:02.636Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T20:56:02.636Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T20:56:02.636Z] [ 76%] Built target device-counter [2023-09-20T20:56:02.636Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T20:56:02.636Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T20:56:02.636Z] [ 80%] Built target device-random [2023-09-20T20:56:02.636Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T20:56:02.636Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T20:56:02.636Z] [ 84%] Built target device-gyro [2023-09-20T20:56:02.636Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T20:56:02.636Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T20:56:02.636Z] [ 88%] Built target device-bitfields [2023-09-20T20:56:02.636Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T20:56:02.636Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T20:56:02.636Z] [ 92%] Built target template-discovery [2023-09-20T20:56:02.636Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T20:56:02.636Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T20:56:02.636Z] [ 96%] Built target device-file [2023-09-20T20:56:02.636Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T20:56:02.636Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T20:56:02.636Z] [100%] Built target device-terminal [2023-09-20T20:56:02.636Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T20:56:02.636Z] Install the project... [2023-09-20T20:56:02.636Z] -- Install configuration: "Release" [2023-09-20T20:56:02.636Z] -- Installing: /usr/local/lib/libcsdk.so [2023-09-20T20:56:02.636Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-09-20T20:56:02.636Z] -- Installing: /usr/local/include [2023-09-20T20:56:02.636Z] -- Installing: /usr/local/include/devsdk [2023-09-20T20:56:02.636Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-09-20T20:56:02.636Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-09-20T20:56:02.636Z] -- Installing: /usr/local/include/edgex [2023-09-20T20:56:02.636Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-09-20T20:56:02.636Z] -- Installing: /usr/local/include/edgex/devices.h [2023-09-20T20:56:02.636Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-09-20T20:56:02.636Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-09-20T20:56:02.636Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-09-20T20:56:02.636Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-09-20T20:56:02.636Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-09-20T20:56:02.636Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-09-20T20:56:02.636Z] make: Leaving directory '/tmp/sdk/build/release' [2023-09-20T20:56:03.572Z] Removing intermediate container 588dcde942ab [2023-09-20T20:56:03.572Z] ---> 544c631a1b23 [2023-09-20T20:56:03.572Z] Step 14/21 : FROM ${BASE} [2023-09-20T20:56:03.572Z] ---> e83ffa357ff4 [2023-09-20T20:56:03.572Z] Step 15/21 : LABEL maintainer="IOTech " [2023-09-20T20:56:03.572Z] ---> Running in db83cdbedf70 [2023-09-20T20:56:03.830Z] Removing intermediate container db83cdbedf70 [2023-09-20T20:56:03.830Z] ---> 3f37ccfac036 [2023-09-20T20:56:03.830Z] 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-09-20T20:56:03.830Z] ---> Running in 3dcbfdf70a44 [2023-09-20T20:56:04.087Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-09-20T20:56:04.346Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-20T20:56:04.346Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-20T20:56:04.346Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-20T20:56:04.912Z] Removing intermediate container 3dcbfdf70a44 [2023-09-20T20:56:04.912Z] ---> 407a83c0f614 [2023-09-20T20:56:04.912Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-20T20:56:04.912Z] ---> Running in 6e6a5afcd24c [2023-09-20T20:56:05.170Z] Removing intermediate container 6e6a5afcd24c [2023-09-20T20:56:05.170Z] ---> f20fdd96a8b4 [2023-09-20T20:56:05.170Z] 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-09-20T20:56:05.429Z] ---> Running in fc78726c53f0 [2023-09-20T20:56:05.690Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:56:05.690Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:56:05.949Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:56:06.515Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-20T20:56:06.515Z] (1/7) Installing curl (8.2.1-r0) [2023-09-20T20:56:06.515Z] (2/7) Installing hiredis (1.0.2-r0) [2023-09-20T20:56:06.515Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-09-20T20:56:06.515Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-09-20T20:56:07.083Z] (5/7) Installing libcbor (0.9.0-r1) [2023-09-20T20:56:07.083Z] (6/7) Installing libuuid (2.38-r1) [2023-09-20T20:56:07.083Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-09-20T20:56:08.022Z] Executing busybox-1.35.0-r17.trigger [2023-09-20T20:56:08.022Z] OK: 276 MiB in 83 packages [2023-09-20T20:56:08.609Z] Removing intermediate container fc78726c53f0 [2023-09-20T20:56:08.609Z] ---> e079635d9981 [2023-09-20T20:56:08.609Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-09-20T20:56:08.609Z] ---> 061ea52b3e13 [2023-09-20T20:56:08.609Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-09-20T20:56:08.870Z] ---> 37e84ccd59eb [2023-09-20T20:56:08.870Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-09-20T20:56:08.870Z] ---> 933d9ff75d41 [2023-09-20T20:56:08.870Z] Successfully built 933d9ff75d41 [2023-09-20T20:56:08.870Z] 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-09-20T20:56:09.227Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T20:56:09.227Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:56:09.290Z] prd-ubuntu20.04-docker-8c-8g-7227 does not seem to be running inside a container [2023-09-20T20:56:09.324Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T20:56:09.649Z] $ docker top 90726a961572d2b425c7b8f11cd232ccf9be9c6a17585d43a0139b474cfbe090 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T20:56:09.989Z] + make test [2023-09-20T20:56:09.989Z] echo "make test" [2023-09-20T20:56:09.989Z] make test [Pipeline] } [2023-09-20T20:56:10.003Z] $ docker stop --time=1 90726a961572d2b425c7b8f11cd232ccf9be9c6a17585d43a0139b474cfbe090 [2023-09-20T20:56:11.268Z] $ docker rm -f --volumes 90726a961572d2b425c7b8f11cd232ccf9be9c6a17585d43a0139b474cfbe090 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T20:56:11.753Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T20:56:12.041Z] + ls -al . [2023-09-20T20:56:12.041Z] total 212 [2023-09-20T20:56:12.041Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 20:55 . [2023-09-20T20:56:12.041Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:55 .. [2023-09-20T20:56:12.041Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:55 .git [2023-09-20T20:56:12.041Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:55 .github [2023-09-20T20:56:12.041Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 20 20:55 .gitignore [2023-09-20T20:56:12.041Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:55 .semver [2023-09-20T20:56:12.041Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 20 20:55 Attribution.txt [2023-09-20T20:56:12.041Z] -rw-rw-r-- 1 jenkins jenkins 9802 Sep 20 20:55 CHANGES [2023-09-20T20:56:12.041Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 20 20:55 Doxyfile [2023-09-20T20:56:12.041Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:55 GOVERNANCE.md [2023-09-20T20:56:12.041Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 20 20:55 Jenkinsfile [2023-09-20T20:56:12.041Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 20 20:55 LICENSE [2023-09-20T20:56:12.041Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 20 20:55 Makefile [2023-09-20T20:56:12.041Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 20 20:55 OWNERS.md [2023-09-20T20:56:12.041Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 20 20:55 README.IOT.md [2023-09-20T20:56:12.041Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 20 20:55 README.md [2023-09-20T20:56:12.041Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 20 20:55 README.v3.md [2023-09-20T20:56:12.041Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 20 20:55 VERSION [2023-09-20T20:56:12.041Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:55 docs [2023-09-20T20:56:12.041Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:55 include [2023-09-20T20:56:12.041Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:55 scripts [2023-09-20T20:56:12.041Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:55 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:56:12.350Z] + 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=b359547df5a09ee3070876df63645d58a75503b0 --label arch=amd64 --label version=3.0.3-dev.2 . [2023-09-20T20:56:12.351Z] Sending build context to Docker daemon 4.9MB [2023-09-20T20:56:12.351Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-09-20T20:56:12.351Z] Step 2/17 : FROM ${BASE} [2023-09-20T20:56:12.351Z] ---> 933d9ff75d41 [2023-09-20T20:56:12.351Z] Step 3/17 : LABEL maintainer="IOTech " [2023-09-20T20:56:12.610Z] ---> Running in a1c6e2d00c00 [2023-09-20T20:56:12.610Z] Removing intermediate container a1c6e2d00c00 [2023-09-20T20:56:12.610Z] ---> a40068527dc4 [2023-09-20T20:56:12.610Z] 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-09-20T20:56:12.610Z] ---> Running in 96a920f1857b [2023-09-20T20:56:12.870Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-09-20T20:56:13.130Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-20T20:56:13.130Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-20T20:56:13.130Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-20T20:56:13.388Z] Removing intermediate container 96a920f1857b [2023-09-20T20:56:13.388Z] ---> 6a090e1e31d0 [2023-09-20T20:56:13.388Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-20T20:56:13.388Z] ---> Running in c2556ee1b1ab [2023-09-20T20:56:13.954Z] Removing intermediate container c2556ee1b1ab [2023-09-20T20:56:13.955Z] ---> f32b596646fb [2023-09-20T20:56:13.955Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-09-20T20:56:13.955Z] ---> Running in f449257b5d5f [2023-09-20T20:56:14.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:56:14.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:56:14.471Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:56:15.037Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-20T20:56:15.037Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-20T20:56:15.037Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-20T20:56:15.037Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-09-20T20:56:15.604Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-09-20T20:56:15.863Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-09-20T20:56:15.863Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-09-20T20:56:15.863Z] (7/11) Installing libblkid (2.38-r1) [2023-09-20T20:56:15.863Z] (8/11) Installing libfdisk (2.38-r1) [2023-09-20T20:56:15.863Z] (9/11) Installing libmount (2.38-r1) [2023-09-20T20:56:15.863Z] (10/11) Installing libsmartcols (2.38-r1) [2023-09-20T20:56:15.863Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-09-20T20:56:15.863Z] Executing busybox-1.35.0-r17.trigger [2023-09-20T20:56:15.863Z] OK: 281 MiB in 92 packages [2023-09-20T20:56:16.868Z] Removing intermediate container f449257b5d5f [2023-09-20T20:56:16.868Z] ---> a12b13e3a42a [2023-09-20T20:56:16.868Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-09-20T20:56:16.868Z] ---> 4e4016547def [2023-09-20T20:56:16.868Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-09-20T20:56:17.128Z] ---> 9da0f7465404 [2023-09-20T20:56:17.128Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-09-20T20:56:17.387Z] ---> 1a58a101d533 [2023-09-20T20:56:17.387Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-09-20T20:56:17.387Z] ---> 45e378cab5ae [2023-09-20T20:56:17.387Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-09-20T20:56:17.644Z] ---> 8c6ca0593de1 [2023-09-20T20:56:17.644Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-09-20T20:56:17.644Z] ---> e6226a0e9f7a [2023-09-20T20:56:17.644Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-09-20T20:56:17.644Z] ---> Running in 4f8820b52384 [2023-09-20T20:56:17.644Z] Removing intermediate container 4f8820b52384 [2023-09-20T20:56:17.644Z] ---> 69c663b66c45 [2023-09-20T20:56:17.644Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-09-20T20:56:17.644Z] ---> Running in 0a53ea659e79 [2023-09-20T20:56:17.902Z] Removing intermediate container 0a53ea659e79 [2023-09-20T20:56:17.902Z] ---> c699aca76532 [2023-09-20T20:56:17.902Z] Step 15/17 : LABEL arch=amd64 [2023-09-20T20:56:17.902Z] ---> Running in 98d202172f25 [2023-09-20T20:56:17.902Z] Removing intermediate container 98d202172f25 [2023-09-20T20:56:17.902Z] ---> 5fbc3239ece5 [2023-09-20T20:56:17.902Z] Step 16/17 : LABEL git_sha=b359547df5a09ee3070876df63645d58a75503b0 [2023-09-20T20:56:17.902Z] ---> Running in 1a763f67c47c [2023-09-20T20:56:17.902Z] Removing intermediate container 1a763f67c47c [2023-09-20T20:56:17.902Z] ---> f10f424e52b7 [2023-09-20T20:56:17.902Z] Step 17/17 : LABEL version=3.0.3-dev.2 [2023-09-20T20:56:17.902Z] ---> Running in e1783aeffc7d [2023-09-20T20:56:18.160Z] Removing intermediate container e1783aeffc7d [2023-09-20T20:56:18.160Z] ---> beeb42b2c720 [2023-09-20T20:56:18.160Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-09-20T20:56:18.160Z] Successfully built beeb42b2c720 [2023-09-20T20:56:18.160Z] 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-09-20T20:56:18.558Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:56:18.558Z] [2023-09-20T20:56:18.558Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:56:18.853Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:56:18.853Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T20:56:18.853Z] 5eb5b503b376: Pulling fs layer [2023-09-20T20:56:18.853Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T20:56:18.853Z] ec43610c2a17: Pulling fs layer [2023-09-20T20:56:18.853Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T20:56:18.853Z] 33b1e0a273af: Pulling fs layer [2023-09-20T20:56:18.853Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T20:56:18.853Z] 2f39f015ded8: Pulling fs layer [2023-09-20T20:56:18.853Z] 3a2ae6a8a46f: Waiting [2023-09-20T20:56:18.853Z] 33b1e0a273af: Waiting [2023-09-20T20:56:18.853Z] 2f39f015ded8: Waiting [2023-09-20T20:56:18.853Z] 5c69ac0246d0: Download complete [2023-09-20T20:56:18.853Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-20T20:56:18.853Z] 3a2ae6a8a46f: Download complete [2023-09-20T20:56:18.853Z] 33b1e0a273af: Verifying Checksum [2023-09-20T20:56:18.853Z] 33b1e0a273af: Download complete [2023-09-20T20:56:18.853Z] 5d3b04190fa2: Verifying Checksum [2023-09-20T20:56:18.853Z] 5d3b04190fa2: Download complete [2023-09-20T20:56:18.853Z] ec43610c2a17: Verifying Checksum [2023-09-20T20:56:18.853Z] ec43610c2a17: Download complete [2023-09-20T20:56:19.111Z] 5eb5b503b376: Verifying Checksum [2023-09-20T20:56:19.111Z] 5eb5b503b376: Download complete [2023-09-20T20:56:19.677Z] 2f39f015ded8: Download complete [2023-09-20T20:56:20.240Z] 5eb5b503b376: Pull complete [2023-09-20T20:56:20.497Z] 5c69ac0246d0: Pull complete [2023-09-20T20:56:21.063Z] ec43610c2a17: Pull complete [2023-09-20T20:56:21.063Z] 3a2ae6a8a46f: Pull complete [2023-09-20T20:56:21.320Z] 33b1e0a273af: Pull complete [2023-09-20T20:56:21.320Z] 5d3b04190fa2: Pull complete [2023-09-20T20:56:25.505Z] 2f39f015ded8: Pull complete [2023-09-20T20:56:25.505Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T20:56:25.505Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:56:25.505Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:56:25.612Z] prd-ubuntu20.04-docker-8c-8g-7227 does not seem to be running inside a container [2023-09-20T20:56:25.671Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T20:56:33.472Z] $ docker top b36cf257515581cac462f8536c31f39e1e8707524b345518536197061ba8fa3d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:56:33.864Z] ---> job-cost.sh [2023-09-20T20:56:33.864Z] lf-activate-venv: SKIPPING [2023-09-20T20:56:33.864Z] INFO: No Stack... [2023-09-20T20:56:34.123Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T20:56:34.383Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T20:56:34.671Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2023-09-20T20:56:34.671Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T20:56:34.683Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-61-stack-cost] [2023-09-20T20:56:34.691Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-61-stack-cost] did not exist. Created. [2023-09-20T20:56:34.691Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T20:56:34.997Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T20:56:35.035Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T20:56:35.046Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-61-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T20:56:35.066Z] $ docker stop --time=1 b36cf257515581cac462f8536c31f39e1e8707524b345518536197061ba8fa3d [2023-09-20T20:56:36.214Z] $ docker rm -f --volumes b36cf257515581cac462f8536c31f39e1e8707524b345518536197061ba8fa3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T20:58:54.783Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7241 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2023-09-20T20:58:54.798Z] Running in /w/workspace/device-sdk-c/61 [Pipeline] { [Pipeline] checkout [2023-09-20T20:58:54.841Z] Selected Git installation does not exist. Using Default [2023-09-20T20:58:54.841Z] The recommended git tool is: NONE [2023-09-20T20:59:02.974Z] using credential edgex-jenkins-ssh [2023-09-20T20:59:02.993Z] Cloning the remote Git repository [2023-09-20T20:59:03.060Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-09-20T20:59:03.209Z] > git init /w/workspace/device-sdk-c/61 # timeout=10 [2023-09-20T20:59:03.421Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-09-20T20:59:03.422Z] > git --version # timeout=10 [2023-09-20T20:59:03.448Z] > git --version # 'git version 2.25.1' [2023-09-20T20:59:03.452Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T20:59:03.662Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T20:59:04.982Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-09-20T20:59:05.012Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T20:59:06.309Z] Avoid second fetch [2023-09-20T20:59:06.309Z] Checking out Revision b359547df5a09ee3070876df63645d58a75503b0 (main) [2023-09-20T20:59:06.341Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T20:59:06.457Z] > git checkout -f b359547df5a09ee3070876df63645d58a75503b0 # timeout=10 [2023-09-20T20:59:07.206Z] Commit message: "Merge pull request #483 from ernestojeda/create-release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T20:59:08.162Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T20:59:08.162Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T20:59:08.162Z] Dload Upload Total Spent Left Speed [2023-09-20T20:59:08.162Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh [2023-09-20T20:59:08.839Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-20T20:59:09.198Z] + sudo tee /etc/docker/daemon.new [2023-09-20T20:59:09.198Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-20T20:59:09.198Z] { [2023-09-20T20:59:09.198Z] "registry-mirrors": [ [2023-09-20T20:59:09.198Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T20:59:09.198Z] ], [2023-09-20T20:59:09.198Z] "bip": "10.250.0.254/24", [2023-09-20T20:59:09.198Z] "hosts": [ [2023-09-20T20:59:09.198Z] "tcp://0.0.0.0:5555", [2023-09-20T20:59:09.198Z] "unix:///var/run/docker.sock" [2023-09-20T20:59:09.198Z] ], [2023-09-20T20:59:09.198Z] "mtu": 1458, [2023-09-20T20:59:09.198Z] "selinux-enabled": true, [2023-09-20T20:59:09.198Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T20:59:09.198Z] } [Pipeline] sh [2023-09-20T20:59:09.563Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T20:59:09.943Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T20:59:28.388Z] provisioning config files... [2023-09-20T20:59:28.428Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/61@tmp/config17966870926244271784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:59:28.828Z] ---> docker-login.sh [2023-09-20T20:59:28.829Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:59:29.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:29.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:29.710Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:29.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:29.710Z] [2023-09-20T20:59:29.710Z] Login Succeeded [2023-09-20T20:59:29.710Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:59:29.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:29.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:29.989Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:29.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:29.989Z] [2023-09-20T20:59:29.989Z] Login Succeeded [2023-09-20T20:59:29.989Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:59:30.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:30.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:30.545Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:30.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:30.545Z] [2023-09-20T20:59:30.545Z] Login Succeeded [2023-09-20T20:59:30.545Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:59:30.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:31.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:31.100Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:31.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:31.100Z] [2023-09-20T20:59:31.100Z] Login Succeeded [2023-09-20T20:59:31.100Z] docker.io [2023-09-20T20:59:31.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:59:31.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:59:31.653Z] Configure a credential helper to remove this warning. See [2023-09-20T20:59:31.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:59:31.653Z] [2023-09-20T20:59:31.653Z] Login Succeeded [2023-09-20T20:59:31.653Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:59:31.675Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T20:59:32.055Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:59:32.067Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-09-20T20:59:32.083Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:59:32.096Z] ========================================================= [2023-09-20T20:59:32.096Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-09-20T20:59:32.096Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:59:32.463Z] + 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-09-20T20:59:33.059Z] Sending build context to Docker daemon 2.927MB [2023-09-20T20:59:33.059Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-09-20T20:59:33.059Z] Step 2/21 : FROM ${BASE} as builder [2023-09-20T20:59:33.059Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-09-20T20:59:33.059Z] 547446be3368: Pulling fs layer [2023-09-20T20:59:33.059Z] 76bd08e1cacc: Pulling fs layer [2023-09-20T20:59:33.336Z] 547446be3368: Verifying Checksum [2023-09-20T20:59:33.336Z] 547446be3368: Download complete [2023-09-20T20:59:33.936Z] 547446be3368: Pull complete [2023-09-20T20:59:35.381Z] 76bd08e1cacc: Verifying Checksum [2023-09-20T20:59:35.381Z] 76bd08e1cacc: Download complete [2023-09-20T20:59:43.669Z] 76bd08e1cacc: Pull complete [2023-09-20T20:59:43.669Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-09-20T20:59:43.669Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-09-20T20:59:43.669Z] ---> 295cd00e64f4 [2023-09-20T20:59:43.669Z] 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-09-20T20:59:44.650Z] ---> Running in 5a645b9f1874 [2023-09-20T20:59:46.185Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-09-20T20:59:46.460Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-20T20:59:46.460Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-20T20:59:46.460Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-20T20:59:47.453Z] Removing intermediate container 5a645b9f1874 [2023-09-20T20:59:47.453Z] ---> cb77331fcb30 [2023-09-20T20:59:47.453Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-20T20:59:47.453Z] ---> Running in 7249aeb40477 [2023-09-20T20:59:49.448Z] Removing intermediate container 7249aeb40477 [2023-09-20T20:59:49.448Z] ---> 3f581be0da4a [2023-09-20T20:59:49.448Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-09-20T20:59:49.448Z] ---> Running in ebfc9091709b [2023-09-20T20:59:50.431Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-20T20:59:51.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-09-20T20:59:51.618Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-20T20:59:52.592Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-20T20:59:52.874Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-20T20:59:52.874Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-20T20:59:52.874Z] (3/16) Installing hiredis (1.0.2-r0) [2023-09-20T20:59:52.874Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-09-20T20:59:52.874Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-09-20T20:59:53.467Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-09-20T20:59:53.737Z] (7/16) Installing libcbor (0.9.0-r1) [2023-09-20T20:59:53.737Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-09-20T20:59:53.737Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-09-20T20:59:53.737Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-09-20T20:59:54.710Z] (11/16) Installing libblkid (2.38-r1) [2023-09-20T20:59:54.710Z] (12/16) Installing libuuid (2.38-r1) [2023-09-20T20:59:54.710Z] (13/16) Installing libfdisk (2.38-r1) [2023-09-20T20:59:54.710Z] (14/16) Installing libmount (2.38-r1) [2023-09-20T20:59:54.710Z] (15/16) Installing libsmartcols (2.38-r1) [2023-09-20T20:59:54.710Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-09-20T20:59:54.710Z] Executing busybox-1.35.0-r17.trigger [2023-09-20T20:59:54.979Z] OK: 286 MiB in 90 packages [2023-09-20T20:59:56.414Z] Removing intermediate container ebfc9091709b [2023-09-20T20:59:56.414Z] ---> 9386644fab53 [2023-09-20T20:59:56.415Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-09-20T20:59:56.415Z] ---> Running in 9566ed829bd2 [2023-09-20T20:59:58.397Z] Removing intermediate container 9566ed829bd2 [2023-09-20T20:59:58.397Z] ---> 8548df1b450d [2023-09-20T20:59:58.397Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-09-20T20:59:58.906Z] ---> e08f14afff2f [2023-09-20T20:59:58.906Z] Step 8/21 : COPY src /tmp/sdk/src [2023-09-20T20:59:59.883Z] ---> dc7af59acfd4 [2023-09-20T20:59:59.883Z] Step 9/21 : COPY include /tmp/sdk/include [2023-09-20T21:00:00.481Z] ---> 1d7c220474d6 [2023-09-20T21:00:00.481Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-09-20T21:00:01.085Z] ---> 70fbc45e8e38 [2023-09-20T21:00:01.085Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-09-20T21:00:01.690Z] ---> 5d83411192b8 [2023-09-20T21:00:01.690Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-09-20T21:00:02.314Z] ---> cdea13e928b3 [2023-09-20T21:00:02.314Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-09-20T21:00:02.592Z] ---> Running in 4eb6bd754d94 [2023-09-20T21:00:03.597Z] + CPPCHECK=false [2023-09-20T21:00:03.597Z] + DOCGEN=false [2023-09-20T21:00:03.597Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-09-20T21:00:03.597Z] + '[' 0 -gt 0 ] [2023-09-20T21:00:03.597Z] + readlink -f ./scripts/build.sh [2023-09-20T21:00:03.597Z] + dirname /tmp/sdk/scripts/build.sh [2023-09-20T21:00:03.597Z] + dirname /tmp/sdk/scripts [2023-09-20T21:00:03.597Z] + ROOT=/tmp/sdk [2023-09-20T21:00:03.597Z] + cd /tmp/sdk [2023-09-20T21:00:03.597Z] + mkdir -p /tmp/sdk/build/release [2023-09-20T21:00:03.597Z] + cd /tmp/sdk/build/release [2023-09-20T21:00:03.598Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-09-20T21:00:04.192Z] -- The C compiler identification is GNU 11.2.1 [2023-09-20T21:00:04.192Z] -- Detecting C compiler ABI info [2023-09-20T21:00:04.797Z] -- Detecting C compiler ABI info - done [2023-09-20T21:00:04.797Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-09-20T21:00:04.797Z] -- Detecting C compile features [2023-09-20T21:00:04.797Z] -- Detecting C compile features - done [2023-09-20T21:00:04.797Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-09-20T21:00:05.072Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-09-20T21:00:05.072Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-09-20T21:00:05.072Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-09-20T21:00:05.348Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-09-20T21:00:05.348Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-09-20T21:00:05.348Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-09-20T21:00:05.348Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-09-20T21:00:05.348Z] -- /opt/iotech/iot/1.5/include [2023-09-20T21:00:05.348Z] -- C SDK 3.0.3-dev.2 for Linux [2023-09-20T21:00:05.348Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-09-20T21:00:05.628Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-09-20T21:00:05.902Z] -- Found Curses: /usr/lib/libcurses.so [2023-09-20T21:00:06.174Z] -- Configuring done [2023-09-20T21:00:06.766Z] -- Generating done [2023-09-20T21:00:06.766Z] -- Build files have been written to: /tmp/sdk/build/release [2023-09-20T21:00:06.766Z] + + maketee all release.log [2023-09-20T21:00:06.766Z] package [2023-09-20T21:00:06.766Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-09-20T21:00:08.190Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-09-20T21:00:10.165Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-09-20T21:00:11.596Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-09-20T21:00:13.033Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-09-20T21:00:14.016Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-09-20T21:00:18.339Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-09-20T21:00:20.975Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-09-20T21:00:20.975Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-09-20T21:00:22.950Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-09-20T21:00:27.481Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-09-20T21:00:28.077Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-09-20T21:00:30.059Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-09-20T21:00:31.040Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-09-20T21:00:32.028Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-09-20T21:00:34.008Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-09-20T21:00:34.613Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-09-20T21:00:38.953Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-09-20T21:00:39.230Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-09-20T21:00:40.684Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-09-20T21:00:43.308Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-09-20T21:00:53.524Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-09-20T21:00:53.524Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-09-20T21:00:54.120Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-09-20T21:00:55.102Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-09-20T21:00:55.700Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-09-20T21:00:59.086Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-09-20T21:01:03.647Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-09-20T21:01:04.259Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-09-20T21:01:06.257Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-09-20T21:01:07.244Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-09-20T21:01:14.003Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-09-20T21:01:14.606Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-09-20T21:01:15.205Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-09-20T21:01:16.200Z] [ 68%] Linking C shared library libcsdk.so [2023-09-20T21:01:16.479Z] [ 68%] Built target csdk [2023-09-20T21:01:16.755Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-09-20T21:01:18.203Z] [ 72%] Linking C executable template [2023-09-20T21:01:18.805Z] [ 72%] Built target template [2023-09-20T21:01:18.805Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-09-20T21:01:19.792Z] [ 76%] Linking C executable device-counter [2023-09-20T21:01:20.392Z] [ 76%] Built target device-counter [2023-09-20T21:01:20.392Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-09-20T21:01:21.374Z] [ 80%] Linking C executable device-random [2023-09-20T21:01:21.972Z] [ 80%] Built target device-random [2023-09-20T21:01:21.972Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-09-20T21:01:22.959Z] [ 84%] Linking C executable device-gyro [2023-09-20T21:01:23.476Z] [ 84%] Built target device-gyro [2023-09-20T21:01:23.476Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-09-20T21:01:24.926Z] [ 88%] Linking C executable device-bitfields [2023-09-20T21:01:25.203Z] [ 88%] Built target device-bitfields [2023-09-20T21:01:25.203Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-09-20T21:01:27.193Z] [ 92%] Linking C executable template-discovery [2023-09-20T21:01:27.469Z] [ 92%] Built target template-discovery [2023-09-20T21:01:27.469Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-09-20T21:01:28.916Z] [ 96%] Linking C executable device-file [2023-09-20T21:01:29.520Z] [ 96%] Built target device-file [2023-09-20T21:01:29.520Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-09-20T21:01:30.963Z] [100%] Linking C executable device-terminal [2023-09-20T21:01:31.241Z] [100%] Built target device-terminal [2023-09-20T21:01:31.241Z] Run CPack packaging tool... [2023-09-20T21:01:31.241Z] CPack: Create package using TGZ [2023-09-20T21:01:31.241Z] CPack: Install projects [2023-09-20T21:01:31.241Z] CPack: - Run preinstall target for: Csdk [2023-09-20T21:01:32.684Z] CPack: - Install project: Csdk [] [2023-09-20T21:01:32.684Z] CPack: Create package [2023-09-20T21:01:32.684Z] CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.2.tar.gz generated. [2023-09-20T21:01:32.684Z] + '[' false '=' true ] [2023-09-20T21:01:32.684Z] + '[' false '=' true ] [2023-09-20T21:01:32.684Z] + mkdir -p /tmp/sdk/build/debug [2023-09-20T21:01:32.684Z] + cd /tmp/sdk/build/debug [2023-09-20T21:01:32.684Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-09-20T21:01:32.962Z] -- The C compiler identification is GNU 11.2.1 [2023-09-20T21:01:33.237Z] -- Detecting C compiler ABI info [2023-09-20T21:01:33.513Z] -- Detecting C compiler ABI info - done [2023-09-20T21:01:33.788Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-09-20T21:01:33.788Z] -- Detecting C compile features [2023-09-20T21:01:33.788Z] -- Detecting C compile features - done [2023-09-20T21:01:33.788Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-09-20T21:01:34.062Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-09-20T21:01:34.062Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-09-20T21:01:34.062Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-09-20T21:01:34.062Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-09-20T21:01:34.062Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-09-20T21:01:34.062Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-09-20T21:01:34.062Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-09-20T21:01:34.062Z] -- /opt/iotech/iot/1.5/include [2023-09-20T21:01:34.062Z] -- C SDK 3.0.3-dev.2 for Linux [2023-09-20T21:01:34.062Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-09-20T21:01:34.662Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-09-20T21:01:34.937Z] -- Found Curses: /usr/lib/libcurses.so [2023-09-20T21:01:34.937Z] -- Configuring done [2023-09-20T21:01:35.540Z] -- Generating done [2023-09-20T21:01:35.540Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-09-20T21:01:35.540Z] + make [2023-09-20T21:01:35.540Z] + tee debug.log [2023-09-20T21:01:35.540Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-09-20T21:01:36.520Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-09-20T21:01:37.129Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-09-20T21:01:38.116Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-09-20T21:01:38.718Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-09-20T21:01:39.320Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-09-20T21:01:40.766Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-09-20T21:01:41.367Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-09-20T21:01:41.645Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-09-20T21:01:42.632Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-09-20T21:01:44.080Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-09-20T21:01:44.678Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-09-20T21:01:45.279Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-09-20T21:01:46.265Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-09-20T21:01:46.865Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-09-20T21:01:47.472Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-09-20T21:01:48.079Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-09-20T21:01:49.523Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-09-20T21:01:49.798Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-09-20T21:01:50.404Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-09-20T21:01:51.410Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-09-20T21:01:54.049Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-09-20T21:01:54.651Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-09-20T21:01:54.927Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-09-20T21:01:55.531Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-09-20T21:01:56.131Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-09-20T21:01:57.116Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-09-20T21:01:59.752Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-09-20T21:02:00.357Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-09-20T21:02:01.350Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-09-20T21:02:01.959Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-09-20T21:02:03.413Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-09-20T21:02:04.404Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-09-20T21:02:04.678Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-09-20T21:02:05.277Z] [ 68%] Linking C shared library libcsdk.so [2023-09-20T21:02:05.554Z] [ 68%] Built target csdk [2023-09-20T21:02:05.554Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-09-20T21:02:06.547Z] [ 72%] Linking C executable template [2023-09-20T21:02:06.825Z] [ 72%] Built target template [2023-09-20T21:02:07.104Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-09-20T21:02:07.705Z] [ 76%] Linking C executable device-counter [2023-09-20T21:02:07.983Z] [ 76%] Built target device-counter [2023-09-20T21:02:08.260Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-09-20T21:02:08.867Z] [ 80%] Linking C executable device-random [2023-09-20T21:02:09.144Z] [ 80%] Built target device-random [2023-09-20T21:02:09.421Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-09-20T21:02:10.030Z] [ 84%] Linking C executable device-gyro [2023-09-20T21:02:10.308Z] [ 84%] Built target device-gyro [2023-09-20T21:02:10.587Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-09-20T21:02:11.191Z] [ 88%] Linking C executable device-bitfields [2023-09-20T21:02:11.799Z] [ 88%] Built target device-bitfields [2023-09-20T21:02:11.799Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-09-20T21:02:12.410Z] [ 92%] Linking C executable template-discovery [2023-09-20T21:02:13.024Z] [ 92%] Built target template-discovery [2023-09-20T21:02:13.024Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-09-20T21:02:13.630Z] [ 96%] Linking C executable device-file [2023-09-20T21:02:14.235Z] [ 96%] Built target device-file [2023-09-20T21:02:14.235Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-09-20T21:02:14.849Z] [100%] Linking C executable device-terminal [2023-09-20T21:02:15.540Z] [100%] Built target device-terminal [2023-09-20T21:02:15.540Z] make: Entering directory '/tmp/sdk/build/release' [2023-09-20T21:02:15.540Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-09-20T21:02:15.826Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T21:02:15.826Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T21:02:15.826Z] [ 68%] Built target csdk [2023-09-20T21:02:15.826Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T21:02:15.826Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T21:02:15.826Z] [ 72%] Built target template [2023-09-20T21:02:15.826Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T21:02:15.826Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T21:02:16.103Z] [ 76%] Built target device-counter [2023-09-20T21:02:16.103Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T21:02:16.103Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T21:02:16.103Z] [ 80%] Built target device-random [2023-09-20T21:02:16.103Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T21:02:16.103Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T21:02:16.103Z] [ 84%] Built target device-gyro [2023-09-20T21:02:16.103Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T21:02:16.103Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T21:02:16.103Z] [ 88%] Built target device-bitfields [2023-09-20T21:02:16.103Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T21:02:16.385Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T21:02:16.385Z] [ 92%] Built target template-discovery [2023-09-20T21:02:16.385Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T21:02:16.385Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T21:02:16.385Z] [ 96%] Built target device-file [2023-09-20T21:02:16.385Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-20T21:02:16.385Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T21:02:16.385Z] [100%] Built target device-terminal [2023-09-20T21:02:16.385Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-09-20T21:02:16.683Z] Install the project... [2023-09-20T21:02:16.683Z] -- Install configuration: "Release" [2023-09-20T21:02:16.683Z] -- Installing: /usr/local/lib/libcsdk.so [2023-09-20T21:02:16.683Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-09-20T21:02:16.683Z] -- Installing: /usr/local/include [2023-09-20T21:02:16.683Z] -- Installing: /usr/local/include/devsdk [2023-09-20T21:02:16.683Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-09-20T21:02:16.683Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-09-20T21:02:16.683Z] -- Installing: /usr/local/include/edgex [2023-09-20T21:02:16.683Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-09-20T21:02:16.683Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-09-20T21:02:16.683Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-09-20T21:02:16.683Z] -- Installing: /usr/local/include/edgex/devices.h [2023-09-20T21:02:16.683Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-09-20T21:02:16.683Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-09-20T21:02:16.683Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-09-20T21:02:16.683Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-09-20T21:02:16.683Z] make: Leaving directory '/tmp/sdk/build/release' [2023-09-20T21:02:18.186Z] Removing intermediate container 4eb6bd754d94 [2023-09-20T21:02:18.186Z] ---> 71f1548b2681 [2023-09-20T21:02:18.186Z] Step 14/21 : FROM ${BASE} [2023-09-20T21:02:18.186Z] ---> 295cd00e64f4 [2023-09-20T21:02:18.186Z] Step 15/21 : LABEL maintainer="IOTech " [2023-09-20T21:02:18.462Z] ---> Running in b0640391180c [2023-09-20T21:02:18.745Z] Removing intermediate container b0640391180c [2023-09-20T21:02:18.745Z] ---> c2c1b281ea28 [2023-09-20T21:02:18.745Z] 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-09-20T21:02:19.028Z] ---> Running in a395e60a2085 [2023-09-20T21:02:20.026Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-09-20T21:02:20.632Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-20T21:02:20.632Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-20T21:02:20.632Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-20T21:02:21.624Z] Removing intermediate container a395e60a2085 [2023-09-20T21:02:21.624Z] ---> 090d00fac925 [2023-09-20T21:02:21.624Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-20T21:02:21.624Z] ---> Running in 695c05135d46 [2023-09-20T21:02:23.595Z] Removing intermediate container 695c05135d46 [2023-09-20T21:02:23.595Z] ---> 183cb424c647 [2023-09-20T21:02:23.595Z] 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-09-20T21:02:23.595Z] ---> Running in 6e9124a0fd16 [2023-09-20T21:02:25.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-20T21:02:25.306Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-09-20T21:02:25.905Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-20T21:02:27.340Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-20T21:02:27.340Z] (1/7) Installing curl (8.2.1-r0) [2023-09-20T21:02:27.340Z] (2/7) Installing hiredis (1.0.2-r0) [2023-09-20T21:02:27.340Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-09-20T21:02:27.340Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-09-20T21:02:27.937Z] (5/7) Installing libcbor (0.9.0-r1) [2023-09-20T21:02:27.937Z] (6/7) Installing libuuid (2.38-r1) [2023-09-20T21:02:27.937Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-09-20T21:02:28.923Z] Executing busybox-1.35.0-r17.trigger [2023-09-20T21:02:28.923Z] OK: 281 MiB in 83 packages [2023-09-20T21:02:30.360Z] Removing intermediate container 6e9124a0fd16 [2023-09-20T21:02:30.360Z] ---> b5b4a7604843 [2023-09-20T21:02:30.360Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-09-20T21:02:30.964Z] ---> 17b139a006f4 [2023-09-20T21:02:30.964Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-09-20T21:02:31.962Z] ---> d3f876daa956 [2023-09-20T21:02:31.962Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-09-20T21:02:32.560Z] ---> ef4a89ae0a0d [2023-09-20T21:02:32.560Z] Successfully built ef4a89ae0a0d [2023-09-20T21:02:32.560Z] 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-09-20T21:02:32.997Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T21:02:32.997Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:02:33.273Z] prd-ubuntu20.04-docker-arm64-4c-16g-7241 does not seem to be running inside a container [2023-09-20T21:02:33.376Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/61 -v /w/workspace/device-sdk-c/61:/w/workspace/device-sdk-c/61:rw,z -v /w/workspace/device-sdk-c/61@tmp:/w/workspace/device-sdk-c/61@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-09-20T21:02:34.921Z] $ docker top c9e9ceaf6989443a7ee92f746fde358c01526ea28169b0ef23dbf3a89342efc7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:02:35.869Z] + make test [2023-09-20T21:02:35.869Z] echo "make test" [2023-09-20T21:02:35.869Z] make test [Pipeline] } [2023-09-20T21:02:35.901Z] $ docker stop --time=1 c9e9ceaf6989443a7ee92f746fde358c01526ea28169b0ef23dbf3a89342efc7 [2023-09-20T21:02:37.760Z] $ docker rm -f --volumes c9e9ceaf6989443a7ee92f746fde358c01526ea28169b0ef23dbf3a89342efc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T21:02:38.367Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T21:02:38.719Z] + ls -al . [2023-09-20T21:02:38.719Z] total 208 [2023-09-20T21:02:38.719Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:59 . [2023-09-20T21:02:38.719Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:59 .. [2023-09-20T21:02:38.719Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:59 .git [2023-09-20T21:02:38.719Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:59 .github [2023-09-20T21:02:38.719Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 20 20:59 .gitignore [2023-09-20T21:02:38.719Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 20 20:59 Attribution.txt [2023-09-20T21:02:38.719Z] -rw-rw-r-- 1 jenkins jenkins 9802 Sep 20 20:59 CHANGES [2023-09-20T21:02:38.719Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 20 20:59 Doxyfile [2023-09-20T21:02:38.719Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:59 GOVERNANCE.md [2023-09-20T21:02:38.719Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 20 20:59 Jenkinsfile [2023-09-20T21:02:38.719Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 20 20:59 LICENSE [2023-09-20T21:02:38.719Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 20 20:59 Makefile [2023-09-20T21:02:38.719Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 20 20:59 OWNERS.md [2023-09-20T21:02:38.719Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 20 20:59 README.IOT.md [2023-09-20T21:02:38.719Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 20 20:59 README.md [2023-09-20T21:02:38.719Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 20 20:59 README.v3.md [2023-09-20T21:02:38.719Z] -rw-rw-r-- 1 jenkins jenkins 11 Sep 20 20:55 VERSION [2023-09-20T21:02:38.719Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:59 docs [2023-09-20T21:02:38.719Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:59 include [2023-09-20T21:02:38.719Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:59 scripts [2023-09-20T21:02:38.719Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:59 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:02:39.091Z] + 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=b359547df5a09ee3070876df63645d58a75503b0 --label arch=arm64 --label version=3.0.3-dev.2 . [2023-09-20T21:02:39.366Z] Sending build context to Docker daemon 2.927MB [2023-09-20T21:02:39.639Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-09-20T21:02:39.639Z] Step 2/17 : FROM ${BASE} [2023-09-20T21:02:39.639Z] ---> ef4a89ae0a0d [2023-09-20T21:02:39.639Z] Step 3/17 : LABEL maintainer="IOTech " [2023-09-20T21:02:39.639Z] ---> Running in cc121a4cdfd2 [2023-09-20T21:02:40.237Z] Removing intermediate container cc121a4cdfd2 [2023-09-20T21:02:40.237Z] ---> 58d5786446b9 [2023-09-20T21:02:40.237Z] 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-09-20T21:02:40.237Z] ---> Running in 4658c5cff9cb [2023-09-20T21:02:41.676Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-09-20T21:02:41.949Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-20T21:02:41.949Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-20T21:02:41.949Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-20T21:02:42.934Z] Removing intermediate container 4658c5cff9cb [2023-09-20T21:02:42.934Z] ---> 18e2752f6bab [2023-09-20T21:02:42.934Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-20T21:02:42.934Z] ---> Running in 6b017ea58880 [2023-09-20T21:02:44.913Z] Removing intermediate container 6b017ea58880 [2023-09-20T21:02:44.913Z] ---> 57391e16bc29 [2023-09-20T21:02:44.913Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-09-20T21:02:45.186Z] ---> Running in 608acb790eae [2023-09-20T21:02:46.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-20T21:02:46.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-09-20T21:02:47.598Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-20T21:02:48.574Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-20T21:02:48.574Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-20T21:02:48.574Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-20T21:02:48.574Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-09-20T21:02:49.551Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-09-20T21:02:49.551Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-09-20T21:02:49.551Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-09-20T21:02:49.551Z] (7/11) Installing libblkid (2.38-r1) [2023-09-20T21:02:49.551Z] (8/11) Installing libfdisk (2.38-r1) [2023-09-20T21:02:49.551Z] (9/11) Installing libmount (2.38-r1) [2023-09-20T21:02:49.551Z] (10/11) Installing libsmartcols (2.38-r1) [2023-09-20T21:02:49.551Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-09-20T21:02:49.826Z] Executing busybox-1.35.0-r17.trigger [2023-09-20T21:02:49.826Z] OK: 287 MiB in 92 packages [2023-09-20T21:02:51.261Z] Removing intermediate container 608acb790eae [2023-09-20T21:02:51.261Z] ---> cfed65549083 [2023-09-20T21:02:51.261Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-09-20T21:02:51.854Z] ---> 1151edec4a63 [2023-09-20T21:02:51.854Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-09-20T21:02:53.285Z] ---> cdb1bf69996f [2023-09-20T21:02:53.285Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-09-20T21:02:53.559Z] ---> 8c966666cc38 [2023-09-20T21:02:53.559Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-09-20T21:02:54.552Z] ---> ee08734ddba0 [2023-09-20T21:02:54.552Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-09-20T21:02:55.172Z] ---> 41aeb91de998 [2023-09-20T21:02:55.172Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-09-20T21:02:55.769Z] ---> 42d0d41d5150 [2023-09-20T21:02:55.769Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-09-20T21:02:55.769Z] ---> Running in e85e7f0fd501 [2023-09-20T21:02:56.058Z] Removing intermediate container e85e7f0fd501 [2023-09-20T21:02:56.058Z] ---> 9d6b5abe83bc [2023-09-20T21:02:56.058Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-09-20T21:02:56.330Z] ---> Running in d64c5253a784 [2023-09-20T21:02:56.604Z] Removing intermediate container d64c5253a784 [2023-09-20T21:02:56.604Z] ---> 285e8611373d [2023-09-20T21:02:56.604Z] Step 15/17 : LABEL arch=arm64 [2023-09-20T21:02:56.880Z] ---> Running in bf4f03a9a32d [2023-09-20T21:02:57.154Z] Removing intermediate container bf4f03a9a32d [2023-09-20T21:02:57.154Z] ---> c1bfc511a755 [2023-09-20T21:02:57.154Z] Step 16/17 : LABEL git_sha=b359547df5a09ee3070876df63645d58a75503b0 [2023-09-20T21:02:57.427Z] ---> Running in a26db8400193 [2023-09-20T21:02:57.698Z] Removing intermediate container a26db8400193 [2023-09-20T21:02:57.698Z] ---> 0de1519224f7 [2023-09-20T21:02:57.698Z] Step 17/17 : LABEL version=3.0.3-dev.2 [2023-09-20T21:02:57.698Z] ---> Running in 0cd1c45356e6 [2023-09-20T21:02:58.292Z] Removing intermediate container 0cd1c45356e6 [2023-09-20T21:02:58.292Z] ---> c9ca09ee4109 [2023-09-20T21:02:58.292Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-09-20T21:02:58.292Z] Successfully built c9ca09ee4109 [2023-09-20T21:02:58.292Z] 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-09-20T21:02:58.750Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T21:02:58.750Z] [2023-09-20T21:02:58.750Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:02:59.109Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T21:02:59.379Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T21:02:59.379Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T21:02:59.379Z] 04944245beec: Pulling fs layer [2023-09-20T21:02:59.379Z] 699f458cf7ca: Pulling fs layer [2023-09-20T21:02:59.379Z] 765212b225bb: Pulling fs layer [2023-09-20T21:02:59.379Z] f23df028b6ca: Pulling fs layer [2023-09-20T21:02:59.379Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T21:02:59.379Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T21:02:59.379Z] 765212b225bb: Waiting [2023-09-20T21:02:59.379Z] f23df028b6ca: Waiting [2023-09-20T21:02:59.379Z] d65c8cfc05b1: Waiting [2023-09-20T21:02:59.379Z] 2437ff75d9bd: Waiting [2023-09-20T21:02:59.379Z] 04944245beec: Verifying Checksum [2023-09-20T21:02:59.379Z] 04944245beec: Download complete [2023-09-20T21:02:59.379Z] 765212b225bb: Verifying Checksum [2023-09-20T21:02:59.379Z] 765212b225bb: Download complete [2023-09-20T21:02:59.379Z] f23df028b6ca: Verifying Checksum [2023-09-20T21:02:59.379Z] f23df028b6ca: Download complete [2023-09-20T21:02:59.651Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T21:02:59.651Z] d65c8cfc05b1: Download complete [2023-09-20T21:02:59.651Z] 699f458cf7ca: Verifying Checksum [2023-09-20T21:02:59.651Z] 699f458cf7ca: Download complete [2023-09-20T21:03:00.243Z] 8998bd30e6a1: Download complete [2023-09-20T21:03:03.632Z] 2437ff75d9bd: Verifying Checksum [2023-09-20T21:03:03.632Z] 2437ff75d9bd: Download complete [2023-09-20T21:03:07.023Z] 8998bd30e6a1: Pull complete [2023-09-20T21:03:07.631Z] 04944245beec: Pull complete [2023-09-20T21:03:09.603Z] 699f458cf7ca: Pull complete [2023-09-20T21:03:09.876Z] 765212b225bb: Pull complete [2023-09-20T21:03:10.849Z] f23df028b6ca: Pull complete [2023-09-20T21:03:11.123Z] d65c8cfc05b1: Pull complete [2023-09-20T21:03:33.263Z] 2437ff75d9bd: Pull complete [2023-09-20T21:03:33.263Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T21:03:33.263Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T21:03:33.263Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:03:33.531Z] prd-ubuntu20.04-docker-arm64-4c-16g-7241 does not seem to be running inside a container [2023-09-20T21:03:33.643Z] $ 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/61 -v /w/workspace/device-sdk-c/61:/w/workspace/device-sdk-c/61:rw,z -v /w/workspace/device-sdk-c/61@tmp:/w/workspace/device-sdk-c/61@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-09-20T21:03:36.684Z] $ docker top ea58defc0f446370cb7560e941f17493eb2d95f22bc299e1dc96db0bd148ee4b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:03:37.599Z] ---> job-cost.sh [2023-09-20T21:03:37.600Z] lf-activate-venv: SKIPPING [2023-09-20T21:03:37.600Z] INFO: No Stack... [2023-09-20T21:03:38.195Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T21:03:39.174Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T21:03:39.877Z] + cat /w/workspace/device-sdk-c/61/archives/cost.csv [2023-09-20T21:03:39.877Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T21:03:39.974Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-61-stack-cost] [2023-09-20T21:03:39.980Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-61-stack-cost] did not exist. Created. [2023-09-20T21:03:39.980Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T21:03:40.939Z] /w/workspace/device-sdk-c/61@tmp/durable-e6289c79/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T21:03:41.692Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T21:03:41.726Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T21:03:42.519Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T21:03:42.531Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-61-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T21:03:42.553Z] $ docker stop --time=1 ea58defc0f446370cb7560e941f17493eb2d95f22bc299e1dc96db0bd148ee4b [2023-09-20T21:03:44.599Z] $ docker rm -f --volumes ea58defc0f446370cb7560e941f17493eb2d95f22bc299e1dc96db0bd148ee4b [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-09-20T21:03:45.254Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T21:03:45.254Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:03:45.554Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T21:03:45.555Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:03:45.631Z] prd-ubuntu20.04-docker-8c-8g-7227 does not seem to be running inside a container [2023-09-20T21:03:45.662Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T21:03:46.000Z] $ docker top 2e9fe2dbfb638265e8dee42e885f4e68464171ea64c0d42ef10bd58ca0df13ba -eo pid,comm [2023-09-20T21:03:46.047Z] 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-09-20T21:03:46.047Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T21:03:46.083Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T21:03:46.084Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T21:03:46.189Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T21:03:46.192Z] $ docker exec 2e9fe2dbfb638265e8dee42e885f4e68464171ea64c0d42ef10bd58ca0df13ba ssh-agent [2023-09-20T21:03:46.296Z] SSH_AUTH_SOCK=/tmp/ssh-1xuyBTXTcfS1/agent.33 [2023-09-20T21:03:46.296Z] SSH_AGENT_PID=39 [2023-09-20T21:03:46.300Z] Running ssh-add (command line suppressed) [2023-09-20T21:03:46.400Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7016825422096411361.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7016825422096411361.key) [2023-09-20T21:03:46.413Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T21:03:46.696Z] + git semver tag [2023-09-20T21:03:46.955Z] 2023-09-20 21:03:46,874 [run_tag] DEBUG tag force:False [2023-09-20T21:03:46.955Z] 2023-09-20 21:03:46,874 [check_head_tag] DEBUG check head tag [2023-09-20T21:03:46.955Z] 2023-09-20 21:03:46,874 [execute] INFO git cat-file --batch-check [2023-09-20T21:03:46.955Z] 2023-09-20 21:03:46,875 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2023-09-20T21:03:46.955Z] 2023-09-20 21:03:46,878 [execute] INFO git cat-file --batch [2023-09-20T21:03:46.955Z] 2023-09-20 21:03:46,879 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2023-09-20T21:03:46.955Z] 2023-09-20 21:03:46,892 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-09-20T21:03:46.955Z] 2023-09-20 21:03:46,892 [execute] INFO git tag -a v3.0.3-dev.2 -m v3.0.3-dev.2 [2023-09-20T21:03:46.955Z] 2023-09-20 21:03:46,893 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.3-dev.2', '-m', 'v3.0.3-dev.2'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2023-09-20T21:03:46.955Z] 2023-09-20 21:03:46,897 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-09-20T21:03:46.955Z] 3.0.3-dev.2 [Pipeline] } [2023-09-20T21:03:46.964Z] $ docker exec --env ******** --env ******** 2e9fe2dbfb638265e8dee42e885f4e68464171ea64c0d42ef10bd58ca0df13ba ssh-agent -k [2023-09-20T21:03:47.070Z] unset SSH_AUTH_SOCK; [2023-09-20T21:03:47.071Z] unset SSH_AGENT_PID; [2023-09-20T21:03:47.071Z] echo Agent pid 39 killed; [2023-09-20T21:03:47.079Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T21:03:47.383Z] + git semver [Pipeline] } [2023-09-20T21:03:47.654Z] $ docker stop --time=1 2e9fe2dbfb638265e8dee42e885f4e68464171ea64c0d42ef10bd58ca0df13ba [2023-09-20T21:03:48.932Z] $ docker rm -f --volumes 2e9fe2dbfb638265e8dee42e885f4e68464171ea64c0d42ef10bd58ca0df13ba [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:03:49.305Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T21:03:49.305Z] [2023-09-20T21:03:49.305Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:03:49.602Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T21:03:49.602Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-20T21:03:49.602Z] ab5ef0e58194: Pulling fs layer [2023-09-20T21:03:49.602Z] 9712f1f96733: Pulling fs layer [2023-09-20T21:03:49.602Z] 63f879dbbcfc: Pulling fs layer [2023-09-20T21:03:49.602Z] 0d9ebad4ef96: Pulling fs layer [2023-09-20T21:03:49.602Z] e9a5061849ea: Pulling fs layer [2023-09-20T21:03:49.602Z] d747dcd14b5f: Pulling fs layer [2023-09-20T21:03:49.602Z] 2de7ff778b66: Pulling fs layer [2023-09-20T21:03:49.602Z] 0d9ebad4ef96: Waiting [2023-09-20T21:03:49.602Z] e9a5061849ea: Waiting [2023-09-20T21:03:49.602Z] d747dcd14b5f: Waiting [2023-09-20T21:03:49.602Z] 2de7ff778b66: Waiting [2023-09-20T21:03:49.602Z] 9712f1f96733: Download complete [2023-09-20T21:03:50.168Z] 63f879dbbcfc: Verifying Checksum [2023-09-20T21:03:50.168Z] 63f879dbbcfc: Download complete [2023-09-20T21:03:50.168Z] e9a5061849ea: Verifying Checksum [2023-09-20T21:03:50.168Z] e9a5061849ea: Download complete [2023-09-20T21:03:50.168Z] 0d9ebad4ef96: Verifying Checksum [2023-09-20T21:03:50.168Z] 0d9ebad4ef96: Download complete [2023-09-20T21:03:50.168Z] d747dcd14b5f: Verifying Checksum [2023-09-20T21:03:50.168Z] d747dcd14b5f: Download complete [2023-09-20T21:03:50.168Z] ab5ef0e58194: Verifying Checksum [2023-09-20T21:03:50.168Z] ab5ef0e58194: Download complete [2023-09-20T21:03:50.425Z] 2de7ff778b66: Verifying Checksum [2023-09-20T21:03:50.425Z] 2de7ff778b66: Download complete [2023-09-20T21:03:53.709Z] ab5ef0e58194: Pull complete [2023-09-20T21:03:53.709Z] 9712f1f96733: Pull complete [2023-09-20T21:03:53.709Z] 63f879dbbcfc: Pull complete [2023-09-20T21:03:57.895Z] 0d9ebad4ef96: Pull complete [2023-09-20T21:03:57.895Z] e9a5061849ea: Pull complete [2023-09-20T21:03:58.154Z] d747dcd14b5f: Pull complete [2023-09-20T21:03:59.529Z] 2de7ff778b66: Pull complete [2023-09-20T21:03:59.530Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-20T21:03:59.530Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T21:03:59.530Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:03:59.616Z] prd-ubuntu20.04-docker-8c-8g-7227 does not seem to be running inside a container [2023-09-20T21:03:59.643Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-20T21:04:08.636Z] $ docker top fdf5d3a1f8449de7c737244ac71944430e425ba27afb8076b91bd49d1f901eaf -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-20T21:04:08.706Z] provisioning config files... [2023-09-20T21:04:08.713Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config3282860481114849757tmp [2023-09-20T21:04:08.722Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config9206595775924277905tmp [2023-09-20T21:04:08.731Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14891702298661240774tmp [Pipeline] { [Pipeline] echo [2023-09-20T21:04:08.745Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:04:09.027Z] ---> sigul-configuration.sh [2023-09-20T21:04:09.027Z] gpg: directory `/root/.gnupg' created [2023-09-20T21:04:09.027Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-20T21:04:09.027Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-20T21:04:09.027Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-20T21:04:09.027Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-20T21:04:09.027Z] gpg: CAST5 encrypted data [2023-09-20T21:04:09.027Z] gpg: encrypted with 1 passphrase [2023-09-20T21:04:09.027Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-20T21:04:09.311Z] + mkdir /home/jenkins [2023-09-20T21:04:09.311Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-20T21:04:09.597Z] + 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-09-20T21:04:09.605Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:04:09.890Z] ---> sigul-install.sh [2023-09-20T21:04:09.890Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-20T21:04:10.172Z] + git tag --list [2023-09-20T21:04:10.172Z] 0.7.0 [2023-09-20T21:04:10.172Z] 0.7.1 [2023-09-20T21:04:10.172Z] 1.0.0 [2023-09-20T21:04:10.172Z] v1.0.1 [2023-09-20T21:04:10.172Z] v1.0.2 [2023-09-20T21:04:10.172Z] v1.0.3 [2023-09-20T21:04:10.172Z] v1.1.0 [2023-09-20T21:04:10.172Z] v1.1.1 [2023-09-20T21:04:10.172Z] v1.2.0 [2023-09-20T21:04:10.172Z] v1.2.1 [2023-09-20T21:04:10.172Z] v1.2.2 [2023-09-20T21:04:10.172Z] v1.3.0 [2023-09-20T21:04:10.172Z] v1.3.1 [2023-09-20T21:04:10.172Z] v2.0.0 [2023-09-20T21:04:10.172Z] v2.1.0 [2023-09-20T21:04:10.172Z] v2.2.0 [2023-09-20T21:04:10.172Z] v2.3.0 [2023-09-20T21:04:10.172Z] v3.0 [2023-09-20T21:04:10.172Z] v3.0.0 [2023-09-20T21:04:10.172Z] v3.0.1 [2023-09-20T21:04:10.172Z] v3.0.2 [2023-09-20T21:04:10.172Z] v3.0.3-dev.1 [2023-09-20T21:04:10.172Z] v3.0.3-dev.2 [2023-09-20T21:04:10.172Z] v3.1.0-dev.1 [2023-09-20T21:04:10.172Z] v3.1.0-dev.2 [2023-09-20T21:04:10.172Z] v3.1.0-dev.3 [2023-09-20T21:04:10.172Z] v3.1.0-dev.4 [2023-09-20T21:04:10.172Z] v3.1.0-dev.5 [2023-09-20T21:04:10.172Z] v3.1.0-dev.6 [2023-09-20T21:04:10.172Z] v3.1.0-dev.7 [2023-09-20T21:04:10.172Z] v3.1.0-dev.8 [2023-09-20T21:04:10.172Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-20T21:04:10.464Z] + lftools sign git-tag v3.0.3-dev.2 [2023-09-20T21:04:11.044Z] Signing Git tag with Sigul... [2023-09-20T21:04:11.044Z] Signing v3.0.3-dev.2 [Pipeline] echo [2023-09-20T21:04:11.620Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:04:11.897Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-20T21:04:11.905Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-20T21:04:11.925Z] $ docker stop --time=1 fdf5d3a1f8449de7c737244ac71944430e425ba27afb8076b91bd49d1f901eaf [2023-09-20T21:04:13.203Z] $ docker rm -f --volumes fdf5d3a1f8449de7c737244ac71944430e425ba27afb8076b91bd49d1f901eaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-20T21:04:13.594Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T21:04:13.594Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:04:13.890Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T21:04:13.890Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:04:13.962Z] prd-ubuntu20.04-docker-8c-8g-7227 does not seem to be running inside a container [2023-09-20T21:04:13.989Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T21:04:14.332Z] $ docker top 3a4ea35a119de5f4a2302fea7bc13ba2ba0bcadd6847828d80ef0c495f142a51 -eo pid,comm [2023-09-20T21:04:14.379Z] 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-09-20T21:04:14.379Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T21:04:14.419Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T21:04:14.419Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T21:04:14.533Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T21:04:14.537Z] $ docker exec 3a4ea35a119de5f4a2302fea7bc13ba2ba0bcadd6847828d80ef0c495f142a51 ssh-agent [2023-09-20T21:04:14.651Z] SSH_AUTH_SOCK=/tmp/ssh-AjZItuE2Ew2L/agent.32 [2023-09-20T21:04:14.651Z] SSH_AGENT_PID=38 [2023-09-20T21:04:14.654Z] Running ssh-add (command line suppressed) [2023-09-20T21:04:14.749Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13152040898951792541.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13152040898951792541.key) [2023-09-20T21:04:14.761Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T21:04:15.047Z] + git semver bump pre [2023-09-20T21:04:15.306Z] 2023-09-20 21:04:15,233 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-09-20T21:04:15.306Z] 2023-09-20 21:04:15,233 [bump_version] DEBUG bumping version:3.0.3-dev.2 on axis:pre with prefix:dev [2023-09-20T21:04:15.306Z] 2023-09-20 21:04:15,233 [bump_version] DEBUG bumped version:3.0.3-dev.3 [2023-09-20T21:04:15.306Z] 2023-09-20 21:04:15,233 [write_version] DEBUG write version:3.0.3-dev.3 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2023-09-20T21:04:15.306Z] 2023-09-20 21:04:15,233 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-09-20T21:04:15.306Z] 2023-09-20 21:04:15,233 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-09-20T21:04:15.306Z] 2023-09-20 21:04:15,235 [execute] INFO git cat-file --batch-check [2023-09-20T21:04:15.306Z] 2023-09-20 21:04:15,236 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T21:04:15.306Z] 2023-09-20 21:04:15,241 [execute] INFO git cat-file --batch [2023-09-20T21:04:15.306Z] 2023-09-20 21:04:15,242 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T21:04:15.306Z] 2023-09-20 21:04:15,246 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-09-20T21:04:15.306Z] 3.0.3-dev.3 [Pipeline] } [2023-09-20T21:04:15.315Z] $ docker exec --env ******** --env ******** 3a4ea35a119de5f4a2302fea7bc13ba2ba0bcadd6847828d80ef0c495f142a51 ssh-agent -k [2023-09-20T21:04:15.419Z] unset SSH_AUTH_SOCK; [2023-09-20T21:04:15.420Z] unset SSH_AGENT_PID; [2023-09-20T21:04:15.420Z] echo Agent pid 38 killed; [2023-09-20T21:04:15.428Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T21:04:15.728Z] + git semver [Pipeline] } [2023-09-20T21:04:15.997Z] $ docker stop --time=1 3a4ea35a119de5f4a2302fea7bc13ba2ba0bcadd6847828d80ef0c495f142a51 [2023-09-20T21:04:17.251Z] $ docker rm -f --volumes 3a4ea35a119de5f4a2302fea7bc13ba2ba0bcadd6847828d80ef0c495f142a51 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T21:04:17.575Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T21:04:17.575Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:04:17.873Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T21:04:17.873Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:04:17.938Z] prd-ubuntu20.04-docker-8c-8g-7227 does not seem to be running inside a container [2023-09-20T21:04:17.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T21:04:18.295Z] $ docker top fe2dee15ffda99c2b80e6b27de5a708f9d8fecca9a38eb0c503a451efa54f58c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T21:04:18.380Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T21:04:18.380Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T21:04:18.486Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T21:04:18.490Z] $ docker exec fe2dee15ffda99c2b80e6b27de5a708f9d8fecca9a38eb0c503a451efa54f58c ssh-agent [2023-09-20T21:04:18.589Z] SSH_AUTH_SOCK=/tmp/ssh-ZiiFUnEdePgb/agent.32 [2023-09-20T21:04:18.589Z] SSH_AGENT_PID=38 [2023-09-20T21:04:18.593Z] Running ssh-add (command line suppressed) [2023-09-20T21:04:18.696Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9716274985713125058.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9716274985713125058.key) [2023-09-20T21:04:18.707Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T21:04:18.989Z] + git semver push [2023-09-20T21:04:19.248Z] 2023-09-20 21:04:19,154 [run_push] DEBUG push [2023-09-20T21:04:19.248Z] 2023-09-20 21:04:19,155 [execute] INFO git cat-file --batch-check [2023-09-20T21:04:19.248Z] 2023-09-20 21:04:19,155 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T21:04:19.248Z] 2023-09-20 21:04:19,159 [execute] INFO git rev-list 33e1fe18d7f8d6ca81f287a5e0f30be5da248fd6 -- [2023-09-20T21:04:19.248Z] 2023-09-20 21:04:19,160 [execute] DEBUG Popen(['git', 'rev-list', '33e1fe18d7f8d6ca81f287a5e0f30be5da248fd6', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-20T21:04:19.248Z] 2023-09-20 21:04:19,168 [execute] INFO git fetch -v origin [2023-09-20T21:04:19.248Z] 2023-09-20 21:04:19,168 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-20T21:04:19.816Z] 2023-09-20 21:04:19,635 [run_push] DEBUG no remote changes detected [2023-09-20T21:04:19.816Z] 2023-09-20 21:04:19,636 [execute] INFO git push origin semver [2023-09-20T21:04:19.816Z] 2023-09-20 21:04:19,636 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-20T21:04:20.382Z] 2023-09-20 21:04:20,352 [run_push] DEBUG push all version tags [2023-09-20T21:04:20.382Z] 2023-09-20 21:04:20,353 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-20T21:04:20.382Z] 2023-09-20 21:04:20,353 [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-09-20T21:04:21.320Z] 2023-09-20 21:04:21,094 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-09-20T21:04:21.320Z] 3.0.3-dev.3 [Pipeline] } [2023-09-20T21:04:21.330Z] $ docker exec --env ******** --env ******** fe2dee15ffda99c2b80e6b27de5a708f9d8fecca9a38eb0c503a451efa54f58c ssh-agent -k [2023-09-20T21:04:21.432Z] unset SSH_AUTH_SOCK; [2023-09-20T21:04:21.433Z] unset SSH_AGENT_PID; [2023-09-20T21:04:21.433Z] echo Agent pid 38 killed; [2023-09-20T21:04:21.441Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T21:04:21.743Z] + git semver [Pipeline] } [2023-09-20T21:04:22.014Z] $ docker stop --time=1 fe2dee15ffda99c2b80e6b27de5a708f9d8fecca9a38eb0c503a451efa54f58c [2023-09-20T21:04:23.314Z] $ docker rm -f --volumes fe2dee15ffda99c2b80e6b27de5a708f9d8fecca9a38eb0c503a451efa54f58c [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-09-20T21:04:23.784Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2023-09-20T21:04:23.784Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-09-20T21:04:23.784Z] total 16 [2023-09-20T21:04:23.784Z] drwxr-xr-x 3 root root 4096 Sep 20 20:56 . [2023-09-20T21:04:23.784Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 21:04 .. [2023-09-20T21:04:23.784Z] drwxr-xr-x 2 root root 4096 Sep 20 20:56 cost [2023-09-20T21:04:23.784Z] -rw-r--r-- 1 root root 83 Sep 20 20:56 cost.csv [2023-09-20T21:04:23.784Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-09-20T21:04:23.784Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-09-20T21:04:23.784Z] total 16 [2023-09-20T21:04:23.784Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:56 . [2023-09-20T21:04:23.784Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 21:04 .. [2023-09-20T21:04:23.784Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 20:56 cost [2023-09-20T21:04:23.784Z] -rw-r--r-- 1 jenkins jenkins 83 Sep 20 20:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:04:24.072Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:04:24.927Z] ---> package-listing.sh [2023-09-20T21:04:24.927Z] ++ facter osfamily [2023-09-20T21:04:24.927Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T21:04:25.192Z] + OS_FAMILY=debian [2023-09-20T21:04:25.192Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2023-09-20T21:04:25.192Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T21:04:25.192Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T21:04:25.192Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T21:04:25.192Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T21:04:25.192Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-09-20T21:04:25.192Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T21:04:25.192Z] + case "${OS_FAMILY}" in [2023-09-20T21:04:25.192Z] + dpkg -l [2023-09-20T21:04:25.192Z] + grep '^ii' [2023-09-20T21:04:25.192Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T21:04:25.192Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T21:04:25.192Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T21:04:25.192Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-09-20T21:04:25.192Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2023-09-20T21:04:25.192Z] + 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-09-20T21:04:25.201Z] 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-09-20T21:04:25.475Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T21:04:26.031Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T21:04:26.031Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T21:04:26.100Z] prd-ubuntu20.04-docker-8c-8g-7227 does not seem to be running inside a container [2023-09-20T21:04:26.128Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T21:04:26.349Z] $ docker top 05c825609928caaaf2e892ee24aa45e4d01af51f69ec247f3ea7fc8e3ec57cc9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T21:04:26.690Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T21:04:26.975Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T21:04:27.258Z] + ls /var/log/sa-host [2023-09-20T21:04:27.258Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T21:04:27.332Z] provisioning config files... [2023-09-20T21:04:27.339Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8163310475571732680tmp [Pipeline] { [Pipeline] echo [2023-09-20T21:04:27.352Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:04:27.633Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T21:04:27.640Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:04:27.957Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T21:04:27.964Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:04:28.247Z] ---> sudo-logs.sh [2023-09-20T21:04:28.247Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T21:04:28.272Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:04:28.550Z] ---> job-cost.sh [2023-09-20T21:04:28.551Z] lf-activate-venv: SKIPPING [2023-09-20T21:04:28.551Z] DEBUG: total: 0.2199999988079071 [2023-09-20T21:04:28.551Z] INFO: Retrieving Stack Cost... [2023-09-20T21:04:33.823Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T21:04:33.823Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T21:04:33.834Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T21:04:34.115Z] ---> logs-deploy.sh [2023-09-20T21:04:34.115Z] lf-activate-venv: SKIPPING [2023-09-20T21:04:34.115Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/61 [2023-09-20T21:04:34.115Z] INFO: archiving workspace using pattern(s): [2023-09-20T21:04:35.051Z] Archives upload complete. [2023-09-20T21:04:35.051Z] INFO: archiving logs to Nexus