Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 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-ssh4649224547814631469.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-ssh17781883394769325151.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-ssh14581941231238108798.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-ssh7779061923883284230.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-ssh8240251767105024788.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8609 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 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 (main) Commit message: "feat!: load common configuration from config provider (#484)" > 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 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 # timeout=10 > git rev-list --no-walk b359547df5a09ee3070876df63645d58a75503b0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-06T03:16:38.587Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-06T03:16:38.633Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-06T03:16:38.645Z] ========================================================= [2023-10-06T03:16:38.646Z] EdgeX Global Pipelines Version Info [2023-10-06T03:16:38.646Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-06T03:16:39.405Z] ------------------- [2023-10-06T03:16:39.405Z] stable info: [2023-10-06T03:16:39.405Z] ------------------- [2023-10-06T03:16:39.405Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-06T03:16:39.405Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-06T03:16:39.405Z] Message: update stable to v1.0.254 [2023-10-06T03:16:39.975Z] ------------------- [2023-10-06T03:16:39.975Z] experimental info: [2023-10-06T03:16:39.975Z] ------------------- [2023-10-06T03:16:39.975Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-06T03:16:39.975Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-06T03:16:39.975Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-06T03:16:40.148Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-10-06T03:16:40.157Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-10-06T03:16:40.165Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-06T03:16:40.173Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-06T03:16:40.181Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-06T03:16:40.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-10-06T03:16:40.212Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-10-06T03:16:40.222Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-06T03:16:40.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-06T03:16:40.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-10-06T03:16:40.250Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-06T03:16:40.260Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-06T03:16:40.273Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-06T03:16:40.286Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-10-06T03:16:40.297Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-06T03:16:40.313Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-06T03:16:40.330Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-06T03:16:40.342Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-06T03:16:40.354Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-06T03:16:40.370Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-06T03:16:40.382Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 [Pipeline] echo [2023-10-06T03:16:40.397Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4c52de3 [Pipeline] echo [2023-10-06T03:16:40.406Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-06T03:16:40.454Z] provisioning config files... [2023-10-06T03:16:40.466Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7796089968899330620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-06T03:16:40.767Z] ---> docker-login.sh [2023-10-06T03:16:40.767Z] nexus3.edgexfoundry.org:10001 [2023-10-06T03:16:41.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T03:16:41.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T03:16:41.300Z] Configure a credential helper to remove this warning. See [2023-10-06T03:16:41.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T03:16:41.300Z] [2023-10-06T03:16:41.300Z] Login Succeeded [2023-10-06T03:16:41.300Z] nexus3.edgexfoundry.org:10002 [2023-10-06T03:16:41.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T03:16:41.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T03:16:41.300Z] Configure a credential helper to remove this warning. See [2023-10-06T03:16:41.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T03:16:41.300Z] [2023-10-06T03:16:41.300Z] Login Succeeded [2023-10-06T03:16:41.300Z] nexus3.edgexfoundry.org:10003 [2023-10-06T03:16:41.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T03:16:41.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T03:16:41.560Z] Configure a credential helper to remove this warning. See [2023-10-06T03:16:41.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T03:16:41.560Z] [2023-10-06T03:16:41.560Z] Login Succeeded [2023-10-06T03:16:41.560Z] nexus3.edgexfoundry.org:10004 [2023-10-06T03:16:41.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T03:16:41.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T03:16:41.560Z] Configure a credential helper to remove this warning. See [2023-10-06T03:16:41.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T03:16:41.560Z] [2023-10-06T03:16:41.560Z] Login Succeeded [2023-10-06T03:16:41.820Z] docker.io [2023-10-06T03:16:41.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T03:16:42.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T03:16:42.080Z] Configure a credential helper to remove this warning. See [2023-10-06T03:16:42.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T03:16:42.080Z] [2023-10-06T03:16:42.080Z] Login Succeeded [2023-10-06T03:16:42.080Z] ---> docker-login.sh ends [Pipeline] } [2023-10-06T03:16:42.088Z] 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-10-06T03:16:42.465Z] + git rev-list -1 --merges 4c52de37db7d3bd0277fba2739b75d0a1bd475b3~1..4c52de37db7d3bd0277fba2739b75d0a1bd475b3 [Pipeline] echo [2023-10-06T03:16:42.520Z] -----------> git rev-list -1 --merges 4c52de37db7d3bd0277fba2739b75d0a1bd475b3~1..4c52de37db7d3bd0277fba2739b75d0a1bd475b3 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 [false] [Pipeline] sh [2023-10-06T03:16:42.808Z] + git log --format=format:%s -1 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 [Pipeline] echo [2023-10-06T03:16:42.839Z] ========================================================= [2023-10-06T03:16:42.840Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-06T03:16:42.840Z] ========================================================= 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-10-06T03:16:43.227Z] + git rev-list -1 --merges 4c52de37db7d3bd0277fba2739b75d0a1bd475b3~1..4c52de37db7d3bd0277fba2739b75d0a1bd475b3 [Pipeline] echo [2023-10-06T03:16:43.238Z] -----------> git rev-list -1 --merges 4c52de37db7d3bd0277fba2739b75d0a1bd475b3~1..4c52de37db7d3bd0277fba2739b75d0a1bd475b3 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 [false] [Pipeline] sh [2023-10-06T03:16:43.525Z] + git log --format=format:%s -1 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 [Pipeline] echo [2023-10-06T03:16:43.539Z] ========================================================= [2023-10-06T03:16:43.539Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-06T03:16:43.539Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-10-06T03:16:43.955Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-06T03:16:43.955Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-06T03:16:43.955Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-06T03:16:43.955Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-06T03:16:43.955Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-06T03:16:43.955Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-06T03:16:43.955Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T03:16:44.301Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-06T03:16:44.301Z] [2023-10-06T03:16:44.301Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T03:16:44.598Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-06T03:16:44.598Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-06T03:16:44.598Z] b85a868b505f: Pulling fs layer [2023-10-06T03:16:44.598Z] e2be974225ed: Pulling fs layer [2023-10-06T03:16:44.598Z] 339a4e72a1f5: Pulling fs layer [2023-10-06T03:16:44.598Z] 988bab9f4d93: Pulling fs layer [2023-10-06T03:16:44.598Z] 1469e6f7b9e6: Pulling fs layer [2023-10-06T03:16:44.598Z] eaf3925da568: Pulling fs layer [2023-10-06T03:16:44.598Z] bab4dde63d76: Pulling fs layer [2023-10-06T03:16:44.598Z] bde34c3a00c8: Pulling fs layer [2023-10-06T03:16:44.598Z] b352a97aabf1: Pulling fs layer [2023-10-06T03:16:44.598Z] 4872d77fe225: Pulling fs layer [2023-10-06T03:16:44.598Z] 5851b861e8e6: Pulling fs layer [2023-10-06T03:16:44.598Z] 988bab9f4d93: Waiting [2023-10-06T03:16:44.598Z] b352a97aabf1: Waiting [2023-10-06T03:16:44.598Z] 1469e6f7b9e6: Waiting [2023-10-06T03:16:44.598Z] 4872d77fe225: Waiting [2023-10-06T03:16:44.598Z] 5851b861e8e6: Waiting [2023-10-06T03:16:44.598Z] eaf3925da568: Waiting [2023-10-06T03:16:44.598Z] bde34c3a00c8: Waiting [2023-10-06T03:16:44.598Z] bab4dde63d76: Waiting [2023-10-06T03:16:44.598Z] e2be974225ed: Download complete [2023-10-06T03:16:44.598Z] 988bab9f4d93: Verifying Checksum [2023-10-06T03:16:44.598Z] 988bab9f4d93: Download complete [2023-10-06T03:16:44.598Z] 1469e6f7b9e6: Verifying Checksum [2023-10-06T03:16:44.598Z] 1469e6f7b9e6: Download complete [2023-10-06T03:16:44.598Z] eaf3925da568: Verifying Checksum [2023-10-06T03:16:44.598Z] eaf3925da568: Download complete [2023-10-06T03:16:44.598Z] 339a4e72a1f5: Verifying Checksum [2023-10-06T03:16:44.598Z] 339a4e72a1f5: Download complete [2023-10-06T03:16:44.857Z] bde34c3a00c8: Download complete [2023-10-06T03:16:44.857Z] b352a97aabf1: Download complete [2023-10-06T03:16:44.857Z] 4872d77fe225: Verifying Checksum [2023-10-06T03:16:44.857Z] 4872d77fe225: Download complete [2023-10-06T03:16:44.857Z] 5851b861e8e6: Verifying Checksum [2023-10-06T03:16:44.857Z] 5851b861e8e6: Download complete [2023-10-06T03:16:44.857Z] b85a868b505f: Verifying Checksum [2023-10-06T03:16:44.857Z] b85a868b505f: Download complete [2023-10-06T03:16:45.116Z] bab4dde63d76: Verifying Checksum [2023-10-06T03:16:45.116Z] bab4dde63d76: Download complete [2023-10-06T03:16:46.051Z] b85a868b505f: Pull complete [2023-10-06T03:16:46.311Z] e2be974225ed: Pull complete [2023-10-06T03:16:46.878Z] 339a4e72a1f5: Pull complete [2023-10-06T03:16:46.878Z] 988bab9f4d93: Pull complete [2023-10-06T03:16:47.136Z] 1469e6f7b9e6: Pull complete [2023-10-06T03:16:47.395Z] eaf3925da568: Pull complete [2023-10-06T03:16:49.296Z] bab4dde63d76: Pull complete [2023-10-06T03:16:49.296Z] bde34c3a00c8: Pull complete [2023-10-06T03:16:49.296Z] b352a97aabf1: Pull complete [2023-10-06T03:16:49.554Z] 4872d77fe225: Pull complete [2023-10-06T03:16:49.554Z] 5851b861e8e6: Pull complete [2023-10-06T03:16:49.554Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-06T03:16:49.554Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-06T03:16:49.554Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-06T03:16:49.658Z] prd-ubuntu20.04-docker-8c-8g-8609 does not seem to be running inside a container [2023-10-06T03:16:49.694Z] $ 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-10-06T03:16:52.270Z] $ docker top 715887ccb0e8735851c6b1f16450979ce455c84a48012487bd1128592b2cbfd7 -eo pid,comm [2023-10-06T03:16:52.329Z] 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-10-06T03:16:52.329Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-06T03:16:52.374Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-06T03:16:52.374Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-06T03:16:52.484Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-06T03:16:52.490Z] $ docker exec 715887ccb0e8735851c6b1f16450979ce455c84a48012487bd1128592b2cbfd7 ssh-agent [2023-10-06T03:16:52.600Z] SSH_AUTH_SOCK=/tmp/ssh-ldQP3TAgME28/agent.33 [2023-10-06T03:16:52.600Z] SSH_AGENT_PID=39 [2023-10-06T03:16:52.607Z] Running ssh-add (command line suppressed) [2023-10-06T03:16:52.709Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11925285414646654169.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11925285414646654169.key) [2023-10-06T03:16:52.721Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-06T03:16:53.010Z] + git tag --points-at HEAD [Pipeline] } [2023-10-06T03:16:53.023Z] $ docker exec --env ******** --env ******** 715887ccb0e8735851c6b1f16450979ce455c84a48012487bd1128592b2cbfd7 ssh-agent -k [2023-10-06T03:16:53.117Z] unset SSH_AUTH_SOCK; [2023-10-06T03:16:53.118Z] unset SSH_AGENT_PID; [2023-10-06T03:16:53.118Z] echo Agent pid 39 killed; [2023-10-06T03:16:53.129Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-06T03:16:53.160Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-06T03:16:53.160Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-06T03:16:53.283Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-06T03:16:53.289Z] $ docker exec 715887ccb0e8735851c6b1f16450979ce455c84a48012487bd1128592b2cbfd7 ssh-agent [2023-10-06T03:16:53.384Z] SSH_AUTH_SOCK=/tmp/ssh-kn3YrSrNdLsU/agent.71 [2023-10-06T03:16:53.384Z] SSH_AGENT_PID=77 [2023-10-06T03:16:53.389Z] Running ssh-add (command line suppressed) [2023-10-06T03:16:53.509Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_16682626055294231935.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_16682626055294231935.key) [2023-10-06T03:16:53.521Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-06T03:16:53.809Z] + git semver init [2023-10-06T03:16:54.069Z] 2023-10-06 03:16:53,978 [run_init] DEBUG init version:0.0.0 force:False [2023-10-06T03:16:54.069Z] 2023-10-06 03:16:53,979 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-10-06T03:16:54.069Z] 2023-10-06 03:16:53,979 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2023-10-06T03:16:54.069Z] 2023-10-06 03:16:53,979 [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-10-06T03:16:55.007Z] 2023-10-06 03:16:54,855 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2023-10-06T03:16:55.007Z] 2023-10-06 03:16:54,856 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2023-10-06T03:16:55.008Z] 2023-10-06 03:16:54,856 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-10-06T03:16:55.008Z] 2023-10-06 03:16:54,856 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-10-06T03:16:55.008Z] 3.0.3-dev.3 [Pipeline] } [2023-10-06T03:16:55.020Z] $ docker exec --env ******** --env ******** 715887ccb0e8735851c6b1f16450979ce455c84a48012487bd1128592b2cbfd7 ssh-agent -k [2023-10-06T03:16:55.118Z] unset SSH_AUTH_SOCK; [2023-10-06T03:16:55.118Z] unset SSH_AGENT_PID; [2023-10-06T03:16:55.118Z] echo Agent pid 77 killed; [2023-10-06T03:16:55.126Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-06T03:16:55.428Z] + git semver [Pipeline] } [2023-10-06T03:16:55.704Z] $ docker stop --time=1 715887ccb0e8735851c6b1f16450979ce455c84a48012487bd1128592b2cbfd7 [2023-10-06T03:16:56.996Z] $ docker rm -f --volumes 715887ccb0e8735851c6b1f16450979ce455c84a48012487bd1128592b2cbfd7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-06T03:16:57.328Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-06T03:16:57.534Z] Stashed 1 file(s) [Pipeline] echo [2023-10-06T03:16:57.537Z] [edgeXSemver]: initialized semver on version 3.0.3-dev.3 [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-10-06T03:16:57.628Z] provisioning config files... [2023-10-06T03:16:57.637Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config13915585326645163837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-06T03:16:57.926Z] ---> docker-login.sh [2023-10-06T03:16:57.926Z] nexus3.edgexfoundry.org:10001 [2023-10-06T03:16:57.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T03:16:57.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T03:16:57.926Z] Configure a credential helper to remove this warning. See [2023-10-06T03:16:57.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T03:16:57.926Z] [2023-10-06T03:16:57.926Z] Login Succeeded [2023-10-06T03:16:57.926Z] nexus3.edgexfoundry.org:10002 [2023-10-06T03:16:57.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T03:16:57.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T03:16:57.926Z] Configure a credential helper to remove this warning. See [2023-10-06T03:16:57.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T03:16:57.926Z] [2023-10-06T03:16:57.926Z] Login Succeeded [2023-10-06T03:16:57.926Z] nexus3.edgexfoundry.org:10003 [2023-10-06T03:16:58.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T03:16:58.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T03:16:58.186Z] Configure a credential helper to remove this warning. See [2023-10-06T03:16:58.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T03:16:58.186Z] [2023-10-06T03:16:58.186Z] Login Succeeded [2023-10-06T03:16:58.186Z] nexus3.edgexfoundry.org:10004 [2023-10-06T03:16:58.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T03:16:58.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T03:16:58.186Z] Configure a credential helper to remove this warning. See [2023-10-06T03:16:58.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T03:16:58.186Z] [2023-10-06T03:16:58.186Z] Login Succeeded [2023-10-06T03:16:58.186Z] docker.io [2023-10-06T03:16:58.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T03:16:58.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T03:16:58.445Z] Configure a credential helper to remove this warning. See [2023-10-06T03:16:58.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T03:16:58.445Z] [2023-10-06T03:16:58.445Z] Login Succeeded [2023-10-06T03:16:58.445Z] ---> docker-login.sh ends [Pipeline] } [2023-10-06T03:16:58.453Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-06T03:16:58.505Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-06T03:16:58.513Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-10-06T03:16:58.519Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-06T03:16:58.525Z] ========================================================= [2023-10-06T03:16:58.525Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-10-06T03:16:58.525Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T03:16:58.816Z] + 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-10-06T03:16:58.817Z] Sending build context to Docker daemon 4.905MB [2023-10-06T03:16:58.817Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-10-06T03:16:58.817Z] Step 2/21 : FROM ${BASE} as builder [2023-10-06T03:16:58.817Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-10-06T03:16:58.817Z] 91d30c5bc195: Pulling fs layer [2023-10-06T03:16:58.817Z] 316e5a4585fb: Pulling fs layer [2023-10-06T03:16:59.075Z] 91d30c5bc195: Verifying Checksum [2023-10-06T03:16:59.075Z] 91d30c5bc195: Download complete [2023-10-06T03:16:59.075Z] 91d30c5bc195: Pull complete [2023-10-06T03:16:59.641Z] 316e5a4585fb: Verifying Checksum [2023-10-06T03:16:59.641Z] 316e5a4585fb: Download complete [2023-10-06T03:17:02.926Z] 316e5a4585fb: Pull complete [2023-10-06T03:17:02.926Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-10-06T03:17:02.926Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-10-06T03:17:02.926Z] ---> e83ffa357ff4 [2023-10-06T03:17:02.926Z] 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-10-06T03:17:04.302Z] ---> Running in 66a9e4349b43 [2023-10-06T03:17:04.560Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-10-06T03:17:05.127Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-06T03:17:05.127Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-06T03:17:05.127Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-06T03:17:05.386Z] Removing intermediate container 66a9e4349b43 [2023-10-06T03:17:05.386Z] ---> 55649b6574cb [2023-10-06T03:17:05.386Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-06T03:17:05.386Z] ---> Running in 1cbd8c9b4f83 [2023-10-06T03:17:05.954Z] Removing intermediate container 1cbd8c9b4f83 [2023-10-06T03:17:05.955Z] ---> 0f253745c8c4 [2023-10-06T03:17:05.955Z] 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-10-06T03:17:05.955Z] ---> Running in b49878ceaa05 [2023-10-06T03:17:06.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-06T03:17:06.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-10-06T03:17:06.472Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-06T03:17:07.038Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-06T03:17:07.039Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-06T03:17:07.039Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-06T03:17:07.039Z] (3/16) Installing hiredis (1.0.2-r0) [2023-10-06T03:17:07.039Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-10-06T03:17:07.039Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-06T03:17:07.975Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-06T03:17:07.975Z] (7/16) Installing libcbor (0.9.0-r1) [2023-10-06T03:17:07.975Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-10-06T03:17:07.975Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-06T03:17:07.975Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-06T03:17:08.545Z] (11/16) Installing libblkid (2.38-r1) [2023-10-06T03:17:08.545Z] (12/16) Installing libuuid (2.38-r1) [2023-10-06T03:17:08.545Z] (13/16) Installing libfdisk (2.38-r1) [2023-10-06T03:17:08.545Z] (14/16) Installing libmount (2.38-r1) [2023-10-06T03:17:08.545Z] (15/16) Installing libsmartcols (2.38-r1) [2023-10-06T03:17:08.545Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-10-06T03:17:08.804Z] Executing busybox-1.35.0-r17.trigger [2023-10-06T03:17:08.805Z] OK: 280 MiB in 90 packages [2023-10-06T03:17:09.373Z] Removing intermediate container b49878ceaa05 [2023-10-06T03:17:09.373Z] ---> 0fdbf4747701 [2023-10-06T03:17:09.373Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-10-06T03:17:09.373Z] ---> Running in 569c1d069728 [2023-10-06T03:17:09.942Z] Removing intermediate container 569c1d069728 [2023-10-06T03:17:09.942Z] ---> 907a43db0244 [2023-10-06T03:17:09.942Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-10-06T03:17:09.942Z] ---> e9cfd001943c [2023-10-06T03:17:09.942Z] Step 8/21 : COPY src /tmp/sdk/src [2023-10-06T03:17:10.200Z] ---> a49f57e30468 [2023-10-06T03:17:10.201Z] Step 9/21 : COPY include /tmp/sdk/include [2023-10-06T03:17:10.201Z] ---> 4f03cfc35eca [2023-10-06T03:17:10.201Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-10-06T03:17:10.459Z] ---> 28d21938045a [2023-10-06T03:17:10.459Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-10-06T03:17:10.459Z] ---> 0d7a6c86d34d [2023-10-06T03:17:10.459Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-10-06T03:17:10.719Z] ---> 50eedf0a241d [2023-10-06T03:17:10.719Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-10-06T03:17:10.719Z] ---> Running in 9739a997a1df [2023-10-06T03:17:10.978Z] + CPPCHECK=false [2023-10-06T03:17:10.978Z] + DOCGEN=false [2023-10-06T03:17:10.978Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-10-06T03:17:10.978Z] + '[' 0 -gt 0 ] [2023-10-06T03:17:10.978Z] + readlink -f ./scripts/build.sh [2023-10-06T03:17:10.978Z] + dirname /tmp/sdk/scripts/build.sh [2023-10-06T03:17:10.978Z] + dirname /tmp/sdk/scripts [2023-10-06T03:17:10.978Z] + ROOT=/tmp/sdk [2023-10-06T03:17:10.978Z] + cd /tmp/sdk [2023-10-06T03:17:10.978Z] + mkdir -p /tmp/sdk/build/release [2023-10-06T03:17:10.978Z] + cd /tmp/sdk/build/release [2023-10-06T03:17:10.978Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-10-06T03:17:10.978Z] -- The C compiler identification is GNU 11.2.1 [2023-10-06T03:17:10.978Z] -- Detecting C compiler ABI info [2023-10-06T03:17:11.236Z] -- Detecting C compiler ABI info - done [2023-10-06T03:17:11.236Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-06T03:17:11.236Z] -- Detecting C compile features [2023-10-06T03:17:11.236Z] -- Detecting C compile features - done [2023-10-06T03:17:11.236Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-06T03:17:11.236Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-06T03:17:11.236Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-06T03:17:11.236Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-06T03:17:11.236Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-06T03:17:11.236Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-06T03:17:11.236Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-06T03:17:11.236Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-06T03:17:11.236Z] -- /opt/iotech/iot/1.5/include [2023-10-06T03:17:11.236Z] -- C SDK 3.0.3-dev.3 for Linux [2023-10-06T03:17:11.236Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-06T03:17:11.236Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-06T03:17:11.496Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-06T03:17:11.496Z] -- Configuring done [2023-10-06T03:17:11.496Z] -- Generating done [2023-10-06T03:17:11.496Z] -- Build files have been written to: /tmp/sdk/build/release [2023-10-06T03:17:11.496Z] + make all package+ [2023-10-06T03:17:11.496Z] tee release.log [2023-10-06T03:17:11.496Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-06T03:17:11.496Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-06T03:17:11.754Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-06T03:17:12.013Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-06T03:17:12.013Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-06T03:17:12.271Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-06T03:17:12.530Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-06T03:17:12.598Z] Still waiting to schedule task [2023-10-06T03:17:12.598Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-06T03:17:12.789Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-10-06T03:17:12.789Z] /tmp/sdk/src/c/consul.c:297:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-06T03:17:12.789Z] 297 | while (privateConfig) [2023-10-06T03:17:12.789Z] | ^~~~~~~~~~~~~ [2023-10-06T03:17:12.789Z] /tmp/sdk/src/c/consul.c:274:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-06T03:17:12.789Z] 274 | while (result) [2023-10-06T03:17:12.789Z] | ^~~~~~ [2023-10-06T03:17:12.789Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-06T03:17:12.789Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-06T03:17:13.048Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-06T03:17:13.307Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-06T03:17:13.307Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-06T03:17:13.566Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-06T03:17:13.825Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-06T03:17:13.825Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-06T03:17:14.083Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-06T03:17:14.083Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-06T03:17:14.343Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-06T03:17:14.601Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-06T03:17:14.601Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-06T03:17:14.860Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-06T03:17:15.798Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-06T03:17:15.798Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-06T03:17:15.798Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-06T03:17:16.056Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-06T03:17:16.056Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-06T03:17:16.318Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-06T03:17:16.576Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-06T03:17:16.834Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-06T03:17:16.834Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-06T03:17:17.097Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-06T03:17:17.663Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-06T03:17:17.663Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-06T03:17:17.663Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-06T03:17:17.921Z] [ 68%] Linking C shared library libcsdk.so [2023-10-06T03:17:17.921Z] [ 68%] Built target csdk [2023-10-06T03:17:17.921Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-06T03:17:17.921Z] [ 72%] Linking C executable template [2023-10-06T03:17:18.179Z] [ 72%] Built target template [2023-10-06T03:17:18.179Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-06T03:17:18.179Z] [ 76%] Linking C executable device-counter [2023-10-06T03:17:18.179Z] [ 76%] Built target device-counter [2023-10-06T03:17:18.179Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-06T03:17:18.437Z] [ 80%] Linking C executable device-random [2023-10-06T03:17:18.437Z] [ 80%] Built target device-random [2023-10-06T03:17:18.437Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-06T03:17:18.437Z] [ 84%] Linking C executable device-gyro [2023-10-06T03:17:18.695Z] [ 84%] Built target device-gyro [2023-10-06T03:17:18.695Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-06T03:17:18.695Z] [ 88%] Linking C executable device-bitfields [2023-10-06T03:17:18.695Z] [ 88%] Built target device-bitfields [2023-10-06T03:17:18.695Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-06T03:17:18.953Z] [ 92%] Linking C executable template-discovery [2023-10-06T03:17:18.953Z] [ 92%] Built target template-discovery [2023-10-06T03:17:18.953Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-06T03:17:19.211Z] [ 96%] Linking C executable device-file [2023-10-06T03:17:19.211Z] [ 96%] Built target device-file [2023-10-06T03:17:19.211Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-06T03:17:19.469Z] [100%] Linking C executable device-terminal [2023-10-06T03:17:19.469Z] [100%] Built target device-terminal [2023-10-06T03:17:19.469Z] Run CPack packaging tool... [2023-10-06T03:17:19.469Z] CPack: Create package using TGZ [2023-10-06T03:17:19.469Z] CPack: Install projects [2023-10-06T03:17:19.469Z] CPack: - Run preinstall target for: Csdk [2023-10-06T03:17:19.726Z] CPack: - Install project: Csdk [] [2023-10-06T03:17:19.726Z] CPack: Create package [2023-10-06T03:17:19.726Z] CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.3.tar.gz generated. [2023-10-06T03:17:19.726Z] + '[' false '=' true ] [2023-10-06T03:17:19.726Z] + '[' false '=' true ] [2023-10-06T03:17:19.726Z] + mkdir -p /tmp/sdk/build/debug [2023-10-06T03:17:19.726Z] + cd /tmp/sdk/build/debug [2023-10-06T03:17:19.726Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-10-06T03:17:19.726Z] -- The C compiler identification is GNU 11.2.1 [2023-10-06T03:17:19.726Z] -- Detecting C compiler ABI info [2023-10-06T03:17:19.985Z] -- Detecting C compiler ABI info - done [2023-10-06T03:17:19.985Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-06T03:17:19.985Z] -- Detecting C compile features [2023-10-06T03:17:19.985Z] -- Detecting C compile features - done [2023-10-06T03:17:19.985Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-06T03:17:19.985Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-06T03:17:19.985Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-06T03:17:19.985Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-06T03:17:19.985Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-06T03:17:19.985Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-06T03:17:19.985Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-06T03:17:19.985Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-06T03:17:19.985Z] -- /opt/iotech/iot/1.5/include [2023-10-06T03:17:19.985Z] -- C SDK 3.0.3-dev.3 for Linux [2023-10-06T03:17:19.985Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-06T03:17:19.985Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-06T03:17:19.985Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-06T03:17:19.986Z] -- Configuring done [2023-10-06T03:17:20.245Z] -- Generating done [2023-10-06T03:17:20.245Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-10-06T03:17:20.245Z] + make [2023-10-06T03:17:20.245Z] + tee debug.log [2023-10-06T03:17:20.245Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-06T03:17:20.245Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-06T03:17:20.245Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-06T03:17:20.503Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-06T03:17:20.503Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-06T03:17:20.503Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-06T03:17:20.768Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-06T03:17:20.768Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-06T03:17:20.768Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-06T03:17:21.026Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-06T03:17:21.026Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-06T03:17:21.026Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-06T03:17:21.287Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-06T03:17:21.287Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-06T03:17:21.287Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-06T03:17:21.546Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-06T03:17:21.546Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-06T03:17:21.546Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-06T03:17:21.803Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-06T03:17:21.803Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-06T03:17:21.803Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-06T03:17:22.062Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-06T03:17:22.322Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-06T03:17:22.322Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-06T03:17:22.322Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-06T03:17:22.322Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-06T03:17:22.581Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-06T03:17:22.840Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-06T03:17:22.840Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-06T03:17:22.840Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-06T03:17:22.840Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-06T03:17:23.099Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-06T03:17:23.099Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-06T03:17:23.359Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-06T03:17:23.359Z] [ 68%] Linking C shared library libcsdk.so [2023-10-06T03:17:23.359Z] [ 68%] Built target csdk [2023-10-06T03:17:23.359Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-06T03:17:23.359Z] [ 72%] Linking C executable template [2023-10-06T03:17:23.619Z] [ 72%] Built target template [2023-10-06T03:17:23.619Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-06T03:17:23.619Z] [ 76%] Linking C executable device-counter [2023-10-06T03:17:23.619Z] [ 76%] Built target device-counter [2023-10-06T03:17:23.619Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-06T03:17:23.619Z] [ 80%] Linking C executable device-random [2023-10-06T03:17:23.878Z] [ 80%] Built target device-random [2023-10-06T03:17:23.878Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-06T03:17:23.878Z] [ 84%] Linking C executable device-gyro [2023-10-06T03:17:23.878Z] [ 84%] Built target device-gyro [2023-10-06T03:17:23.878Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-06T03:17:24.136Z] [ 88%] Linking C executable device-bitfields [2023-10-06T03:17:24.136Z] [ 88%] Built target device-bitfields [2023-10-06T03:17:24.136Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-06T03:17:24.136Z] [ 92%] Linking C executable template-discovery [2023-10-06T03:17:24.136Z] [ 92%] Built target template-discovery [2023-10-06T03:17:24.136Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-06T03:17:24.394Z] [ 96%] Linking C executable device-file [2023-10-06T03:17:24.394Z] [ 96%] Built target device-file [2023-10-06T03:17:24.394Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-06T03:17:24.394Z] [100%] Linking C executable device-terminal [2023-10-06T03:17:24.652Z] [100%] Built target device-terminal [2023-10-06T03:17:24.652Z] make: Entering directory '/tmp/sdk/build/release' [2023-10-06T03:17:24.652Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-10-06T03:17:24.652Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T03:17:24.652Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T03:17:24.652Z] [ 68%] Built target csdk [2023-10-06T03:17:24.652Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T03:17:24.652Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T03:17:24.652Z] [ 72%] Built target template [2023-10-06T03:17:24.652Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T03:17:24.652Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T03:17:24.652Z] [ 76%] Built target device-counter [2023-10-06T03:17:24.652Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T03:17:24.652Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T03:17:24.652Z] [ 80%] Built target device-random [2023-10-06T03:17:24.652Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T03:17:24.652Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T03:17:24.652Z] [ 84%] Built target device-gyro [2023-10-06T03:17:24.652Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T03:17:24.652Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T03:17:24.652Z] [ 88%] Built target device-bitfields [2023-10-06T03:17:24.652Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T03:17:24.652Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T03:17:24.652Z] [ 92%] Built target template-discovery [2023-10-06T03:17:24.652Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T03:17:24.652Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T03:17:24.652Z] [ 96%] Built target device-file [2023-10-06T03:17:24.652Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T03:17:24.652Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T03:17:24.652Z] [100%] Built target device-terminal [2023-10-06T03:17:24.652Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T03:17:24.652Z] Install the project... [2023-10-06T03:17:24.964Z] -- Install configuration: "Release" [2023-10-06T03:17:24.964Z] -- Installing: /usr/local/lib/libcsdk.so [2023-10-06T03:17:24.964Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-10-06T03:17:24.964Z] -- Installing: /usr/local/include [2023-10-06T03:17:24.964Z] -- Installing: /usr/local/include/devsdk [2023-10-06T03:17:24.964Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-10-06T03:17:24.964Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-10-06T03:17:24.964Z] -- Installing: /usr/local/include/edgex [2023-10-06T03:17:24.964Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-10-06T03:17:24.964Z] -- Installing: /usr/local/include/edgex/devices.h [2023-10-06T03:17:24.964Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-10-06T03:17:24.964Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-10-06T03:17:24.964Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-10-06T03:17:24.964Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-10-06T03:17:24.964Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-10-06T03:17:24.964Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-10-06T03:17:24.964Z] make: Leaving directory '/tmp/sdk/build/release' [2023-10-06T03:17:25.532Z] Removing intermediate container 9739a997a1df [2023-10-06T03:17:25.532Z] ---> d3796cd83b86 [2023-10-06T03:17:25.532Z] Step 14/21 : FROM ${BASE} [2023-10-06T03:17:25.532Z] ---> e83ffa357ff4 [2023-10-06T03:17:25.532Z] Step 15/21 : LABEL maintainer="IOTech " [2023-10-06T03:17:25.532Z] ---> Running in dd63d90ff6a9 [2023-10-06T03:17:25.532Z] Removing intermediate container dd63d90ff6a9 [2023-10-06T03:17:25.532Z] ---> fccbb9212ed9 [2023-10-06T03:17:25.532Z] 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-10-06T03:17:25.792Z] ---> Running in ee68c4bba04e [2023-10-06T03:17:25.792Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-10-06T03:17:26.360Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-06T03:17:26.360Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-06T03:17:26.360Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-06T03:17:26.619Z] Removing intermediate container ee68c4bba04e [2023-10-06T03:17:26.619Z] ---> d122ab13f6cd [2023-10-06T03:17:26.619Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-06T03:17:26.619Z] ---> Running in 2c321b5d0a96 [2023-10-06T03:17:27.188Z] Removing intermediate container 2c321b5d0a96 [2023-10-06T03:17:27.188Z] ---> 3c8191b981c6 [2023-10-06T03:17:27.188Z] 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-10-06T03:17:27.188Z] ---> Running in 5268a7f0d278 [2023-10-06T03:17:27.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-06T03:17:27.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-10-06T03:17:27.707Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-06T03:17:28.276Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-06T03:17:28.276Z] (1/7) Installing curl (8.3.0-r0) [2023-10-06T03:17:28.276Z] (2/7) Installing hiredis (1.0.2-r0) [2023-10-06T03:17:28.276Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-10-06T03:17:28.276Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-10-06T03:17:28.844Z] (5/7) Installing libcbor (0.9.0-r1) [2023-10-06T03:17:29.104Z] (6/7) Installing libuuid (2.38-r1) [2023-10-06T03:17:29.104Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-06T03:17:29.672Z] Executing busybox-1.35.0-r17.trigger [2023-10-06T03:17:29.672Z] OK: 276 MiB in 83 packages [2023-10-06T03:17:30.242Z] Removing intermediate container 5268a7f0d278 [2023-10-06T03:17:30.242Z] ---> 1ad514d7d1d1 [2023-10-06T03:17:30.242Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-10-06T03:17:30.242Z] ---> 0cccd8eb9880 [2023-10-06T03:17:30.242Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-10-06T03:17:30.502Z] ---> 93bec7e612b3 [2023-10-06T03:17:30.502Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-10-06T03:17:30.502Z] ---> 49323ec6f7f6 [2023-10-06T03:17:30.502Z] Successfully built 49323ec6f7f6 [2023-10-06T03:17:30.502Z] 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-10-06T03:17:30.874Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-06T03:17:30.874Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-06T03:17:30.944Z] prd-ubuntu20.04-docker-8c-8g-8609 does not seem to be running inside a container [2023-10-06T03:17:30.977Z] $ 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-10-06T03:17:31.307Z] $ docker top bc3e858e43b3734372d70342c614a0addd97e077bf736f153486137c0e5861d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-06T03:17:31.644Z] + make test [2023-10-06T03:17:31.645Z] echo "make test" [2023-10-06T03:17:31.645Z] make test [Pipeline] } [2023-10-06T03:17:31.657Z] $ docker stop --time=1 bc3e858e43b3734372d70342c614a0addd97e077bf736f153486137c0e5861d6 [2023-10-06T03:17:32.947Z] $ docker rm -f --volumes bc3e858e43b3734372d70342c614a0addd97e077bf736f153486137c0e5861d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-06T03:17:33.535Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-06T03:17:33.824Z] + ls -al . [2023-10-06T03:17:33.824Z] total 212 [2023-10-06T03:17:33.824Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 6 03:16 . [2023-10-06T03:17:33.824Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 03:16 .. [2023-10-06T03:17:33.824Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 03:16 .git [2023-10-06T03:17:33.824Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 03:16 .github [2023-10-06T03:17:33.824Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 6 03:16 .gitignore [2023-10-06T03:17:33.824Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 6 03:16 .semver [2023-10-06T03:17:33.824Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 6 03:16 Attribution.txt [2023-10-06T03:17:33.824Z] -rw-rw-r-- 1 jenkins jenkins 9802 Oct 6 03:16 CHANGES [2023-10-06T03:17:33.824Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 6 03:16 Doxyfile [2023-10-06T03:17:33.824Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 6 03:16 GOVERNANCE.md [2023-10-06T03:17:33.824Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 6 03:16 Jenkinsfile [2023-10-06T03:17:33.824Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 6 03:16 LICENSE [2023-10-06T03:17:33.824Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 6 03:16 Makefile [2023-10-06T03:17:33.824Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 6 03:16 OWNERS.md [2023-10-06T03:17:33.824Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 6 03:16 README.IOT.md [2023-10-06T03:17:33.824Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 6 03:16 README.md [2023-10-06T03:17:33.824Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 6 03:16 README.v3.md [2023-10-06T03:17:33.824Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 6 03:16 VERSION [2023-10-06T03:17:33.824Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 03:16 docs [2023-10-06T03:17:33.824Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 03:16 include [2023-10-06T03:17:33.824Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 03:16 scripts [2023-10-06T03:17:33.824Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 03:16 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T03:17:34.130Z] + 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=4c52de37db7d3bd0277fba2739b75d0a1bd475b3 --label arch=amd64 --label version=3.0.3-dev.3 . [2023-10-06T03:17:34.130Z] Sending build context to Docker daemon 4.905MB [2023-10-06T03:17:34.130Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-10-06T03:17:34.130Z] Step 2/17 : FROM ${BASE} [2023-10-06T03:17:34.130Z] ---> 49323ec6f7f6 [2023-10-06T03:17:34.130Z] Step 3/17 : LABEL maintainer="IOTech " [2023-10-06T03:17:34.130Z] ---> Running in bdfb7d6fbd8b [2023-10-06T03:17:34.389Z] Removing intermediate container bdfb7d6fbd8b [2023-10-06T03:17:34.389Z] ---> ab609cd98e04 [2023-10-06T03:17:34.389Z] 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-10-06T03:17:34.389Z] ---> Running in c263c42f0f10 [2023-10-06T03:17:34.649Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-10-06T03:17:34.908Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-06T03:17:34.908Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-06T03:17:34.908Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-06T03:17:35.166Z] Removing intermediate container c263c42f0f10 [2023-10-06T03:17:35.166Z] ---> a610f94e6a27 [2023-10-06T03:17:35.166Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-06T03:17:35.166Z] ---> Running in 6249c5e65d44 [2023-10-06T03:17:35.734Z] Removing intermediate container 6249c5e65d44 [2023-10-06T03:17:35.734Z] ---> 9d9b10fcfd67 [2023-10-06T03:17:35.734Z] 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-10-06T03:17:35.734Z] ---> Running in 8fc8a2ba5e1e [2023-10-06T03:17:35.993Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-06T03:17:36.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-10-06T03:17:36.252Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-06T03:17:36.819Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-06T03:17:36.819Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-06T03:17:36.819Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-06T03:17:36.819Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-06T03:17:37.387Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-06T03:17:37.647Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-10-06T03:17:37.647Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-06T03:17:37.647Z] (7/11) Installing libblkid (2.38-r1) [2023-10-06T03:17:37.647Z] (8/11) Installing libfdisk (2.38-r1) [2023-10-06T03:17:37.647Z] (9/11) Installing libmount (2.38-r1) [2023-10-06T03:17:37.647Z] (10/11) Installing libsmartcols (2.38-r1) [2023-10-06T03:17:37.647Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-10-06T03:17:37.647Z] Executing busybox-1.35.0-r17.trigger [2023-10-06T03:17:37.647Z] OK: 281 MiB in 92 packages [2023-10-06T03:17:38.585Z] Removing intermediate container 8fc8a2ba5e1e [2023-10-06T03:17:38.585Z] ---> c7c30b885cec [2023-10-06T03:17:38.585Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-10-06T03:17:38.585Z] ---> 5aa876071027 [2023-10-06T03:17:38.585Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-10-06T03:17:38.585Z] ---> 19a13f5a00c9 [2023-10-06T03:17:38.585Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-10-06T03:17:38.846Z] ---> ea29db0b918f [2023-10-06T03:17:38.846Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-10-06T03:17:38.846Z] ---> 9ac04bac5daa [2023-10-06T03:17:38.846Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-10-06T03:17:39.105Z] ---> 11592378bac0 [2023-10-06T03:17:39.105Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-10-06T03:17:39.105Z] ---> 3aca1a3360f7 [2023-10-06T03:17:39.105Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-10-06T03:17:39.105Z] ---> Running in b0dbe91bf42a [2023-10-06T03:17:39.105Z] Removing intermediate container b0dbe91bf42a [2023-10-06T03:17:39.105Z] ---> 916fe348ce22 [2023-10-06T03:17:39.105Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-10-06T03:17:39.105Z] ---> Running in 8410be7a50d0 [2023-10-06T03:17:39.366Z] Removing intermediate container 8410be7a50d0 [2023-10-06T03:17:39.366Z] ---> 5fd763a43abf [2023-10-06T03:17:39.366Z] Step 15/17 : LABEL arch=amd64 [2023-10-06T03:17:39.366Z] ---> Running in 5822a135e5fc [2023-10-06T03:17:39.366Z] Removing intermediate container 5822a135e5fc [2023-10-06T03:17:39.366Z] ---> f842fcbf9d28 [2023-10-06T03:17:39.366Z] Step 16/17 : LABEL git_sha=4c52de37db7d3bd0277fba2739b75d0a1bd475b3 [2023-10-06T03:17:39.366Z] ---> Running in fffed96fd405 [2023-10-06T03:17:39.366Z] Removing intermediate container fffed96fd405 [2023-10-06T03:17:39.366Z] ---> 56e952822bbc [2023-10-06T03:17:39.366Z] Step 17/17 : LABEL version=3.0.3-dev.3 [2023-10-06T03:17:39.625Z] ---> Running in cd11a8ee32c9 [2023-10-06T03:17:39.625Z] Removing intermediate container cd11a8ee32c9 [2023-10-06T03:17:39.625Z] ---> 2887ba0210f0 [2023-10-06T03:17:39.625Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-10-06T03:17:39.625Z] Successfully built 2887ba0210f0 [2023-10-06T03:17:39.625Z] 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-10-06T03:17:40.027Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-06T03:17:40.028Z] [2023-10-06T03:17:40.028Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T03:17:40.322Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-06T03:17:40.322Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-06T03:17:40.322Z] 5eb5b503b376: Pulling fs layer [2023-10-06T03:17:40.322Z] 5c69ac0246d0: Pulling fs layer [2023-10-06T03:17:40.322Z] ec43610c2a17: Pulling fs layer [2023-10-06T03:17:40.322Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-06T03:17:40.322Z] 33b1e0a273af: Pulling fs layer [2023-10-06T03:17:40.322Z] 5d3b04190fa2: Pulling fs layer [2023-10-06T03:17:40.322Z] 2f39f015ded8: Pulling fs layer [2023-10-06T03:17:40.322Z] 3a2ae6a8a46f: Waiting [2023-10-06T03:17:40.322Z] 2f39f015ded8: Waiting [2023-10-06T03:17:40.322Z] 33b1e0a273af: Waiting [2023-10-06T03:17:40.322Z] 5d3b04190fa2: Waiting [2023-10-06T03:17:40.322Z] 5c69ac0246d0: Verifying Checksum [2023-10-06T03:17:40.322Z] 5c69ac0246d0: Download complete [2023-10-06T03:17:40.322Z] 3a2ae6a8a46f: Download complete [2023-10-06T03:17:40.322Z] 33b1e0a273af: Verifying Checksum [2023-10-06T03:17:40.322Z] 33b1e0a273af: Download complete [2023-10-06T03:17:40.322Z] 5d3b04190fa2: Verifying Checksum [2023-10-06T03:17:40.322Z] 5d3b04190fa2: Download complete [2023-10-06T03:17:40.580Z] ec43610c2a17: Verifying Checksum [2023-10-06T03:17:40.580Z] ec43610c2a17: Download complete [2023-10-06T03:17:40.580Z] 5eb5b503b376: Verifying Checksum [2023-10-06T03:17:40.580Z] 5eb5b503b376: Download complete [2023-10-06T03:17:41.154Z] 2f39f015ded8: Download complete [2023-10-06T03:17:41.722Z] 5eb5b503b376: Pull complete [2023-10-06T03:17:41.979Z] 5c69ac0246d0: Pull complete [2023-10-06T03:17:42.545Z] ec43610c2a17: Pull complete [2023-10-06T03:17:42.545Z] 3a2ae6a8a46f: Pull complete [2023-10-06T03:17:42.545Z] 33b1e0a273af: Pull complete [2023-10-06T03:17:42.803Z] 5d3b04190fa2: Pull complete [2023-10-06T03:17:46.990Z] 2f39f015ded8: Pull complete [2023-10-06T03:17:46.990Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-06T03:17:46.990Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-06T03:17:46.990Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-06T03:17:47.064Z] prd-ubuntu20.04-docker-8c-8g-8609 does not seem to be running inside a container [2023-10-06T03:17:47.151Z] $ 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-10-06T03:17:50.946Z] $ docker top cc079bfc5fac20c573cec1827af4438759e459e720931dc50ad9a8d871cf73e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-06T03:17:51.395Z] ---> job-cost.sh [2023-10-06T03:17:51.395Z] lf-activate-venv: SKIPPING [2023-10-06T03:17:51.395Z] INFO: No Stack... [2023-10-06T03:17:51.676Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-06T03:17:51.939Z] INFO: Archiving Costs [Pipeline] sh [2023-10-06T03:17:52.229Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2023-10-06T03:17:52.229Z] + cut -d, -f6 [Pipeline] lock [2023-10-06T03:17:52.243Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-62-stack-cost] [2023-10-06T03:17:52.251Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-62-stack-cost] did not exist. Created. [2023-10-06T03:17:52.251Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-62-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-06T03:17:52.556Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-06T03:17:52.596Z] Stashed 1 file(s) [Pipeline] } [2023-10-06T03:17:52.602Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-62-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-06T03:17:52.623Z] $ docker stop --time=1 cc079bfc5fac20c573cec1827af4438759e459e720931dc50ad9a8d871cf73e0 [2023-10-06T03:17:53.775Z] $ docker rm -f --volumes cc079bfc5fac20c573cec1827af4438759e459e720931dc50ad9a8d871cf73e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-06T03:18:48.322Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8610 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2023-10-06T03:18:48.335Z] Running in /w/workspace/device-sdk-c/62 [Pipeline] { [Pipeline] checkout [2023-10-06T03:18:48.378Z] Selected Git installation does not exist. Using Default [2023-10-06T03:18:48.378Z] The recommended git tool is: NONE [2023-10-06T03:18:53.470Z] using credential edgex-jenkins-ssh [2023-10-06T03:18:53.493Z] Cloning the remote Git repository [2023-10-06T03:18:53.528Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-10-06T03:18:53.627Z] > git init /w/workspace/device-sdk-c/62 # timeout=10 [2023-10-06T03:18:53.765Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-10-06T03:18:53.766Z] > git --version # timeout=10 [2023-10-06T03:18:53.785Z] > git --version # 'git version 2.25.1' [2023-10-06T03:18:53.788Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-06T03:18:53.943Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-06T03:18:55.783Z] Avoid second fetch [2023-10-06T03:18:55.783Z] Checking out Revision 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 (main) [2023-10-06T03:18:54.975Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-10-06T03:18:54.994Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-06T03:18:55.794Z] > git config core.sparsecheckout # timeout=10 [2023-10-06T03:18:55.857Z] > git checkout -f 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 # timeout=10 [2023-10-06T03:18:56.334Z] Commit message: "feat!: load common configuration from config provider (#484)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-06T03:18:57.298Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-06T03:18:57.298Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-06T03:18:57.298Z] Dload Upload Total Spent Left Speed [2023-10-06T03:18:57.298Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh [2023-10-06T03:18:57.921Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-06T03:18:58.241Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-06T03:18:58.242Z] + sudo tee /etc/docker/daemon.new [2023-10-06T03:18:58.242Z] { [2023-10-06T03:18:58.242Z] "registry-mirrors": [ [2023-10-06T03:18:58.242Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-06T03:18:58.242Z] ], [2023-10-06T03:18:58.242Z] "bip": "10.250.0.254/24", [2023-10-06T03:18:58.242Z] "hosts": [ [2023-10-06T03:18:58.242Z] "tcp://0.0.0.0:5555", [2023-10-06T03:18:58.242Z] "unix:///var/run/docker.sock" [2023-10-06T03:18:58.242Z] ], [2023-10-06T03:18:58.242Z] "mtu": 1458, [2023-10-06T03:18:58.242Z] "selinux-enabled": true, [2023-10-06T03:18:58.242Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-06T03:18:58.242Z] } [Pipeline] sh [2023-10-06T03:18:58.569Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-06T03:18:58.904Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-06T03:19:17.148Z] provisioning config files... [2023-10-06T03:19:17.171Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/62@tmp/config4663266363343996548tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-06T03:19:17.514Z] ---> docker-login.sh [2023-10-06T03:19:17.514Z] nexus3.edgexfoundry.org:10001 [2023-10-06T03:19:17.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T03:19:18.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T03:19:18.054Z] Configure a credential helper to remove this warning. See [2023-10-06T03:19:18.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T03:19:18.054Z] [2023-10-06T03:19:18.054Z] Login Succeeded [2023-10-06T03:19:18.054Z] nexus3.edgexfoundry.org:10002 [2023-10-06T03:19:18.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T03:19:18.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T03:19:18.603Z] Configure a credential helper to remove this warning. See [2023-10-06T03:19:18.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T03:19:18.603Z] [2023-10-06T03:19:18.603Z] Login Succeeded [2023-10-06T03:19:18.603Z] nexus3.edgexfoundry.org:10003 [2023-10-06T03:19:18.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T03:19:18.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T03:19:18.874Z] Configure a credential helper to remove this warning. See [2023-10-06T03:19:18.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T03:19:18.874Z] [2023-10-06T03:19:18.874Z] Login Succeeded [2023-10-06T03:19:18.874Z] nexus3.edgexfoundry.org:10004 [2023-10-06T03:19:19.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T03:19:19.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T03:19:19.143Z] Configure a credential helper to remove this warning. See [2023-10-06T03:19:19.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T03:19:19.143Z] [2023-10-06T03:19:19.143Z] Login Succeeded [2023-10-06T03:19:19.143Z] docker.io [2023-10-06T03:19:19.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T03:19:19.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T03:19:19.681Z] Configure a credential helper to remove this warning. See [2023-10-06T03:19:19.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T03:19:19.681Z] [2023-10-06T03:19:19.681Z] Login Succeeded [2023-10-06T03:19:19.681Z] ---> docker-login.sh ends [Pipeline] } [2023-10-06T03:19:19.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-06T03:19:19.921Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-06T03:19:19.929Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-10-06T03:19:19.935Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-06T03:19:19.942Z] ========================================================= [2023-10-06T03:19:19.942Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-10-06T03:19:19.942Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T03:19:20.267Z] + 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-10-06T03:19:20.537Z] Sending build context to Docker daemon 2.935MB [2023-10-06T03:19:20.537Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-10-06T03:19:20.537Z] Step 2/21 : FROM ${BASE} as builder [2023-10-06T03:19:20.805Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-10-06T03:19:20.805Z] 547446be3368: Pulling fs layer [2023-10-06T03:19:20.805Z] 76bd08e1cacc: Pulling fs layer [2023-10-06T03:19:20.805Z] 547446be3368: Verifying Checksum [2023-10-06T03:19:20.805Z] 547446be3368: Download complete [2023-10-06T03:19:21.393Z] 547446be3368: Pull complete [2023-10-06T03:19:23.362Z] 76bd08e1cacc: Verifying Checksum [2023-10-06T03:19:23.362Z] 76bd08e1cacc: Download complete [2023-10-06T03:19:31.604Z] 76bd08e1cacc: Pull complete [2023-10-06T03:19:31.604Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-10-06T03:19:31.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-10-06T03:19:31.604Z] ---> 295cd00e64f4 [2023-10-06T03:19:31.604Z] 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-10-06T03:19:31.871Z] ---> Running in 3f6dcf249220 [2023-10-06T03:19:32.837Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-10-06T03:19:33.418Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-06T03:19:33.418Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-06T03:19:33.418Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-06T03:19:34.004Z] Removing intermediate container 3f6dcf249220 [2023-10-06T03:19:34.004Z] ---> f7634ff85105 [2023-10-06T03:19:34.004Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-06T03:19:34.004Z] ---> Running in ae2475270a21 [2023-10-06T03:19:35.417Z] Removing intermediate container ae2475270a21 [2023-10-06T03:19:35.417Z] ---> d993b2d7fa04 [2023-10-06T03:19:35.417Z] 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-10-06T03:19:35.683Z] ---> Running in ee6d9af55cec [2023-10-06T03:19:36.646Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-06T03:19:36.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-10-06T03:19:37.495Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-06T03:19:38.456Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-06T03:19:38.456Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-06T03:19:38.456Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-06T03:19:38.456Z] (3/16) Installing hiredis (1.0.2-r0) [2023-10-06T03:19:38.456Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-10-06T03:19:38.456Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-06T03:19:39.036Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-06T03:19:39.302Z] (7/16) Installing libcbor (0.9.0-r1) [2023-10-06T03:19:39.302Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-10-06T03:19:39.302Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-06T03:19:39.302Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-06T03:19:40.255Z] (11/16) Installing libblkid (2.38-r1) [2023-10-06T03:19:40.255Z] (12/16) Installing libuuid (2.38-r1) [2023-10-06T03:19:40.255Z] (13/16) Installing libfdisk (2.38-r1) [2023-10-06T03:19:40.528Z] (14/16) Installing libmount (2.38-r1) [2023-10-06T03:19:40.528Z] (15/16) Installing libsmartcols (2.38-r1) [2023-10-06T03:19:40.528Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-10-06T03:19:40.528Z] Executing busybox-1.35.0-r17.trigger [2023-10-06T03:19:40.528Z] OK: 286 MiB in 90 packages [2023-10-06T03:19:44.875Z] Removing intermediate container ee6d9af55cec [2023-10-06T03:19:44.875Z] ---> a541b6869c68 [2023-10-06T03:19:44.875Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-10-06T03:19:44.875Z] ---> Running in 0577f6f6432e [2023-10-06T03:19:46.322Z] Removing intermediate container 0577f6f6432e [2023-10-06T03:19:46.322Z] ---> ce803fb7859d [2023-10-06T03:19:46.322Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-10-06T03:19:46.907Z] ---> d3f9fb0618ad [2023-10-06T03:19:46.907Z] Step 8/21 : COPY src /tmp/sdk/src [2023-10-06T03:19:47.497Z] ---> e2961bd3d5b4 [2023-10-06T03:19:47.497Z] Step 9/21 : COPY include /tmp/sdk/include [2023-10-06T03:19:48.082Z] ---> ea6e1d09b6c1 [2023-10-06T03:19:48.082Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-10-06T03:19:48.348Z] ---> d90e1bdd21c6 [2023-10-06T03:19:48.348Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-10-06T03:19:48.931Z] ---> 007ebd20dbcc [2023-10-06T03:19:48.931Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-10-06T03:19:49.515Z] ---> 57bb4c3f4045 [2023-10-06T03:19:49.515Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-10-06T03:19:49.515Z] ---> Running in 2ede1cc2375e [2023-10-06T03:19:50.481Z] + CPPCHECK=false [2023-10-06T03:19:50.481Z] + DOCGEN=false [2023-10-06T03:19:50.481Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-10-06T03:19:50.481Z] + '[' 0 -gt 0 ] [2023-10-06T03:19:50.482Z] + readlink -f ./scripts/build.sh [2023-10-06T03:19:50.482Z] + dirname /tmp/sdk/scripts/build.sh [2023-10-06T03:19:50.482Z] + dirname /tmp/sdk/scripts [2023-10-06T03:19:50.482Z] + ROOT=/tmp/sdk [2023-10-06T03:19:50.482Z] + cd /tmp/sdk [2023-10-06T03:19:50.482Z] + mkdir -p /tmp/sdk/build/release [2023-10-06T03:19:50.482Z] + cd /tmp/sdk/build/release [2023-10-06T03:19:50.482Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-10-06T03:19:50.747Z] -- The C compiler identification is GNU 11.2.1 [2023-10-06T03:19:50.747Z] -- Detecting C compiler ABI info [2023-10-06T03:19:51.015Z] -- Detecting C compiler ABI info - done [2023-10-06T03:19:51.284Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-06T03:19:51.284Z] -- Detecting C compile features [2023-10-06T03:19:51.284Z] -- Detecting C compile features - done [2023-10-06T03:19:51.284Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-06T03:19:51.284Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-06T03:19:51.284Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-06T03:19:51.284Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-06T03:19:51.553Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-06T03:19:51.553Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-06T03:19:51.553Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-06T03:19:51.553Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-06T03:19:51.553Z] -- /opt/iotech/iot/1.5/include [2023-10-06T03:19:51.553Z] -- C SDK 3.0.3-dev.3 for Linux [2023-10-06T03:19:51.553Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-06T03:19:51.835Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-06T03:19:51.835Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-06T03:19:52.102Z] -- Configuring done [2023-10-06T03:19:52.370Z] -- Generating done [2023-10-06T03:19:52.370Z] -- Build files have been written to: /tmp/sdk/build/release [2023-10-06T03:19:52.370Z] + make all package [2023-10-06T03:19:52.370Z] + tee release.log [2023-10-06T03:19:52.637Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-06T03:19:53.221Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-06T03:19:54.627Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-06T03:19:55.211Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-06T03:19:56.170Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-06T03:19:56.752Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-06T03:19:59.328Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-06T03:19:59.910Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-10-06T03:19:59.910Z] /tmp/sdk/src/c/consul.c:297:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-06T03:19:59.910Z] 297 | while (privateConfig) [2023-10-06T03:19:59.910Z] | ^~~~~~~~~~~~~ [2023-10-06T03:19:59.910Z] /tmp/sdk/src/c/consul.c:274:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-06T03:19:59.910Z] 274 | while (result) [2023-10-06T03:19:59.910Z] | ^~~~~~ [2023-10-06T03:20:00.492Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-06T03:20:00.759Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-06T03:20:01.717Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-06T03:20:04.290Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-06T03:20:04.558Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-06T03:20:05.517Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-06T03:20:06.474Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-06T03:20:07.054Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-06T03:20:08.010Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-06T03:20:08.277Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-06T03:20:10.853Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-06T03:20:11.120Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-06T03:20:11.700Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-06T03:20:13.640Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-06T03:20:18.972Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-06T03:20:19.238Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-06T03:20:19.506Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-06T03:20:20.088Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-06T03:20:20.670Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-06T03:20:22.076Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-06T03:20:24.658Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-06T03:20:25.241Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-06T03:20:26.197Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-06T03:20:27.155Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-06T03:20:30.485Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-06T03:20:31.066Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-06T03:20:31.332Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-06T03:20:31.919Z] [ 68%] Linking C shared library libcsdk.so [2023-10-06T03:20:32.184Z] [ 68%] Built target csdk [2023-10-06T03:20:32.184Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-06T03:20:33.142Z] [ 72%] Linking C executable template [2023-10-06T03:20:33.408Z] [ 72%] Built target template [2023-10-06T03:20:33.408Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-06T03:20:33.989Z] [ 76%] Linking C executable device-counter [2023-10-06T03:20:34.257Z] [ 76%] Built target device-counter [2023-10-06T03:20:34.524Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-06T03:20:35.109Z] [ 80%] Linking C executable device-random [2023-10-06T03:20:35.376Z] [ 80%] Built target device-random [2023-10-06T03:20:35.376Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-06T03:20:35.961Z] [ 84%] Linking C executable device-gyro [2023-10-06T03:20:36.229Z] [ 84%] Built target device-gyro [2023-10-06T03:20:36.229Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-06T03:20:36.811Z] [ 88%] Linking C executable device-bitfields [2023-10-06T03:20:37.078Z] [ 88%] Built target device-bitfields [2023-10-06T03:20:37.343Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-06T03:20:38.300Z] [ 92%] Linking C executable template-discovery [2023-10-06T03:20:38.566Z] [ 92%] Built target template-discovery [2023-10-06T03:20:38.566Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-06T03:20:39.524Z] [ 96%] Linking C executable device-file [2023-10-06T03:20:39.524Z] [ 96%] Built target device-file [2023-10-06T03:20:39.791Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-06T03:20:40.374Z] [100%] Linking C executable device-terminal [2023-10-06T03:20:40.640Z] [100%] Built target device-terminal [2023-10-06T03:20:40.907Z] Run CPack packaging tool... [2023-10-06T03:20:40.907Z] CPack: Create package using TGZ [2023-10-06T03:20:40.907Z] CPack: Install projects [2023-10-06T03:20:40.907Z] CPack: - Run preinstall target for: Csdk [2023-10-06T03:20:41.490Z] CPack: - Install project: Csdk [] [2023-10-06T03:20:41.490Z] CPack: Create package [2023-10-06T03:20:41.757Z] CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.3.tar.gz generated. [2023-10-06T03:20:41.757Z] + '[' false '=' true ] [2023-10-06T03:20:41.757Z] + '[' false '=' true ] [2023-10-06T03:20:41.757Z] + mkdir -p /tmp/sdk/build/debug [2023-10-06T03:20:41.757Z] + cd /tmp/sdk/build/debug [2023-10-06T03:20:41.757Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-10-06T03:20:42.023Z] -- The C compiler identification is GNU 11.2.1 [2023-10-06T03:20:42.023Z] -- Detecting C compiler ABI info [2023-10-06T03:20:42.290Z] -- Detecting C compiler ABI info - done [2023-10-06T03:20:42.290Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-06T03:20:42.559Z] -- Detecting C compile features [2023-10-06T03:20:42.559Z] -- Detecting C compile features - done [2023-10-06T03:20:42.559Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-06T03:20:42.559Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-06T03:20:42.559Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-06T03:20:42.559Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-06T03:20:42.559Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-06T03:20:42.827Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-06T03:20:42.827Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-06T03:20:42.827Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-06T03:20:42.827Z] -- /opt/iotech/iot/1.5/include [2023-10-06T03:20:42.827Z] -- C SDK 3.0.3-dev.3 for Linux [2023-10-06T03:20:42.827Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-06T03:20:43.096Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-06T03:20:43.096Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-06T03:20:43.364Z] -- Configuring done [2023-10-06T03:20:43.630Z] -- Generating done [2023-10-06T03:20:43.630Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-10-06T03:20:43.630Z] + + teemake debug.log [2023-10-06T03:20:43.630Z] [2023-10-06T03:20:43.630Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-06T03:20:44.210Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-06T03:20:44.475Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-06T03:20:45.057Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-06T03:20:45.324Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-06T03:20:45.907Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-06T03:20:46.865Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-06T03:20:47.132Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-06T03:20:47.399Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-06T03:20:47.982Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-06T03:20:48.562Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-06T03:20:48.829Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-06T03:20:49.411Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-06T03:20:49.678Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-06T03:20:50.258Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-06T03:20:50.525Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-06T03:20:50.792Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-06T03:20:51.749Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-06T03:20:52.013Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-06T03:20:52.280Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-06T03:20:52.861Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-06T03:20:54.263Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-06T03:20:54.529Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-06T03:20:54.795Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-06T03:20:55.061Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-06T03:20:55.641Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-06T03:20:56.224Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-06T03:20:57.625Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-06T03:20:57.891Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-06T03:20:58.472Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-06T03:20:59.053Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-06T03:21:00.008Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-06T03:21:00.273Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-06T03:21:00.539Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-06T03:21:00.806Z] [ 68%] Linking C shared library libcsdk.so [2023-10-06T03:21:01.074Z] [ 68%] Built target csdk [2023-10-06T03:21:01.074Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-06T03:21:01.655Z] [ 72%] Linking C executable template [2023-10-06T03:21:01.921Z] [ 72%] Built target template [2023-10-06T03:21:01.921Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-06T03:21:02.187Z] [ 76%] Linking C executable device-counter [2023-10-06T03:21:02.454Z] [ 76%] Built target device-counter [2023-10-06T03:21:02.719Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-06T03:21:02.985Z] [ 80%] Linking C executable device-random [2023-10-06T03:21:03.251Z] [ 80%] Built target device-random [2023-10-06T03:21:03.251Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-06T03:21:03.517Z] [ 84%] Linking C executable device-gyro [2023-10-06T03:21:03.783Z] [ 84%] Built target device-gyro [2023-10-06T03:21:04.050Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-06T03:21:04.315Z] [ 88%] Linking C executable device-bitfields [2023-10-06T03:21:04.581Z] [ 88%] Built target device-bitfields [2023-10-06T03:21:04.581Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-06T03:21:05.162Z] [ 92%] Linking C executable template-discovery [2023-10-06T03:21:05.163Z] [ 92%] Built target template-discovery [2023-10-06T03:21:05.428Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-06T03:21:05.693Z] [ 96%] Linking C executable device-file [2023-10-06T03:21:05.958Z] [ 96%] Built target device-file [2023-10-06T03:21:05.958Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-06T03:21:06.539Z] [100%] Linking C executable device-terminal [2023-10-06T03:21:06.803Z] [100%] Built target device-terminal [2023-10-06T03:21:06.803Z] make: Entering directory '/tmp/sdk/build/release' [2023-10-06T03:21:06.803Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-10-06T03:21:06.803Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T03:21:06.803Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T03:21:07.069Z] [ 68%] Built target csdk [2023-10-06T03:21:07.069Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T03:21:07.069Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T03:21:07.069Z] [ 72%] Built target template [2023-10-06T03:21:07.069Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T03:21:07.069Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T03:21:07.069Z] [ 76%] Built target device-counter [2023-10-06T03:21:07.069Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T03:21:07.069Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T03:21:07.069Z] [ 80%] Built target device-random [2023-10-06T03:21:07.069Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T03:21:07.069Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T03:21:07.069Z] [ 84%] Built target device-gyro [2023-10-06T03:21:07.069Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T03:21:07.069Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T03:21:07.069Z] [ 88%] Built target device-bitfields [2023-10-06T03:21:07.069Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T03:21:07.336Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T03:21:07.336Z] [ 92%] Built target template-discovery [2023-10-06T03:21:07.336Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T03:21:07.336Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T03:21:07.336Z] [ 96%] Built target device-file [2023-10-06T03:21:07.336Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T03:21:07.336Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T03:21:07.336Z] [100%] Built target device-terminal [2023-10-06T03:21:07.336Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T03:21:07.336Z] Install the project... [2023-10-06T03:21:07.336Z] -- Install configuration: "Release" [2023-10-06T03:21:07.336Z] -- Installing: /usr/local/lib/libcsdk.so [2023-10-06T03:21:07.336Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-10-06T03:21:07.336Z] -- Installing: /usr/local/include [2023-10-06T03:21:07.336Z] -- Installing: /usr/local/include/devsdk [2023-10-06T03:21:07.336Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-10-06T03:21:07.336Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-10-06T03:21:07.336Z] -- Installing: /usr/local/include/edgex [2023-10-06T03:21:07.336Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-10-06T03:21:07.336Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-10-06T03:21:07.336Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-10-06T03:21:07.336Z] -- Installing: /usr/local/include/edgex/devices.h [2023-10-06T03:21:07.336Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-10-06T03:21:07.336Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-10-06T03:21:07.336Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-10-06T03:21:07.336Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-10-06T03:21:07.336Z] make: Leaving directory '/tmp/sdk/build/release' [2023-10-06T03:21:08.742Z] Removing intermediate container 2ede1cc2375e [2023-10-06T03:21:08.742Z] ---> d0d5a1c8919f [2023-10-06T03:21:08.742Z] Step 14/21 : FROM ${BASE} [2023-10-06T03:21:08.742Z] ---> 295cd00e64f4 [2023-10-06T03:21:08.742Z] Step 15/21 : LABEL maintainer="IOTech " [2023-10-06T03:21:08.742Z] ---> Running in 7f17dfcb086f [2023-10-06T03:21:09.008Z] Removing intermediate container 7f17dfcb086f [2023-10-06T03:21:09.008Z] ---> b5e43164ba54 [2023-10-06T03:21:09.008Z] 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-10-06T03:21:09.008Z] ---> Running in 8a8cd852d8d5 [2023-10-06T03:21:09.970Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-10-06T03:21:10.554Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-06T03:21:10.554Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-06T03:21:10.554Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-06T03:21:11.138Z] Removing intermediate container 8a8cd852d8d5 [2023-10-06T03:21:11.138Z] ---> 26fcce5b8dce [2023-10-06T03:21:11.138Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-06T03:21:11.138Z] ---> Running in 1f2175fff953 [2023-10-06T03:21:13.093Z] Removing intermediate container 1f2175fff953 [2023-10-06T03:21:13.093Z] ---> 22b109fddaa6 [2023-10-06T03:21:13.093Z] 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-10-06T03:21:13.093Z] ---> Running in 5f8633febd91 [2023-10-06T03:21:13.676Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-06T03:21:13.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-10-06T03:21:14.520Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-06T03:21:15.473Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-06T03:21:15.473Z] (1/7) Installing curl (8.2.1-r0) [2023-10-06T03:21:15.473Z] (2/7) Installing hiredis (1.0.2-r0) [2023-10-06T03:21:15.473Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-10-06T03:21:15.473Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-10-06T03:21:16.054Z] (5/7) Installing libcbor (0.9.0-r1) [2023-10-06T03:21:16.054Z] (6/7) Installing libuuid (2.38-r1) [2023-10-06T03:21:16.319Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-06T03:21:16.898Z] Executing busybox-1.35.0-r17.trigger [2023-10-06T03:21:17.166Z] OK: 281 MiB in 83 packages [2023-10-06T03:21:18.124Z] Removing intermediate container 5f8633febd91 [2023-10-06T03:21:18.124Z] ---> 435921256774 [2023-10-06T03:21:18.124Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-10-06T03:21:18.705Z] ---> 436e22340f60 [2023-10-06T03:21:18.705Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-10-06T03:21:19.288Z] ---> 439dd5c92ec7 [2023-10-06T03:21:19.288Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-10-06T03:21:19.553Z] ---> 8ee45d879207 [2023-10-06T03:21:19.553Z] Successfully built 8ee45d879207 [2023-10-06T03:21:19.553Z] 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-10-06T03:21:19.953Z] + docker inspect -f . ci-base-image-arm64 [2023-10-06T03:21:19.953Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-06T03:21:20.158Z] prd-ubuntu20.04-docker-arm64-4c-16g-8610 does not seem to be running inside a container [2023-10-06T03:21:20.227Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/62 -v /w/workspace/device-sdk-c/62:/w/workspace/device-sdk-c/62:rw,z -v /w/workspace/device-sdk-c/62@tmp:/w/workspace/device-sdk-c/62@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-10-06T03:21:21.375Z] $ docker top eb31397b02c7e2d8a81725f05fe269204d77e4e7b56512bfa38a66c007f009fa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-06T03:21:22.178Z] + make test [2023-10-06T03:21:22.178Z] echo "make test" [2023-10-06T03:21:22.178Z] make test [Pipeline] } [2023-10-06T03:21:22.206Z] $ docker stop --time=1 eb31397b02c7e2d8a81725f05fe269204d77e4e7b56512bfa38a66c007f009fa [2023-10-06T03:21:23.804Z] $ docker rm -f --volumes eb31397b02c7e2d8a81725f05fe269204d77e4e7b56512bfa38a66c007f009fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-06T03:21:24.334Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-06T03:21:24.643Z] + ls -al . [2023-10-06T03:21:24.643Z] total 208 [2023-10-06T03:21:24.643Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 03:18 . [2023-10-06T03:21:24.643Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 03:18 .. [2023-10-06T03:21:24.643Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 03:18 .git [2023-10-06T03:21:24.643Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 03:18 .github [2023-10-06T03:21:24.643Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 6 03:18 .gitignore [2023-10-06T03:21:24.643Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 6 03:18 Attribution.txt [2023-10-06T03:21:24.643Z] -rw-rw-r-- 1 jenkins jenkins 9802 Oct 6 03:18 CHANGES [2023-10-06T03:21:24.643Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 6 03:18 Doxyfile [2023-10-06T03:21:24.643Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 6 03:18 GOVERNANCE.md [2023-10-06T03:21:24.643Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 6 03:18 Jenkinsfile [2023-10-06T03:21:24.643Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 6 03:18 LICENSE [2023-10-06T03:21:24.643Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 6 03:18 Makefile [2023-10-06T03:21:24.643Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 6 03:18 OWNERS.md [2023-10-06T03:21:24.643Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 6 03:18 README.IOT.md [2023-10-06T03:21:24.643Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 6 03:18 README.md [2023-10-06T03:21:24.643Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 6 03:18 README.v3.md [2023-10-06T03:21:24.643Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 6 03:16 VERSION [2023-10-06T03:21:24.643Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 03:18 docs [2023-10-06T03:21:24.643Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 03:18 include [2023-10-06T03:21:24.643Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 03:18 scripts [2023-10-06T03:21:24.643Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 03:18 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T03:21:24.972Z] + 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=4c52de37db7d3bd0277fba2739b75d0a1bd475b3 --label arch=arm64 --label version=3.0.3-dev.3 . [2023-10-06T03:21:25.237Z] Sending build context to Docker daemon 2.935MB [2023-10-06T03:21:25.237Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-10-06T03:21:25.237Z] Step 2/17 : FROM ${BASE} [2023-10-06T03:21:25.237Z] ---> 8ee45d879207 [2023-10-06T03:21:25.237Z] Step 3/17 : LABEL maintainer="IOTech " [2023-10-06T03:21:25.504Z] ---> Running in 807993776c32 [2023-10-06T03:21:25.771Z] Removing intermediate container 807993776c32 [2023-10-06T03:21:25.771Z] ---> 73d9cac54988 [2023-10-06T03:21:25.771Z] 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-10-06T03:21:25.771Z] ---> Running in 2ff02ebda2c2 [2023-10-06T03:21:26.729Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-10-06T03:21:26.996Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-06T03:21:26.996Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-06T03:21:26.996Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-06T03:21:27.958Z] Removing intermediate container 2ff02ebda2c2 [2023-10-06T03:21:27.958Z] ---> 8d4afdcf02cc [2023-10-06T03:21:27.958Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-06T03:21:27.958Z] ---> Running in ee2b8a269dc8 [2023-10-06T03:21:32.206Z] Removing intermediate container ee2b8a269dc8 [2023-10-06T03:21:32.206Z] ---> 36115e85c897 [2023-10-06T03:21:32.206Z] 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-10-06T03:21:32.206Z] ---> Running in 5d98c1a79202 [2023-10-06T03:21:32.533Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-06T03:21:32.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-10-06T03:21:33.397Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-06T03:21:33.980Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-06T03:21:33.980Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-06T03:21:34.247Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-06T03:21:34.247Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-06T03:21:34.834Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-06T03:21:34.834Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-10-06T03:21:34.834Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-06T03:21:35.106Z] (7/11) Installing libblkid (2.38-r1) [2023-10-06T03:21:35.106Z] (8/11) Installing libfdisk (2.38-r1) [2023-10-06T03:21:35.106Z] (9/11) Installing libmount (2.38-r1) [2023-10-06T03:21:35.106Z] (10/11) Installing libsmartcols (2.38-r1) [2023-10-06T03:21:35.106Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-10-06T03:21:35.106Z] Executing busybox-1.35.0-r17.trigger [2023-10-06T03:21:35.106Z] OK: 287 MiB in 92 packages [2023-10-06T03:21:36.559Z] Removing intermediate container 5d98c1a79202 [2023-10-06T03:21:36.559Z] ---> 845256851625 [2023-10-06T03:21:36.559Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-10-06T03:21:36.828Z] ---> fc1c7a51e162 [2023-10-06T03:21:36.828Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-10-06T03:21:37.786Z] ---> 8104bb8930da [2023-10-06T03:21:37.786Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-10-06T03:21:38.053Z] ---> 2c0d0408ff2a [2023-10-06T03:21:38.053Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-10-06T03:21:38.633Z] ---> ab6764bccdc7 [2023-10-06T03:21:38.633Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-10-06T03:21:38.903Z] ---> b9da3e3873a6 [2023-10-06T03:21:38.903Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-10-06T03:21:39.488Z] ---> 7f21d6776bdb [2023-10-06T03:21:39.488Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-10-06T03:21:39.488Z] ---> Running in 417fdb9d03dd [2023-10-06T03:21:39.764Z] Removing intermediate container 417fdb9d03dd [2023-10-06T03:21:39.764Z] ---> 9c64f6df0a84 [2023-10-06T03:21:39.764Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-10-06T03:21:40.032Z] ---> Running in 2babfba5fe30 [2023-10-06T03:21:40.297Z] Removing intermediate container 2babfba5fe30 [2023-10-06T03:21:40.297Z] ---> 8384f4e741a9 [2023-10-06T03:21:40.297Z] Step 15/17 : LABEL arch=arm64 [2023-10-06T03:21:40.297Z] ---> Running in fbfa254c2735 [2023-10-06T03:21:40.565Z] Removing intermediate container fbfa254c2735 [2023-10-06T03:21:40.565Z] ---> 8c7f53342ecc [2023-10-06T03:21:40.565Z] Step 16/17 : LABEL git_sha=4c52de37db7d3bd0277fba2739b75d0a1bd475b3 [2023-10-06T03:21:40.565Z] ---> Running in 88d061fb86fd [2023-10-06T03:21:40.834Z] Removing intermediate container 88d061fb86fd [2023-10-06T03:21:40.834Z] ---> fe105b3d6c78 [2023-10-06T03:21:40.834Z] Step 17/17 : LABEL version=3.0.3-dev.3 [2023-10-06T03:21:41.101Z] ---> Running in 653cfd54fe11 [2023-10-06T03:21:41.367Z] Removing intermediate container 653cfd54fe11 [2023-10-06T03:21:41.367Z] ---> f63723f8f9a5 [2023-10-06T03:21:41.367Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-10-06T03:21:41.367Z] Successfully built f63723f8f9a5 [2023-10-06T03:21:41.367Z] 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-10-06T03:21:41.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-06T03:21:41.812Z] [2023-10-06T03:21:41.812Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T03:21:42.139Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-06T03:21:42.406Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-06T03:21:42.406Z] 8998bd30e6a1: Pulling fs layer [2023-10-06T03:21:42.406Z] 04944245beec: Pulling fs layer [2023-10-06T03:21:42.406Z] 699f458cf7ca: Pulling fs layer [2023-10-06T03:21:42.406Z] 765212b225bb: Pulling fs layer [2023-10-06T03:21:42.406Z] f23df028b6ca: Pulling fs layer [2023-10-06T03:21:42.406Z] d65c8cfc05b1: Pulling fs layer [2023-10-06T03:21:42.406Z] 2437ff75d9bd: Pulling fs layer [2023-10-06T03:21:42.406Z] 765212b225bb: Waiting [2023-10-06T03:21:42.406Z] f23df028b6ca: Waiting [2023-10-06T03:21:42.406Z] d65c8cfc05b1: Waiting [2023-10-06T03:21:42.406Z] 2437ff75d9bd: Waiting [2023-10-06T03:21:42.406Z] 04944245beec: Verifying Checksum [2023-10-06T03:21:42.406Z] 04944245beec: Download complete [2023-10-06T03:21:42.406Z] 765212b225bb: Verifying Checksum [2023-10-06T03:21:42.406Z] 765212b225bb: Download complete [2023-10-06T03:21:42.406Z] f23df028b6ca: Verifying Checksum [2023-10-06T03:21:42.406Z] f23df028b6ca: Download complete [2023-10-06T03:21:42.406Z] d65c8cfc05b1: Verifying Checksum [2023-10-06T03:21:42.406Z] d65c8cfc05b1: Download complete [2023-10-06T03:21:42.672Z] 699f458cf7ca: Verifying Checksum [2023-10-06T03:21:42.672Z] 699f458cf7ca: Download complete [2023-10-06T03:21:42.938Z] 8998bd30e6a1: Verifying Checksum [2023-10-06T03:21:42.938Z] 8998bd30e6a1: Download complete [2023-10-06T03:21:45.533Z] 2437ff75d9bd: Verifying Checksum [2023-10-06T03:21:45.533Z] 2437ff75d9bd: Download complete [2023-10-06T03:21:46.940Z] 8998bd30e6a1: Pull complete [2023-10-06T03:21:47.207Z] 04944245beec: Pull complete [2023-10-06T03:21:48.615Z] 699f458cf7ca: Pull complete [2023-10-06T03:21:48.882Z] 765212b225bb: Pull complete [2023-10-06T03:21:49.466Z] f23df028b6ca: Pull complete [2023-10-06T03:21:49.732Z] d65c8cfc05b1: Pull complete [2023-10-06T03:22:04.709Z] 2437ff75d9bd: Pull complete [2023-10-06T03:22:04.709Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-06T03:22:04.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-06T03:22:04.709Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-06T03:22:04.885Z] prd-ubuntu20.04-docker-arm64-4c-16g-8610 does not seem to be running inside a container [2023-10-06T03:22:04.949Z] $ 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/62 -v /w/workspace/device-sdk-c/62:/w/workspace/device-sdk-c/62:rw,z -v /w/workspace/device-sdk-c/62@tmp:/w/workspace/device-sdk-c/62@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-10-06T03:22:07.292Z] $ docker top 495069f9523063700026abfe2f054400e8c857bbaabdb2602c624fcf6555359f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-06T03:22:07.769Z] ---> job-cost.sh [2023-10-06T03:22:08.036Z] lf-activate-venv: SKIPPING [2023-10-06T03:22:08.036Z] INFO: No Stack... [2023-10-06T03:22:08.300Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-06T03:22:09.255Z] INFO: Archiving Costs [Pipeline] sh [2023-10-06T03:22:09.570Z] + + cat /w/workspace/device-sdk-c/62/archives/cost.csv [2023-10-06T03:22:09.570Z] cut -d, -f6 [Pipeline] lock [2023-10-06T03:22:09.624Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-62-stack-cost] [2023-10-06T03:22:09.629Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-62-stack-cost] did not exist. Created. [2023-10-06T03:22:09.629Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-62-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-06T03:22:09.959Z] /w/workspace/device-sdk-c/62@tmp/durable-d4abf581/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-06T03:22:10.283Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-06T03:22:10.305Z] Warning: overwriting stash ‘stack-cost’ [2023-10-06T03:22:10.721Z] Stashed 1 file(s) [Pipeline] } [2023-10-06T03:22:10.728Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-62-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-06T03:22:10.752Z] $ docker stop --time=1 495069f9523063700026abfe2f054400e8c857bbaabdb2602c624fcf6555359f [2023-10-06T03:22:12.189Z] $ docker rm -f --volumes 495069f9523063700026abfe2f054400e8c857bbaabdb2602c624fcf6555359f [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-10-06T03:22:12.783Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-06T03:22:12.783Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T03:22:13.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-06T03:22:13.082Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-06T03:22:13.154Z] prd-ubuntu20.04-docker-8c-8g-8609 does not seem to be running inside a container [2023-10-06T03:22:13.186Z] $ 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-10-06T03:22:13.524Z] $ docker top 2a39b2ce335ade768fc3293ec32729cebc6043017579ece3e775d5b2826e2311 -eo pid,comm [2023-10-06T03:22:13.567Z] 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-10-06T03:22:13.567Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-06T03:22:13.605Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-06T03:22:13.605Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-06T03:22:13.706Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-06T03:22:13.710Z] $ docker exec 2a39b2ce335ade768fc3293ec32729cebc6043017579ece3e775d5b2826e2311 ssh-agent [2023-10-06T03:22:13.812Z] SSH_AUTH_SOCK=/tmp/ssh-uMXTIuliM0Ac/agent.32 [2023-10-06T03:22:13.812Z] SSH_AGENT_PID=38 [2023-10-06T03:22:13.816Z] Running ssh-add (command line suppressed) [2023-10-06T03:22:13.917Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8911374699596974770.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8911374699596974770.key) [2023-10-06T03:22:13.926Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-06T03:22:14.210Z] + git semver tag [2023-10-06T03:22:14.469Z] 2023-10-06 03:22:14,383 [run_tag] DEBUG tag force:False [2023-10-06T03:22:14.469Z] 2023-10-06 03:22:14,383 [check_head_tag] DEBUG check head tag [2023-10-06T03:22:14.469Z] 2023-10-06 03:22:14,384 [execute] INFO git cat-file --batch-check [2023-10-06T03:22:14.469Z] 2023-10-06 03:22:14,384 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2023-10-06T03:22:14.469Z] 2023-10-06 03:22:14,387 [execute] INFO git cat-file --batch [2023-10-06T03:22:14.469Z] 2023-10-06 03:22:14,387 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2023-10-06T03:22:14.469Z] 2023-10-06 03:22:14,398 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-10-06T03:22:14.469Z] 2023-10-06 03:22:14,398 [execute] INFO git tag -a v3.0.3-dev.3 -m v3.0.3-dev.3 [2023-10-06T03:22:14.469Z] 2023-10-06 03:22:14,398 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.3-dev.3', '-m', 'v3.0.3-dev.3'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2023-10-06T03:22:14.469Z] 2023-10-06 03:22:14,401 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-10-06T03:22:14.469Z] 3.0.3-dev.3 [Pipeline] } [2023-10-06T03:22:14.478Z] $ docker exec --env ******** --env ******** 2a39b2ce335ade768fc3293ec32729cebc6043017579ece3e775d5b2826e2311 ssh-agent -k [2023-10-06T03:22:14.570Z] unset SSH_AUTH_SOCK; [2023-10-06T03:22:14.570Z] unset SSH_AGENT_PID; [2023-10-06T03:22:14.570Z] echo Agent pid 38 killed; [2023-10-06T03:22:14.575Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-06T03:22:14.876Z] + git semver [Pipeline] } [2023-10-06T03:22:15.149Z] $ docker stop --time=1 2a39b2ce335ade768fc3293ec32729cebc6043017579ece3e775d5b2826e2311 [2023-10-06T03:22:16.410Z] $ docker rm -f --volumes 2a39b2ce335ade768fc3293ec32729cebc6043017579ece3e775d5b2826e2311 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T03:22:16.771Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-06T03:22:16.771Z] [2023-10-06T03:22:16.771Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T03:22:17.064Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-06T03:22:17.064Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-06T03:22:17.064Z] ab5ef0e58194: Pulling fs layer [2023-10-06T03:22:17.064Z] 9712f1f96733: Pulling fs layer [2023-10-06T03:22:17.064Z] 63f879dbbcfc: Pulling fs layer [2023-10-06T03:22:17.064Z] 0d9ebad4ef96: Pulling fs layer [2023-10-06T03:22:17.064Z] e9a5061849ea: Pulling fs layer [2023-10-06T03:22:17.064Z] d747dcd14b5f: Pulling fs layer [2023-10-06T03:22:17.064Z] 2de7ff778b66: Pulling fs layer [2023-10-06T03:22:17.064Z] d747dcd14b5f: Waiting [2023-10-06T03:22:17.064Z] 0d9ebad4ef96: Waiting [2023-10-06T03:22:17.064Z] e9a5061849ea: Waiting [2023-10-06T03:22:17.064Z] 2de7ff778b66: Waiting [2023-10-06T03:22:17.064Z] 9712f1f96733: Download complete [2023-10-06T03:22:17.634Z] 63f879dbbcfc: Verifying Checksum [2023-10-06T03:22:17.634Z] 63f879dbbcfc: Download complete [2023-10-06T03:22:17.634Z] e9a5061849ea: Verifying Checksum [2023-10-06T03:22:17.634Z] e9a5061849ea: Download complete [2023-10-06T03:22:17.634Z] 0d9ebad4ef96: Verifying Checksum [2023-10-06T03:22:17.634Z] 0d9ebad4ef96: Download complete [2023-10-06T03:22:17.634Z] d747dcd14b5f: Verifying Checksum [2023-10-06T03:22:17.634Z] d747dcd14b5f: Download complete [2023-10-06T03:22:17.634Z] ab5ef0e58194: Download complete [2023-10-06T03:22:17.892Z] 2de7ff778b66: Verifying Checksum [2023-10-06T03:22:17.892Z] 2de7ff778b66: Download complete [2023-10-06T03:22:20.417Z] ab5ef0e58194: Pull complete [2023-10-06T03:22:20.417Z] 9712f1f96733: Pull complete [2023-10-06T03:22:20.675Z] 63f879dbbcfc: Pull complete [2023-10-06T03:22:23.955Z] 0d9ebad4ef96: Pull complete [2023-10-06T03:22:24.212Z] e9a5061849ea: Pull complete [2023-10-06T03:22:24.212Z] d747dcd14b5f: Pull complete [2023-10-06T03:22:25.146Z] 2de7ff778b66: Pull complete [2023-10-06T03:22:25.146Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-06T03:22:25.146Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-06T03:22:25.146Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-06T03:22:25.217Z] prd-ubuntu20.04-docker-8c-8g-8609 does not seem to be running inside a container [2023-10-06T03:22:25.243Z] $ 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-10-06T03:22:30.368Z] $ docker top ca775c3c45f354648a2e2b035e3172ba8cba55244a58e751470945d6f379ec62 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-06T03:22:30.435Z] provisioning config files... [2023-10-06T03:22:30.442Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14831159472578705997tmp [2023-10-06T03:22:30.452Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8433566111324990430tmp [2023-10-06T03:22:30.459Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config17462079403679270341tmp [Pipeline] { [Pipeline] echo [2023-10-06T03:22:30.474Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-06T03:22:30.753Z] ---> sigul-configuration.sh [2023-10-06T03:22:30.753Z] gpg: directory `/root/.gnupg' created [2023-10-06T03:22:30.753Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-06T03:22:30.753Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-06T03:22:30.753Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-06T03:22:30.753Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-06T03:22:30.753Z] gpg: CAST5 encrypted data [2023-10-06T03:22:30.753Z] gpg: encrypted with 1 passphrase [2023-10-06T03:22:30.753Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-06T03:22:31.037Z] + mkdir /home/jenkins [2023-10-06T03:22:31.037Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-06T03:22:31.322Z] + 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-10-06T03:22:31.331Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-06T03:22:31.612Z] ---> sigul-install.sh [2023-10-06T03:22:31.613Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-06T03:22:31.902Z] + git tag --list [2023-10-06T03:22:31.902Z] 0.7.0 [2023-10-06T03:22:31.902Z] 0.7.1 [2023-10-06T03:22:31.902Z] 1.0.0 [2023-10-06T03:22:31.902Z] v1.0.1 [2023-10-06T03:22:31.902Z] v1.0.2 [2023-10-06T03:22:31.902Z] v1.0.3 [2023-10-06T03:22:31.902Z] v1.1.0 [2023-10-06T03:22:31.902Z] v1.1.1 [2023-10-06T03:22:31.902Z] v1.2.0 [2023-10-06T03:22:31.902Z] v1.2.1 [2023-10-06T03:22:31.902Z] v1.2.2 [2023-10-06T03:22:31.902Z] v1.3.0 [2023-10-06T03:22:31.902Z] v1.3.1 [2023-10-06T03:22:31.902Z] v2.0.0 [2023-10-06T03:22:31.902Z] v2.1.0 [2023-10-06T03:22:31.902Z] v2.2.0 [2023-10-06T03:22:31.902Z] v2.3.0 [2023-10-06T03:22:31.902Z] v3.0 [2023-10-06T03:22:31.902Z] v3.0.0 [2023-10-06T03:22:31.902Z] v3.0.1 [2023-10-06T03:22:31.902Z] v3.0.2 [2023-10-06T03:22:31.902Z] v3.0.3-dev.1 [2023-10-06T03:22:31.902Z] v3.0.3-dev.2 [2023-10-06T03:22:31.902Z] v3.0.3-dev.3 [2023-10-06T03:22:31.902Z] v3.1.0-dev.1 [2023-10-06T03:22:31.902Z] v3.1.0-dev.2 [2023-10-06T03:22:31.902Z] v3.1.0-dev.3 [2023-10-06T03:22:31.902Z] v3.1.0-dev.4 [2023-10-06T03:22:31.902Z] v3.1.0-dev.5 [2023-10-06T03:22:31.902Z] v3.1.0-dev.6 [2023-10-06T03:22:31.902Z] v3.1.0-dev.7 [2023-10-06T03:22:31.902Z] v3.1.0-dev.8 [2023-10-06T03:22:31.902Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-06T03:22:32.187Z] + lftools sign git-tag v3.0.3-dev.3 [2023-10-06T03:22:32.755Z] Signing Git tag with Sigul... [2023-10-06T03:22:32.755Z] Signing v3.0.3-dev.3 [Pipeline] echo [2023-10-06T03:22:33.023Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-06T03:22:33.306Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-06T03:22:33.314Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-06T03:22:33.335Z] $ docker stop --time=1 ca775c3c45f354648a2e2b035e3172ba8cba55244a58e751470945d6f379ec62 [2023-10-06T03:22:34.621Z] $ docker rm -f --volumes ca775c3c45f354648a2e2b035e3172ba8cba55244a58e751470945d6f379ec62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-06T03:22:35.016Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-06T03:22:35.017Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T03:22:35.311Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-06T03:22:35.311Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-06T03:22:35.384Z] prd-ubuntu20.04-docker-8c-8g-8609 does not seem to be running inside a container [2023-10-06T03:22:35.414Z] $ 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-10-06T03:22:35.744Z] $ docker top dba030e235ccb680b290edf577cd65b674b09c5c6ac5b024253ce7870c325e1c -eo pid,comm [2023-10-06T03:22:35.794Z] 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-10-06T03:22:35.794Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-06T03:22:35.827Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-06T03:22:35.827Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-06T03:22:35.945Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-06T03:22:35.949Z] $ docker exec dba030e235ccb680b290edf577cd65b674b09c5c6ac5b024253ce7870c325e1c ssh-agent [2023-10-06T03:22:36.053Z] SSH_AUTH_SOCK=/tmp/ssh-Ho2TMXqcgIua/agent.33 [2023-10-06T03:22:36.053Z] SSH_AGENT_PID=39 [2023-10-06T03:22:36.057Z] Running ssh-add (command line suppressed) [2023-10-06T03:22:36.162Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_14392911864375409819.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_14392911864375409819.key) [2023-10-06T03:22:36.174Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-06T03:22:36.467Z] + git semver bump pre [2023-10-06T03:22:36.727Z] 2023-10-06 03:22:36,623 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-10-06T03:22:36.727Z] 2023-10-06 03:22:36,623 [bump_version] DEBUG bumping version:3.0.3-dev.3 on axis:pre with prefix:dev [2023-10-06T03:22:36.727Z] 2023-10-06 03:22:36,623 [bump_version] DEBUG bumped version:3.0.3-dev.4 [2023-10-06T03:22:36.727Z] 2023-10-06 03:22:36,623 [write_version] DEBUG write version:3.0.3-dev.4 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2023-10-06T03:22:36.727Z] 2023-10-06 03:22:36,623 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-10-06T03:22:36.727Z] 2023-10-06 03:22:36,623 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-10-06T03:22:36.727Z] 2023-10-06 03:22:36,625 [execute] INFO git cat-file --batch-check [2023-10-06T03:22:36.727Z] 2023-10-06 03:22:36,625 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-06T03:22:36.727Z] 2023-10-06 03:22:36,630 [execute] INFO git cat-file --batch [2023-10-06T03:22:36.727Z] 2023-10-06 03:22:36,630 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-06T03:22:36.727Z] 2023-10-06 03:22:36,635 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-10-06T03:22:36.727Z] 3.0.3-dev.4 [Pipeline] } [2023-10-06T03:22:36.738Z] $ docker exec --env ******** --env ******** dba030e235ccb680b290edf577cd65b674b09c5c6ac5b024253ce7870c325e1c ssh-agent -k [2023-10-06T03:22:36.840Z] unset SSH_AUTH_SOCK; [2023-10-06T03:22:36.841Z] unset SSH_AGENT_PID; [2023-10-06T03:22:36.841Z] echo Agent pid 39 killed; [2023-10-06T03:22:36.847Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-06T03:22:37.166Z] + git semver [Pipeline] } [2023-10-06T03:22:37.439Z] $ docker stop --time=1 dba030e235ccb680b290edf577cd65b674b09c5c6ac5b024253ce7870c325e1c [2023-10-06T03:22:38.684Z] $ docker rm -f --volumes dba030e235ccb680b290edf577cd65b674b09c5c6ac5b024253ce7870c325e1c [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-06T03:22:39.029Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-06T03:22:39.029Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T03:22:39.327Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-06T03:22:39.327Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-06T03:22:39.394Z] prd-ubuntu20.04-docker-8c-8g-8609 does not seem to be running inside a container [2023-10-06T03:22:39.421Z] $ 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-10-06T03:22:39.750Z] $ docker top 3aa4d821c023f894dc670c5a86a0caf8247b970fd9c21d036a015539e8bdbbe1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-06T03:22:39.836Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-06T03:22:39.836Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-06T03:22:39.940Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-06T03:22:39.944Z] $ docker exec 3aa4d821c023f894dc670c5a86a0caf8247b970fd9c21d036a015539e8bdbbe1 ssh-agent [2023-10-06T03:22:40.054Z] SSH_AUTH_SOCK=/tmp/ssh-dku4qLj3z5Qs/agent.32 [2023-10-06T03:22:40.054Z] SSH_AGENT_PID=39 [2023-10-06T03:22:40.058Z] Running ssh-add (command line suppressed) [2023-10-06T03:22:40.162Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3912728026155398236.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3912728026155398236.key) [2023-10-06T03:22:40.177Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-06T03:22:40.465Z] + git semver push [2023-10-06T03:22:40.723Z] 2023-10-06 03:22:40,643 [run_push] DEBUG push [2023-10-06T03:22:40.723Z] 2023-10-06 03:22:40,644 [execute] INFO git cat-file --batch-check [2023-10-06T03:22:40.723Z] 2023-10-06 03:22:40,644 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-06T03:22:40.723Z] 2023-10-06 03:22:40,648 [execute] INFO git rev-list 577d9511a9c4b30ec706b37b444dc689e14d73b7 -- [2023-10-06T03:22:40.723Z] 2023-10-06 03:22:40,648 [execute] DEBUG Popen(['git', 'rev-list', '577d9511a9c4b30ec706b37b444dc689e14d73b7', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-06T03:22:40.723Z] 2023-10-06 03:22:40,656 [execute] INFO git fetch -v origin [2023-10-06T03:22:40.723Z] 2023-10-06 03:22:40,657 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-06T03:22:41.290Z] 2023-10-06 03:22:41,198 [run_push] DEBUG no remote changes detected [2023-10-06T03:22:41.290Z] 2023-10-06 03:22:41,198 [execute] INFO git push origin semver [2023-10-06T03:22:41.290Z] 2023-10-06 03:22:41,199 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-06T03:22:42.227Z] 2023-10-06 03:22:41,955 [run_push] DEBUG push all version tags [2023-10-06T03:22:42.227Z] 2023-10-06 03:22:41,955 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-06T03:22:42.227Z] 2023-10-06 03:22:41,956 [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-10-06T03:22:42.797Z] 2023-10-06 03:22:42,757 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2023-10-06T03:22:42.797Z] 3.0.3-dev.4 [Pipeline] } [2023-10-06T03:22:42.810Z] $ docker exec --env ******** --env ******** 3aa4d821c023f894dc670c5a86a0caf8247b970fd9c21d036a015539e8bdbbe1 ssh-agent -k [2023-10-06T03:22:42.905Z] unset SSH_AUTH_SOCK; [2023-10-06T03:22:42.905Z] unset SSH_AGENT_PID; [2023-10-06T03:22:42.905Z] echo Agent pid 39 killed; [2023-10-06T03:22:42.914Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-06T03:22:43.224Z] + git semver [Pipeline] } [2023-10-06T03:22:43.498Z] $ docker stop --time=1 3aa4d821c023f894dc670c5a86a0caf8247b970fd9c21d036a015539e8bdbbe1 [2023-10-06T03:22:44.785Z] $ docker rm -f --volumes 3aa4d821c023f894dc670c5a86a0caf8247b970fd9c21d036a015539e8bdbbe1 [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-10-06T03:22:45.246Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2023-10-06T03:22:45.246Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-10-06T03:22:45.246Z] total 16 [2023-10-06T03:22:45.246Z] drwxr-xr-x 3 root root 4096 Oct 6 03:17 . [2023-10-06T03:22:45.246Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 6 03:22 .. [2023-10-06T03:22:45.246Z] drwxr-xr-x 2 root root 4096 Oct 6 03:17 cost [2023-10-06T03:22:45.246Z] -rw-r--r-- 1 root root 83 Oct 6 03:17 cost.csv [2023-10-06T03:22:45.246Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-10-06T03:22:45.246Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2023-10-06T03:22:45.246Z] total 16 [2023-10-06T03:22:45.246Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 6 03:17 . [2023-10-06T03:22:45.246Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 6 03:22 .. [2023-10-06T03:22:45.246Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 6 03:17 cost [2023-10-06T03:22:45.246Z] -rw-r--r-- 1 jenkins jenkins 83 Oct 6 03:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-06T03:22:45.537Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-06T03:22:46.397Z] ---> package-listing.sh [2023-10-06T03:22:46.397Z] ++ facter osfamily [2023-10-06T03:22:46.397Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-06T03:22:46.656Z] + OS_FAMILY=debian [2023-10-06T03:22:46.656Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2023-10-06T03:22:46.656Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-06T03:22:46.656Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-06T03:22:46.656Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-06T03:22:46.656Z] + PACKAGES=/tmp/packages_start.txt [2023-10-06T03:22:46.656Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-10-06T03:22:46.656Z] + PACKAGES=/tmp/packages_end.txt [2023-10-06T03:22:46.656Z] + case "${OS_FAMILY}" in [2023-10-06T03:22:46.656Z] + dpkg -l [2023-10-06T03:22:46.656Z] + grep '^ii' [2023-10-06T03:22:46.656Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-06T03:22:46.656Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-06T03:22:46.656Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-06T03:22:46.656Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2023-10-06T03:22:46.656Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2023-10-06T03:22:46.656Z] + 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-10-06T03:22:46.667Z] 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-10-06T03:22:46.943Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T03:22:47.499Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-06T03:22:47.499Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-06T03:22:47.566Z] prd-ubuntu20.04-docker-8c-8g-8609 does not seem to be running inside a container [2023-10-06T03:22:47.595Z] $ 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-10-06T03:22:47.791Z] $ docker top e881a7aa042c8395e2384e2ab89bef3360d205073253a7495c472bc75f6ca8ca -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-06T03:22:48.125Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-06T03:22:48.411Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-06T03:22:48.694Z] + ls /var/log/sa-host [2023-10-06T03:22:48.694Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-06T03:22:48.858Z] provisioning config files... [2023-10-06T03:22:48.865Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config18024329776854407577tmp [Pipeline] { [Pipeline] echo [2023-10-06T03:22:48.884Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-06T03:22:49.168Z] ---> create-netrc.sh [Pipeline] } [2023-10-06T03:22:49.176Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-06T03:22:49.499Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-06T03:22:49.507Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-06T03:22:49.789Z] ---> sudo-logs.sh [2023-10-06T03:22:49.789Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-06T03:22:49.821Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-06T03:22:50.101Z] ---> job-cost.sh [2023-10-06T03:22:50.101Z] lf-activate-venv: SKIPPING [2023-10-06T03:22:50.101Z] DEBUG: total: 0.2199999988079071 [2023-10-06T03:22:50.101Z] INFO: Retrieving Stack Cost... [2023-10-06T03:22:50.361Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-06T03:22:50.619Z] INFO: Archiving Costs [Pipeline] echo [2023-10-06T03:22:50.629Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-06T03:22:50.909Z] ---> logs-deploy.sh [2023-10-06T03:22:50.909Z] lf-activate-venv: SKIPPING [2023-10-06T03:22:50.909Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/62 [2023-10-06T03:22:50.909Z] INFO: archiving workspace using pattern(s): [2023-10-06T03:22:51.844Z] Archives upload complete. [2023-10-06T03:22:51.844Z] INFO: archiving logs to Nexus