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 599e63a8c72dfffe1455aa58457c73c1c7ef33a4+b359547df5a09ee3070876df63645d58a75503b0 (48630ea64a8ecb3dd00ce6ac4351978668dd8db9) 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-ssh5870655171405953851.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-ssh7328694182461177120.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-ssh13041465985827375740.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-ssh7073629052008020015.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-ssh7599403673135983752.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-8394 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 599e63a8c72dfffe1455aa58457c73c1c7ef33a4 Merge succeeded, producing 8ef184241cd2f5aaccfad9a45e3b4a12b7f37449 Checking out Revision 8ef184241cd2f5aaccfad9a45e3b4a12b7f37449 (PR-484) > git config core.sparsecheckout # timeout=10 > git checkout -f 599e63a8c72dfffe1455aa58457c73c1c7ef33a4 # 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 8ef184241cd2f5aaccfad9a45e3b4a12b7f37449 # 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-03T13:26:11.163Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-03T13:26:11.225Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-03T13:26:11.246Z] ========================================================= [2023-10-03T13:26:11.246Z] EdgeX Global Pipelines Version Info [2023-10-03T13:26:11.246Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 556665fe831515c0ae8a4a8136619ed97d444d67 # timeout=10 [2023-10-03T13:26:12.333Z] ------------------- [2023-10-03T13:26:12.333Z] stable info: [2023-10-03T13:26:12.333Z] ------------------- [2023-10-03T13:26:12.333Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-03T13:26:12.333Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-03T13:26:12.333Z] Message: update stable to v1.0.254 [2023-10-03T13:26:12.903Z] ------------------- [2023-10-03T13:26:12.903Z] experimental info: [2023-10-03T13:26:12.904Z] ------------------- [2023-10-03T13:26:12.904Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-03T13:26:12.904Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-03T13:26:12.904Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-03T13:26:13.052Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-10-03T13:26:13.063Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-10-03T13:26:13.075Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-03T13:26:13.086Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-03T13:26:13.097Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-03T13:26:13.111Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-10-03T13:26:13.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-10-03T13:26:13.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-03T13:26:13.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-03T13:26:13.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-10-03T13:26:13.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-03T13:26:13.183Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-03T13:26:13.194Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-03T13:26:13.214Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-10-03T13:26:13.231Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-03T13:26:13.244Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-03T13:26:13.259Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-03T13:26:13.272Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-484 [Pipeline] echo [2023-10-03T13:26:13.285Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-484 [Pipeline] echo [2023-10-03T13:26:13.296Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-484 [Pipeline] echo [2023-10-03T13:26:13.310Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8ef184241cd2f5aaccfad9a45e3b4a12b7f37449 [Pipeline] echo [2023-10-03T13:26:13.322Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8ef1842 [Pipeline] echo [2023-10-03T13:26:13.334Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-03T13:26:13.379Z] provisioning config files... [2023-10-03T13:26:13.393Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp/config11645513950033671061tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-03T13:26:13.707Z] ---> docker-login.sh [2023-10-03T13:26:13.707Z] nexus3.edgexfoundry.org:10001 [2023-10-03T13:26:13.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T13:26:13.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T13:26:13.969Z] Configure a credential helper to remove this warning. See [2023-10-03T13:26:13.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T13:26:13.969Z] [2023-10-03T13:26:13.969Z] Login Succeeded [2023-10-03T13:26:13.969Z] nexus3.edgexfoundry.org:10002 [2023-10-03T13:26:13.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T13:26:14.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T13:26:14.229Z] Configure a credential helper to remove this warning. See [2023-10-03T13:26:14.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T13:26:14.229Z] [2023-10-03T13:26:14.229Z] Login Succeeded [2023-10-03T13:26:14.229Z] nexus3.edgexfoundry.org:10003 [2023-10-03T13:26:14.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T13:26:14.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T13:26:14.229Z] Configure a credential helper to remove this warning. See [2023-10-03T13:26:14.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T13:26:14.229Z] [2023-10-03T13:26:14.229Z] Login Succeeded [2023-10-03T13:26:14.229Z] nexus3.edgexfoundry.org:10004 [2023-10-03T13:26:14.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T13:26:14.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T13:26:14.229Z] Configure a credential helper to remove this warning. See [2023-10-03T13:26:14.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T13:26:14.229Z] [2023-10-03T13:26:14.229Z] Login Succeeded [2023-10-03T13:26:14.229Z] docker.io [2023-10-03T13:26:14.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T13:26:14.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T13:26:14.748Z] Configure a credential helper to remove this warning. See [2023-10-03T13:26:14.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T13:26:14.748Z] [2023-10-03T13:26:14.748Z] Login Succeeded [2023-10-03T13:26:14.748Z] ---> docker-login.sh ends [Pipeline] } [2023-10-03T13:26:14.756Z] 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-03T13:26:15.131Z] + git rev-list -1 --merges 8ef184241cd2f5aaccfad9a45e3b4a12b7f37449~1..8ef184241cd2f5aaccfad9a45e3b4a12b7f37449 [Pipeline] echo [2023-10-03T13:26:15.169Z] -----------> git rev-list -1 --merges 8ef184241cd2f5aaccfad9a45e3b4a12b7f37449~1..8ef184241cd2f5aaccfad9a45e3b4a12b7f37449 8ef184241cd2f5aaccfad9a45e3b4a12b7f37449 [2023-10-03T13:26:15.169Z] 8ef184241cd2f5aaccfad9a45e3b4a12b7f37449 [false] [Pipeline] sh [2023-10-03T13:26:15.463Z] + git log --format=format:%s -1 8ef184241cd2f5aaccfad9a45e3b4a12b7f37449 [Pipeline] echo [2023-10-03T13:26:15.479Z] ========================================================= [2023-10-03T13:26:15.479Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-03T13:26:15.479Z] ========================================================= 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-03T13:26:15.880Z] + git rev-list -1 --merges 8ef184241cd2f5aaccfad9a45e3b4a12b7f37449~1..8ef184241cd2f5aaccfad9a45e3b4a12b7f37449 [Pipeline] echo [2023-10-03T13:26:15.892Z] -----------> git rev-list -1 --merges 8ef184241cd2f5aaccfad9a45e3b4a12b7f37449~1..8ef184241cd2f5aaccfad9a45e3b4a12b7f37449 8ef184241cd2f5aaccfad9a45e3b4a12b7f37449 [2023-10-03T13:26:15.892Z] 8ef184241cd2f5aaccfad9a45e3b4a12b7f37449 [false] [Pipeline] sh [2023-10-03T13:26:16.180Z] + git log --format=format:%s -1 8ef184241cd2f5aaccfad9a45e3b4a12b7f37449 [Pipeline] echo [2023-10-03T13:26:16.193Z] ========================================================= [2023-10-03T13:26:16.193Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-03T13:26:16.194Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-10-03T13:26:16.631Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-03T13:26:16.631Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-03T13:26:16.631Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-03T13:26:16.631Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-03T13:26:16.631Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-03T13:26:16.631Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-03T13:26:16.631Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-03T13:26:17.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-03T13:26:17.045Z] [2023-10-03T13:26:17.045Z] 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-03T13:26:17.347Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-03T13:26:17.347Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-03T13:26:17.347Z] b85a868b505f: Pulling fs layer [2023-10-03T13:26:17.347Z] e2be974225ed: Pulling fs layer [2023-10-03T13:26:17.347Z] 339a4e72a1f5: Pulling fs layer [2023-10-03T13:26:17.347Z] 988bab9f4d93: Pulling fs layer [2023-10-03T13:26:17.347Z] 1469e6f7b9e6: Pulling fs layer [2023-10-03T13:26:17.347Z] eaf3925da568: Pulling fs layer [2023-10-03T13:26:17.347Z] bab4dde63d76: Pulling fs layer [2023-10-03T13:26:17.347Z] bde34c3a00c8: Pulling fs layer [2023-10-03T13:26:17.347Z] b352a97aabf1: Pulling fs layer [2023-10-03T13:26:17.347Z] 4872d77fe225: Pulling fs layer [2023-10-03T13:26:17.347Z] 5851b861e8e6: Pulling fs layer [2023-10-03T13:26:17.347Z] 988bab9f4d93: Waiting [2023-10-03T13:26:17.347Z] 1469e6f7b9e6: Waiting [2023-10-03T13:26:17.347Z] eaf3925da568: Waiting [2023-10-03T13:26:17.347Z] bab4dde63d76: Waiting [2023-10-03T13:26:17.347Z] bde34c3a00c8: Waiting [2023-10-03T13:26:17.347Z] b352a97aabf1: Waiting [2023-10-03T13:26:17.347Z] 4872d77fe225: Waiting [2023-10-03T13:26:17.347Z] 5851b861e8e6: Waiting [2023-10-03T13:26:17.347Z] e2be974225ed: Download complete [2023-10-03T13:26:17.347Z] 988bab9f4d93: Verifying Checksum [2023-10-03T13:26:17.347Z] 988bab9f4d93: Download complete [2023-10-03T13:26:17.347Z] 1469e6f7b9e6: Verifying Checksum [2023-10-03T13:26:17.347Z] 1469e6f7b9e6: Download complete [2023-10-03T13:26:17.347Z] 339a4e72a1f5: Verifying Checksum [2023-10-03T13:26:17.347Z] 339a4e72a1f5: Download complete [2023-10-03T13:26:17.605Z] eaf3925da568: Verifying Checksum [2023-10-03T13:26:17.605Z] eaf3925da568: Download complete [2023-10-03T13:26:17.605Z] bde34c3a00c8: Verifying Checksum [2023-10-03T13:26:17.605Z] bde34c3a00c8: Download complete [2023-10-03T13:26:17.605Z] b352a97aabf1: Verifying Checksum [2023-10-03T13:26:17.605Z] b352a97aabf1: Download complete [2023-10-03T13:26:17.605Z] 4872d77fe225: Verifying Checksum [2023-10-03T13:26:17.605Z] 4872d77fe225: Download complete [2023-10-03T13:26:17.605Z] 5851b861e8e6: Verifying Checksum [2023-10-03T13:26:17.605Z] 5851b861e8e6: Download complete [2023-10-03T13:26:17.605Z] b85a868b505f: Verifying Checksum [2023-10-03T13:26:17.605Z] b85a868b505f: Download complete [2023-10-03T13:26:17.863Z] bab4dde63d76: Verifying Checksum [2023-10-03T13:26:17.863Z] bab4dde63d76: Download complete [2023-10-03T13:26:18.801Z] b85a868b505f: Pull complete [2023-10-03T13:26:19.059Z] e2be974225ed: Pull complete [2023-10-03T13:26:19.625Z] 339a4e72a1f5: Pull complete [2023-10-03T13:26:19.625Z] 988bab9f4d93: Pull complete [2023-10-03T13:26:19.885Z] 1469e6f7b9e6: Pull complete [2023-10-03T13:26:19.885Z] eaf3925da568: Pull complete [2023-10-03T13:26:21.832Z] bab4dde63d76: Pull complete [2023-10-03T13:26:21.832Z] bde34c3a00c8: Pull complete [2023-10-03T13:26:21.832Z] b352a97aabf1: Pull complete [2023-10-03T13:26:21.832Z] 4872d77fe225: Pull complete [2023-10-03T13:26:22.093Z] 5851b861e8e6: Pull complete [2023-10-03T13:26:22.093Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-03T13:26:22.093Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-03T13:26:22.093Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-03T13:26:22.181Z] prd-ubuntu20.04-docker-8c-8g-8394 does not seem to be running inside a container [2023-10-03T13:26:22.216Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-03T13:26:27.348Z] $ docker top d7079686b66d25934ad2e913c21e85714594d22c4aa5a6dddce517c2c1c70d46 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-03T13:26:27.432Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-03T13:26:27.432Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-03T13:26:27.539Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-03T13:26:27.544Z] $ docker exec d7079686b66d25934ad2e913c21e85714594d22c4aa5a6dddce517c2c1c70d46 ssh-agent [2023-10-03T13:26:27.648Z] SSH_AUTH_SOCK=/tmp/ssh-jH8C0JvdIMz4/agent.32 [2023-10-03T13:26:27.648Z] SSH_AGENT_PID=39 [2023-10-03T13:26:27.654Z] Running ssh-add (command line suppressed) [2023-10-03T13:26:27.760Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp/private_key_1916454777868634865.key (/w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp/private_key_1916454777868634865.key) [2023-10-03T13:26:27.774Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-03T13:26:28.059Z] + git tag --points-at HEAD [Pipeline] } [2023-10-03T13:26:28.077Z] $ docker exec --env ******** --env ******** d7079686b66d25934ad2e913c21e85714594d22c4aa5a6dddce517c2c1c70d46 ssh-agent -k [2023-10-03T13:26:28.175Z] unset SSH_AUTH_SOCK; [2023-10-03T13:26:28.176Z] unset SSH_AGENT_PID; [2023-10-03T13:26:28.176Z] echo Agent pid 39 killed; [2023-10-03T13:26:28.182Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-03T13:26:28.205Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-03T13:26:28.205Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-03T13:26:28.316Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-03T13:26:28.321Z] $ docker exec d7079686b66d25934ad2e913c21e85714594d22c4aa5a6dddce517c2c1c70d46 ssh-agent [2023-10-03T13:26:28.427Z] SSH_AUTH_SOCK=/tmp/ssh-jS8SXnFuCkVE/agent.71 [2023-10-03T13:26:28.427Z] SSH_AGENT_PID=77 [2023-10-03T13:26:28.432Z] Running ssh-add (command line suppressed) [2023-10-03T13:26:28.536Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp/private_key_486786069900609911.key (/w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp/private_key_486786069900609911.key) [2023-10-03T13:26:28.548Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-03T13:26:28.832Z] + git semver init [2023-10-03T13:26:29.091Z] 2023-10-03 13:26:29,062 [run_init] DEBUG init version:0.0.0 force:False [2023-10-03T13:26:29.091Z] 2023-10-03 13:26:29,063 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-484/.semver [2023-10-03T13:26:29.091Z] 2023-10-03 13:26:29,063 [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-03T13:26:29.091Z] 2023-10-03 13:26:29,084 [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-03T13:26:30.030Z] 2023-10-03 13:26:29,956 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-484/.git/info/exclude [2023-10-03T13:26:30.031Z] 2023-10-03 13:26:29,957 [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-03T13:26:30.031Z] 2023-10-03 13:26:29,957 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-484/.semver/PR-484 [2023-10-03T13:26:30.031Z] 2023-10-03 13:26:29,962 [execute] INFO git cat-file --batch-check [2023-10-03T13:26:30.031Z] 2023-10-03 13:26:29,962 [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-03T13:26:30.031Z] 2023-10-03 13:26:29,968 [execute] INFO git cat-file --batch [2023-10-03T13:26:30.031Z] 2023-10-03 13:26:29,968 [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-03T13:26:30.031Z] 2023-10-03 13:26:29,972 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-484/.semver/PR-484 [2023-10-03T13:26:30.031Z] 0.0.0 [Pipeline] } [2023-10-03T13:26:30.042Z] $ docker exec --env ******** --env ******** d7079686b66d25934ad2e913c21e85714594d22c4aa5a6dddce517c2c1c70d46 ssh-agent -k [2023-10-03T13:26:30.132Z] unset SSH_AUTH_SOCK; [2023-10-03T13:26:30.132Z] unset SSH_AGENT_PID; [2023-10-03T13:26:30.132Z] echo Agent pid 77 killed; [2023-10-03T13:26:30.139Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-03T13:26:30.446Z] + git semver [Pipeline] } [2023-10-03T13:26:30.721Z] $ docker stop --time=1 d7079686b66d25934ad2e913c21e85714594d22c4aa5a6dddce517c2c1c70d46 [2023-10-03T13:26:32.028Z] $ docker rm -f --volumes d7079686b66d25934ad2e913c21e85714594d22c4aa5a6dddce517c2c1c70d46 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-03T13:26:32.361Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-03T13:26:32.569Z] Stashed 1 file(s) [Pipeline] echo [2023-10-03T13:26:32.572Z] [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-03T13:26:32.676Z] provisioning config files... [2023-10-03T13:26:32.687Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp/config648048596914780751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-03T13:26:32.984Z] ---> docker-login.sh [2023-10-03T13:26:32.984Z] nexus3.edgexfoundry.org:10001 [2023-10-03T13:26:32.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T13:26:32.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T13:26:32.984Z] Configure a credential helper to remove this warning. See [2023-10-03T13:26:32.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T13:26:32.984Z] [2023-10-03T13:26:32.984Z] Login Succeeded [2023-10-03T13:26:32.984Z] nexus3.edgexfoundry.org:10002 [2023-10-03T13:26:32.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T13:26:32.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T13:26:32.984Z] Configure a credential helper to remove this warning. See [2023-10-03T13:26:32.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T13:26:32.984Z] [2023-10-03T13:26:32.984Z] Login Succeeded [2023-10-03T13:26:32.984Z] nexus3.edgexfoundry.org:10003 [2023-10-03T13:26:33.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T13:26:33.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T13:26:33.251Z] Configure a credential helper to remove this warning. See [2023-10-03T13:26:33.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T13:26:33.251Z] [2023-10-03T13:26:33.251Z] Login Succeeded [2023-10-03T13:26:33.251Z] nexus3.edgexfoundry.org:10004 [2023-10-03T13:26:33.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T13:26:33.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T13:26:33.251Z] Configure a credential helper to remove this warning. See [2023-10-03T13:26:33.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T13:26:33.251Z] [2023-10-03T13:26:33.251Z] Login Succeeded [2023-10-03T13:26:33.251Z] docker.io [2023-10-03T13:26:33.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T13:26:33.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T13:26:33.509Z] Configure a credential helper to remove this warning. See [2023-10-03T13:26:33.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T13:26:33.509Z] [2023-10-03T13:26:33.509Z] Login Succeeded [2023-10-03T13:26:33.509Z] ---> docker-login.sh ends [Pipeline] } [2023-10-03T13:26:33.516Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-03T13:26:33.598Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-03T13:26:33.609Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-10-03T13:26:33.625Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-03T13:26:33.638Z] ========================================================= [2023-10-03T13:26:33.638Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-10-03T13:26:33.638Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-03T13:26:33.943Z] + 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-03T13:26:33.943Z] Sending build context to Docker daemon 5.021MB [2023-10-03T13:26:33.943Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-10-03T13:26:33.943Z] Step 2/21 : FROM ${BASE} as builder [2023-10-03T13:26:34.201Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-10-03T13:26:34.202Z] 91d30c5bc195: Pulling fs layer [2023-10-03T13:26:34.202Z] 316e5a4585fb: Pulling fs layer [2023-10-03T13:26:34.202Z] 91d30c5bc195: Verifying Checksum [2023-10-03T13:26:34.202Z] 91d30c5bc195: Download complete [2023-10-03T13:26:34.202Z] 91d30c5bc195: Pull complete [2023-10-03T13:26:34.769Z] 316e5a4585fb: Verifying Checksum [2023-10-03T13:26:34.769Z] 316e5a4585fb: Download complete [2023-10-03T13:26:38.054Z] 316e5a4585fb: Pull complete [2023-10-03T13:26:38.054Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-10-03T13:26:38.313Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-10-03T13:26:38.313Z] ---> e83ffa357ff4 [2023-10-03T13:26:38.313Z] 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-03T13:26:41.608Z] ---> Running in 7c0472dd3324 [2023-10-03T13:26:41.867Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-10-03T13:26:42.126Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-03T13:26:42.126Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-03T13:26:42.126Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-03T13:26:42.696Z] Removing intermediate container 7c0472dd3324 [2023-10-03T13:26:42.696Z] ---> d045487cc543 [2023-10-03T13:26:42.696Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-03T13:26:42.696Z] ---> Running in 6468906ea929 [2023-10-03T13:26:43.264Z] Removing intermediate container 6468906ea929 [2023-10-03T13:26:43.264Z] ---> d612e978cd6b [2023-10-03T13:26:43.264Z] 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-03T13:26:43.264Z] ---> Running in c8269ce59fef [2023-10-03T13:26:43.523Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-03T13:26:43.782Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-10-03T13:26:44.041Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-03T13:26:44.608Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-03T13:26:44.608Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-03T13:26:44.608Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-03T13:26:44.608Z] (3/16) Installing hiredis (1.0.2-r0) [2023-10-03T13:26:44.608Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-10-03T13:26:44.609Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-03T13:26:45.548Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-03T13:26:45.548Z] (7/16) Installing libcbor (0.9.0-r1) [2023-10-03T13:26:45.548Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-10-03T13:26:45.548Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-03T13:26:45.548Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-03T13:26:47.488Z] (11/16) Installing libblkid (2.38-r1) [2023-10-03T13:26:47.488Z] (12/16) Installing libuuid (2.38-r1) [2023-10-03T13:26:47.488Z] (13/16) Installing libfdisk (2.38-r1) [2023-10-03T13:26:47.488Z] (14/16) Installing libmount (2.38-r1) [2023-10-03T13:26:47.488Z] (15/16) Installing libsmartcols (2.38-r1) [2023-10-03T13:26:47.488Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-10-03T13:26:47.488Z] Executing busybox-1.35.0-r17.trigger [2023-10-03T13:26:47.488Z] OK: 280 MiB in 90 packages [2023-10-03T13:26:47.641Z] Still waiting to schedule task [2023-10-03T13:26:47.642Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-03T13:26:48.420Z] Removing intermediate container c8269ce59fef [2023-10-03T13:26:48.420Z] ---> c2ad660fe4bd [2023-10-03T13:26:48.420Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-10-03T13:26:48.420Z] ---> Running in a91e1e2bc715 [2023-10-03T13:26:48.986Z] Removing intermediate container a91e1e2bc715 [2023-10-03T13:26:48.986Z] ---> 40a4d8d3e42d [2023-10-03T13:26:48.986Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-10-03T13:26:49.554Z] ---> ce728c3c750c [2023-10-03T13:26:49.554Z] Step 8/21 : COPY src /tmp/sdk/src [2023-10-03T13:26:49.829Z] ---> 554d7a654dd5 [2023-10-03T13:26:49.829Z] Step 9/21 : COPY include /tmp/sdk/include [2023-10-03T13:26:50.089Z] ---> 7196ee8c15c0 [2023-10-03T13:26:50.089Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-10-03T13:26:50.350Z] ---> b5e0db03116d [2023-10-03T13:26:50.350Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-10-03T13:26:50.350Z] ---> ca57622f466e [2023-10-03T13:26:50.350Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-10-03T13:26:50.608Z] ---> 1e09ead12115 [2023-10-03T13:26:50.608Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-10-03T13:26:50.608Z] ---> Running in 3070c0532a8f [2023-10-03T13:26:50.868Z] + CPPCHECK=false [2023-10-03T13:26:50.868Z] + DOCGEN=false [2023-10-03T13:26:50.868Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-10-03T13:26:50.868Z] + '[' 0 -gt 0 ] [2023-10-03T13:26:50.868Z] + readlink -f ./scripts/build.sh [2023-10-03T13:26:50.868Z] + dirname /tmp/sdk/scripts/build.sh [2023-10-03T13:26:50.868Z] + dirname /tmp/sdk/scripts [2023-10-03T13:26:50.868Z] + ROOT=/tmp/sdk [2023-10-03T13:26:50.868Z] + cd /tmp/sdk [2023-10-03T13:26:50.868Z] + mkdir -p /tmp/sdk/build/release [2023-10-03T13:26:50.868Z] + cd /tmp/sdk/build/release [2023-10-03T13:26:50.868Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-10-03T13:26:50.868Z] -- The C compiler identification is GNU 11.2.1 [2023-10-03T13:26:50.868Z] -- Detecting C compiler ABI info [2023-10-03T13:26:51.128Z] -- Detecting C compiler ABI info - done [2023-10-03T13:26:51.128Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-03T13:26:51.128Z] -- Detecting C compile features [2023-10-03T13:26:51.128Z] -- Detecting C compile features - done [2023-10-03T13:26:51.128Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-03T13:26:51.128Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-03T13:26:51.128Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-03T13:26:51.128Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-03T13:26:51.128Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-03T13:26:51.128Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-03T13:26:51.128Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-03T13:26:51.128Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-03T13:26:51.128Z] -- /opt/iotech/iot/1.5/include [2023-10-03T13:26:51.128Z] -- C SDK 0.0.0 for Linux [2023-10-03T13:26:51.128Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-03T13:26:51.128Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-03T13:26:51.389Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-03T13:26:51.389Z] -- Configuring done [2023-10-03T13:26:51.389Z] -- Generating done [2023-10-03T13:26:51.389Z] -- Build files have been written to: /tmp/sdk/build/release [2023-10-03T13:26:51.389Z] + make all package [2023-10-03T13:26:51.389Z] + tee release.log [2023-10-03T13:26:51.389Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-03T13:26:51.389Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-03T13:26:51.648Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-03T13:26:51.908Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-03T13:26:51.908Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-03T13:26:52.168Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-03T13:26:52.428Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-03T13:26:52.691Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-10-03T13:26:52.691Z] /tmp/sdk/src/c/consul.c:297:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-03T13:26:52.691Z] 297 | while (privateConfig) [2023-10-03T13:26:52.691Z] | ^~~~~~~~~~~~~ [2023-10-03T13:26:52.691Z] /tmp/sdk/src/c/consul.c:274:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-03T13:26:52.691Z] 274 | while (result) [2023-10-03T13:26:52.691Z] | ^~~~~~ [2023-10-03T13:26:52.691Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-03T13:26:52.691Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-03T13:26:52.951Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-03T13:26:53.217Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-03T13:26:53.478Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-03T13:26:53.478Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-03T13:26:53.741Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-03T13:26:53.741Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-03T13:26:54.001Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-03T13:26:54.001Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-03T13:26:54.568Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-03T13:26:54.568Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-03T13:26:54.568Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-03T13:26:54.829Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-03T13:26:55.767Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-03T13:26:55.767Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-03T13:26:55.767Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-03T13:26:56.025Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-03T13:26:56.025Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-03T13:26:56.287Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-03T13:26:56.854Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-03T13:26:56.854Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-03T13:26:56.854Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-03T13:26:57.114Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-03T13:26:57.682Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-03T13:26:57.682Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-03T13:26:57.682Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-03T13:26:57.941Z] [ 68%] Linking C shared library libcsdk.so [2023-10-03T13:26:57.941Z] [ 68%] Built target csdk [2023-10-03T13:26:57.941Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-03T13:26:58.199Z] [ 72%] Linking C executable template [2023-10-03T13:26:58.199Z] [ 72%] Built target template [2023-10-03T13:26:58.199Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-03T13:26:58.199Z] [ 76%] Linking C executable device-counter [2023-10-03T13:26:58.460Z] [ 76%] Built target device-counter [2023-10-03T13:26:58.460Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-03T13:26:58.460Z] [ 80%] Linking C executable device-random [2023-10-03T13:26:58.460Z] [ 80%] Built target device-random [2023-10-03T13:26:58.460Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-03T13:26:58.719Z] [ 84%] Linking C executable device-gyro [2023-10-03T13:26:58.719Z] [ 84%] Built target device-gyro [2023-10-03T13:26:58.719Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-03T13:26:58.719Z] [ 88%] Linking C executable device-bitfields [2023-10-03T13:26:58.978Z] [ 88%] Built target device-bitfields [2023-10-03T13:26:58.978Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-03T13:26:58.978Z] [ 92%] Linking C executable template-discovery [2023-10-03T13:26:58.978Z] [ 92%] Built target template-discovery [2023-10-03T13:26:58.978Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-03T13:26:59.236Z] [ 96%] Linking C executable device-file [2023-10-03T13:26:59.236Z] [ 96%] Built target device-file [2023-10-03T13:26:59.236Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-03T13:26:59.496Z] [100%] Linking C executable device-terminal [2023-10-03T13:26:59.496Z] [100%] Built target device-terminal [2023-10-03T13:26:59.496Z] Run CPack packaging tool... [2023-10-03T13:26:59.496Z] CPack: Create package using TGZ [2023-10-03T13:26:59.496Z] CPack: Install projects [2023-10-03T13:26:59.496Z] CPack: - Run preinstall target for: Csdk [2023-10-03T13:26:59.755Z] CPack: - Install project: Csdk [] [2023-10-03T13:26:59.755Z] CPack: Create package [2023-10-03T13:26:59.755Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-10-03T13:26:59.755Z] + '[' false '=' true ] [2023-10-03T13:26:59.755Z] + '[' false '=' true ] [2023-10-03T13:26:59.755Z] + mkdir -p /tmp/sdk/build/debug [2023-10-03T13:26:59.755Z] + cd /tmp/sdk/build/debug [2023-10-03T13:26:59.755Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-10-03T13:26:59.755Z] -- The C compiler identification is GNU 11.2.1 [2023-10-03T13:26:59.755Z] -- Detecting C compiler ABI info [2023-10-03T13:27:00.014Z] -- Detecting C compiler ABI info - done [2023-10-03T13:27:00.014Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-03T13:27:00.014Z] -- Detecting C compile features [2023-10-03T13:27:00.014Z] -- Detecting C compile features - done [2023-10-03T13:27:00.014Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-03T13:27:00.014Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-03T13:27:00.014Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-03T13:27:00.014Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-03T13:27:00.014Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-03T13:27:00.014Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-03T13:27:00.014Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-03T13:27:00.014Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-03T13:27:00.014Z] -- /opt/iotech/iot/1.5/include [2023-10-03T13:27:00.014Z] -- C SDK 0.0.0 for Linux [2023-10-03T13:27:00.014Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-03T13:27:00.014Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-03T13:27:00.014Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-03T13:27:00.273Z] -- Configuring done [2023-10-03T13:27:00.273Z] -- Generating done [2023-10-03T13:27:00.273Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-10-03T13:27:00.273Z] + make [2023-10-03T13:27:00.273Z] + tee debug.log [2023-10-03T13:27:00.273Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-03T13:27:00.273Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-03T13:27:00.273Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-03T13:27:00.531Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-03T13:27:00.532Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-03T13:27:00.532Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-03T13:27:00.791Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-03T13:27:00.791Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-03T13:27:00.791Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-03T13:27:01.049Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-03T13:27:01.049Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-03T13:27:01.307Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-03T13:27:01.307Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-03T13:27:01.307Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-03T13:27:01.567Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-03T13:27:01.567Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-03T13:27:01.567Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-03T13:27:01.827Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-03T13:27:01.827Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-03T13:27:01.827Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-03T13:27:02.085Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-03T13:27:02.345Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-03T13:27:02.345Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-03T13:27:02.345Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-03T13:27:02.345Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-03T13:27:02.602Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-03T13:27:02.602Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-03T13:27:02.864Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-03T13:27:02.865Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-03T13:27:02.865Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-03T13:27:03.123Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-03T13:27:03.123Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-03T13:27:03.382Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-03T13:27:03.382Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-03T13:27:03.382Z] [ 68%] Linking C shared library libcsdk.so [2023-10-03T13:27:03.382Z] [ 68%] Built target csdk [2023-10-03T13:27:03.640Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-03T13:27:03.640Z] [ 72%] Linking C executable template [2023-10-03T13:27:03.640Z] [ 72%] Built target template [2023-10-03T13:27:03.640Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-03T13:27:03.640Z] [ 76%] Linking C executable device-counter [2023-10-03T13:27:03.898Z] [ 76%] Built target device-counter [2023-10-03T13:27:03.898Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-03T13:27:03.898Z] [ 80%] Linking C executable device-random [2023-10-03T13:27:03.898Z] [ 80%] Built target device-random [2023-10-03T13:27:03.898Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-03T13:27:03.898Z] [ 84%] Linking C executable device-gyro [2023-10-03T13:27:04.158Z] [ 84%] Built target device-gyro [2023-10-03T13:27:04.158Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-03T13:27:04.158Z] [ 88%] Linking C executable device-bitfields [2023-10-03T13:27:04.158Z] [ 88%] Built target device-bitfields [2023-10-03T13:27:04.158Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-03T13:27:04.418Z] [ 92%] Linking C executable template-discovery [2023-10-03T13:27:04.418Z] [ 92%] Built target template-discovery [2023-10-03T13:27:04.418Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-03T13:27:04.418Z] [ 96%] Linking C executable device-file [2023-10-03T13:27:04.418Z] [ 96%] Built target device-file [2023-10-03T13:27:04.677Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-03T13:27:04.677Z] [100%] Linking C executable device-terminal [2023-10-03T13:27:04.677Z] [100%] Built target device-terminal [2023-10-03T13:27:04.677Z] make: Entering directory '/tmp/sdk/build/release' [2023-10-03T13:27:04.677Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-10-03T13:27:04.677Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T13:27:04.677Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T13:27:04.677Z] [ 68%] Built target csdk [2023-10-03T13:27:04.677Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T13:27:04.677Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T13:27:04.677Z] [ 72%] Built target template [2023-10-03T13:27:04.677Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T13:27:04.677Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T13:27:04.677Z] [ 76%] Built target device-counter [2023-10-03T13:27:04.677Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T13:27:04.677Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T13:27:04.935Z] [ 80%] Built target device-random [2023-10-03T13:27:04.936Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T13:27:04.936Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T13:27:04.936Z] [ 84%] Built target device-gyro [2023-10-03T13:27:04.936Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T13:27:04.936Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T13:27:04.936Z] [ 88%] Built target device-bitfields [2023-10-03T13:27:04.936Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T13:27:04.936Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T13:27:04.936Z] [ 92%] Built target template-discovery [2023-10-03T13:27:04.936Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T13:27:04.936Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T13:27:04.936Z] [ 96%] Built target device-file [2023-10-03T13:27:04.936Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T13:27:04.936Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T13:27:04.936Z] [100%] Built target device-terminal [2023-10-03T13:27:04.936Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T13:27:04.936Z] Install the project... [2023-10-03T13:27:04.936Z] -- Install configuration: "Release" [2023-10-03T13:27:04.936Z] -- Installing: /usr/local/lib/libcsdk.so [2023-10-03T13:27:04.936Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-10-03T13:27:04.936Z] -- Installing: /usr/local/include [2023-10-03T13:27:04.936Z] -- Installing: /usr/local/include/devsdk [2023-10-03T13:27:04.936Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-10-03T13:27:04.936Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-10-03T13:27:04.936Z] -- Installing: /usr/local/include/edgex [2023-10-03T13:27:04.936Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-10-03T13:27:04.936Z] -- Installing: /usr/local/include/edgex/devices.h [2023-10-03T13:27:04.936Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-10-03T13:27:04.936Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-10-03T13:27:04.936Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-10-03T13:27:04.936Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-10-03T13:27:04.936Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-10-03T13:27:04.936Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-10-03T13:27:04.936Z] make: Leaving directory '/tmp/sdk/build/release' [2023-10-03T13:27:05.503Z] Removing intermediate container 3070c0532a8f [2023-10-03T13:27:05.503Z] ---> 7afe200735c4 [2023-10-03T13:27:05.503Z] Step 14/21 : FROM ${BASE} [2023-10-03T13:27:05.503Z] ---> e83ffa357ff4 [2023-10-03T13:27:05.503Z] Step 15/21 : LABEL maintainer="IOTech " [2023-10-03T13:27:05.503Z] ---> Running in 9e94dcd81853 [2023-10-03T13:27:05.762Z] Removing intermediate container 9e94dcd81853 [2023-10-03T13:27:05.762Z] ---> 94200b232894 [2023-10-03T13:27:05.762Z] 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-03T13:27:05.762Z] ---> Running in e379b2c0c0b8 [2023-10-03T13:27:06.022Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-10-03T13:27:06.281Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-03T13:27:06.281Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-03T13:27:06.281Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-03T13:27:06.540Z] Removing intermediate container e379b2c0c0b8 [2023-10-03T13:27:06.540Z] ---> b439dda46c72 [2023-10-03T13:27:06.540Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-03T13:27:06.540Z] ---> Running in fa29d82a634a [2023-10-03T13:27:07.107Z] Removing intermediate container fa29d82a634a [2023-10-03T13:27:07.107Z] ---> b6327703a776 [2023-10-03T13:27:07.107Z] 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-03T13:27:07.107Z] ---> Running in a7ee58810e3e [2023-10-03T13:27:07.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-03T13:27:07.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-10-03T13:27:07.888Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-03T13:27:08.454Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-03T13:27:08.454Z] (1/7) Installing curl (8.3.0-r0) [2023-10-03T13:27:08.454Z] (2/7) Installing hiredis (1.0.2-r0) [2023-10-03T13:27:08.454Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-10-03T13:27:08.454Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-10-03T13:27:09.391Z] (5/7) Installing libcbor (0.9.0-r1) [2023-10-03T13:27:09.391Z] (6/7) Installing libuuid (2.38-r1) [2023-10-03T13:27:09.391Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-03T13:27:10.328Z] Executing busybox-1.35.0-r17.trigger [2023-10-03T13:27:10.328Z] OK: 276 MiB in 83 packages [2023-10-03T13:27:10.586Z] Removing intermediate container a7ee58810e3e [2023-10-03T13:27:10.587Z] ---> 250fc9b3affd [2023-10-03T13:27:10.587Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-10-03T13:27:10.587Z] ---> ee60ffc54c01 [2023-10-03T13:27:10.587Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-10-03T13:27:10.845Z] ---> 00403b73d5b5 [2023-10-03T13:27:10.845Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-10-03T13:27:10.845Z] ---> a0ddbc415b98 [2023-10-03T13:27:10.845Z] Successfully built a0ddbc415b98 [2023-10-03T13:27:10.845Z] 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-03T13:27:11.224Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-03T13:27:11.224Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-03T13:27:11.302Z] prd-ubuntu20.04-docker-8c-8g-8394 does not seem to be running inside a container [2023-10-03T13:27:11.334Z] $ 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 ******** ci-base-image-x86_64 cat [2023-10-03T13:27:11.716Z] $ docker top 0aba5e76fc9933681c15049fdd61d67520733183fe355b606ae03f9d5ef69659 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-03T13:27:12.070Z] + make test [2023-10-03T13:27:12.070Z] echo "make test" [2023-10-03T13:27:12.070Z] make test [Pipeline] } [2023-10-03T13:27:12.082Z] $ docker stop --time=1 0aba5e76fc9933681c15049fdd61d67520733183fe355b606ae03f9d5ef69659 [2023-10-03T13:27:13.343Z] $ docker rm -f --volumes 0aba5e76fc9933681c15049fdd61d67520733183fe355b606ae03f9d5ef69659 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-03T13:27:13.955Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-03T13:27:14.242Z] + ls -al . [2023-10-03T13:27:14.242Z] total 212 [2023-10-03T13:27:14.242Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 13:26 . [2023-10-03T13:27:14.242Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 13:26 .. [2023-10-03T13:27:14.242Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 13:26 .git [2023-10-03T13:27:14.242Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 13:26 .github [2023-10-03T13:27:14.242Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 3 13:26 .gitignore [2023-10-03T13:27:14.242Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 13:26 .semver [2023-10-03T13:27:14.242Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 3 13:26 Attribution.txt [2023-10-03T13:27:14.242Z] -rw-rw-r-- 1 jenkins jenkins 9802 Oct 3 13:26 CHANGES [2023-10-03T13:27:14.242Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 3 13:26 Doxyfile [2023-10-03T13:27:14.242Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 13:26 GOVERNANCE.md [2023-10-03T13:27:14.242Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 3 13:26 Jenkinsfile [2023-10-03T13:27:14.242Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 3 13:26 LICENSE [2023-10-03T13:27:14.242Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 3 13:26 Makefile [2023-10-03T13:27:14.242Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 3 13:26 OWNERS.md [2023-10-03T13:27:14.242Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 3 13:26 README.IOT.md [2023-10-03T13:27:14.242Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 3 13:26 README.md [2023-10-03T13:27:14.242Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 3 13:26 README.v3.md [2023-10-03T13:27:14.242Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 13:26 VERSION [2023-10-03T13:27:14.242Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 13:26 docs [2023-10-03T13:27:14.242Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 13:26 include [2023-10-03T13:27:14.242Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 13:26 scripts [2023-10-03T13:27:14.242Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 13:26 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-03T13:27:14.544Z] + 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=8ef184241cd2f5aaccfad9a45e3b4a12b7f37449 --label arch=amd64 --label version=0.0.0 . [2023-10-03T13:27:14.544Z] Sending build context to Docker daemon 5.021MB [2023-10-03T13:27:14.544Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-10-03T13:27:14.544Z] Step 2/17 : FROM ${BASE} [2023-10-03T13:27:14.544Z] ---> a0ddbc415b98 [2023-10-03T13:27:14.544Z] Step 3/17 : LABEL maintainer="IOTech " [2023-10-03T13:27:14.544Z] ---> Running in 366d3319b85a [2023-10-03T13:27:14.803Z] Removing intermediate container 366d3319b85a [2023-10-03T13:27:14.804Z] ---> fdcf300af251 [2023-10-03T13:27:14.804Z] 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-03T13:27:14.804Z] ---> Running in df6684232d04 [2023-10-03T13:27:15.064Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-10-03T13:27:15.324Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-03T13:27:15.324Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-03T13:27:15.324Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-03T13:27:15.586Z] Removing intermediate container df6684232d04 [2023-10-03T13:27:15.586Z] ---> 7031244e2a93 [2023-10-03T13:27:15.586Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-03T13:27:15.586Z] ---> Running in ded559074cc4 [2023-10-03T13:27:16.163Z] Removing intermediate container ded559074cc4 [2023-10-03T13:27:16.163Z] ---> f69453a8dd7b [2023-10-03T13:27:16.163Z] 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-03T13:27:16.421Z] ---> Running in be4b94521ee7 [2023-10-03T13:27:16.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-03T13:27:16.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-10-03T13:27:16.681Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-03T13:27:17.249Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-03T13:27:17.249Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-03T13:27:17.249Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-03T13:27:17.249Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-03T13:27:18.186Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-03T13:27:18.186Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-10-03T13:27:18.186Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-03T13:27:18.186Z] (7/11) Installing libblkid (2.38-r1) [2023-10-03T13:27:18.186Z] (8/11) Installing libfdisk (2.38-r1) [2023-10-03T13:27:18.186Z] (9/11) Installing libmount (2.38-r1) [2023-10-03T13:27:18.186Z] (10/11) Installing libsmartcols (2.38-r1) [2023-10-03T13:27:18.186Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-10-03T13:27:18.186Z] Executing busybox-1.35.0-r17.trigger [2023-10-03T13:27:18.186Z] OK: 281 MiB in 92 packages [2023-10-03T13:27:18.754Z] Removing intermediate container be4b94521ee7 [2023-10-03T13:27:18.754Z] ---> e2f0c913bc23 [2023-10-03T13:27:18.754Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-10-03T13:27:19.011Z] ---> 4d1d169e111f [2023-10-03T13:27:19.012Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-10-03T13:27:19.012Z] ---> 0a72366cd0e6 [2023-10-03T13:27:19.012Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-10-03T13:27:19.270Z] ---> e3071e65ca45 [2023-10-03T13:27:19.270Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-10-03T13:27:19.270Z] ---> 3781af0bf2a4 [2023-10-03T13:27:19.270Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-10-03T13:27:19.528Z] ---> fc1464965cd5 [2023-10-03T13:27:19.528Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-10-03T13:27:19.528Z] ---> 5f1aac50d0ab [2023-10-03T13:27:19.528Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-10-03T13:27:19.528Z] ---> Running in 11cd341e29f3 [2023-10-03T13:27:19.786Z] Removing intermediate container 11cd341e29f3 [2023-10-03T13:27:19.786Z] ---> 33839f3dad90 [2023-10-03T13:27:19.786Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-10-03T13:27:19.786Z] ---> Running in 414ba1ceb1a4 [2023-10-03T13:27:19.786Z] Removing intermediate container 414ba1ceb1a4 [2023-10-03T13:27:19.786Z] ---> 91926898f9cb [2023-10-03T13:27:19.786Z] Step 15/17 : LABEL arch=amd64 [2023-10-03T13:27:19.786Z] ---> Running in ffc4ab3eae2d [2023-10-03T13:27:19.786Z] Removing intermediate container ffc4ab3eae2d [2023-10-03T13:27:19.786Z] ---> 3209d3b35f9a [2023-10-03T13:27:19.786Z] Step 16/17 : LABEL git_sha=8ef184241cd2f5aaccfad9a45e3b4a12b7f37449 [2023-10-03T13:27:19.786Z] ---> Running in 5cdffd6419ca [2023-10-03T13:27:20.044Z] Removing intermediate container 5cdffd6419ca [2023-10-03T13:27:20.044Z] ---> 5b202d18cb3b [2023-10-03T13:27:20.044Z] Step 17/17 : LABEL version=0.0.0 [2023-10-03T13:27:20.044Z] ---> Running in 94be5087d56c [2023-10-03T13:27:20.044Z] Removing intermediate container 94be5087d56c [2023-10-03T13:27:20.044Z] ---> 2767f834e26a [2023-10-03T13:27:20.044Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-10-03T13:27:20.044Z] Successfully built 2767f834e26a [2023-10-03T13:27:20.044Z] 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-03T13:27:20.495Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-03T13:27:20.495Z] [2023-10-03T13:27:20.495Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-03T13:27:20.790Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-03T13:27:20.790Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-03T13:27:20.790Z] 5eb5b503b376: Pulling fs layer [2023-10-03T13:27:20.790Z] 5c69ac0246d0: Pulling fs layer [2023-10-03T13:27:20.790Z] ec43610c2a17: Pulling fs layer [2023-10-03T13:27:20.790Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-03T13:27:20.790Z] 33b1e0a273af: Pulling fs layer [2023-10-03T13:27:20.790Z] 5d3b04190fa2: Pulling fs layer [2023-10-03T13:27:20.790Z] 2f39f015ded8: Pulling fs layer [2023-10-03T13:27:20.790Z] 3a2ae6a8a46f: Waiting [2023-10-03T13:27:20.790Z] 33b1e0a273af: Waiting [2023-10-03T13:27:20.790Z] 5d3b04190fa2: Waiting [2023-10-03T13:27:20.790Z] 2f39f015ded8: Waiting [2023-10-03T13:27:20.790Z] 5c69ac0246d0: Verifying Checksum [2023-10-03T13:27:20.790Z] 5c69ac0246d0: Download complete [2023-10-03T13:27:20.791Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-03T13:27:20.791Z] 3a2ae6a8a46f: Download complete [2023-10-03T13:27:20.791Z] 33b1e0a273af: Verifying Checksum [2023-10-03T13:27:20.791Z] 33b1e0a273af: Download complete [2023-10-03T13:27:20.791Z] ec43610c2a17: Verifying Checksum [2023-10-03T13:27:20.791Z] ec43610c2a17: Download complete [2023-10-03T13:27:20.791Z] 5d3b04190fa2: Verifying Checksum [2023-10-03T13:27:20.791Z] 5d3b04190fa2: Download complete [2023-10-03T13:27:21.050Z] 5eb5b503b376: Verifying Checksum [2023-10-03T13:27:21.050Z] 5eb5b503b376: Download complete [2023-10-03T13:27:21.616Z] 2f39f015ded8: Verifying Checksum [2023-10-03T13:27:21.616Z] 2f39f015ded8: Download complete [2023-10-03T13:27:22.189Z] 5eb5b503b376: Pull complete [2023-10-03T13:27:22.189Z] 5c69ac0246d0: Pull complete [2023-10-03T13:27:22.756Z] ec43610c2a17: Pull complete [2023-10-03T13:27:22.756Z] 3a2ae6a8a46f: Pull complete [2023-10-03T13:27:23.015Z] 33b1e0a273af: Pull complete [2023-10-03T13:27:23.015Z] 5d3b04190fa2: Pull complete [2023-10-03T13:27:27.199Z] 2f39f015ded8: Pull complete [2023-10-03T13:27:27.199Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-03T13:27:27.199Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-03T13:27:27.199Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-03T13:27:27.277Z] prd-ubuntu20.04-docker-8c-8g-8394 does not seem to be running inside a container [2023-10-03T13:27:27.307Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-03T13:27:34.920Z] $ docker top f6ad07ca9ee29ed8a228ec7c7b565576f8d9c79982d3d4b6cca8b5e99d0684a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-03T13:27:35.306Z] ---> job-cost.sh [2023-10-03T13:27:35.306Z] lf-activate-venv: SKIPPING [2023-10-03T13:27:35.306Z] INFO: No Stack... [2023-10-03T13:27:35.565Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-03T13:27:35.825Z] INFO: Archiving Costs [Pipeline] sh [2023-10-03T13:27:36.111Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-484/archives/cost.csv [2023-10-03T13:27:36.112Z] + cut -d, -f6 [Pipeline] lock [2023-10-03T13:27:36.123Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-484-3-stack-cost] [2023-10-03T13:27:36.133Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-484-3-stack-cost] did not exist. Created. [2023-10-03T13:27:36.133Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-484-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-03T13:27:36.431Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-03T13:27:36.473Z] Stashed 1 file(s) [Pipeline] } [2023-10-03T13:27:36.479Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-484-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-03T13:27:36.496Z] $ docker stop --time=1 f6ad07ca9ee29ed8a228ec7c7b565576f8d9c79982d3d4b6cca8b5e99d0684a1 [2023-10-03T13:27:37.642Z] $ docker rm -f --volumes f6ad07ca9ee29ed8a228ec7c7b565576f8d9c79982d3d4b6cca8b5e99d0684a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-03T13:28:15.026Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8395 in /w/workspace/edgexfoundry_device-sdk-c_PR-484 [Pipeline] { [Pipeline] ws [2023-10-03T13:28:15.042Z] Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout [2023-10-03T13:28:15.077Z] Selected Git installation does not exist. Using Default [2023-10-03T13:28:15.078Z] The recommended git tool is: NONE [2023-10-03T13:28:19.761Z] using credential edgex-jenkins-ssh [2023-10-03T13:28:19.779Z] Cloning the remote Git repository [2023-10-03T13:28:19.807Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-10-03T13:28:19.889Z] > git init /w/workspace/device-sdk-c/3 # timeout=10 [2023-10-03T13:28:20.021Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-10-03T13:28:20.022Z] > git --version # timeout=10 [2023-10-03T13:28:20.044Z] > git --version # 'git version 2.25.1' [2023-10-03T13:28:20.047Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-03T13:28:20.182Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-03T13:28:23.290Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-10-03T13:28:23.314Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-03T13:28:24.809Z] Merging remotes/origin/main commit b359547df5a09ee3070876df63645d58a75503b0 into PR head commit 599e63a8c72dfffe1455aa58457c73c1c7ef33a4 [2023-10-03T13:28:24.097Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-10-03T13:28:24.138Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-10-03T13:28:24.139Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-03T13:28:24.154Z] > 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-03T13:28:24.821Z] > git config core.sparsecheckout # timeout=10 [2023-10-03T13:28:24.904Z] > git checkout -f 599e63a8c72dfffe1455aa58457c73c1c7ef33a4 # timeout=10 [2023-10-03T13:28:25.025Z] > git remote # timeout=10 [2023-10-03T13:28:25.045Z] > git config --get remote.origin.url # timeout=10 [2023-10-03T13:28:25.070Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-03T13:28:25.083Z] > git merge b359547df5a09ee3070876df63645d58a75503b0 # timeout=10 [2023-10-03T13:28:25.196Z] Merge succeeded, producing b002f4e2e88dc501838693b4bcb5db5f944042d7 [2023-10-03T13:28:25.196Z] Checking out Revision b002f4e2e88dc501838693b4bcb5db5f944042d7 (PR-484) [2023-10-03T13:28:25.167Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-03T13:28:25.197Z] > git config core.sparsecheckout # timeout=10 [2023-10-03T13:28:25.210Z] > git checkout -f b002f4e2e88dc501838693b4bcb5db5f944042d7 # timeout=10 [2023-10-03T13:28:28.667Z] Commit message: "Merge commit 'b359547df5a09ee3070876df63645d58a75503b0' into HEAD" [2023-10-03T13:28:28.691Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-03T13:28:29.735Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-03T13:28:29.735Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-03T13:28:29.735Z] Dload Upload Total Spent Left Speed [2023-10-03T13:28:29.735Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82798 0 --:--:-- --:--:-- --:--:-- 83339 [2023-10-03T13:28:28.672Z] > git rev-list --no-walk 556665fe831515c0ae8a4a8136619ed97d444d67 # timeout=10 [Pipeline] sh [2023-10-03T13:28:30.406Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-03T13:28:30.727Z] + sudo tee+ /etc/docker/daemon.new [2023-10-03T13:28:30.727Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-03T13:28:30.727Z] { [2023-10-03T13:28:30.727Z] "registry-mirrors": [ [2023-10-03T13:28:30.727Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-03T13:28:30.727Z] ], [2023-10-03T13:28:30.727Z] "bip": "10.250.0.254/24", [2023-10-03T13:28:30.727Z] "hosts": [ [2023-10-03T13:28:30.727Z] "tcp://0.0.0.0:5555", [2023-10-03T13:28:30.727Z] "unix:///var/run/docker.sock" [2023-10-03T13:28:30.727Z] ], [2023-10-03T13:28:30.727Z] "mtu": 1458, [2023-10-03T13:28:30.727Z] "selinux-enabled": true, [2023-10-03T13:28:30.727Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-03T13:28:30.727Z] } [Pipeline] sh [2023-10-03T13:28:31.048Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-03T13:28:31.382Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-03T13:28:49.641Z] provisioning config files... [2023-10-03T13:28:49.667Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config10214775530474639125tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-03T13:28:50.014Z] ---> docker-login.sh [2023-10-03T13:28:50.014Z] nexus3.edgexfoundry.org:10001 [2023-10-03T13:28:50.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T13:28:50.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T13:28:50.549Z] Configure a credential helper to remove this warning. See [2023-10-03T13:28:50.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T13:28:50.549Z] [2023-10-03T13:28:50.549Z] Login Succeeded [2023-10-03T13:28:50.549Z] nexus3.edgexfoundry.org:10002 [2023-10-03T13:28:50.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T13:28:50.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T13:28:50.818Z] Configure a credential helper to remove this warning. See [2023-10-03T13:28:50.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T13:28:50.818Z] [2023-10-03T13:28:50.818Z] Login Succeeded [2023-10-03T13:28:50.818Z] nexus3.edgexfoundry.org:10003 [2023-10-03T13:28:51.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T13:28:51.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T13:28:51.352Z] Configure a credential helper to remove this warning. See [2023-10-03T13:28:51.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T13:28:51.352Z] [2023-10-03T13:28:51.352Z] Login Succeeded [2023-10-03T13:28:51.352Z] nexus3.edgexfoundry.org:10004 [2023-10-03T13:28:51.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T13:28:51.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T13:28:51.622Z] Configure a credential helper to remove this warning. See [2023-10-03T13:28:51.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T13:28:51.622Z] [2023-10-03T13:28:51.622Z] Login Succeeded [2023-10-03T13:28:51.622Z] docker.io [2023-10-03T13:28:51.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T13:28:52.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T13:28:52.156Z] Configure a credential helper to remove this warning. See [2023-10-03T13:28:52.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T13:28:52.156Z] [2023-10-03T13:28:52.156Z] Login Succeeded [2023-10-03T13:28:52.156Z] ---> docker-login.sh ends [Pipeline] } [2023-10-03T13:28:52.171Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-03T13:28:52.533Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-03T13:28:52.539Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-10-03T13:28:52.546Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-03T13:28:52.553Z] ========================================================= [2023-10-03T13:28:52.553Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-10-03T13:28:52.553Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-03T13:28:52.872Z] + 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-03T13:28:53.142Z] Sending build context to Docker daemon 3.055MB [2023-10-03T13:28:53.142Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-10-03T13:28:53.142Z] Step 2/21 : FROM ${BASE} as builder [2023-10-03T13:28:53.410Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-10-03T13:28:53.410Z] 547446be3368: Pulling fs layer [2023-10-03T13:28:53.410Z] 76bd08e1cacc: Pulling fs layer [2023-10-03T13:28:53.410Z] 547446be3368: Verifying Checksum [2023-10-03T13:28:53.410Z] 547446be3368: Download complete [2023-10-03T13:28:53.996Z] 547446be3368: Pull complete [2023-10-03T13:28:55.961Z] 76bd08e1cacc: Verifying Checksum [2023-10-03T13:28:55.961Z] 76bd08e1cacc: Download complete [2023-10-03T13:29:04.205Z] 76bd08e1cacc: Pull complete [2023-10-03T13:29:04.205Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-10-03T13:29:04.205Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-10-03T13:29:04.205Z] ---> 295cd00e64f4 [2023-10-03T13:29:04.205Z] 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-03T13:29:04.205Z] ---> Running in 755f8c4c997a [2023-10-03T13:29:05.620Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-10-03T13:29:05.887Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-03T13:29:05.887Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-03T13:29:05.887Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-03T13:29:06.473Z] Removing intermediate container 755f8c4c997a [2023-10-03T13:29:06.473Z] ---> 1f1fdcd71008 [2023-10-03T13:29:06.473Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-03T13:29:06.473Z] ---> Running in 50e56563d0be [2023-10-03T13:29:07.885Z] Removing intermediate container 50e56563d0be [2023-10-03T13:29:07.885Z] ---> 1eec5b5592f5 [2023-10-03T13:29:07.885Z] 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-03T13:29:08.153Z] ---> Running in 0a8d437e8d20 [2023-10-03T13:29:09.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-03T13:29:09.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-10-03T13:29:09.645Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-03T13:29:11.591Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-03T13:29:11.591Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-03T13:29:11.591Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-03T13:29:11.591Z] (3/16) Installing hiredis (1.0.2-r0) [2023-10-03T13:29:11.591Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-10-03T13:29:11.591Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-03T13:29:12.551Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-03T13:29:12.551Z] (7/16) Installing libcbor (0.9.0-r1) [2023-10-03T13:29:12.551Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-10-03T13:29:12.551Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-03T13:29:12.551Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-03T13:29:13.513Z] (11/16) Installing libblkid (2.38-r1) [2023-10-03T13:29:13.513Z] (12/16) Installing libuuid (2.38-r1) [2023-10-03T13:29:13.513Z] (13/16) Installing libfdisk (2.38-r1) [2023-10-03T13:29:13.513Z] (14/16) Installing libmount (2.38-r1) [2023-10-03T13:29:13.513Z] (15/16) Installing libsmartcols (2.38-r1) [2023-10-03T13:29:13.513Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-10-03T13:29:13.513Z] Executing busybox-1.35.0-r17.trigger [2023-10-03T13:29:13.781Z] OK: 286 MiB in 90 packages [2023-10-03T13:29:14.745Z] Removing intermediate container 0a8d437e8d20 [2023-10-03T13:29:14.745Z] ---> 5e698271e2d7 [2023-10-03T13:29:14.745Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-10-03T13:29:15.016Z] ---> Running in f7399211ac23 [2023-10-03T13:29:19.266Z] Removing intermediate container f7399211ac23 [2023-10-03T13:29:19.266Z] ---> 159cce6bf715 [2023-10-03T13:29:19.266Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-10-03T13:29:19.266Z] ---> f39493f7b374 [2023-10-03T13:29:19.266Z] Step 8/21 : COPY src /tmp/sdk/src [2023-10-03T13:29:19.848Z] ---> 1e433b35baf3 [2023-10-03T13:29:19.848Z] Step 9/21 : COPY include /tmp/sdk/include [2023-10-03T13:29:20.115Z] ---> 0c86577475e6 [2023-10-03T13:29:20.115Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-10-03T13:29:20.700Z] ---> 6e5a609e767b [2023-10-03T13:29:20.700Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-10-03T13:29:21.292Z] ---> 4e1a0d2499c4 [2023-10-03T13:29:21.292Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-10-03T13:29:21.561Z] ---> 7a901585fc9a [2023-10-03T13:29:21.561Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-10-03T13:29:21.829Z] ---> Running in 40e702efe555 [2023-10-03T13:29:22.791Z] + CPPCHECK=false [2023-10-03T13:29:22.791Z] + DOCGEN=false [2023-10-03T13:29:22.791Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-10-03T13:29:22.791Z] + '[' 0 -gt 0 ] [2023-10-03T13:29:22.791Z] + readlink -f ./scripts/build.sh [2023-10-03T13:29:22.791Z] + dirname /tmp/sdk/scripts/build.sh [2023-10-03T13:29:22.791Z] + dirname /tmp/sdk/scripts [2023-10-03T13:29:22.791Z] + ROOT=/tmp/sdk [2023-10-03T13:29:22.791Z] + cd /tmp/sdk [2023-10-03T13:29:22.791Z] + mkdir -p /tmp/sdk/build/release [2023-10-03T13:29:22.791Z] + cd /tmp/sdk/build/release [2023-10-03T13:29:22.791Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-10-03T13:29:23.058Z] -- The C compiler identification is GNU 11.2.1 [2023-10-03T13:29:23.058Z] -- Detecting C compiler ABI info [2023-10-03T13:29:23.325Z] -- Detecting C compiler ABI info - done [2023-10-03T13:29:23.325Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-03T13:29:23.325Z] -- Detecting C compile features [2023-10-03T13:29:23.326Z] -- Detecting C compile features - done [2023-10-03T13:29:23.326Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-03T13:29:23.594Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-03T13:29:23.594Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-03T13:29:23.594Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-03T13:29:23.594Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-03T13:29:23.594Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-03T13:29:23.594Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-03T13:29:23.594Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-03T13:29:23.594Z] -- /opt/iotech/iot/1.5/include [2023-10-03T13:29:23.594Z] -- C SDK 0.0.0 for Linux [2023-10-03T13:29:23.594Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-03T13:29:23.861Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-03T13:29:24.131Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-03T13:29:24.398Z] -- Configuring done [2023-10-03T13:29:24.665Z] -- Generating done [2023-10-03T13:29:24.665Z] -- Build files have been written to: /tmp/sdk/build/release [2023-10-03T13:29:24.665Z] + + make alltee package release.log [2023-10-03T13:29:24.665Z] [2023-10-03T13:29:24.665Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-03T13:29:25.625Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-03T13:29:26.583Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-03T13:29:27.542Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-03T13:29:28.123Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-03T13:29:29.081Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-03T13:29:31.654Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-03T13:29:32.234Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-10-03T13:29:32.234Z] /tmp/sdk/src/c/consul.c:297:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-03T13:29:32.234Z] 297 | while (privateConfig) [2023-10-03T13:29:32.234Z] | ^~~~~~~~~~~~~ [2023-10-03T13:29:32.234Z] /tmp/sdk/src/c/consul.c:274:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-03T13:29:32.234Z] 274 | while (result) [2023-10-03T13:29:32.234Z] | ^~~~~~ [2023-10-03T13:29:32.500Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-03T13:29:32.765Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-03T13:29:34.170Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-03T13:29:36.108Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-03T13:29:36.690Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-03T13:29:37.645Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-03T13:29:38.604Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-03T13:29:39.186Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-03T13:29:40.588Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-03T13:29:40.588Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-03T13:29:43.167Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-03T13:29:43.432Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-03T13:29:44.014Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-03T13:29:45.421Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-03T13:29:50.753Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-03T13:29:51.708Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-03T13:29:51.975Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-03T13:29:52.556Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-03T13:29:52.824Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-03T13:29:54.762Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-03T13:29:57.339Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-03T13:29:57.606Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-03T13:29:58.562Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-03T13:29:59.143Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-03T13:30:02.478Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-03T13:30:03.435Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-03T13:30:03.700Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-03T13:30:04.280Z] [ 68%] Linking C shared library libcsdk.so [2023-10-03T13:30:04.546Z] [ 68%] Built target csdk [2023-10-03T13:30:04.546Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-03T13:30:05.500Z] [ 72%] Linking C executable template [2023-10-03T13:30:05.766Z] [ 72%] Built target template [2023-10-03T13:30:05.766Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-03T13:30:06.345Z] [ 76%] Linking C executable device-counter [2023-10-03T13:30:06.611Z] [ 76%] Built target device-counter [2023-10-03T13:30:06.611Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-03T13:30:07.192Z] [ 80%] Linking C executable device-random [2023-10-03T13:30:07.459Z] [ 80%] Built target device-random [2023-10-03T13:30:07.725Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-03T13:30:08.306Z] [ 84%] Linking C executable device-gyro [2023-10-03T13:30:08.306Z] [ 84%] Built target device-gyro [2023-10-03T13:30:08.572Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-03T13:30:09.153Z] [ 88%] Linking C executable device-bitfields [2023-10-03T13:30:09.419Z] [ 88%] Built target device-bitfields [2023-10-03T13:30:09.419Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-03T13:30:10.378Z] [ 92%] Linking C executable template-discovery [2023-10-03T13:30:10.644Z] [ 92%] Built target template-discovery [2023-10-03T13:30:10.644Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-03T13:30:11.601Z] [ 96%] Linking C executable device-file [2023-10-03T13:30:11.867Z] [ 96%] Built target device-file [2023-10-03T13:30:11.867Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-03T13:30:12.826Z] [100%] Linking C executable device-terminal [2023-10-03T13:30:12.826Z] [100%] Built target device-terminal [2023-10-03T13:30:13.092Z] Run CPack packaging tool... [2023-10-03T13:30:13.092Z] CPack: Create package using TGZ [2023-10-03T13:30:13.092Z] CPack: Install projects [2023-10-03T13:30:13.092Z] CPack: - Run preinstall target for: Csdk [2023-10-03T13:30:13.672Z] CPack: - Install project: Csdk [] [2023-10-03T13:30:13.672Z] CPack: Create package [2023-10-03T13:30:13.938Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-10-03T13:30:13.938Z] + '[' false '=' true ] [2023-10-03T13:30:13.938Z] + '[' false '=' true ] [2023-10-03T13:30:13.938Z] + mkdir -p /tmp/sdk/build/debug [2023-10-03T13:30:13.938Z] + cd /tmp/sdk/build/debug [2023-10-03T13:30:13.938Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-10-03T13:30:14.205Z] -- The C compiler identification is GNU 11.2.1 [2023-10-03T13:30:14.205Z] -- Detecting C compiler ABI info [2023-10-03T13:30:14.471Z] -- Detecting C compiler ABI info - done [2023-10-03T13:30:14.471Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-03T13:30:14.471Z] -- Detecting C compile features [2023-10-03T13:30:14.471Z] -- Detecting C compile features - done [2023-10-03T13:30:14.471Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-03T13:30:14.737Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-03T13:30:14.737Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-03T13:30:14.737Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-03T13:30:14.737Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-03T13:30:14.737Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-03T13:30:14.737Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-03T13:30:14.737Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-03T13:30:14.737Z] -- /opt/iotech/iot/1.5/include [2023-10-03T13:30:14.737Z] -- C SDK 0.0.0 for Linux [2023-10-03T13:30:14.737Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-03T13:30:15.318Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-03T13:30:15.318Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-03T13:30:15.318Z] -- Configuring done [2023-10-03T13:30:15.583Z] -- Generating done [2023-10-03T13:30:15.583Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-10-03T13:30:15.850Z] + make [2023-10-03T13:30:15.850Z] + tee debug.log [2023-10-03T13:30:15.850Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-03T13:30:16.431Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-03T13:30:16.697Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-03T13:30:17.277Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-03T13:30:17.543Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-03T13:30:18.125Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-03T13:30:18.706Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-03T13:30:19.286Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-03T13:30:19.552Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-03T13:30:20.135Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-03T13:30:20.717Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-03T13:30:20.985Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-03T13:30:21.568Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-03T13:30:21.838Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-03T13:30:22.420Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-03T13:30:22.687Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-03T13:30:22.954Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-03T13:30:23.914Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-03T13:30:24.180Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-03T13:30:24.447Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-03T13:30:25.033Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-03T13:30:26.439Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-03T13:30:26.707Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-03T13:30:26.973Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-03T13:30:27.241Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-03T13:30:27.821Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-03T13:30:28.402Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-03T13:30:29.806Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-03T13:30:30.072Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-03T13:30:30.652Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-03T13:30:30.917Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-03T13:30:31.876Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-03T13:30:32.458Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-03T13:30:32.723Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-03T13:30:32.989Z] [ 68%] Linking C shared library libcsdk.so [2023-10-03T13:30:33.255Z] [ 68%] Built target csdk [2023-10-03T13:30:33.255Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-03T13:30:33.520Z] [ 72%] Linking C executable template [2023-10-03T13:30:33.788Z] [ 72%] Built target template [2023-10-03T13:30:34.054Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-03T13:30:34.322Z] [ 76%] Linking C executable device-counter [2023-10-03T13:30:34.588Z] [ 76%] Built target device-counter [2023-10-03T13:30:34.588Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-03T13:30:34.855Z] [ 80%] Linking C executable device-random [2023-10-03T13:30:35.121Z] [ 80%] Built target device-random [2023-10-03T13:30:35.121Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-03T13:30:35.443Z] [ 84%] Linking C executable device-gyro [2023-10-03T13:30:36.030Z] [ 84%] Built target device-gyro [2023-10-03T13:30:36.031Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-03T13:30:36.301Z] [ 88%] Linking C executable device-bitfields [2023-10-03T13:30:36.574Z] [ 88%] Built target device-bitfields [2023-10-03T13:30:36.574Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-03T13:30:37.164Z] [ 92%] Linking C executable template-discovery [2023-10-03T13:30:37.433Z] [ 92%] Built target template-discovery [2023-10-03T13:30:37.433Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-03T13:30:37.706Z] [ 96%] Linking C executable device-file [2023-10-03T13:30:37.974Z] [ 96%] Built target device-file [2023-10-03T13:30:38.246Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-03T13:30:38.514Z] [100%] Linking C executable device-terminal [2023-10-03T13:30:38.785Z] [100%] Built target device-terminal [2023-10-03T13:30:38.785Z] make: Entering directory '/tmp/sdk/build/release' [2023-10-03T13:30:39.053Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-10-03T13:30:39.053Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T13:30:39.053Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T13:30:39.053Z] [ 68%] Built target csdk [2023-10-03T13:30:39.053Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T13:30:39.053Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T13:30:39.053Z] [ 72%] Built target template [2023-10-03T13:30:39.053Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T13:30:39.053Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T13:30:39.053Z] [ 76%] Built target device-counter [2023-10-03T13:30:39.053Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T13:30:39.053Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T13:30:39.053Z] [ 80%] Built target device-random [2023-10-03T13:30:39.053Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T13:30:39.321Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T13:30:39.321Z] [ 84%] Built target device-gyro [2023-10-03T13:30:39.321Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T13:30:39.321Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T13:30:39.321Z] [ 88%] Built target device-bitfields [2023-10-03T13:30:39.321Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T13:30:39.321Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T13:30:39.321Z] [ 92%] Built target template-discovery [2023-10-03T13:30:39.321Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T13:30:39.321Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T13:30:39.321Z] [ 96%] Built target device-file [2023-10-03T13:30:39.321Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T13:30:39.321Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T13:30:39.321Z] [100%] Built target device-terminal [2023-10-03T13:30:39.321Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T13:30:39.321Z] Install the project... [2023-10-03T13:30:39.592Z] -- Install configuration: "Release" [2023-10-03T13:30:39.592Z] -- Installing: /usr/local/lib/libcsdk.so [2023-10-03T13:30:39.592Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-10-03T13:30:39.592Z] -- Installing: /usr/local/include [2023-10-03T13:30:39.592Z] -- Installing: /usr/local/include/devsdk [2023-10-03T13:30:39.592Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-10-03T13:30:39.592Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-10-03T13:30:39.592Z] -- Installing: /usr/local/include/edgex [2023-10-03T13:30:39.592Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-10-03T13:30:39.592Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-10-03T13:30:39.592Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-10-03T13:30:39.592Z] -- Installing: /usr/local/include/edgex/devices.h [2023-10-03T13:30:39.592Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-10-03T13:30:39.592Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-10-03T13:30:39.592Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-10-03T13:30:39.592Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-10-03T13:30:39.592Z] make: Leaving directory '/tmp/sdk/build/release' [2023-10-03T13:30:40.552Z] Removing intermediate container 40e702efe555 [2023-10-03T13:30:40.552Z] ---> 81ec584712ae [2023-10-03T13:30:40.552Z] Step 14/21 : FROM ${BASE} [2023-10-03T13:30:40.552Z] ---> 295cd00e64f4 [2023-10-03T13:30:40.552Z] Step 15/21 : LABEL maintainer="IOTech " [2023-10-03T13:30:40.818Z] ---> Running in 81fc5686d2dd [2023-10-03T13:30:41.085Z] Removing intermediate container 81fc5686d2dd [2023-10-03T13:30:41.085Z] ---> baf59ca730ce [2023-10-03T13:30:41.085Z] 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-03T13:30:41.085Z] ---> Running in 80fb255a7f77 [2023-10-03T13:30:42.042Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-10-03T13:30:42.307Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-03T13:30:42.307Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-03T13:30:42.307Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-03T13:30:42.891Z] Removing intermediate container 80fb255a7f77 [2023-10-03T13:30:42.891Z] ---> 5bcc9299f9cb [2023-10-03T13:30:42.891Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-03T13:30:43.163Z] ---> Running in 3892d8bd174c [2023-10-03T13:30:44.568Z] Removing intermediate container 3892d8bd174c [2023-10-03T13:30:44.568Z] ---> 302131a52c93 [2023-10-03T13:30:44.568Z] 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-03T13:30:44.568Z] ---> Running in ae2eec524aa1 [2023-10-03T13:30:45.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-03T13:30:45.789Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-10-03T13:30:46.367Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-03T13:30:47.321Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-03T13:30:47.321Z] (1/7) Installing curl (8.2.1-r0) [2023-10-03T13:30:47.321Z] (2/7) Installing hiredis (1.0.2-r0) [2023-10-03T13:30:47.321Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-10-03T13:30:47.321Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-10-03T13:30:47.901Z] (5/7) Installing libcbor (0.9.0-r1) [2023-10-03T13:30:47.901Z] (6/7) Installing libuuid (2.38-r1) [2023-10-03T13:30:47.901Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-03T13:30:49.301Z] Executing busybox-1.35.0-r17.trigger [2023-10-03T13:30:49.301Z] OK: 281 MiB in 83 packages [2023-10-03T13:30:50.262Z] Removing intermediate container ae2eec524aa1 [2023-10-03T13:30:50.262Z] ---> ed0ac89c00f2 [2023-10-03T13:30:50.262Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-10-03T13:30:50.843Z] ---> cc7094876e8a [2023-10-03T13:30:50.843Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-10-03T13:30:51.424Z] ---> d54bb2faad78 [2023-10-03T13:30:51.425Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-10-03T13:30:51.690Z] ---> faae57ed590d [2023-10-03T13:30:51.956Z] Successfully built faae57ed590d [2023-10-03T13:30:51.956Z] 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-03T13:30:52.372Z] + docker inspect -f . ci-base-image-arm64 [2023-10-03T13:30:52.373Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-03T13:30:52.576Z] prd-ubuntu20.04-docker-arm64-4c-16g-8395 does not seem to be running inside a container [2023-10-03T13:30:52.643Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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-arm64 cat [2023-10-03T13:30:53.755Z] $ docker top 10c110213ad8434ac274f17b3795f41b7f6b123d3e5b48abf0bd8d471e04e99f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-03T13:30:54.557Z] + make test [2023-10-03T13:30:54.557Z] echo "make test" [2023-10-03T13:30:54.557Z] make test [Pipeline] } [2023-10-03T13:30:54.585Z] $ docker stop --time=1 10c110213ad8434ac274f17b3795f41b7f6b123d3e5b48abf0bd8d471e04e99f [2023-10-03T13:30:56.192Z] $ docker rm -f --volumes 10c110213ad8434ac274f17b3795f41b7f6b123d3e5b48abf0bd8d471e04e99f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-03T13:30:56.699Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-03T13:30:57.010Z] + ls -al . [2023-10-03T13:30:57.011Z] total 208 [2023-10-03T13:30:57.011Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 13:28 . [2023-10-03T13:30:57.011Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 13:28 .. [2023-10-03T13:30:57.011Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 13:28 .git [2023-10-03T13:30:57.011Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 13:28 .github [2023-10-03T13:30:57.011Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 3 13:28 .gitignore [2023-10-03T13:30:57.011Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 3 13:28 Attribution.txt [2023-10-03T13:30:57.011Z] -rw-rw-r-- 1 jenkins jenkins 9802 Oct 3 13:28 CHANGES [2023-10-03T13:30:57.011Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 3 13:28 Doxyfile [2023-10-03T13:30:57.011Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 13:28 GOVERNANCE.md [2023-10-03T13:30:57.011Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 3 13:28 Jenkinsfile [2023-10-03T13:30:57.011Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 3 13:28 LICENSE [2023-10-03T13:30:57.011Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 3 13:28 Makefile [2023-10-03T13:30:57.011Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 3 13:28 OWNERS.md [2023-10-03T13:30:57.011Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 3 13:28 README.IOT.md [2023-10-03T13:30:57.011Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 3 13:28 README.md [2023-10-03T13:30:57.011Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 3 13:28 README.v3.md [2023-10-03T13:30:57.011Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 13:26 VERSION [2023-10-03T13:30:57.011Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 13:28 docs [2023-10-03T13:30:57.011Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 13:28 include [2023-10-03T13:30:57.011Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 13:28 scripts [2023-10-03T13:30:57.011Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 13:28 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-03T13:30:57.341Z] + 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=b002f4e2e88dc501838693b4bcb5db5f944042d7 --label arch=arm64 --label version=0.0.0 . [2023-10-03T13:30:57.608Z] Sending build context to Docker daemon 3.055MB [2023-10-03T13:30:57.873Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-10-03T13:30:57.873Z] Step 2/17 : FROM ${BASE} [2023-10-03T13:30:57.873Z] ---> faae57ed590d [2023-10-03T13:30:57.873Z] Step 3/17 : LABEL maintainer="IOTech " [2023-10-03T13:30:57.873Z] ---> Running in c738c2a7f88d [2023-10-03T13:30:58.140Z] Removing intermediate container c738c2a7f88d [2023-10-03T13:30:58.140Z] ---> 01f147718c53 [2023-10-03T13:30:58.140Z] 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-03T13:30:58.140Z] ---> Running in c9217826ee26 [2023-10-03T13:30:59.094Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-10-03T13:30:59.675Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-03T13:30:59.675Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-03T13:30:59.675Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-03T13:31:00.256Z] Removing intermediate container c9217826ee26 [2023-10-03T13:31:00.256Z] ---> 4aa2c022cb01 [2023-10-03T13:31:00.256Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-03T13:31:00.256Z] ---> Running in c91e6bad95d2 [2023-10-03T13:31:03.591Z] Removing intermediate container c91e6bad95d2 [2023-10-03T13:31:03.591Z] ---> 20781b9a0003 [2023-10-03T13:31:03.591Z] 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-03T13:31:03.591Z] ---> Running in d23a6519695b [2023-10-03T13:31:04.171Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-03T13:31:04.435Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-10-03T13:31:05.014Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-03T13:31:05.967Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-03T13:31:05.967Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-03T13:31:05.967Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-03T13:31:05.967Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-03T13:31:06.543Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-03T13:31:06.808Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-10-03T13:31:06.808Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-03T13:31:06.808Z] (7/11) Installing libblkid (2.38-r1) [2023-10-03T13:31:06.808Z] (8/11) Installing libfdisk (2.38-r1) [2023-10-03T13:31:06.808Z] (9/11) Installing libmount (2.38-r1) [2023-10-03T13:31:06.808Z] (10/11) Installing libsmartcols (2.38-r1) [2023-10-03T13:31:06.808Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-10-03T13:31:07.072Z] Executing busybox-1.35.0-r17.trigger [2023-10-03T13:31:07.072Z] OK: 287 MiB in 92 packages [2023-10-03T13:31:08.030Z] Removing intermediate container d23a6519695b [2023-10-03T13:31:08.030Z] ---> 892064d721c4 [2023-10-03T13:31:08.030Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-10-03T13:31:08.612Z] ---> a99fbe35b455 [2023-10-03T13:31:08.612Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-10-03T13:31:09.194Z] ---> d736c94585f0 [2023-10-03T13:31:09.194Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-10-03T13:31:09.776Z] ---> 305e3625a312 [2023-10-03T13:31:09.776Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-10-03T13:31:10.358Z] ---> 39e9c31ac6c1 [2023-10-03T13:31:10.358Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-10-03T13:31:10.624Z] ---> 70b396114e47 [2023-10-03T13:31:10.624Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-10-03T13:31:11.206Z] ---> 5f5ea1420ca0 [2023-10-03T13:31:11.206Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-10-03T13:31:11.206Z] ---> Running in affbe1267ee6 [2023-10-03T13:31:11.473Z] Removing intermediate container affbe1267ee6 [2023-10-03T13:31:11.473Z] ---> 3d682f3a3595 [2023-10-03T13:31:11.473Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-10-03T13:31:11.473Z] ---> Running in 2c9129f135e7 [2023-10-03T13:31:11.739Z] Removing intermediate container 2c9129f135e7 [2023-10-03T13:31:11.739Z] ---> a3b9ab6639e6 [2023-10-03T13:31:11.739Z] Step 15/17 : LABEL arch=arm64 [2023-10-03T13:31:12.010Z] ---> Running in 0ee0df00841a [2023-10-03T13:31:12.278Z] Removing intermediate container 0ee0df00841a [2023-10-03T13:31:12.278Z] ---> bd38ae1ef0fe [2023-10-03T13:31:12.278Z] Step 16/17 : LABEL git_sha=b002f4e2e88dc501838693b4bcb5db5f944042d7 [2023-10-03T13:31:12.278Z] ---> Running in 2b9066369ec9 [2023-10-03T13:31:12.545Z] Removing intermediate container 2b9066369ec9 [2023-10-03T13:31:12.545Z] ---> 38539d89be0d [2023-10-03T13:31:12.545Z] Step 17/17 : LABEL version=0.0.0 [2023-10-03T13:31:12.545Z] ---> Running in ca1d6b869af4 [2023-10-03T13:31:12.812Z] Removing intermediate container ca1d6b869af4 [2023-10-03T13:31:12.812Z] ---> 1b8ed1a54c2d [2023-10-03T13:31:12.812Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-10-03T13:31:12.812Z] Successfully built 1b8ed1a54c2d [2023-10-03T13:31:12.812Z] 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-03T13:31:13.228Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-03T13:31:13.228Z] [2023-10-03T13:31:13.228Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-03T13:31:13.548Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-03T13:31:13.815Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-03T13:31:13.815Z] 8998bd30e6a1: Pulling fs layer [2023-10-03T13:31:13.815Z] 04944245beec: Pulling fs layer [2023-10-03T13:31:13.815Z] 699f458cf7ca: Pulling fs layer [2023-10-03T13:31:13.815Z] 765212b225bb: Pulling fs layer [2023-10-03T13:31:13.815Z] f23df028b6ca: Pulling fs layer [2023-10-03T13:31:13.815Z] d65c8cfc05b1: Pulling fs layer [2023-10-03T13:31:13.815Z] 2437ff75d9bd: Pulling fs layer [2023-10-03T13:31:13.815Z] f23df028b6ca: Waiting [2023-10-03T13:31:13.815Z] d65c8cfc05b1: Waiting [2023-10-03T13:31:13.815Z] 765212b225bb: Waiting [2023-10-03T13:31:13.815Z] 2437ff75d9bd: Waiting [2023-10-03T13:31:13.815Z] 04944245beec: Verifying Checksum [2023-10-03T13:31:13.815Z] 04944245beec: Download complete [2023-10-03T13:31:13.815Z] 765212b225bb: Verifying Checksum [2023-10-03T13:31:13.815Z] 765212b225bb: Download complete [2023-10-03T13:31:13.815Z] f23df028b6ca: Verifying Checksum [2023-10-03T13:31:13.815Z] f23df028b6ca: Download complete [2023-10-03T13:31:13.815Z] d65c8cfc05b1: Verifying Checksum [2023-10-03T13:31:13.815Z] d65c8cfc05b1: Download complete [2023-10-03T13:31:14.082Z] 699f458cf7ca: Verifying Checksum [2023-10-03T13:31:14.082Z] 699f458cf7ca: Download complete [2023-10-03T13:31:14.349Z] 8998bd30e6a1: Verifying Checksum [2023-10-03T13:31:14.349Z] 8998bd30e6a1: Download complete [2023-10-03T13:31:16.930Z] 2437ff75d9bd: Verifying Checksum [2023-10-03T13:31:16.930Z] 2437ff75d9bd: Download complete [2023-10-03T13:31:18.335Z] 8998bd30e6a1: Pull complete [2023-10-03T13:31:18.600Z] 04944245beec: Pull complete [2023-10-03T13:31:20.004Z] 699f458cf7ca: Pull complete [2023-10-03T13:31:20.004Z] 765212b225bb: Pull complete [2023-10-03T13:31:20.959Z] f23df028b6ca: Pull complete [2023-10-03T13:31:20.959Z] d65c8cfc05b1: Pull complete [2023-10-03T13:31:35.930Z] 2437ff75d9bd: Pull complete [2023-10-03T13:31:35.930Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-03T13:31:35.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-03T13:31:35.930Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-03T13:31:36.108Z] prd-ubuntu20.04-docker-arm64-4c-16g-8395 does not seem to be running inside a container [2023-10-03T13:31:36.174Z] $ 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/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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:arm64 cat [2023-10-03T13:31:38.371Z] $ docker top e5d4922b291e73ed4ab1366a46311419c1201dabc97e52090363a119582cd801 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-03T13:31:38.859Z] ---> job-cost.sh [2023-10-03T13:31:39.124Z] lf-activate-venv: SKIPPING [2023-10-03T13:31:39.124Z] INFO: No Stack... [2023-10-03T13:31:39.388Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-03T13:31:40.339Z] INFO: Archiving Costs [Pipeline] sh [2023-10-03T13:31:40.659Z] + cat /w/workspace/device-sdk-c/3/archives/cost.csv [2023-10-03T13:31:40.659Z] + cut -d, -f6 [Pipeline] lock [2023-10-03T13:31:40.718Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-484-3-stack-cost] [2023-10-03T13:31:40.724Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-484-3-stack-cost] did not exist. Created. [2023-10-03T13:31:40.724Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-484-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-03T13:31:41.057Z] /w/workspace/device-sdk-c/3@tmp/durable-08bce96a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-03T13:31:41.392Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-03T13:31:41.417Z] Warning: overwriting stash ‘stack-cost’ [2023-10-03T13:31:41.831Z] Stashed 1 file(s) [Pipeline] } [2023-10-03T13:31:41.839Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-484-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-03T13:31:41.867Z] $ docker stop --time=1 e5d4922b291e73ed4ab1366a46311419c1201dabc97e52090363a119582cd801 [2023-10-03T13:31:43.400Z] $ docker rm -f --volumes e5d4922b291e73ed4ab1366a46311419c1201dabc97e52090363a119582cd801 [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-03T13:31:44.213Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-484/archives ] [2023-10-03T13:31:44.213Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-484/archives [2023-10-03T13:31:44.213Z] total 16 [2023-10-03T13:31:44.213Z] drwxr-xr-x 3 root root 4096 Oct 3 13:27 . [2023-10-03T13:31:44.213Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 13:27 .. [2023-10-03T13:31:44.213Z] drwxr-xr-x 2 root root 4096 Oct 3 13:27 cost [2023-10-03T13:31:44.213Z] -rw-r--r-- 1 root root 84 Oct 3 13:27 cost.csv [2023-10-03T13:31:44.213Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-484/archives [2023-10-03T13:31:44.213Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-484/archives [2023-10-03T13:31:44.213Z] total 16 [2023-10-03T13:31:44.213Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 13:27 . [2023-10-03T13:31:44.213Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 13:27 .. [2023-10-03T13:31:44.213Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 13:27 cost [2023-10-03T13:31:44.213Z] -rw-r--r-- 1 jenkins jenkins 84 Oct 3 13:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-03T13:31:44.502Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-03T13:31:45.588Z] ---> package-listing.sh [2023-10-03T13:31:45.588Z] ++ facter osfamily [2023-10-03T13:31:45.588Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-03T13:31:45.847Z] + OS_FAMILY=debian [2023-10-03T13:31:45.847Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-484 [2023-10-03T13:31:45.847Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-03T13:31:45.847Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-03T13:31:45.847Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-03T13:31:45.847Z] + PACKAGES=/tmp/packages_start.txt [2023-10-03T13:31:45.847Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-484 ']' [2023-10-03T13:31:45.847Z] + PACKAGES=/tmp/packages_end.txt [2023-10-03T13:31:45.847Z] + case "${OS_FAMILY}" in [2023-10-03T13:31:45.847Z] + dpkg -l [2023-10-03T13:31:45.847Z] + grep '^ii' [2023-10-03T13:31:45.847Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-03T13:31:45.847Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-03T13:31:45.847Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-03T13:31:45.847Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-484 ']' [2023-10-03T13:31:45.847Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-484/archives/ [2023-10-03T13:31:45.847Z] + 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-03T13:31:45.857Z] 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-03T13:31:46.131Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-03T13:31:46.684Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-03T13:31:46.684Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-03T13:31:46.748Z] prd-ubuntu20.04-docker-8c-8g-8394 does not seem to be running inside a container [2023-10-03T13:31:46.799Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-03T13:31:47.068Z] $ docker top 5fc08520ee58893d27defde4623e21b95bdc329f8d86303636403460c98abcec -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-03T13:31:47.409Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-03T13:31:47.690Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-03T13:31:47.972Z] + ls /var/log/sa-host [2023-10-03T13:31:47.972Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-03T13:31:48.117Z] provisioning config files... [2023-10-03T13:31:48.124Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-484@tmp/config6953780838439582909tmp [Pipeline] { [Pipeline] echo [2023-10-03T13:31:48.135Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-03T13:31:48.417Z] ---> create-netrc.sh [Pipeline] } [2023-10-03T13:31:48.424Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-03T13:31:48.760Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-03T13:31:48.768Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-03T13:31:49.046Z] ---> sudo-logs.sh [2023-10-03T13:31:49.046Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-03T13:31:49.071Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-03T13:31:49.352Z] ---> job-cost.sh [2023-10-03T13:31:49.352Z] lf-activate-venv: SKIPPING [2023-10-03T13:31:49.352Z] DEBUG: total: 0.2199999988079071 [2023-10-03T13:31:49.352Z] INFO: Retrieving Stack Cost... [2023-10-03T13:31:49.610Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-03T13:31:49.869Z] INFO: Archiving Costs [Pipeline] echo [2023-10-03T13:31:49.880Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-03T13:31:50.164Z] ---> logs-deploy.sh [2023-10-03T13:31:50.164Z] lf-activate-venv: SKIPPING [2023-10-03T13:31:50.164Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-484/3 [2023-10-03T13:31:50.164Z] INFO: archiving workspace using pattern(s): [2023-10-03T13:31:51.102Z] Archives upload complete. [2023-10-03T13:31:51.361Z] INFO: archiving logs to Nexus [2023-10-03T13:31:51.929Z] ---> uname -a: [2023-10-03T13:31:51.929Z] Linux prd-ubuntu20-04-docker-8c-8g-8394 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-10-03T13:31:51.929Z] [2023-10-03T13:31:51.929Z] [2023-10-03T13:31:51.929Z] ---> lscpu: [2023-10-03T13:31:51.929Z] Architecture: x86_64 [2023-10-03T13:31:51.929Z] CPU op-mode(s): 32-bit, 64-bit [2023-10-03T13:31:51.929Z] Byte Order: Little Endian [2023-10-03T13:31:51.929Z] Address sizes: 40 bits physical, 48 bits virtual [2023-10-03T13:31:51.929Z] CPU(s): 8 [2023-10-03T13:31:51.929Z] On-line CPU(s) list: 0-7 [2023-10-03T13:31:51.929Z] Thread(s) per core: 1 [2023-10-03T13:31:51.929Z] Core(s) per socket: 1 [2023-10-03T13:31:51.929Z] Socket(s): 8 [2023-10-03T13:31:51.929Z] NUMA node(s): 1 [2023-10-03T13:31:51.929Z] Vendor ID: AuthenticAMD [2023-10-03T13:31:51.929Z] CPU family: 23 [2023-10-03T13:31:51.929Z] Model: 49 [2023-10-03T13:31:51.929Z] Model name: AMD EPYC-Rome Processor [2023-10-03T13:31:51.929Z] Stepping: 0 [2023-10-03T13:31:51.929Z] CPU MHz: 2799.998 [2023-10-03T13:31:51.929Z] BogoMIPS: 5599.99 [2023-10-03T13:31:51.929Z] Virtualization: AMD-V [2023-10-03T13:31:51.929Z] Hypervisor vendor: KVM [2023-10-03T13:31:51.929Z] Virtualization type: full [2023-10-03T13:31:51.929Z] L1d cache: 256 KiB [2023-10-03T13:31:51.929Z] L1i cache: 256 KiB [2023-10-03T13:31:51.929Z] L2 cache: 4 MiB [2023-10-03T13:31:51.929Z] L3 cache: 128 MiB [2023-10-03T13:31:51.929Z] NUMA node0 CPU(s): 0-7 [2023-10-03T13:31:51.929Z] Vulnerability Itlb multihit: Not affected [2023-10-03T13:31:51.929Z] Vulnerability L1tf: Not affected [2023-10-03T13:31:51.929Z] Vulnerability Mds: Not affected [2023-10-03T13:31:51.929Z] Vulnerability Meltdown: Not affected [2023-10-03T13:31:51.929Z] Vulnerability Mmio stale data: Not affected [2023-10-03T13:31:51.929Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-10-03T13:31:51.929Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-10-03T13:31:51.929Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-10-03T13:31:51.929Z] Vulnerability Srbds: Not affected [2023-10-03T13:31:51.929Z] Vulnerability Tsx async abort: Not affected [2023-10-03T13:31:51.929Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-10-03T13:31:51.929Z] [2023-10-03T13:31:51.929Z] [2023-10-03T13:31:51.929Z] ---> nproc: [2023-10-03T13:31:51.929Z] 8 [2023-10-03T13:31:51.929Z] [2023-10-03T13:31:51.929Z] [2023-10-03T13:31:51.929Z] ---> df -h: [2023-10-03T13:31:51.929Z] Filesystem Size Used Avail Use% Mounted on [2023-10-03T13:31:51.929Z] overlay 155G 11G 145G 7% / [2023-10-03T13:31:51.929Z] tmpfs 64M 0 64M 0% /dev [2023-10-03T13:31:51.929Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-10-03T13:31:51.929Z] shm 64M 0 64M 0% /dev/shm [2023-10-03T13:31:51.929Z] /dev/vda1 155G 11G 145G 7% /facter-os [2023-10-03T13:31:51.929Z] [2023-10-03T13:31:51.929Z]