Pull request #484 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from f5e8097abe6b5c7b0f974df84e0699c51abe1be0+b359547df5a09ee3070876df63645d58a75503b0 (2861550e8a9a6f58e8a6502073e220dd3bc78b7b) 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-ssh11043902063202931027.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-ssh9558404389005325636.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/PR-484/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/PR-484/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11629645784047438743.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-ssh103498882657420449.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/PR-484/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/PR-484/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4304075907949739522.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-8401 in /w/workspace/edgexfoundry_device-sdk-c_PR-484 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-484 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/484/head:refs/remotes/origin/PR-484 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b359547df5a09ee3070876df63645d58a75503b0 into PR head commit f5e8097abe6b5c7b0f974df84e0699c51abe1be0 Merge succeeded, producing 5872494e1ce6aedb461f198c28d28b829ee8336f Checking out Revision 5872494e1ce6aedb461f198c28d28b829ee8336f (PR-484) > git config core.sparsecheckout # timeout=10 > git checkout -f f5e8097abe6b5c7b0f974df84e0699c51abe1be0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b359547df5a09ee3070876df63645d58a75503b0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5872494e1ce6aedb461f198c28d28b829ee8336f # timeout=10 Commit message: "Merge commit 'b359547df5a09ee3070876df63645d58a75503b0' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-03T14:03:37.576Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-03T14:03:37.622Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-03T14:03:37.632Z] ========================================================= [2023-10-03T14:03:37.632Z] EdgeX Global Pipelines Version Info [2023-10-03T14:03:37.633Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk b002f4e2e88dc501838693b4bcb5db5f944042d7 # timeout=10 [2023-10-03T14:03:38.736Z] ------------------- [2023-10-03T14:03:38.736Z] stable info: [2023-10-03T14:03:38.736Z] ------------------- [2023-10-03T14:03:38.736Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-03T14:03:38.736Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-03T14:03:38.736Z] Message: update stable to v1.0.254 [2023-10-03T14:03:39.308Z] ------------------- [2023-10-03T14:03:39.308Z] experimental info: [2023-10-03T14:03:39.308Z] ------------------- [2023-10-03T14:03:39.308Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-03T14:03:39.308Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-03T14:03:39.308Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-03T14:03:39.492Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-10-03T14:03:39.507Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-10-03T14:03:39.519Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-03T14:03:39.532Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-03T14:03:39.543Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-03T14:03:39.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-10-03T14:03:39.568Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-10-03T14:03:39.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-03T14:03:39.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-03T14:03:39.618Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-10-03T14:03:39.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-03T14:03:39.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-03T14:03:39.669Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-03T14:03:39.679Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-10-03T14:03:39.692Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-03T14:03:39.704Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-03T14:03:39.718Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-03T14:03:39.736Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-484 [Pipeline] echo [2023-10-03T14:03:39.750Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-484 [Pipeline] echo [2023-10-03T14:03:39.763Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-484 [Pipeline] echo [2023-10-03T14:03:39.782Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5872494e1ce6aedb461f198c28d28b829ee8336f [Pipeline] echo [2023-10-03T14:03:39.795Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5872494 [Pipeline] echo [2023-10-03T14:03:39.807Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-03T14:03:39.854Z] provisioning config files... [2023-10-03T14:03:39.880Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp/config56799578108187682tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-03T14:03:40.188Z] ---> docker-login.sh [2023-10-03T14:03:40.188Z] nexus3.edgexfoundry.org:10001 [2023-10-03T14:03:40.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T14:03:40.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T14:03:40.447Z] Configure a credential helper to remove this warning. See [2023-10-03T14:03:40.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T14:03:40.447Z] [2023-10-03T14:03:40.447Z] Login Succeeded [2023-10-03T14:03:40.447Z] nexus3.edgexfoundry.org:10002 [2023-10-03T14:03:40.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T14:03:40.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T14:03:40.710Z] Configure a credential helper to remove this warning. See [2023-10-03T14:03:40.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T14:03:40.710Z] [2023-10-03T14:03:40.710Z] Login Succeeded [2023-10-03T14:03:40.710Z] nexus3.edgexfoundry.org:10003 [2023-10-03T14:03:40.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T14:03:40.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T14:03:40.710Z] Configure a credential helper to remove this warning. See [2023-10-03T14:03:40.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T14:03:40.710Z] [2023-10-03T14:03:40.710Z] Login Succeeded [2023-10-03T14:03:40.710Z] nexus3.edgexfoundry.org:10004 [2023-10-03T14:03:40.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T14:03:40.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T14:03:40.973Z] Configure a credential helper to remove this warning. See [2023-10-03T14:03:40.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T14:03:40.973Z] [2023-10-03T14:03:40.973Z] Login Succeeded [2023-10-03T14:03:40.973Z] docker.io [2023-10-03T14:03:40.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T14:03:41.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T14:03:41.234Z] Configure a credential helper to remove this warning. See [2023-10-03T14:03:41.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T14:03:41.234Z] [2023-10-03T14:03:41.234Z] Login Succeeded [2023-10-03T14:03:41.234Z] ---> docker-login.sh ends [Pipeline] } [2023-10-03T14:03:41.241Z] 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-03T14:03:41.609Z] + git rev-list -1 --merges 5872494e1ce6aedb461f198c28d28b829ee8336f~1..5872494e1ce6aedb461f198c28d28b829ee8336f [Pipeline] echo [2023-10-03T14:03:41.646Z] -----------> git rev-list -1 --merges 5872494e1ce6aedb461f198c28d28b829ee8336f~1..5872494e1ce6aedb461f198c28d28b829ee8336f 5872494e1ce6aedb461f198c28d28b829ee8336f [2023-10-03T14:03:41.646Z] 5872494e1ce6aedb461f198c28d28b829ee8336f [false] [Pipeline] sh [2023-10-03T14:03:41.936Z] + git log --format=format:%s -1 5872494e1ce6aedb461f198c28d28b829ee8336f [Pipeline] echo [2023-10-03T14:03:41.952Z] ========================================================= [2023-10-03T14:03:41.952Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-03T14:03:41.952Z] ========================================================= 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-03T14:03:42.324Z] + git rev-list -1 --merges 5872494e1ce6aedb461f198c28d28b829ee8336f~1..5872494e1ce6aedb461f198c28d28b829ee8336f [Pipeline] echo [2023-10-03T14:03:42.336Z] -----------> git rev-list -1 --merges 5872494e1ce6aedb461f198c28d28b829ee8336f~1..5872494e1ce6aedb461f198c28d28b829ee8336f 5872494e1ce6aedb461f198c28d28b829ee8336f [2023-10-03T14:03:42.336Z] 5872494e1ce6aedb461f198c28d28b829ee8336f [false] [Pipeline] sh [2023-10-03T14:03:42.626Z] + git log --format=format:%s -1 5872494e1ce6aedb461f198c28d28b829ee8336f [Pipeline] echo [2023-10-03T14:03:42.641Z] ========================================================= [2023-10-03T14:03:42.641Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-03T14:03:42.641Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-10-03T14:03:43.052Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-03T14:03:43.052Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-03T14:03:43.052Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-03T14:03:43.052Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-03T14:03:43.052Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-03T14:03:43.052Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-03T14:03:43.052Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-03T14:03:43.398Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-03T14:03:43.398Z] [2023-10-03T14:03:43.398Z] 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-03T14:03:43.697Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-03T14:03:43.697Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-03T14:03:43.697Z] b85a868b505f: Pulling fs layer [2023-10-03T14:03:43.697Z] e2be974225ed: Pulling fs layer [2023-10-03T14:03:43.697Z] 339a4e72a1f5: Pulling fs layer [2023-10-03T14:03:43.697Z] 988bab9f4d93: Pulling fs layer [2023-10-03T14:03:43.697Z] 1469e6f7b9e6: Pulling fs layer [2023-10-03T14:03:43.697Z] eaf3925da568: Pulling fs layer [2023-10-03T14:03:43.697Z] bab4dde63d76: Pulling fs layer [2023-10-03T14:03:43.697Z] bde34c3a00c8: Pulling fs layer [2023-10-03T14:03:43.697Z] b352a97aabf1: Pulling fs layer [2023-10-03T14:03:43.697Z] 4872d77fe225: Pulling fs layer [2023-10-03T14:03:43.697Z] 5851b861e8e6: Pulling fs layer [2023-10-03T14:03:43.697Z] eaf3925da568: Waiting [2023-10-03T14:03:43.697Z] 4872d77fe225: Waiting [2023-10-03T14:03:43.697Z] bab4dde63d76: Waiting [2023-10-03T14:03:43.697Z] 5851b861e8e6: Waiting [2023-10-03T14:03:43.697Z] bde34c3a00c8: Waiting [2023-10-03T14:03:43.697Z] b352a97aabf1: Waiting [2023-10-03T14:03:43.697Z] 988bab9f4d93: Waiting [2023-10-03T14:03:43.697Z] 1469e6f7b9e6: Waiting [2023-10-03T14:03:43.697Z] e2be974225ed: Verifying Checksum [2023-10-03T14:03:43.697Z] e2be974225ed: Download complete [2023-10-03T14:03:43.697Z] 988bab9f4d93: Verifying Checksum [2023-10-03T14:03:43.697Z] 988bab9f4d93: Download complete [2023-10-03T14:03:43.958Z] 1469e6f7b9e6: Download complete [2023-10-03T14:03:43.958Z] eaf3925da568: Verifying Checksum [2023-10-03T14:03:43.958Z] eaf3925da568: Download complete [2023-10-03T14:03:43.958Z] 339a4e72a1f5: Verifying Checksum [2023-10-03T14:03:43.958Z] 339a4e72a1f5: Download complete [2023-10-03T14:03:43.958Z] bde34c3a00c8: Verifying Checksum [2023-10-03T14:03:43.958Z] bde34c3a00c8: Download complete [2023-10-03T14:03:43.958Z] b352a97aabf1: Verifying Checksum [2023-10-03T14:03:43.958Z] b352a97aabf1: Download complete [2023-10-03T14:03:43.958Z] 4872d77fe225: Download complete [2023-10-03T14:03:43.958Z] 5851b861e8e6: Verifying Checksum [2023-10-03T14:03:43.958Z] 5851b861e8e6: Download complete [2023-10-03T14:03:43.958Z] b85a868b505f: Verifying Checksum [2023-10-03T14:03:43.958Z] b85a868b505f: Download complete [2023-10-03T14:03:44.216Z] bab4dde63d76: Verifying Checksum [2023-10-03T14:03:44.216Z] bab4dde63d76: Download complete [2023-10-03T14:03:45.152Z] b85a868b505f: Pull complete [2023-10-03T14:03:45.411Z] e2be974225ed: Pull complete [2023-10-03T14:03:45.669Z] 339a4e72a1f5: Pull complete [2023-10-03T14:03:45.928Z] 988bab9f4d93: Pull complete [2023-10-03T14:03:46.187Z] 1469e6f7b9e6: Pull complete [2023-10-03T14:03:46.187Z] eaf3925da568: Pull complete [2023-10-03T14:03:48.088Z] bab4dde63d76: Pull complete [2023-10-03T14:03:48.088Z] bde34c3a00c8: Pull complete [2023-10-03T14:03:48.088Z] b352a97aabf1: Pull complete [2023-10-03T14:03:48.088Z] 4872d77fe225: Pull complete [2023-10-03T14:03:48.348Z] 5851b861e8e6: Pull complete [2023-10-03T14:03:48.348Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-03T14:03:48.348Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-03T14:03:48.348Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-03T14:03:48.487Z] prd-ubuntu20.04-docker-8c-8g-8401 does not seem to be running inside a container [2023-10-03T14:03:48.511Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-484 -v /w/workspace/edgexfoundry_device-sdk-c_PR-484:/w/workspace/edgexfoundry_device-sdk-c_PR-484:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-03T14:03:51.456Z] $ docker top 7b4ce7967a53ea64b968e3338d417f55a01d549ec375ea676ccb503670fd95e8 -eo pid,comm [2023-10-03T14:03:51.517Z] 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-03T14:03:51.517Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-03T14:03:51.557Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-03T14:03:51.557Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-03T14:03:51.652Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-03T14:03:51.651Z] $ docker exec 7b4ce7967a53ea64b968e3338d417f55a01d549ec375ea676ccb503670fd95e8 ssh-agent [2023-10-03T14:03:51.762Z] SSH_AUTH_SOCK=/tmp/ssh-h3uvPiF8cXk0/agent.33 [2023-10-03T14:03:51.762Z] SSH_AGENT_PID=39 [2023-10-03T14:03:51.768Z] Running ssh-add (command line suppressed) [2023-10-03T14:03:51.866Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp/private_key_11557290954533680094.key (/w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp/private_key_11557290954533680094.key) [2023-10-03T14:03:51.881Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-03T14:03:52.163Z] + git tag --points-at HEAD [Pipeline] } [2023-10-03T14:03:52.176Z] $ docker exec --env ******** --env ******** 7b4ce7967a53ea64b968e3338d417f55a01d549ec375ea676ccb503670fd95e8 ssh-agent -k [2023-10-03T14:03:52.286Z] unset SSH_AUTH_SOCK; [2023-10-03T14:03:52.286Z] unset SSH_AGENT_PID; [2023-10-03T14:03:52.286Z] echo Agent pid 39 killed; [2023-10-03T14:03:52.297Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-03T14:03:52.324Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-03T14:03:52.325Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-03T14:03:52.422Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-03T14:03:52.421Z] $ docker exec 7b4ce7967a53ea64b968e3338d417f55a01d549ec375ea676ccb503670fd95e8 ssh-agent [2023-10-03T14:03:52.525Z] SSH_AUTH_SOCK=/tmp/ssh-iq4YKwfXxQXo/agent.71 [2023-10-03T14:03:52.525Z] SSH_AGENT_PID=77 [2023-10-03T14:03:52.530Z] Running ssh-add (command line suppressed) [2023-10-03T14:03:52.638Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp/private_key_5271730666545080586.key (/w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp/private_key_5271730666545080586.key) [2023-10-03T14:03:52.655Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-03T14:03:52.939Z] + git semver init [2023-10-03T14:03:53.199Z] 2023-10-03 14:03:53,124 [run_init] DEBUG init version:0.0.0 force:False [2023-10-03T14:03:53.199Z] 2023-10-03 14:03:53,125 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-484/.semver [2023-10-03T14:03:53.199Z] 2023-10-03 14:03:53,125 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-484/.semver [2023-10-03T14:03:53.199Z] 2023-10-03 14:03:53,126 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-484/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-484, universal_newlines=False, shell=None, istream=None) [2023-10-03T14:03:54.136Z] 2023-10-03 14:03:54,075 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-484/.git/info/exclude [2023-10-03T14:03:54.136Z] 2023-10-03 14:03:54,076 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-484/.semver/PR-484 with force:False [2023-10-03T14:03:54.136Z] 2023-10-03 14:03:54,076 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-484/.semver/PR-484 [2023-10-03T14:03:54.136Z] 2023-10-03 14:03:54,080 [execute] INFO git cat-file --batch-check [2023-10-03T14:03:54.136Z] 2023-10-03 14:03:54,081 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-484/.semver, universal_newlines=False, shell=None, istream=) [2023-10-03T14:03:54.136Z] 2023-10-03 14:03:54,087 [execute] INFO git cat-file --batch [2023-10-03T14:03:54.136Z] 2023-10-03 14:03:54,088 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-484/.semver, universal_newlines=False, shell=None, istream=) [2023-10-03T14:03:54.136Z] 2023-10-03 14:03:54,094 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-484/.semver/PR-484 [2023-10-03T14:03:54.136Z] 0.0.0 [Pipeline] } [2023-10-03T14:03:54.142Z] $ docker exec --env ******** --env ******** 7b4ce7967a53ea64b968e3338d417f55a01d549ec375ea676ccb503670fd95e8 ssh-agent -k [2023-10-03T14:03:54.233Z] unset SSH_AUTH_SOCK; [2023-10-03T14:03:54.233Z] unset SSH_AGENT_PID; [2023-10-03T14:03:54.233Z] echo Agent pid 77 killed; [2023-10-03T14:03:54.246Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-03T14:03:54.551Z] + git semver [Pipeline] } [2023-10-03T14:03:54.821Z] $ docker stop --time=1 7b4ce7967a53ea64b968e3338d417f55a01d549ec375ea676ccb503670fd95e8 [2023-10-03T14:03:56.119Z] $ docker rm -f --volumes 7b4ce7967a53ea64b968e3338d417f55a01d549ec375ea676ccb503670fd95e8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-03T14:03:56.451Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-03T14:03:56.656Z] Stashed 1 file(s) [Pipeline] echo [2023-10-03T14:03:56.659Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-03T14:03:56.812Z] provisioning config files... [2023-10-03T14:03:56.820Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp/config1432097499065841729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-03T14:03:57.113Z] ---> docker-login.sh [2023-10-03T14:03:57.113Z] nexus3.edgexfoundry.org:10001 [2023-10-03T14:03:57.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T14:03:57.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T14:03:57.113Z] Configure a credential helper to remove this warning. See [2023-10-03T14:03:57.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T14:03:57.113Z] [2023-10-03T14:03:57.113Z] Login Succeeded [2023-10-03T14:03:57.113Z] nexus3.edgexfoundry.org:10002 [2023-10-03T14:03:57.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T14:03:57.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T14:03:57.113Z] Configure a credential helper to remove this warning. See [2023-10-03T14:03:57.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T14:03:57.113Z] [2023-10-03T14:03:57.113Z] Login Succeeded [2023-10-03T14:03:57.113Z] nexus3.edgexfoundry.org:10003 [2023-10-03T14:03:57.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T14:03:57.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T14:03:57.373Z] Configure a credential helper to remove this warning. See [2023-10-03T14:03:57.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T14:03:57.373Z] [2023-10-03T14:03:57.373Z] Login Succeeded [2023-10-03T14:03:57.373Z] nexus3.edgexfoundry.org:10004 [2023-10-03T14:03:57.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T14:03:57.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T14:03:57.373Z] Configure a credential helper to remove this warning. See [2023-10-03T14:03:57.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T14:03:57.373Z] [2023-10-03T14:03:57.373Z] Login Succeeded [2023-10-03T14:03:57.373Z] docker.io [2023-10-03T14:03:57.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T14:03:57.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T14:03:57.633Z] Configure a credential helper to remove this warning. See [2023-10-03T14:03:57.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T14:03:57.633Z] [2023-10-03T14:03:57.633Z] Login Succeeded [2023-10-03T14:03:57.633Z] ---> docker-login.sh ends [Pipeline] } [2023-10-03T14:03:57.640Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-03T14:03:57.703Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-03T14:03:57.713Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-10-03T14:03:57.722Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-03T14:03:57.728Z] ========================================================= [2023-10-03T14:03:57.728Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-10-03T14:03:57.728Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-03T14:03:58.023Z] + 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-03T14:03:58.023Z] Sending build context to Docker daemon 5.019MB [2023-10-03T14:03:58.023Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-10-03T14:03:58.023Z] Step 2/21 : FROM ${BASE} as builder [2023-10-03T14:03:58.283Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-10-03T14:03:58.283Z] 91d30c5bc195: Pulling fs layer [2023-10-03T14:03:58.283Z] 316e5a4585fb: Pulling fs layer [2023-10-03T14:03:58.283Z] 91d30c5bc195: Verifying Checksum [2023-10-03T14:03:58.283Z] 91d30c5bc195: Download complete [2023-10-03T14:03:58.283Z] 91d30c5bc195: Pull complete [2023-10-03T14:03:58.852Z] 316e5a4585fb: Verifying Checksum [2023-10-03T14:03:58.852Z] 316e5a4585fb: Download complete [2023-10-03T14:04:01.387Z] 316e5a4585fb: Pull complete [2023-10-03T14:04:01.387Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-10-03T14:04:01.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-10-03T14:04:01.387Z] ---> e83ffa357ff4 [2023-10-03T14:04:01.387Z] 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-03T14:04:03.315Z] ---> Running in a9753ac06e86 [2023-10-03T14:04:03.575Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-10-03T14:04:04.142Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-03T14:04:04.142Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-03T14:04:04.142Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-03T14:04:04.400Z] Removing intermediate container a9753ac06e86 [2023-10-03T14:04:04.400Z] ---> be40fece3b78 [2023-10-03T14:04:04.400Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-03T14:04:04.400Z] ---> Running in 325b0d4be741 [2023-10-03T14:04:04.968Z] Removing intermediate container 325b0d4be741 [2023-10-03T14:04:04.968Z] ---> e76ce4db52fa [2023-10-03T14:04:04.968Z] 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-03T14:04:04.968Z] ---> Running in 51db74c1c586 [2023-10-03T14:04:05.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-03T14:04:05.489Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-10-03T14:04:05.489Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-03T14:04:06.428Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-03T14:04:06.428Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-03T14:04:06.428Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-03T14:04:06.428Z] (3/16) Installing hiredis (1.0.2-r0) [2023-10-03T14:04:06.428Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-10-03T14:04:06.428Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-03T14:04:07.369Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-03T14:04:07.369Z] (7/16) Installing libcbor (0.9.0-r1) [2023-10-03T14:04:07.369Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-10-03T14:04:07.369Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-03T14:04:07.369Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-03T14:04:08.353Z] (11/16) Installing libblkid (2.38-r1) [2023-10-03T14:04:08.353Z] (12/16) Installing libuuid (2.38-r1) [2023-10-03T14:04:08.353Z] (13/16) Installing libfdisk (2.38-r1) [2023-10-03T14:04:08.353Z] (14/16) Installing libmount (2.38-r1) [2023-10-03T14:04:08.353Z] (15/16) Installing libsmartcols (2.38-r1) [2023-10-03T14:04:08.353Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-10-03T14:04:08.353Z] Executing busybox-1.35.0-r17.trigger [2023-10-03T14:04:08.353Z] OK: 280 MiB in 90 packages [2023-10-03T14:04:08.924Z] Removing intermediate container 51db74c1c586 [2023-10-03T14:04:08.924Z] ---> 5bdd83f2c7b1 [2023-10-03T14:04:08.924Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-10-03T14:04:08.924Z] ---> Running in ab5932777878 [2023-10-03T14:04:09.487Z] Removing intermediate container ab5932777878 [2023-10-03T14:04:09.487Z] ---> c9fabb2adca5 [2023-10-03T14:04:09.487Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-10-03T14:04:09.487Z] ---> 2d33dc908b70 [2023-10-03T14:04:09.487Z] Step 8/21 : COPY src /tmp/sdk/src [2023-10-03T14:04:09.745Z] ---> 6cff38e1f131 [2023-10-03T14:04:09.745Z] Step 9/21 : COPY include /tmp/sdk/include [2023-10-03T14:04:09.745Z] ---> 045286536560 [2023-10-03T14:04:09.745Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-10-03T14:04:10.003Z] ---> 27c5afae389c [2023-10-03T14:04:10.004Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-10-03T14:04:10.004Z] ---> 47e5accc4ce0 [2023-10-03T14:04:10.004Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-10-03T14:04:10.262Z] ---> fc7709d77ff5 [2023-10-03T14:04:10.262Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-10-03T14:04:10.262Z] ---> Running in df2dee08bffa [2023-10-03T14:04:10.519Z] + CPPCHECK=false [2023-10-03T14:04:10.519Z] + DOCGEN=false [2023-10-03T14:04:10.519Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-10-03T14:04:10.519Z] + '[' 0 -gt 0 ] [2023-10-03T14:04:10.519Z] + readlink -f ./scripts/build.sh [2023-10-03T14:04:10.519Z] + dirname /tmp/sdk/scripts/build.sh [2023-10-03T14:04:10.519Z] + dirname /tmp/sdk/scripts [2023-10-03T14:04:10.519Z] + ROOT=/tmp/sdk [2023-10-03T14:04:10.519Z] + cd /tmp/sdk [2023-10-03T14:04:10.519Z] + mkdir -p /tmp/sdk/build/release [2023-10-03T14:04:10.519Z] + cd /tmp/sdk/build/release [2023-10-03T14:04:10.519Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-10-03T14:04:10.519Z] -- The C compiler identification is GNU 11.2.1 [2023-10-03T14:04:10.519Z] -- Detecting C compiler ABI info [2023-10-03T14:04:10.519Z] -- Detecting C compiler ABI info - done [2023-10-03T14:04:10.777Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-03T14:04:10.777Z] -- Detecting C compile features [2023-10-03T14:04:10.777Z] -- Detecting C compile features - done [2023-10-03T14:04:10.777Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-03T14:04:10.777Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-03T14:04:10.777Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-03T14:04:10.777Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-03T14:04:10.777Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-03T14:04:10.778Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-03T14:04:10.778Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-03T14:04:10.778Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-03T14:04:10.778Z] -- /opt/iotech/iot/1.5/include [2023-10-03T14:04:10.778Z] -- C SDK 0.0.0 for Linux [2023-10-03T14:04:10.778Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-03T14:04:10.778Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-03T14:04:10.778Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-03T14:04:10.778Z] -- Configuring done [2023-10-03T14:04:10.778Z] -- Generating done [2023-10-03T14:04:10.778Z] -- Build files have been written to: /tmp/sdk/build/release [2023-10-03T14:04:10.778Z] + make all package [2023-10-03T14:04:10.778Z] + tee release.log [2023-10-03T14:04:11.036Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-03T14:04:11.036Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-03T14:04:11.294Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-03T14:04:11.294Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-03T14:04:11.551Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-03T14:04:11.551Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-03T14:04:11.759Z] Still waiting to schedule task [2023-10-03T14:04:11.759Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-03T14:04:12.118Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-03T14:04:12.118Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-10-03T14:04:12.118Z] /tmp/sdk/src/c/consul.c:297:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-03T14:04:12.118Z] 297 | while (privateConfig) [2023-10-03T14:04:12.118Z] | ^~~~~~~~~~~~~ [2023-10-03T14:04:12.118Z] /tmp/sdk/src/c/consul.c:274:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-03T14:04:12.118Z] 274 | while (result) [2023-10-03T14:04:12.118Z] | ^~~~~~ [2023-10-03T14:04:12.118Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-03T14:04:12.377Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-03T14:04:12.377Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-03T14:04:12.943Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-03T14:04:12.943Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-03T14:04:12.943Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-03T14:04:13.200Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-03T14:04:13.200Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-03T14:04:13.457Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-03T14:04:13.457Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-03T14:04:14.021Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-03T14:04:14.021Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-03T14:04:14.280Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-03T14:04:14.280Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-03T14:04:15.216Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-03T14:04:15.474Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-03T14:04:15.474Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-03T14:04:15.474Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-03T14:04:15.734Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-03T14:04:15.992Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-03T14:04:16.251Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-03T14:04:16.251Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-03T14:04:16.509Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-03T14:04:16.766Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-03T14:04:17.027Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-03T14:04:17.286Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-03T14:04:17.286Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-03T14:04:17.544Z] [ 68%] Linking C shared library libcsdk.so [2023-10-03T14:04:17.544Z] [ 68%] Built target csdk [2023-10-03T14:04:17.544Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-03T14:04:17.544Z] [ 72%] Linking C executable template [2023-10-03T14:04:17.802Z] [ 72%] Built target template [2023-10-03T14:04:17.802Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-03T14:04:17.802Z] [ 76%] Linking C executable device-counter [2023-10-03T14:04:17.802Z] [ 76%] Built target device-counter [2023-10-03T14:04:17.802Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-03T14:04:18.061Z] [ 80%] Linking C executable device-random [2023-10-03T14:04:18.061Z] [ 80%] Built target device-random [2023-10-03T14:04:18.061Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-03T14:04:18.321Z] [ 84%] Linking C executable device-gyro [2023-10-03T14:04:18.321Z] [ 84%] Built target device-gyro [2023-10-03T14:04:18.321Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-03T14:04:18.321Z] [ 88%] Linking C executable device-bitfields [2023-10-03T14:04:18.321Z] [ 88%] Built target device-bitfields [2023-10-03T14:04:18.579Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-03T14:04:18.580Z] [ 92%] Linking C executable template-discovery [2023-10-03T14:04:18.580Z] [ 92%] Built target template-discovery [2023-10-03T14:04:18.580Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-03T14:04:18.839Z] [ 96%] Linking C executable device-file [2023-10-03T14:04:18.839Z] [ 96%] Built target device-file [2023-10-03T14:04:18.839Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-03T14:04:19.100Z] [100%] Linking C executable device-terminal [2023-10-03T14:04:19.100Z] [100%] Built target device-terminal [2023-10-03T14:04:19.100Z] Run CPack packaging tool... [2023-10-03T14:04:19.100Z] CPack: Create package using TGZ [2023-10-03T14:04:19.100Z] CPack: Install projects [2023-10-03T14:04:19.100Z] CPack: - Run preinstall target for: Csdk [2023-10-03T14:04:19.360Z] CPack: - Install project: Csdk [] [2023-10-03T14:04:19.360Z] CPack: Create package [2023-10-03T14:04:19.360Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-10-03T14:04:19.360Z] + '[' false '=' true ] [2023-10-03T14:04:19.360Z] + '[' false '=' true ] [2023-10-03T14:04:19.360Z] + mkdir -p /tmp/sdk/build/debug [2023-10-03T14:04:19.360Z] + cd /tmp/sdk/build/debug [2023-10-03T14:04:19.360Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-10-03T14:04:19.360Z] -- The C compiler identification is GNU 11.2.1 [2023-10-03T14:04:19.619Z] -- Detecting C compiler ABI info [2023-10-03T14:04:19.619Z] -- Detecting C compiler ABI info - done [2023-10-03T14:04:19.619Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-03T14:04:19.619Z] -- Detecting C compile features [2023-10-03T14:04:19.619Z] -- Detecting C compile features - done [2023-10-03T14:04:19.619Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-03T14:04:19.619Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-03T14:04:19.619Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-03T14:04:19.619Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-03T14:04:19.619Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-03T14:04:19.619Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-03T14:04:19.619Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-03T14:04:19.619Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-03T14:04:19.619Z] -- /opt/iotech/iot/1.5/include [2023-10-03T14:04:19.619Z] -- C SDK 0.0.0 for Linux [2023-10-03T14:04:19.619Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-03T14:04:19.619Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-03T14:04:19.876Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-03T14:04:19.876Z] -- Configuring done [2023-10-03T14:04:19.876Z] -- Generating done [2023-10-03T14:04:19.876Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-10-03T14:04:19.876Z] + + make [2023-10-03T14:04:19.876Z] tee debug.log [2023-10-03T14:04:19.876Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-03T14:04:19.876Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-03T14:04:20.134Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-03T14:04:20.134Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-03T14:04:20.134Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-03T14:04:20.392Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-03T14:04:20.392Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-03T14:04:20.392Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-03T14:04:20.650Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-03T14:04:20.650Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-03T14:04:20.650Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-03T14:04:20.908Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-03T14:04:20.908Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-03T14:04:20.908Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-03T14:04:21.166Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-03T14:04:21.166Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-03T14:04:21.166Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-03T14:04:21.424Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-03T14:04:21.424Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-03T14:04:21.424Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-03T14:04:21.681Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-03T14:04:21.938Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-03T14:04:21.938Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-03T14:04:21.938Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-03T14:04:21.938Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-03T14:04:22.196Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-03T14:04:22.196Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-03T14:04:22.455Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-03T14:04:22.455Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-03T14:04:22.712Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-03T14:04:22.712Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-03T14:04:22.712Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-03T14:04:22.970Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-03T14:04:22.970Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-03T14:04:22.970Z] [ 68%] Linking C shared library libcsdk.so [2023-10-03T14:04:22.970Z] [ 68%] Built target csdk [2023-10-03T14:04:23.227Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-03T14:04:23.227Z] [ 72%] Linking C executable template [2023-10-03T14:04:23.227Z] [ 72%] Built target template [2023-10-03T14:04:23.227Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-03T14:04:23.227Z] [ 76%] Linking C executable device-counter [2023-10-03T14:04:23.484Z] [ 76%] Built target device-counter [2023-10-03T14:04:23.484Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-03T14:04:23.484Z] [ 80%] Linking C executable device-random [2023-10-03T14:04:23.484Z] [ 80%] Built target device-random [2023-10-03T14:04:23.484Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-03T14:04:23.484Z] [ 84%] Linking C executable device-gyro [2023-10-03T14:04:23.742Z] [ 84%] Built target device-gyro [2023-10-03T14:04:23.742Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-03T14:04:23.742Z] [ 88%] Linking C executable device-bitfields [2023-10-03T14:04:23.742Z] [ 88%] Built target device-bitfields [2023-10-03T14:04:23.742Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-03T14:04:24.000Z] [ 92%] Linking C executable template-discovery [2023-10-03T14:04:24.000Z] [ 92%] Built target template-discovery [2023-10-03T14:04:24.000Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-03T14:04:24.000Z] [ 96%] Linking C executable device-file [2023-10-03T14:04:24.260Z] [ 96%] Built target device-file [2023-10-03T14:04:24.260Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-03T14:04:24.260Z] [100%] Linking C executable device-terminal [2023-10-03T14:04:24.260Z] [100%] Built target device-terminal [2023-10-03T14:04:24.260Z] make: Entering directory '/tmp/sdk/build/release' [2023-10-03T14:04:24.260Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-10-03T14:04:24.260Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T14:04:24.260Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T14:04:24.260Z] [ 68%] Built target csdk [2023-10-03T14:04:24.260Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T14:04:24.260Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T14:04:24.260Z] [ 72%] Built target template [2023-10-03T14:04:24.519Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T14:04:24.519Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T14:04:24.519Z] [ 76%] Built target device-counter [2023-10-03T14:04:24.519Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T14:04:24.519Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T14:04:24.519Z] [ 80%] Built target device-random [2023-10-03T14:04:24.519Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T14:04:24.519Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T14:04:24.519Z] [ 84%] Built target device-gyro [2023-10-03T14:04:24.519Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T14:04:24.519Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T14:04:24.519Z] [ 88%] Built target device-bitfields [2023-10-03T14:04:24.519Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T14:04:24.519Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T14:04:24.519Z] [ 92%] Built target template-discovery [2023-10-03T14:04:24.519Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T14:04:24.519Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T14:04:24.519Z] [ 96%] Built target device-file [2023-10-03T14:04:24.519Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T14:04:24.519Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T14:04:24.519Z] [100%] Built target device-terminal [2023-10-03T14:04:24.519Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T14:04:24.519Z] Install the project... [2023-10-03T14:04:24.519Z] -- Install configuration: "Release" [2023-10-03T14:04:24.519Z] -- Installing: /usr/local/lib/libcsdk.so [2023-10-03T14:04:24.519Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-10-03T14:04:24.519Z] -- Installing: /usr/local/include [2023-10-03T14:04:24.519Z] -- Installing: /usr/local/include/devsdk [2023-10-03T14:04:24.519Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-10-03T14:04:24.519Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-10-03T14:04:24.519Z] -- Installing: /usr/local/include/edgex [2023-10-03T14:04:24.519Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-10-03T14:04:24.519Z] -- Installing: /usr/local/include/edgex/devices.h [2023-10-03T14:04:24.519Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-10-03T14:04:24.519Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-10-03T14:04:24.519Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-10-03T14:04:24.519Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-10-03T14:04:24.519Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-10-03T14:04:24.519Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-10-03T14:04:24.519Z] make: Leaving directory '/tmp/sdk/build/release' [2023-10-03T14:04:25.085Z] Removing intermediate container df2dee08bffa [2023-10-03T14:04:25.085Z] ---> e97de492c770 [2023-10-03T14:04:25.085Z] Step 14/21 : FROM ${BASE} [2023-10-03T14:04:25.085Z] ---> e83ffa357ff4 [2023-10-03T14:04:25.085Z] Step 15/21 : LABEL maintainer="IOTech " [2023-10-03T14:04:25.085Z] ---> Running in 019b06dbc07c [2023-10-03T14:04:25.345Z] Removing intermediate container 019b06dbc07c [2023-10-03T14:04:25.345Z] ---> 7b2512434eaf [2023-10-03T14:04:25.345Z] 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-03T14:04:25.345Z] ---> Running in 288ee1d747c2 [2023-10-03T14:04:25.605Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-10-03T14:04:26.171Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-03T14:04:26.171Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-03T14:04:26.171Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-03T14:04:26.431Z] Removing intermediate container 288ee1d747c2 [2023-10-03T14:04:26.431Z] ---> 62e7025e59f8 [2023-10-03T14:04:26.431Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-03T14:04:26.431Z] ---> Running in 585e15fec6dd [2023-10-03T14:04:27.001Z] Removing intermediate container 585e15fec6dd [2023-10-03T14:04:27.002Z] ---> d225183dd68c [2023-10-03T14:04:27.002Z] 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-03T14:04:27.260Z] ---> Running in c3fe5eeb2c62 [2023-10-03T14:04:27.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-03T14:04:27.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-10-03T14:04:27.779Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-03T14:04:28.347Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-03T14:04:28.347Z] (1/7) Installing curl (8.3.0-r0) [2023-10-03T14:04:28.347Z] (2/7) Installing hiredis (1.0.2-r0) [2023-10-03T14:04:28.347Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-10-03T14:04:28.347Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-10-03T14:04:28.915Z] (5/7) Installing libcbor (0.9.0-r1) [2023-10-03T14:04:28.915Z] (6/7) Installing libuuid (2.38-r1) [2023-10-03T14:04:28.915Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-03T14:04:30.294Z] Executing busybox-1.35.0-r17.trigger [2023-10-03T14:04:30.294Z] OK: 276 MiB in 83 packages [2023-10-03T14:04:30.553Z] Removing intermediate container c3fe5eeb2c62 [2023-10-03T14:04:30.553Z] ---> 8fcf436f239a [2023-10-03T14:04:30.553Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-10-03T14:04:30.553Z] ---> 3ae16f6cdc66 [2023-10-03T14:04:30.553Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-10-03T14:04:30.812Z] ---> ca4c0ee4a0bc [2023-10-03T14:04:30.812Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-10-03T14:04:30.812Z] ---> 60f7e6a9b3a8 [2023-10-03T14:04:30.812Z] Successfully built 60f7e6a9b3a8 [2023-10-03T14:04:30.812Z] 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-03T14:04:31.195Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-03T14:04:31.195Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-03T14:04:31.263Z] prd-ubuntu20.04-docker-8c-8g-8401 does not seem to be running inside a container [2023-10-03T14:04:31.293Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-484 -v /w/workspace/edgexfoundry_device-sdk-c_PR-484:/w/workspace/edgexfoundry_device-sdk-c_PR-484:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-03T14:04:31.632Z] $ docker top 1b7849e7938cb579faa094f19653f9c1547776727fb013c905c5e08939ef6d16 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-03T14:04:31.977Z] + make test [2023-10-03T14:04:31.977Z] echo "make test" [2023-10-03T14:04:31.977Z] make test [Pipeline] } [2023-10-03T14:04:31.990Z] $ docker stop --time=1 1b7849e7938cb579faa094f19653f9c1547776727fb013c905c5e08939ef6d16 [2023-10-03T14:04:33.220Z] $ docker rm -f --volumes 1b7849e7938cb579faa094f19653f9c1547776727fb013c905c5e08939ef6d16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-03T14:04:33.847Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-03T14:04:34.134Z] + ls -al . [2023-10-03T14:04:34.134Z] total 212 [2023-10-03T14:04:34.134Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 14:03 . [2023-10-03T14:04:34.134Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 14:03 .. [2023-10-03T14:04:34.134Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 14:03 .git [2023-10-03T14:04:34.134Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 14:03 .github [2023-10-03T14:04:34.134Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 3 14:03 .gitignore [2023-10-03T14:04:34.134Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 14:03 .semver [2023-10-03T14:04:34.134Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 3 14:03 Attribution.txt [2023-10-03T14:04:34.134Z] -rw-rw-r-- 1 jenkins jenkins 9802 Oct 3 14:03 CHANGES [2023-10-03T14:04:34.134Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 3 14:03 Doxyfile [2023-10-03T14:04:34.134Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 14:03 GOVERNANCE.md [2023-10-03T14:04:34.134Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 3 14:03 Jenkinsfile [2023-10-03T14:04:34.135Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 3 14:03 LICENSE [2023-10-03T14:04:34.135Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 3 14:03 Makefile [2023-10-03T14:04:34.135Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 3 14:03 OWNERS.md [2023-10-03T14:04:34.135Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 3 14:03 README.IOT.md [2023-10-03T14:04:34.135Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 3 14:03 README.md [2023-10-03T14:04:34.135Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 3 14:03 README.v3.md [2023-10-03T14:04:34.135Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 14:03 VERSION [2023-10-03T14:04:34.135Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 14:03 docs [2023-10-03T14:04:34.135Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 14:03 include [2023-10-03T14:04:34.135Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 14:03 scripts [2023-10-03T14:04:34.135Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 14:03 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-03T14:04:34.443Z] + 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=5872494e1ce6aedb461f198c28d28b829ee8336f --label arch=amd64 --label version=0.0.0 . [2023-10-03T14:04:34.443Z] Sending build context to Docker daemon 5.019MB [2023-10-03T14:04:34.443Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-10-03T14:04:34.443Z] Step 2/17 : FROM ${BASE} [2023-10-03T14:04:34.443Z] ---> 60f7e6a9b3a8 [2023-10-03T14:04:34.443Z] Step 3/17 : LABEL maintainer="IOTech " [2023-10-03T14:04:34.443Z] ---> Running in d6ce92211247 [2023-10-03T14:04:34.443Z] Removing intermediate container d6ce92211247 [2023-10-03T14:04:34.443Z] ---> 87b6ecd88a00 [2023-10-03T14:04:34.443Z] 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-03T14:04:34.701Z] ---> Running in cbc01d7ec388 [2023-10-03T14:04:34.959Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-10-03T14:04:35.218Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-03T14:04:35.218Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-03T14:04:35.218Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-03T14:04:35.477Z] Removing intermediate container cbc01d7ec388 [2023-10-03T14:04:35.477Z] ---> 6ed7b7fa7243 [2023-10-03T14:04:35.477Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-03T14:04:35.477Z] ---> Running in 4900690c991a [2023-10-03T14:04:36.042Z] Removing intermediate container 4900690c991a [2023-10-03T14:04:36.042Z] ---> 7942758bfd1e [2023-10-03T14:04:36.043Z] 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-03T14:04:36.043Z] ---> Running in 3f626ba6d62e [2023-10-03T14:04:36.300Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-03T14:04:36.300Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-10-03T14:04:36.559Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-03T14:04:37.126Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-03T14:04:37.126Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-03T14:04:37.126Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-03T14:04:37.126Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-03T14:04:38.070Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-03T14:04:38.332Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-10-03T14:04:38.332Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-03T14:04:38.332Z] (7/11) Installing libblkid (2.38-r1) [2023-10-03T14:04:38.332Z] (8/11) Installing libfdisk (2.38-r1) [2023-10-03T14:04:38.332Z] (9/11) Installing libmount (2.38-r1) [2023-10-03T14:04:38.332Z] (10/11) Installing libsmartcols (2.38-r1) [2023-10-03T14:04:38.332Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-10-03T14:04:38.332Z] Executing busybox-1.35.0-r17.trigger [2023-10-03T14:04:38.332Z] OK: 281 MiB in 92 packages [2023-10-03T14:04:38.903Z] Removing intermediate container 3f626ba6d62e [2023-10-03T14:04:38.903Z] ---> a086aa1c5227 [2023-10-03T14:04:38.903Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-10-03T14:04:38.903Z] ---> 47a77cfb5a6d [2023-10-03T14:04:38.903Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-10-03T14:04:39.161Z] ---> ff9079d2c540 [2023-10-03T14:04:39.161Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-10-03T14:04:39.419Z] ---> e1c3f45bf796 [2023-10-03T14:04:39.419Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-10-03T14:04:39.419Z] ---> 2798b99335b3 [2023-10-03T14:04:39.419Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-10-03T14:04:39.419Z] ---> 60b94c775d8a [2023-10-03T14:04:39.419Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-10-03T14:04:39.678Z] ---> bf6b27706b6f [2023-10-03T14:04:39.678Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-10-03T14:04:39.678Z] ---> Running in d5117fe81901 [2023-10-03T14:04:39.678Z] Removing intermediate container d5117fe81901 [2023-10-03T14:04:39.678Z] ---> 9b1f1c2b4d20 [2023-10-03T14:04:39.678Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-10-03T14:04:39.678Z] ---> Running in 8d4a0787e2bc [2023-10-03T14:04:39.945Z] Removing intermediate container 8d4a0787e2bc [2023-10-03T14:04:39.945Z] ---> 4a2755f412ae [2023-10-03T14:04:39.945Z] Step 15/17 : LABEL arch=amd64 [2023-10-03T14:04:39.945Z] ---> Running in 59025f3e6dd7 [2023-10-03T14:04:39.945Z] Removing intermediate container 59025f3e6dd7 [2023-10-03T14:04:39.945Z] ---> 39266c662f7e [2023-10-03T14:04:39.945Z] Step 16/17 : LABEL git_sha=5872494e1ce6aedb461f198c28d28b829ee8336f [2023-10-03T14:04:39.945Z] ---> Running in 594a3f136d44 [2023-10-03T14:04:39.945Z] Removing intermediate container 594a3f136d44 [2023-10-03T14:04:39.945Z] ---> 6edadd8559aa [2023-10-03T14:04:39.945Z] Step 17/17 : LABEL version=0.0.0 [2023-10-03T14:04:39.945Z] ---> Running in 2bfe0567d1bc [2023-10-03T14:04:39.945Z] Removing intermediate container 2bfe0567d1bc [2023-10-03T14:04:39.945Z] ---> 13d86b37249b [2023-10-03T14:04:39.945Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-10-03T14:04:39.945Z] Successfully built 13d86b37249b [2023-10-03T14:04:40.204Z] 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-03T14:04:40.651Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-03T14:04:40.651Z] [2023-10-03T14:04:40.651Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-03T14:04:40.943Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-03T14:04:40.943Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-03T14:04:40.943Z] 5eb5b503b376: Pulling fs layer [2023-10-03T14:04:40.943Z] 5c69ac0246d0: Pulling fs layer [2023-10-03T14:04:40.943Z] ec43610c2a17: Pulling fs layer [2023-10-03T14:04:40.943Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-03T14:04:40.943Z] 33b1e0a273af: Pulling fs layer [2023-10-03T14:04:40.943Z] 5d3b04190fa2: Pulling fs layer [2023-10-03T14:04:40.943Z] 2f39f015ded8: Pulling fs layer [2023-10-03T14:04:40.943Z] 33b1e0a273af: Waiting [2023-10-03T14:04:40.943Z] 5d3b04190fa2: Waiting [2023-10-03T14:04:40.943Z] 2f39f015ded8: Waiting [2023-10-03T14:04:40.943Z] 3a2ae6a8a46f: Waiting [2023-10-03T14:04:40.943Z] 5c69ac0246d0: Verifying Checksum [2023-10-03T14:04:40.943Z] 5c69ac0246d0: Download complete [2023-10-03T14:04:40.943Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-03T14:04:40.943Z] 3a2ae6a8a46f: Download complete [2023-10-03T14:04:40.943Z] 33b1e0a273af: Verifying Checksum [2023-10-03T14:04:40.943Z] 33b1e0a273af: Download complete [2023-10-03T14:04:40.943Z] 5d3b04190fa2: Verifying Checksum [2023-10-03T14:04:40.943Z] 5d3b04190fa2: Download complete [2023-10-03T14:04:40.943Z] ec43610c2a17: Verifying Checksum [2023-10-03T14:04:40.943Z] ec43610c2a17: Download complete [2023-10-03T14:04:41.201Z] 5eb5b503b376: Verifying Checksum [2023-10-03T14:04:41.201Z] 5eb5b503b376: Download complete [2023-10-03T14:04:41.766Z] 2f39f015ded8: Download complete [2023-10-03T14:04:42.331Z] 5eb5b503b376: Pull complete [2023-10-03T14:04:42.331Z] 5c69ac0246d0: Pull complete [2023-10-03T14:04:42.588Z] ec43610c2a17: Pull complete [2023-10-03T14:04:42.846Z] 3a2ae6a8a46f: Pull complete [2023-10-03T14:04:42.846Z] 33b1e0a273af: Pull complete [2023-10-03T14:04:43.105Z] 5d3b04190fa2: Pull complete [2023-10-03T14:04:47.289Z] 2f39f015ded8: Pull complete [2023-10-03T14:04:47.289Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-03T14:04:47.289Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-03T14:04:47.289Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-03T14:04:47.366Z] prd-ubuntu20.04-docker-8c-8g-8401 does not seem to be running inside a container [2023-10-03T14:04:47.398Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-484 -v /w/workspace/edgexfoundry_device-sdk-c_PR-484:/w/workspace/edgexfoundry_device-sdk-c_PR-484:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-03T14:04:51.002Z] $ docker top 5433cda7ff8fe67a073921e2bcfb620ff22c0a54864dba8b24fdebbcf913f183 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-03T14:04:51.394Z] ---> job-cost.sh [2023-10-03T14:04:51.394Z] lf-activate-venv: SKIPPING [2023-10-03T14:04:51.394Z] INFO: No Stack... [2023-10-03T14:04:51.653Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-03T14:04:51.911Z] INFO: Archiving Costs [Pipeline] sh [2023-10-03T14:04:52.193Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-484/archives/cost.csv [2023-10-03T14:04:52.193Z] + cut -d, -f6 [Pipeline] lock [2023-10-03T14:04:52.205Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-484-4-stack-cost] [2023-10-03T14:04:52.231Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-484-4-stack-cost] did not exist. Created. [2023-10-03T14:04:52.231Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-484-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-03T14:04:52.537Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-03T14:04:52.583Z] Stashed 1 file(s) [Pipeline] } [2023-10-03T14:04:52.589Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-484-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-03T14:04:52.619Z] $ docker stop --time=1 5433cda7ff8fe67a073921e2bcfb620ff22c0a54864dba8b24fdebbcf913f183 [2023-10-03T14:04:53.780Z] $ docker rm -f --volumes 5433cda7ff8fe67a073921e2bcfb620ff22c0a54864dba8b24fdebbcf913f183 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-03T14:05:45.049Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8403 in /w/workspace/edgexfoundry_device-sdk-c_PR-484 [Pipeline] { [Pipeline] ws [2023-10-03T14:05:45.060Z] Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout [2023-10-03T14:05:45.085Z] Selected Git installation does not exist. Using Default [2023-10-03T14:05:45.085Z] The recommended git tool is: NONE [2023-10-03T14:05:49.685Z] using credential edgex-jenkins-ssh [2023-10-03T14:05:49.702Z] Cloning the remote Git repository [2023-10-03T14:05:49.741Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-10-03T14:05:49.819Z] > git init /w/workspace/device-sdk-c/4 # timeout=10 [2023-10-03T14:05:49.946Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-10-03T14:05:49.947Z] > git --version # timeout=10 [2023-10-03T14:05:49.969Z] > git --version # 'git version 2.25.1' [2023-10-03T14:05:49.971Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-03T14:05:50.119Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-03T14:05:51.333Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-10-03T14:05:51.353Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-03T14:05:52.174Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-10-03T14:05:52.210Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-10-03T14:05:52.211Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-03T14:05:52.227Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/484/head:refs/remotes/origin/PR-484 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-03T14:05:52.914Z] Merging remotes/origin/main commit b359547df5a09ee3070876df63645d58a75503b0 into PR head commit f5e8097abe6b5c7b0f974df84e0699c51abe1be0 [2023-10-03T14:05:53.305Z] Merge succeeded, producing 35cfa352fe51e55ae1991d915715cde0ab48b49d [2023-10-03T14:05:53.306Z] Checking out Revision 35cfa352fe51e55ae1991d915715cde0ab48b49d (PR-484) [2023-10-03T14:05:52.934Z] > git config core.sparsecheckout # timeout=10 [2023-10-03T14:05:53.012Z] > git checkout -f f5e8097abe6b5c7b0f974df84e0699c51abe1be0 # timeout=10 [2023-10-03T14:05:53.138Z] > git remote # timeout=10 [2023-10-03T14:05:53.156Z] > git config --get remote.origin.url # timeout=10 [2023-10-03T14:05:53.178Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-03T14:05:53.191Z] > git merge b359547df5a09ee3070876df63645d58a75503b0 # timeout=10 [2023-10-03T14:05:53.291Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-03T14:05:53.312Z] > git config core.sparsecheckout # timeout=10 [2023-10-03T14:05:53.332Z] > git checkout -f 35cfa352fe51e55ae1991d915715cde0ab48b49d # timeout=10 [2023-10-03T14:05:56.813Z] Commit message: "Merge commit 'b359547df5a09ee3070876df63645d58a75503b0' into HEAD" [2023-10-03T14:05:56.838Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-03T14:05:57.911Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-03T14:05:57.911Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-03T14:05:57.911Z] Dload Upload Total Spent Left Speed [2023-10-03T14:05:57.911Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86155 0 --:--:-- --:--:-- --:--:-- 86155 [2023-10-03T14:05:56.822Z] > git rev-list --no-walk b002f4e2e88dc501838693b4bcb5db5f944042d7 # timeout=10 [Pipeline] sh [2023-10-03T14:05:58.646Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-03T14:05:58.989Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-03T14:05:58.989Z] + sudo tee /etc/docker/daemon.new [2023-10-03T14:05:58.989Z] { [2023-10-03T14:05:58.989Z] "registry-mirrors": [ [2023-10-03T14:05:58.989Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-03T14:05:58.989Z] ], [2023-10-03T14:05:58.989Z] "bip": "10.250.0.254/24", [2023-10-03T14:05:58.989Z] "hosts": [ [2023-10-03T14:05:58.989Z] "tcp://0.0.0.0:5555", [2023-10-03T14:05:58.989Z] "unix:///var/run/docker.sock" [2023-10-03T14:05:58.989Z] ], [2023-10-03T14:05:58.989Z] "mtu": 1458, [2023-10-03T14:05:58.989Z] "selinux-enabled": true, [2023-10-03T14:05:58.989Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-03T14:05:58.989Z] } [Pipeline] sh [2023-10-03T14:05:59.316Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-03T14:05:59.639Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-03T14:06:17.952Z] provisioning config files... [2023-10-03T14:06:17.975Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config6510919024052043210tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-03T14:06:18.316Z] ---> docker-login.sh [2023-10-03T14:06:18.316Z] nexus3.edgexfoundry.org:10001 [2023-10-03T14:06:18.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T14:06:18.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T14:06:18.855Z] Configure a credential helper to remove this warning. See [2023-10-03T14:06:18.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T14:06:18.855Z] [2023-10-03T14:06:18.855Z] Login Succeeded [2023-10-03T14:06:18.855Z] nexus3.edgexfoundry.org:10002 [2023-10-03T14:06:19.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T14:06:19.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T14:06:19.123Z] Configure a credential helper to remove this warning. See [2023-10-03T14:06:19.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T14:06:19.123Z] [2023-10-03T14:06:19.123Z] Login Succeeded [2023-10-03T14:06:19.123Z] nexus3.edgexfoundry.org:10003 [2023-10-03T14:06:19.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T14:06:19.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T14:06:19.663Z] Configure a credential helper to remove this warning. See [2023-10-03T14:06:19.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T14:06:19.663Z] [2023-10-03T14:06:19.663Z] Login Succeeded [2023-10-03T14:06:19.663Z] nexus3.edgexfoundry.org:10004 [2023-10-03T14:06:19.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T14:06:19.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T14:06:19.931Z] Configure a credential helper to remove this warning. See [2023-10-03T14:06:19.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T14:06:19.931Z] [2023-10-03T14:06:19.931Z] Login Succeeded [2023-10-03T14:06:19.931Z] docker.io [2023-10-03T14:06:20.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T14:06:20.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T14:06:20.469Z] Configure a credential helper to remove this warning. See [2023-10-03T14:06:20.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T14:06:20.469Z] [2023-10-03T14:06:20.469Z] Login Succeeded [2023-10-03T14:06:20.469Z] ---> docker-login.sh ends [Pipeline] } [2023-10-03T14:06:20.483Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-03T14:06:20.720Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-03T14:06:20.732Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-10-03T14:06:20.745Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-03T14:06:20.756Z] ========================================================= [2023-10-03T14:06:20.756Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-10-03T14:06:20.756Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-03T14:06:21.082Z] + 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-03T14:06:21.352Z] Sending build context to Docker daemon 3.057MB [2023-10-03T14:06:21.622Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-10-03T14:06:21.622Z] Step 2/21 : FROM ${BASE} as builder [2023-10-03T14:06:21.622Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-10-03T14:06:21.622Z] 547446be3368: Pulling fs layer [2023-10-03T14:06:21.622Z] 76bd08e1cacc: Pulling fs layer [2023-10-03T14:06:21.622Z] 547446be3368: Verifying Checksum [2023-10-03T14:06:21.622Z] 547446be3368: Download complete [2023-10-03T14:06:22.215Z] 547446be3368: Pull complete [2023-10-03T14:06:24.185Z] 76bd08e1cacc: Verifying Checksum [2023-10-03T14:06:24.185Z] 76bd08e1cacc: Download complete [2023-10-03T14:06:32.407Z] 76bd08e1cacc: Pull complete [2023-10-03T14:06:32.407Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-10-03T14:06:32.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-10-03T14:06:32.407Z] ---> 295cd00e64f4 [2023-10-03T14:06:32.407Z] 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-03T14:06:32.675Z] ---> Running in e8404aec10bb [2023-10-03T14:06:34.100Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-10-03T14:06:34.367Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-03T14:06:34.368Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-03T14:06:34.368Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-03T14:06:34.955Z] Removing intermediate container e8404aec10bb [2023-10-03T14:06:34.955Z] ---> 6dce29a29f5b [2023-10-03T14:06:34.955Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-03T14:06:34.955Z] ---> Running in c147e1b3dd05 [2023-10-03T14:06:36.895Z] Removing intermediate container c147e1b3dd05 [2023-10-03T14:06:36.895Z] ---> 84c161092170 [2023-10-03T14:06:36.895Z] 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-03T14:06:36.895Z] ---> Running in 034ea8b4dda7 [2023-10-03T14:06:37.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-03T14:06:37.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-10-03T14:06:38.331Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-03T14:06:39.288Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-03T14:06:39.288Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-03T14:06:39.288Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-03T14:06:39.288Z] (3/16) Installing hiredis (1.0.2-r0) [2023-10-03T14:06:39.288Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-10-03T14:06:39.288Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-03T14:06:40.244Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-03T14:06:40.244Z] (7/16) Installing libcbor (0.9.0-r1) [2023-10-03T14:06:40.244Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-10-03T14:06:40.244Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-03T14:06:40.244Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-03T14:06:41.203Z] (11/16) Installing libblkid (2.38-r1) [2023-10-03T14:06:41.203Z] (12/16) Installing libuuid (2.38-r1) [2023-10-03T14:06:41.203Z] (13/16) Installing libfdisk (2.38-r1) [2023-10-03T14:06:41.203Z] (14/16) Installing libmount (2.38-r1) [2023-10-03T14:06:41.203Z] (15/16) Installing libsmartcols (2.38-r1) [2023-10-03T14:06:41.203Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-10-03T14:06:41.203Z] Executing busybox-1.35.0-r17.trigger [2023-10-03T14:06:41.203Z] OK: 286 MiB in 90 packages [2023-10-03T14:06:43.152Z] Removing intermediate container 034ea8b4dda7 [2023-10-03T14:06:43.152Z] ---> 1f8c681233f5 [2023-10-03T14:06:43.152Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-10-03T14:06:43.152Z] ---> Running in 5d4d1b2cd796 [2023-10-03T14:06:44.563Z] Removing intermediate container 5d4d1b2cd796 [2023-10-03T14:06:44.563Z] ---> 5afcdd40b014 [2023-10-03T14:06:44.563Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-10-03T14:06:45.147Z] ---> 2b475c671d08 [2023-10-03T14:06:45.147Z] Step 8/21 : COPY src /tmp/sdk/src [2023-10-03T14:06:45.732Z] ---> 6a7150134bbd [2023-10-03T14:06:45.732Z] Step 9/21 : COPY include /tmp/sdk/include [2023-10-03T14:06:46.319Z] ---> b3cc021cea37 [2023-10-03T14:06:46.319Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-10-03T14:06:46.911Z] ---> cfd82db6d096 [2023-10-03T14:06:46.911Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-10-03T14:06:47.181Z] ---> 54462e6c0060 [2023-10-03T14:06:47.181Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-10-03T14:06:47.766Z] ---> ff1600e2d296 [2023-10-03T14:06:47.766Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-10-03T14:06:47.766Z] ---> Running in f25afcdf2dcf [2023-10-03T14:06:48.726Z] + CPPCHECK=false [2023-10-03T14:06:48.726Z] + DOCGEN=false [2023-10-03T14:06:48.726Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-10-03T14:06:48.726Z] + '[' 0 -gt 0 ] [2023-10-03T14:06:48.726Z] + readlink -f ./scripts/build.sh [2023-10-03T14:06:48.726Z] + dirname /tmp/sdk/scripts/build.sh [2023-10-03T14:06:48.726Z] + dirname /tmp/sdk/scripts [2023-10-03T14:06:48.726Z] + ROOT=/tmp/sdk [2023-10-03T14:06:48.726Z] + cd /tmp/sdk [2023-10-03T14:06:48.726Z] + mkdir -p /tmp/sdk/build/release [2023-10-03T14:06:48.726Z] + cd /tmp/sdk/build/release [2023-10-03T14:06:48.726Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-10-03T14:06:48.994Z] -- The C compiler identification is GNU 11.2.1 [2023-10-03T14:06:48.994Z] -- Detecting C compiler ABI info [2023-10-03T14:06:49.259Z] -- Detecting C compiler ABI info - done [2023-10-03T14:06:49.527Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-03T14:06:49.527Z] -- Detecting C compile features [2023-10-03T14:06:49.527Z] -- Detecting C compile features - done [2023-10-03T14:06:49.527Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-03T14:06:49.527Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-03T14:06:49.527Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-03T14:06:49.872Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-03T14:06:49.872Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-03T14:06:49.872Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-03T14:06:49.872Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-03T14:06:49.872Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-03T14:06:49.872Z] -- /opt/iotech/iot/1.5/include [2023-10-03T14:06:49.872Z] -- C SDK 0.0.0 for Linux [2023-10-03T14:06:49.872Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-03T14:06:50.139Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-03T14:06:50.139Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-03T14:06:50.406Z] -- Configuring done [2023-10-03T14:06:50.674Z] -- Generating done [2023-10-03T14:06:50.674Z] -- Build files have been written to: /tmp/sdk/build/release [2023-10-03T14:06:50.674Z] + make all package [2023-10-03T14:06:50.674Z] + tee release.log [2023-10-03T14:06:50.674Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-03T14:06:51.630Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-03T14:06:52.589Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-03T14:06:53.547Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-03T14:06:54.507Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-03T14:06:54.920Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-03T14:06:57.508Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-03T14:06:58.467Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-10-03T14:06:58.467Z] /tmp/sdk/src/c/consul.c:297:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-03T14:06:58.467Z] 297 | while (privateConfig) [2023-10-03T14:06:58.467Z] | ^~~~~~~~~~~~~ [2023-10-03T14:06:58.467Z] /tmp/sdk/src/c/consul.c:274:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-03T14:06:58.467Z] 274 | while (result) [2023-10-03T14:06:58.467Z] | ^~~~~~ [2023-10-03T14:06:58.732Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-03T14:06:58.997Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-03T14:06:59.953Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-03T14:07:02.526Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-03T14:07:02.791Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-03T14:07:03.746Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-03T14:07:04.698Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-03T14:07:05.278Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-03T14:07:06.232Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-03T14:07:06.498Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-03T14:07:09.070Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-03T14:07:09.336Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-03T14:07:09.916Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-03T14:07:11.852Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-03T14:07:17.182Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-03T14:07:17.448Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-03T14:07:17.713Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-03T14:07:18.293Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-03T14:07:18.875Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-03T14:07:20.277Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-03T14:07:22.862Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-03T14:07:23.445Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-03T14:07:24.400Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-03T14:07:25.358Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-03T14:07:28.690Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-03T14:07:29.272Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-03T14:07:29.538Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-03T14:07:30.120Z] [ 68%] Linking C shared library libcsdk.so [2023-10-03T14:07:30.387Z] [ 68%] Built target csdk [2023-10-03T14:07:30.387Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-03T14:07:31.345Z] [ 72%] Linking C executable template [2023-10-03T14:07:31.611Z] [ 72%] Built target template [2023-10-03T14:07:31.612Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-03T14:07:32.195Z] [ 76%] Linking C executable device-counter [2023-10-03T14:07:32.462Z] [ 76%] Built target device-counter [2023-10-03T14:07:32.728Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-03T14:07:33.310Z] [ 80%] Linking C executable device-random [2023-10-03T14:07:33.576Z] [ 80%] Built target device-random [2023-10-03T14:07:33.576Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-03T14:07:34.161Z] [ 84%] Linking C executable device-gyro [2023-10-03T14:07:34.427Z] [ 84%] Built target device-gyro [2023-10-03T14:07:34.427Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-03T14:07:35.010Z] [ 88%] Linking C executable device-bitfields [2023-10-03T14:07:35.277Z] [ 88%] Built target device-bitfields [2023-10-03T14:07:35.277Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-03T14:07:36.237Z] [ 92%] Linking C executable template-discovery [2023-10-03T14:07:36.504Z] [ 92%] Built target template-discovery [2023-10-03T14:07:36.504Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-03T14:07:37.462Z] [ 96%] Linking C executable device-file [2023-10-03T14:07:37.728Z] [ 96%] Built target device-file [2023-10-03T14:07:37.728Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-03T14:07:38.685Z] [100%] Linking C executable device-terminal [2023-10-03T14:07:38.685Z] [100%] Built target device-terminal [2023-10-03T14:07:38.951Z] Run CPack packaging tool... [2023-10-03T14:07:38.951Z] CPack: Create package using TGZ [2023-10-03T14:07:38.951Z] CPack: Install projects [2023-10-03T14:07:38.951Z] CPack: - Run preinstall target for: Csdk [2023-10-03T14:07:39.534Z] CPack: - Install project: Csdk [] [2023-10-03T14:07:39.534Z] CPack: Create package [2023-10-03T14:07:39.800Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-10-03T14:07:39.800Z] + '[' false '=' true ] [2023-10-03T14:07:39.800Z] + '[' false '=' true ] [2023-10-03T14:07:39.800Z] + mkdir -p /tmp/sdk/build/debug [2023-10-03T14:07:39.800Z] + cd /tmp/sdk/build/debug [2023-10-03T14:07:39.800Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-10-03T14:07:40.066Z] -- The C compiler identification is GNU 11.2.1 [2023-10-03T14:07:40.066Z] -- Detecting C compiler ABI info [2023-10-03T14:07:40.333Z] -- Detecting C compiler ABI info - done [2023-10-03T14:07:40.333Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-03T14:07:40.333Z] -- Detecting C compile features [2023-10-03T14:07:40.601Z] -- Detecting C compile features - done [2023-10-03T14:07:40.601Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-03T14:07:40.601Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-03T14:07:40.601Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-03T14:07:40.601Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-03T14:07:40.601Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-03T14:07:40.601Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-03T14:07:40.869Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-03T14:07:40.869Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-03T14:07:40.869Z] -- /opt/iotech/iot/1.5/include [2023-10-03T14:07:40.869Z] -- C SDK 0.0.0 for Linux [2023-10-03T14:07:40.869Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-03T14:07:41.139Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-03T14:07:41.139Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-03T14:07:41.405Z] -- Configuring done [2023-10-03T14:07:41.671Z] -- Generating done [2023-10-03T14:07:41.671Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-10-03T14:07:41.671Z] + make [2023-10-03T14:07:41.671Z] + tee debug.log [2023-10-03T14:07:41.671Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-03T14:07:42.254Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-03T14:07:42.522Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-03T14:07:43.106Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-03T14:07:43.374Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-03T14:07:43.955Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-03T14:07:44.536Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-03T14:07:45.118Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-03T14:07:45.385Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-03T14:07:45.967Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-03T14:07:46.550Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-03T14:07:47.132Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-03T14:07:47.399Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-03T14:07:47.982Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-03T14:07:48.249Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-03T14:07:48.516Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-03T14:07:48.782Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-03T14:07:49.739Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-03T14:07:50.005Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-03T14:07:50.273Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-03T14:07:50.855Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-03T14:07:52.261Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-03T14:07:52.529Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-03T14:07:52.795Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-03T14:07:53.377Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-03T14:07:53.645Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-03T14:07:54.226Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-03T14:07:56.168Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-03T14:07:56.169Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-03T14:07:56.436Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-03T14:07:57.016Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-03T14:07:57.972Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-03T14:07:58.238Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-03T14:07:58.505Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-03T14:07:59.088Z] [ 68%] Linking C shared library libcsdk.so [2023-10-03T14:07:59.088Z] [ 68%] Built target csdk [2023-10-03T14:07:59.354Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-03T14:07:59.621Z] [ 72%] Linking C executable template [2023-10-03T14:07:59.889Z] [ 72%] Built target template [2023-10-03T14:07:59.889Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-03T14:08:00.472Z] [ 76%] Linking C executable device-counter [2023-10-03T14:08:00.738Z] [ 76%] Built target device-counter [2023-10-03T14:08:00.738Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-03T14:08:01.005Z] [ 80%] Linking C executable device-random [2023-10-03T14:08:01.272Z] [ 80%] Built target device-random [2023-10-03T14:08:01.272Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-03T14:08:01.538Z] [ 84%] Linking C executable device-gyro [2023-10-03T14:08:01.805Z] [ 84%] Built target device-gyro [2023-10-03T14:08:02.070Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-03T14:08:02.337Z] [ 88%] Linking C executable device-bitfields [2023-10-03T14:08:02.603Z] [ 88%] Built target device-bitfields [2023-10-03T14:08:02.603Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-03T14:08:03.182Z] [ 92%] Linking C executable template-discovery [2023-10-03T14:08:03.449Z] [ 92%] Built target template-discovery [2023-10-03T14:08:03.449Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-03T14:08:03.714Z] [ 96%] Linking C executable device-file [2023-10-03T14:08:03.981Z] [ 96%] Built target device-file [2023-10-03T14:08:03.981Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-03T14:08:04.650Z] [100%] Linking C executable device-terminal [2023-10-03T14:08:04.921Z] [100%] Built target device-terminal [2023-10-03T14:08:04.921Z] make: Entering directory '/tmp/sdk/build/release' [2023-10-03T14:08:04.921Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-10-03T14:08:04.921Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T14:08:04.921Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T14:08:04.921Z] [ 68%] Built target csdk [2023-10-03T14:08:05.191Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T14:08:05.191Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T14:08:05.191Z] [ 72%] Built target template [2023-10-03T14:08:05.191Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T14:08:05.191Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T14:08:05.191Z] [ 76%] Built target device-counter [2023-10-03T14:08:05.191Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T14:08:05.191Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T14:08:05.191Z] [ 80%] Built target device-random [2023-10-03T14:08:05.191Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T14:08:05.191Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T14:08:05.192Z] [ 84%] Built target device-gyro [2023-10-03T14:08:05.192Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T14:08:05.192Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T14:08:05.192Z] [ 88%] Built target device-bitfields [2023-10-03T14:08:05.192Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T14:08:05.192Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T14:08:05.463Z] [ 92%] Built target template-discovery [2023-10-03T14:08:05.463Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T14:08:05.463Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T14:08:05.463Z] [ 96%] Built target device-file [2023-10-03T14:08:05.463Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T14:08:05.463Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T14:08:05.463Z] [100%] Built target device-terminal [2023-10-03T14:08:05.463Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T14:08:05.463Z] Install the project... [2023-10-03T14:08:05.463Z] -- Install configuration: "Release" [2023-10-03T14:08:05.463Z] -- Installing: /usr/local/lib/libcsdk.so [2023-10-03T14:08:05.463Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-10-03T14:08:05.463Z] -- Installing: /usr/local/include [2023-10-03T14:08:05.463Z] -- Installing: /usr/local/include/devsdk [2023-10-03T14:08:05.463Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-10-03T14:08:05.463Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-10-03T14:08:05.463Z] -- Installing: /usr/local/include/edgex [2023-10-03T14:08:05.463Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-10-03T14:08:05.463Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-10-03T14:08:05.463Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-10-03T14:08:05.463Z] -- Installing: /usr/local/include/edgex/devices.h [2023-10-03T14:08:05.463Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-10-03T14:08:05.463Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-10-03T14:08:05.463Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-10-03T14:08:05.463Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-10-03T14:08:05.463Z] make: Leaving directory '/tmp/sdk/build/release' [2023-10-03T14:08:06.906Z] Removing intermediate container f25afcdf2dcf [2023-10-03T14:08:06.906Z] ---> 46f78f8eb6b2 [2023-10-03T14:08:06.906Z] Step 14/21 : FROM ${BASE} [2023-10-03T14:08:06.906Z] ---> 295cd00e64f4 [2023-10-03T14:08:06.906Z] Step 15/21 : LABEL maintainer="IOTech " [2023-10-03T14:08:06.906Z] ---> Running in 8e711a268953 [2023-10-03T14:08:07.179Z] Removing intermediate container 8e711a268953 [2023-10-03T14:08:07.179Z] ---> e78ca30efb92 [2023-10-03T14:08:07.179Z] 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-03T14:08:07.457Z] ---> Running in 5fdb680f8b9b [2023-10-03T14:08:08.428Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-10-03T14:08:08.697Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-03T14:08:08.697Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-03T14:08:08.697Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-03T14:08:09.290Z] Removing intermediate container 5fdb680f8b9b [2023-10-03T14:08:09.290Z] ---> 6b883e5e6560 [2023-10-03T14:08:09.290Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-03T14:08:09.290Z] ---> Running in c54a5d0876a9 [2023-10-03T14:08:11.229Z] Removing intermediate container c54a5d0876a9 [2023-10-03T14:08:11.229Z] ---> 2225c1e513b2 [2023-10-03T14:08:11.229Z] 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-03T14:08:11.229Z] ---> Running in a35294b174f5 [2023-10-03T14:08:11.810Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-03T14:08:12.392Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-10-03T14:08:12.657Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-03T14:08:13.609Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-03T14:08:13.609Z] (1/7) Installing curl (8.2.1-r0) [2023-10-03T14:08:13.609Z] (2/7) Installing hiredis (1.0.2-r0) [2023-10-03T14:08:13.609Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-10-03T14:08:13.609Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-10-03T14:08:14.561Z] (5/7) Installing libcbor (0.9.0-r1) [2023-10-03T14:08:14.561Z] (6/7) Installing libuuid (2.38-r1) [2023-10-03T14:08:14.561Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-03T14:08:15.141Z] Executing busybox-1.35.0-r17.trigger [2023-10-03T14:08:15.141Z] OK: 281 MiB in 83 packages [2023-10-03T14:08:16.099Z] Removing intermediate container a35294b174f5 [2023-10-03T14:08:16.099Z] ---> 58c6453481da [2023-10-03T14:08:16.099Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-10-03T14:08:16.678Z] ---> b592b773d20e [2023-10-03T14:08:16.678Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-10-03T14:08:17.259Z] ---> 9ffec8f93d31 [2023-10-03T14:08:17.259Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-10-03T14:08:17.525Z] ---> 4a1d04d09471 [2023-10-03T14:08:17.789Z] Successfully built 4a1d04d09471 [2023-10-03T14:08:17.789Z] 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-03T14:08:18.203Z] + docker inspect -f . ci-base-image-arm64 [2023-10-03T14:08:18.203Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-03T14:08:18.396Z] prd-ubuntu20.04-docker-arm64-4c-16g-8403 does not seem to be running inside a container [2023-10-03T14:08:18.454Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-03T14:08:19.546Z] $ docker top cc0ffd60250041387e9bdbd64c0397b941cd82791ba5ecf9e9b0bd06b746682c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-03T14:08:20.362Z] + make test [2023-10-03T14:08:20.362Z] echo "make test" [2023-10-03T14:08:20.362Z] make test [Pipeline] } [2023-10-03T14:08:20.382Z] $ docker stop --time=1 cc0ffd60250041387e9bdbd64c0397b941cd82791ba5ecf9e9b0bd06b746682c [2023-10-03T14:08:21.998Z] $ docker rm -f --volumes cc0ffd60250041387e9bdbd64c0397b941cd82791ba5ecf9e9b0bd06b746682c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-03T14:08:22.526Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-03T14:08:22.838Z] + ls -al . [2023-10-03T14:08:22.839Z] total 208 [2023-10-03T14:08:22.839Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 14:05 . [2023-10-03T14:08:22.839Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 14:05 .. [2023-10-03T14:08:22.839Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 14:05 .git [2023-10-03T14:08:22.839Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 14:05 .github [2023-10-03T14:08:22.839Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 3 14:05 .gitignore [2023-10-03T14:08:22.839Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 3 14:05 Attribution.txt [2023-10-03T14:08:22.839Z] -rw-rw-r-- 1 jenkins jenkins 9802 Oct 3 14:05 CHANGES [2023-10-03T14:08:22.839Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 3 14:05 Doxyfile [2023-10-03T14:08:22.839Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 14:05 GOVERNANCE.md [2023-10-03T14:08:22.839Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 3 14:05 Jenkinsfile [2023-10-03T14:08:22.839Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 3 14:05 LICENSE [2023-10-03T14:08:22.839Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 3 14:05 Makefile [2023-10-03T14:08:22.839Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 3 14:05 OWNERS.md [2023-10-03T14:08:22.839Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 3 14:05 README.IOT.md [2023-10-03T14:08:22.839Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 3 14:05 README.md [2023-10-03T14:08:22.839Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 3 14:05 README.v3.md [2023-10-03T14:08:22.839Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 14:03 VERSION [2023-10-03T14:08:22.839Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 14:05 docs [2023-10-03T14:08:22.839Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 14:05 include [2023-10-03T14:08:22.839Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 14:05 scripts [2023-10-03T14:08:22.839Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 14:05 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-03T14:08:23.164Z] + 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=35cfa352fe51e55ae1991d915715cde0ab48b49d --label arch=arm64 --label version=0.0.0 . [2023-10-03T14:08:23.430Z] Sending build context to Docker daemon 3.057MB [2023-10-03T14:08:23.430Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-10-03T14:08:23.430Z] Step 2/17 : FROM ${BASE} [2023-10-03T14:08:23.430Z] ---> 4a1d04d09471 [2023-10-03T14:08:23.430Z] Step 3/17 : LABEL maintainer="IOTech " [2023-10-03T14:08:23.695Z] ---> Running in a631e2bad921 [2023-10-03T14:08:23.961Z] Removing intermediate container a631e2bad921 [2023-10-03T14:08:23.961Z] ---> cc7208d91e2b [2023-10-03T14:08:23.961Z] 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-03T14:08:23.961Z] ---> Running in 682b75cb381f [2023-10-03T14:08:24.918Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-10-03T14:08:25.183Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-03T14:08:25.183Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-03T14:08:25.183Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-03T14:08:27.753Z] Removing intermediate container 682b75cb381f [2023-10-03T14:08:27.753Z] ---> 6b3533382a6a [2023-10-03T14:08:27.753Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-03T14:08:28.031Z] ---> Running in 530c25eb65fa [2023-10-03T14:08:29.435Z] Removing intermediate container 530c25eb65fa [2023-10-03T14:08:29.435Z] ---> cd42e3d2b41c [2023-10-03T14:08:29.435Z] 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-03T14:08:29.701Z] ---> Running in b363d2da2766 [2023-10-03T14:08:30.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-03T14:08:30.657Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-10-03T14:08:31.237Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-03T14:08:32.189Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-03T14:08:32.189Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-03T14:08:32.189Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-03T14:08:32.189Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-03T14:08:32.768Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-03T14:08:33.034Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-10-03T14:08:33.035Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-03T14:08:33.035Z] (7/11) Installing libblkid (2.38-r1) [2023-10-03T14:08:33.035Z] (8/11) Installing libfdisk (2.38-r1) [2023-10-03T14:08:33.035Z] (9/11) Installing libmount (2.38-r1) [2023-10-03T14:08:33.035Z] (10/11) Installing libsmartcols (2.38-r1) [2023-10-03T14:08:33.035Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-10-03T14:08:33.035Z] Executing busybox-1.35.0-r17.trigger [2023-10-03T14:08:33.302Z] OK: 287 MiB in 92 packages [2023-10-03T14:08:34.260Z] Removing intermediate container b363d2da2766 [2023-10-03T14:08:34.260Z] ---> cff0d205c410 [2023-10-03T14:08:34.260Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-10-03T14:08:34.842Z] ---> d4542f598b8d [2023-10-03T14:08:34.842Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-10-03T14:08:35.425Z] ---> e85c552b15be [2023-10-03T14:08:35.425Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-10-03T14:08:36.008Z] ---> 2fd00f2bfc74 [2023-10-03T14:08:36.008Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-10-03T14:08:36.588Z] ---> 0ea8b4e358b4 [2023-10-03T14:08:36.588Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-10-03T14:08:36.855Z] ---> 5a89ecb986d3 [2023-10-03T14:08:36.855Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-10-03T14:08:37.436Z] ---> 511669e1daf8 [2023-10-03T14:08:37.436Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-10-03T14:08:37.436Z] ---> Running in 9081ec0cfa6a [2023-10-03T14:08:37.704Z] Removing intermediate container 9081ec0cfa6a [2023-10-03T14:08:37.704Z] ---> 0e07d764cbd2 [2023-10-03T14:08:37.704Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-10-03T14:08:37.972Z] ---> Running in 9bab3a368119 [2023-10-03T14:08:38.239Z] Removing intermediate container 9bab3a368119 [2023-10-03T14:08:38.239Z] ---> f74c06255ce5 [2023-10-03T14:08:38.239Z] Step 15/17 : LABEL arch=arm64 [2023-10-03T14:08:38.239Z] ---> Running in 81904800f53e [2023-10-03T14:08:38.506Z] Removing intermediate container 81904800f53e [2023-10-03T14:08:38.506Z] ---> 36d9e4cfc0c9 [2023-10-03T14:08:38.506Z] Step 16/17 : LABEL git_sha=35cfa352fe51e55ae1991d915715cde0ab48b49d [2023-10-03T14:08:38.506Z] ---> Running in 0144d5b96525 [2023-10-03T14:08:38.773Z] Removing intermediate container 0144d5b96525 [2023-10-03T14:08:38.773Z] ---> 4ac545d0e50d [2023-10-03T14:08:38.773Z] Step 17/17 : LABEL version=0.0.0 [2023-10-03T14:08:39.041Z] ---> Running in 41d8f690ca83 [2023-10-03T14:08:39.306Z] Removing intermediate container 41d8f690ca83 [2023-10-03T14:08:39.306Z] ---> c19c8513b8eb [2023-10-03T14:08:39.306Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-10-03T14:08:39.306Z] Successfully built c19c8513b8eb [2023-10-03T14:08:39.306Z] 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-03T14:08:39.725Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-03T14:08:39.725Z] [2023-10-03T14:08:39.725Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-03T14:08:40.051Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-03T14:08:40.051Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-03T14:08:40.051Z] 8998bd30e6a1: Pulling fs layer [2023-10-03T14:08:40.051Z] 04944245beec: Pulling fs layer [2023-10-03T14:08:40.051Z] 699f458cf7ca: Pulling fs layer [2023-10-03T14:08:40.051Z] 765212b225bb: Pulling fs layer [2023-10-03T14:08:40.051Z] f23df028b6ca: Pulling fs layer [2023-10-03T14:08:40.051Z] d65c8cfc05b1: Pulling fs layer [2023-10-03T14:08:40.051Z] 2437ff75d9bd: Pulling fs layer [2023-10-03T14:08:40.051Z] 765212b225bb: Waiting [2023-10-03T14:08:40.051Z] d65c8cfc05b1: Waiting [2023-10-03T14:08:40.051Z] f23df028b6ca: Waiting [2023-10-03T14:08:40.051Z] 2437ff75d9bd: Waiting [2023-10-03T14:08:40.319Z] 04944245beec: Verifying Checksum [2023-10-03T14:08:40.319Z] 04944245beec: Download complete [2023-10-03T14:08:40.319Z] 765212b225bb: Verifying Checksum [2023-10-03T14:08:40.319Z] 765212b225bb: Download complete [2023-10-03T14:08:40.319Z] f23df028b6ca: Verifying Checksum [2023-10-03T14:08:40.319Z] f23df028b6ca: Download complete [2023-10-03T14:08:40.319Z] d65c8cfc05b1: Download complete [2023-10-03T14:08:40.319Z] 699f458cf7ca: Verifying Checksum [2023-10-03T14:08:40.319Z] 699f458cf7ca: Download complete [2023-10-03T14:08:40.910Z] 8998bd30e6a1: Verifying Checksum [2023-10-03T14:08:40.910Z] 8998bd30e6a1: Download complete [2023-10-03T14:08:42.851Z] 2437ff75d9bd: Verifying Checksum [2023-10-03T14:08:42.851Z] 2437ff75d9bd: Download complete [2023-10-03T14:08:44.791Z] 8998bd30e6a1: Pull complete [2023-10-03T14:08:44.791Z] 04944245beec: Pull complete [2023-10-03T14:08:46.197Z] 699f458cf7ca: Pull complete [2023-10-03T14:08:46.197Z] 765212b225bb: Pull complete [2023-10-03T14:08:47.156Z] f23df028b6ca: Pull complete [2023-10-03T14:08:47.156Z] d65c8cfc05b1: Pull complete [2023-10-03T14:09:02.139Z] 2437ff75d9bd: Pull complete [2023-10-03T14:09:02.139Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-03T14:09:02.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-03T14:09:02.139Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-03T14:09:02.327Z] prd-ubuntu20.04-docker-arm64-4c-16g-8403 does not seem to be running inside a container [2023-10-03T14:09:02.563Z] $ 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/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-03T14:09:04.919Z] $ docker top a5fac2eda8f679ae0d19532c61399d1fd26530667711076dc126c517f0c4bf95 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-03T14:09:05.424Z] ---> job-cost.sh [2023-10-03T14:09:05.690Z] lf-activate-venv: SKIPPING [2023-10-03T14:09:05.690Z] INFO: No Stack... [2023-10-03T14:09:05.955Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-03T14:09:06.910Z] INFO: Archiving Costs [Pipeline] sh [2023-10-03T14:09:07.537Z] + cut -d, -f6 [2023-10-03T14:09:07.538Z] + cat /w/workspace/device-sdk-c/4/archives/cost.csv [Pipeline] lock [2023-10-03T14:09:07.600Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-484-4-stack-cost] [2023-10-03T14:09:07.606Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-484-4-stack-cost] did not exist. Created. [2023-10-03T14:09:07.607Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-484-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-03T14:09:07.939Z] /w/workspace/device-sdk-c/4@tmp/durable-3a93a0f2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-03T14:09:08.271Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-03T14:09:08.284Z] Warning: overwriting stash ‘stack-cost’ [2023-10-03T14:09:08.685Z] Stashed 1 file(s) [Pipeline] } [2023-10-03T14:09:08.695Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-484-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-03T14:09:08.710Z] $ docker stop --time=1 a5fac2eda8f679ae0d19532c61399d1fd26530667711076dc126c517f0c4bf95 [2023-10-03T14:09:10.186Z] $ docker rm -f --volumes a5fac2eda8f679ae0d19532c61399d1fd26530667711076dc126c517f0c4bf95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-10-03T14:09:10.932Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-484/archives ] [2023-10-03T14:09:10.932Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-484/archives [2023-10-03T14:09:10.932Z] total 16 [2023-10-03T14:09:10.932Z] drwxr-xr-x 3 root root 4096 Oct 3 14:04 . [2023-10-03T14:09:10.932Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 14:04 .. [2023-10-03T14:09:10.932Z] drwxr-xr-x 2 root root 4096 Oct 3 14:04 cost [2023-10-03T14:09:10.932Z] -rw-r--r-- 1 root root 84 Oct 3 14:04 cost.csv [2023-10-03T14:09:10.932Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-484/archives [2023-10-03T14:09:10.932Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-484/archives [2023-10-03T14:09:10.932Z] total 16 [2023-10-03T14:09:10.932Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 14:04 . [2023-10-03T14:09:10.932Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 14:04 .. [2023-10-03T14:09:10.932Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 14:04 cost [2023-10-03T14:09:10.932Z] -rw-r--r-- 1 jenkins jenkins 84 Oct 3 14:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-03T14:09:11.225Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-03T14:09:12.090Z] ---> package-listing.sh [2023-10-03T14:09:12.090Z] ++ facter osfamily [2023-10-03T14:09:12.090Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-03T14:09:12.349Z] + OS_FAMILY=debian [2023-10-03T14:09:12.349Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-484 [2023-10-03T14:09:12.349Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-03T14:09:12.349Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-03T14:09:12.349Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-03T14:09:12.349Z] + PACKAGES=/tmp/packages_start.txt [2023-10-03T14:09:12.349Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-484 ']' [2023-10-03T14:09:12.349Z] + PACKAGES=/tmp/packages_end.txt [2023-10-03T14:09:12.349Z] + case "${OS_FAMILY}" in [2023-10-03T14:09:12.349Z] + dpkg -l [2023-10-03T14:09:12.349Z] + grep '^ii' [2023-10-03T14:09:12.349Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-03T14:09:12.349Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-03T14:09:12.349Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-03T14:09:12.349Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-484 ']' [2023-10-03T14:09:12.349Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-484/archives/ [2023-10-03T14:09:12.349Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-484/archives/ [Pipeline] echo [2023-10-03T14:09:12.359Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-484/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-03T14:09:12.633Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-03T14:09:13.186Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-03T14:09:13.187Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-03T14:09:13.264Z] prd-ubuntu20.04-docker-8c-8g-8401 does not seem to be running inside a container [2023-10-03T14:09:13.302Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-484/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-484 -v /w/workspace/edgexfoundry_device-sdk-c_PR-484:/w/workspace/edgexfoundry_device-sdk-c_PR-484:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-03T14:09:13.503Z] $ docker top 17affd5fa58167f5302046536934d641979e009fd9d3bf5210555e69d1e02f6b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-03T14:09:13.836Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-03T14:09:14.118Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-03T14:09:14.400Z] + ls /var/log/sa-host [2023-10-03T14:09:14.400Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-03T14:09:14.463Z] provisioning config files... [2023-10-03T14:09:14.476Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp/config2162337852987369565tmp [Pipeline] { [Pipeline] echo [2023-10-03T14:09:14.488Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-03T14:09:14.769Z] ---> create-netrc.sh [Pipeline] } [2023-10-03T14:09:14.777Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-03T14:09:15.083Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-03T14:09:15.092Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-03T14:09:15.375Z] ---> sudo-logs.sh [2023-10-03T14:09:15.375Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-03T14:09:15.405Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-03T14:09:15.688Z] ---> job-cost.sh [2023-10-03T14:09:15.688Z] lf-activate-venv: SKIPPING [2023-10-03T14:09:15.688Z] DEBUG: total: 0.2199999988079071 [2023-10-03T14:09:15.688Z] INFO: Retrieving Stack Cost... [2023-10-03T14:09:15.948Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-03T14:09:16.519Z] INFO: Archiving Costs [Pipeline] echo [2023-10-03T14:09:16.530Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-03T14:09:16.820Z] ---> logs-deploy.sh [2023-10-03T14:09:16.820Z] lf-activate-venv: SKIPPING [2023-10-03T14:09:16.820Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-484/4 [2023-10-03T14:09:16.820Z] INFO: archiving workspace using pattern(s): [2023-10-03T14:09:17.758Z] Archives upload complete. [2023-10-03T14:09:17.758Z] INFO: archiving logs to Nexus