Pull request #486 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 a5208ef1239bee49134cbc99df62d504ea7cc9b0+b359547df5a09ee3070876df63645d58a75503b0 (5396881f4f8129d515f347cbd703f359a8ad44bb) 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-ssh523002739257635574.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-ssh12286434494444839610.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-486/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-486/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6003164008735787564.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-ssh4079624751459787862.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-486/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-486/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1011336217302789759.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8103’ Running on prd-ubuntu20.04-docker-8c-8g-8106 in /w/workspace/edgexfoundry_device-sdk-c_PR-486 [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-486 # 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/486/head:refs/remotes/origin/PR-486 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b359547df5a09ee3070876df63645d58a75503b0 into PR head commit a5208ef1239bee49134cbc99df62d504ea7cc9b0 Merge succeeded, producing 9f92d9671e4ec672be8683f99f8956f4c964cc30 Checking out Revision 9f92d9671e4ec672be8683f99f8956f4c964cc30 (PR-486) > git config core.sparsecheckout # timeout=10 > git checkout -f a5208ef1239bee49134cbc99df62d504ea7cc9b0 # 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 9f92d9671e4ec672be8683f99f8956f4c964cc30 # 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-09-28T03:31:02.656Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-28T03:31:02.718Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-28T03:31:02.736Z] ========================================================= [2023-09-28T03:31:02.736Z] EdgeX Global Pipelines Version Info [2023-09-28T03:31:02.736Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c205757f5d25cfd1bd6a32780a34104ae8b30202 # timeout=10 [2023-09-28T03:31:03.824Z] ------------------- [2023-09-28T03:31:03.825Z] stable info: [2023-09-28T03:31:03.825Z] ------------------- [2023-09-28T03:31:03.825Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-28T03:31:03.825Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-28T03:31:03.825Z] Message: update stable to v1.0.254 [2023-09-28T03:31:04.084Z] ------------------- [2023-09-28T03:31:04.084Z] experimental info: [2023-09-28T03:31:04.084Z] ------------------- [2023-09-28T03:31:04.084Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-28T03:31:04.084Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-28T03:31:04.084Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-28T03:31:04.232Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-09-28T03:31:04.246Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-09-28T03:31:04.256Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-28T03:31:04.267Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-28T03:31:04.281Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-28T03:31:04.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-09-28T03:31:04.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-09-28T03:31:04.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-28T03:31:04.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-28T03:31:04.341Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-09-28T03:31:04.352Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-28T03:31:04.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-28T03:31:04.382Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-28T03:31:04.397Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-28T03:31:04.412Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-28T03:31:04.427Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-28T03:31:04.438Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-28T03:31:04.450Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-486 [Pipeline] echo [2023-09-28T03:31:04.462Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-486 [Pipeline] echo [2023-09-28T03:31:04.476Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-486 [Pipeline] echo [2023-09-28T03:31:04.486Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9f92d9671e4ec672be8683f99f8956f4c964cc30 [Pipeline] echo [2023-09-28T03:31:04.499Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9f92d96 [Pipeline] echo [2023-09-28T03:31:04.512Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-28T03:31:04.551Z] provisioning config files... [2023-09-28T03:31:04.577Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/config11750784876315216244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T03:31:04.881Z] ---> docker-login.sh [2023-09-28T03:31:04.881Z] nexus3.edgexfoundry.org:10001 [2023-09-28T03:31:06.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T03:31:07.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T03:31:07.133Z] Configure a credential helper to remove this warning. See [2023-09-28T03:31:07.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T03:31:07.133Z] [2023-09-28T03:31:07.133Z] Login Succeeded [2023-09-28T03:31:07.133Z] nexus3.edgexfoundry.org:10002 [2023-09-28T03:31:07.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T03:31:07.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T03:31:07.133Z] Configure a credential helper to remove this warning. See [2023-09-28T03:31:07.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T03:31:07.133Z] [2023-09-28T03:31:07.133Z] Login Succeeded [2023-09-28T03:31:07.133Z] nexus3.edgexfoundry.org:10003 [2023-09-28T03:31:07.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T03:31:07.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T03:31:07.394Z] Configure a credential helper to remove this warning. See [2023-09-28T03:31:07.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T03:31:07.394Z] [2023-09-28T03:31:07.394Z] Login Succeeded [2023-09-28T03:31:07.394Z] nexus3.edgexfoundry.org:10004 [2023-09-28T03:31:07.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T03:31:07.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T03:31:07.394Z] Configure a credential helper to remove this warning. See [2023-09-28T03:31:07.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T03:31:07.394Z] [2023-09-28T03:31:07.394Z] Login Succeeded [2023-09-28T03:31:07.394Z] docker.io [2023-09-28T03:31:07.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T03:31:07.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T03:31:07.655Z] Configure a credential helper to remove this warning. See [2023-09-28T03:31:07.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T03:31:07.655Z] [2023-09-28T03:31:07.655Z] Login Succeeded [2023-09-28T03:31:07.655Z] ---> docker-login.sh ends [Pipeline] } [2023-09-28T03:31:07.663Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2023-09-28T03:31:08.027Z] + git rev-list -1 --merges 9f92d9671e4ec672be8683f99f8956f4c964cc30~1..9f92d9671e4ec672be8683f99f8956f4c964cc30 [Pipeline] echo [2023-09-28T03:31:08.068Z] -----------> git rev-list -1 --merges 9f92d9671e4ec672be8683f99f8956f4c964cc30~1..9f92d9671e4ec672be8683f99f8956f4c964cc30 9f92d9671e4ec672be8683f99f8956f4c964cc30 [2023-09-28T03:31:08.068Z] 9f92d9671e4ec672be8683f99f8956f4c964cc30 [false] [Pipeline] sh [2023-09-28T03:31:08.357Z] + git log --format=format:%s -1 9f92d9671e4ec672be8683f99f8956f4c964cc30 [Pipeline] echo [2023-09-28T03:31:08.371Z] ========================================================= [2023-09-28T03:31:08.371Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-28T03:31:08.371Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-28T03:31:08.752Z] + git rev-list -1 --merges 9f92d9671e4ec672be8683f99f8956f4c964cc30~1..9f92d9671e4ec672be8683f99f8956f4c964cc30 [Pipeline] echo [2023-09-28T03:31:08.762Z] -----------> git rev-list -1 --merges 9f92d9671e4ec672be8683f99f8956f4c964cc30~1..9f92d9671e4ec672be8683f99f8956f4c964cc30 9f92d9671e4ec672be8683f99f8956f4c964cc30 [2023-09-28T03:31:08.762Z] 9f92d9671e4ec672be8683f99f8956f4c964cc30 [false] [Pipeline] sh [2023-09-28T03:31:09.050Z] + git log --format=format:%s -1 9f92d9671e4ec672be8683f99f8956f4c964cc30 [Pipeline] echo [2023-09-28T03:31:09.063Z] ========================================================= [2023-09-28T03:31:09.063Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-28T03:31:09.063Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-09-28T03:31:09.420Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-28T03:31:09.420Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-28T03:31:09.420Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-28T03:31:09.420Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-28T03:31:09.420Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-28T03:31:09.420Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-28T03:31:09.420Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T03:31:09.771Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T03:31:09.771Z] [2023-09-28T03:31:09.771Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T03:31:10.076Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T03:31:10.076Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-28T03:31:10.076Z] b85a868b505f: Pulling fs layer [2023-09-28T03:31:10.076Z] e2be974225ed: Pulling fs layer [2023-09-28T03:31:10.076Z] 339a4e72a1f5: Pulling fs layer [2023-09-28T03:31:10.076Z] 988bab9f4d93: Pulling fs layer [2023-09-28T03:31:10.076Z] 1469e6f7b9e6: Pulling fs layer [2023-09-28T03:31:10.076Z] eaf3925da568: Pulling fs layer [2023-09-28T03:31:10.076Z] bab4dde63d76: Pulling fs layer [2023-09-28T03:31:10.076Z] bde34c3a00c8: Pulling fs layer [2023-09-28T03:31:10.076Z] b352a97aabf1: Pulling fs layer [2023-09-28T03:31:10.076Z] 4872d77fe225: Pulling fs layer [2023-09-28T03:31:10.076Z] 5851b861e8e6: Pulling fs layer [2023-09-28T03:31:10.076Z] bab4dde63d76: Waiting [2023-09-28T03:31:10.076Z] eaf3925da568: Waiting [2023-09-28T03:31:10.076Z] 4872d77fe225: Waiting [2023-09-28T03:31:10.076Z] 5851b861e8e6: Waiting [2023-09-28T03:31:10.076Z] 988bab9f4d93: Waiting [2023-09-28T03:31:10.076Z] 1469e6f7b9e6: Waiting [2023-09-28T03:31:10.076Z] e2be974225ed: Verifying Checksum [2023-09-28T03:31:10.076Z] e2be974225ed: Download complete [2023-09-28T03:31:10.076Z] 988bab9f4d93: Verifying Checksum [2023-09-28T03:31:10.076Z] 988bab9f4d93: Download complete [2023-09-28T03:31:10.338Z] 1469e6f7b9e6: Verifying Checksum [2023-09-28T03:31:10.338Z] 1469e6f7b9e6: Download complete [2023-09-28T03:31:10.338Z] 339a4e72a1f5: Verifying Checksum [2023-09-28T03:31:10.338Z] 339a4e72a1f5: Download complete [2023-09-28T03:31:10.338Z] eaf3925da568: Verifying Checksum [2023-09-28T03:31:10.338Z] eaf3925da568: Download complete [2023-09-28T03:31:10.338Z] bde34c3a00c8: Verifying Checksum [2023-09-28T03:31:10.338Z] bde34c3a00c8: Download complete [2023-09-28T03:31:10.338Z] 4872d77fe225: Download complete [2023-09-28T03:31:10.338Z] 5851b861e8e6: Download complete [2023-09-28T03:31:10.338Z] b85a868b505f: Verifying Checksum [2023-09-28T03:31:10.338Z] b85a868b505f: Download complete [2023-09-28T03:31:10.597Z] bab4dde63d76: Verifying Checksum [2023-09-28T03:31:10.597Z] bab4dde63d76: Download complete [2023-09-28T03:31:11.530Z] b85a868b505f: Pull complete [2023-09-28T03:31:11.791Z] e2be974225ed: Pull complete [2023-09-28T03:31:12.363Z] 339a4e72a1f5: Pull complete [2023-09-28T03:31:12.363Z] 988bab9f4d93: Pull complete [2023-09-28T03:31:12.626Z] 1469e6f7b9e6: Pull complete [2023-09-28T03:31:12.626Z] eaf3925da568: Pull complete [2023-09-28T03:31:14.530Z] bab4dde63d76: Pull complete [2023-09-28T03:31:14.530Z] bde34c3a00c8: Pull complete [2023-09-28T03:31:14.530Z] b352a97aabf1: Pull complete [2023-09-28T03:31:14.530Z] 4872d77fe225: Pull complete [2023-09-28T03:31:14.789Z] 5851b861e8e6: Pull complete [2023-09-28T03:31:14.789Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-28T03:31:14.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-28T03:31:14.789Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T03:31:14.881Z] prd-ubuntu20.04-docker-8c-8g-8106 does not seem to be running inside a container [2023-09-28T03:31:14.919Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-486 -v /w/workspace/edgexfoundry_device-sdk-c_PR-486:/w/workspace/edgexfoundry_device-sdk-c_PR-486:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-28T03:31:18.577Z] $ docker top 0813e0f2dcb2496c9e24678edab4c83de94b0da5ba4092538c04044fe4eae461 -eo pid,comm [2023-09-28T03:31:18.639Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-28T03:31:18.639Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-28T03:31:18.685Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-28T03:31:18.686Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-28T03:31:18.788Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-28T03:31:18.794Z] $ docker exec 0813e0f2dcb2496c9e24678edab4c83de94b0da5ba4092538c04044fe4eae461 ssh-agent [2023-09-28T03:31:18.899Z] SSH_AUTH_SOCK=/tmp/ssh-Xek0J4QC2G63/agent.31 [2023-09-28T03:31:18.899Z] SSH_AGENT_PID=37 [2023-09-28T03:31:18.907Z] Running ssh-add (command line suppressed) [2023-09-28T03:31:19.011Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_757744162830687060.key (/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_757744162830687060.key) [2023-09-28T03:31:19.021Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-28T03:31:19.306Z] + git tag --points-at HEAD [Pipeline] } [2023-09-28T03:31:19.325Z] $ docker exec --env ******** --env ******** 0813e0f2dcb2496c9e24678edab4c83de94b0da5ba4092538c04044fe4eae461 ssh-agent -k [2023-09-28T03:31:19.435Z] unset SSH_AUTH_SOCK; [2023-09-28T03:31:19.435Z] unset SSH_AGENT_PID; [2023-09-28T03:31:19.436Z] echo Agent pid 37 killed; [2023-09-28T03:31:19.441Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-28T03:31:19.469Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-28T03:31:19.469Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-28T03:31:19.574Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-28T03:31:19.580Z] $ docker exec 0813e0f2dcb2496c9e24678edab4c83de94b0da5ba4092538c04044fe4eae461 ssh-agent [2023-09-28T03:31:19.681Z] SSH_AUTH_SOCK=/tmp/ssh-YIL7xgQCShMP/agent.69 [2023-09-28T03:31:19.681Z] SSH_AGENT_PID=75 [2023-09-28T03:31:19.685Z] Running ssh-add (command line suppressed) [2023-09-28T03:31:19.788Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_12525964733581594991.key (/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_12525964733581594991.key) [2023-09-28T03:31:19.798Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-28T03:31:20.083Z] + git semver init [2023-09-28T03:31:20.341Z] 2023-09-28 03:31:20,269 [run_init] DEBUG init version:0.0.0 force:False [2023-09-28T03:31:20.341Z] 2023-09-28 03:31:20,270 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver [2023-09-28T03:31:20.341Z] 2023-09-28 03:31:20,270 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver [2023-09-28T03:31:20.341Z] 2023-09-28 03:31:20,270 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-486, universal_newlines=False, shell=None, istream=None) [2023-09-28T03:31:21.282Z] 2023-09-28 03:31:21,192 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.git/info/exclude [2023-09-28T03:31:21.282Z] 2023-09-28 03:31:21,192 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver/PR-486 with force:False [2023-09-28T03:31:21.282Z] 2023-09-28 03:31:21,193 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver/PR-486 [2023-09-28T03:31:21.283Z] 2023-09-28 03:31:21,197 [execute] INFO git cat-file --batch-check [2023-09-28T03:31:21.283Z] 2023-09-28 03:31:21,197 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver, universal_newlines=False, shell=None, istream=) [2023-09-28T03:31:21.283Z] 2023-09-28 03:31:21,203 [execute] INFO git cat-file --batch [2023-09-28T03:31:21.283Z] 2023-09-28 03:31:21,204 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver, universal_newlines=False, shell=None, istream=) [2023-09-28T03:31:21.283Z] 2023-09-28 03:31:21,209 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver/PR-486 [2023-09-28T03:31:21.283Z] 0.0.0 [Pipeline] } [2023-09-28T03:31:21.295Z] $ docker exec --env ******** --env ******** 0813e0f2dcb2496c9e24678edab4c83de94b0da5ba4092538c04044fe4eae461 ssh-agent -k [2023-09-28T03:31:21.391Z] unset SSH_AUTH_SOCK; [2023-09-28T03:31:21.392Z] unset SSH_AGENT_PID; [2023-09-28T03:31:21.392Z] echo Agent pid 75 killed; [2023-09-28T03:31:21.399Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-28T03:31:21.696Z] + git semver [Pipeline] } [2023-09-28T03:31:21.972Z] $ docker stop --time=1 0813e0f2dcb2496c9e24678edab4c83de94b0da5ba4092538c04044fe4eae461 [2023-09-28T03:31:23.261Z] $ docker rm -f --volumes 0813e0f2dcb2496c9e24678edab4c83de94b0da5ba4092538c04044fe4eae461 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-28T03:31:23.595Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-28T03:31:23.809Z] Stashed 1 file(s) [Pipeline] echo [2023-09-28T03:31:23.812Z] [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-09-28T03:31:23.939Z] provisioning config files... [2023-09-28T03:31:23.948Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/config1092433595356804855tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T03:31:24.246Z] ---> docker-login.sh [2023-09-28T03:31:24.246Z] nexus3.edgexfoundry.org:10001 [2023-09-28T03:31:24.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T03:31:24.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T03:31:24.246Z] Configure a credential helper to remove this warning. See [2023-09-28T03:31:24.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T03:31:24.246Z] [2023-09-28T03:31:24.246Z] Login Succeeded [2023-09-28T03:31:24.246Z] nexus3.edgexfoundry.org:10002 [2023-09-28T03:31:24.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T03:31:24.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T03:31:24.246Z] Configure a credential helper to remove this warning. See [2023-09-28T03:31:24.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T03:31:24.246Z] [2023-09-28T03:31:24.246Z] Login Succeeded [2023-09-28T03:31:24.246Z] nexus3.edgexfoundry.org:10003 [2023-09-28T03:31:24.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T03:31:24.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T03:31:24.506Z] Configure a credential helper to remove this warning. See [2023-09-28T03:31:24.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T03:31:24.506Z] [2023-09-28T03:31:24.506Z] Login Succeeded [2023-09-28T03:31:24.506Z] nexus3.edgexfoundry.org:10004 [2023-09-28T03:31:24.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T03:31:24.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T03:31:24.765Z] Configure a credential helper to remove this warning. See [2023-09-28T03:31:24.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T03:31:24.765Z] [2023-09-28T03:31:24.765Z] Login Succeeded [2023-09-28T03:31:24.765Z] docker.io [2023-09-28T03:31:24.765Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T03:31:25.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T03:31:25.024Z] Configure a credential helper to remove this warning. See [2023-09-28T03:31:25.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T03:31:25.024Z] [2023-09-28T03:31:25.024Z] Login Succeeded [2023-09-28T03:31:25.024Z] ---> docker-login.sh ends [Pipeline] } [2023-09-28T03:31:25.031Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-28T03:31:25.087Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T03:31:25.093Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-09-28T03:31:25.099Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T03:31:25.105Z] ========================================================= [2023-09-28T03:31:25.105Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-09-28T03:31:25.105Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T03:31:25.395Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2023-09-28T03:31:25.396Z] Sending build context to Docker daemon 5.001MB [2023-09-28T03:31:25.396Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-09-28T03:31:25.396Z] Step 2/21 : FROM ${BASE} as builder [2023-09-28T03:31:25.396Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-09-28T03:31:25.396Z] 91d30c5bc195: Pulling fs layer [2023-09-28T03:31:25.396Z] 316e5a4585fb: Pulling fs layer [2023-09-28T03:31:25.654Z] 91d30c5bc195: Verifying Checksum [2023-09-28T03:31:25.654Z] 91d30c5bc195: Download complete [2023-09-28T03:31:25.654Z] 91d30c5bc195: Pull complete [2023-09-28T03:31:26.222Z] 316e5a4585fb: Verifying Checksum [2023-09-28T03:31:26.222Z] 316e5a4585fb: Download complete [2023-09-28T03:31:29.568Z] 316e5a4585fb: Pull complete [2023-09-28T03:31:29.568Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-09-28T03:31:29.568Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-09-28T03:31:29.568Z] ---> e83ffa357ff4 [2023-09-28T03:31:29.568Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-09-28T03:31:31.493Z] ---> Running in 38387974e19c [2023-09-28T03:31:31.752Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-09-28T03:31:32.317Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-28T03:31:32.317Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-28T03:31:32.317Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-28T03:31:32.576Z] Removing intermediate container 38387974e19c [2023-09-28T03:31:32.576Z] ---> 15e624d6fb1c [2023-09-28T03:31:32.576Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-28T03:31:32.576Z] ---> Running in 8c66dd3d10fc [2023-09-28T03:31:33.142Z] Removing intermediate container 8c66dd3d10fc [2023-09-28T03:31:33.142Z] ---> e0b9cebdd2ea [2023-09-28T03:31:33.142Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-09-28T03:31:33.142Z] ---> Running in d63de9072f7b [2023-09-28T03:31:33.402Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-28T03:31:33.662Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-09-28T03:31:33.920Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-28T03:31:34.508Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-28T03:31:34.508Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-28T03:31:34.508Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-28T03:31:34.508Z] (3/16) Installing hiredis (1.0.2-r0) [2023-09-28T03:31:34.508Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-09-28T03:31:34.508Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-09-28T03:31:35.113Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-09-28T03:31:35.397Z] (7/16) Installing libcbor (0.9.0-r1) [2023-09-28T03:31:35.397Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-09-28T03:31:35.397Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-09-28T03:31:35.397Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-09-28T03:31:35.963Z] (11/16) Installing libblkid (2.38-r1) [2023-09-28T03:31:35.963Z] (12/16) Installing libuuid (2.38-r1) [2023-09-28T03:31:35.963Z] (13/16) Installing libfdisk (2.38-r1) [2023-09-28T03:31:36.227Z] (14/16) Installing libmount (2.38-r1) [2023-09-28T03:31:36.227Z] (15/16) Installing libsmartcols (2.38-r1) [2023-09-28T03:31:36.227Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-09-28T03:31:36.227Z] Executing busybox-1.35.0-r17.trigger [2023-09-28T03:31:36.227Z] OK: 280 MiB in 90 packages [2023-09-28T03:31:36.793Z] Removing intermediate container d63de9072f7b [2023-09-28T03:31:36.793Z] ---> cde78f1e1e91 [2023-09-28T03:31:36.793Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-09-28T03:31:37.051Z] ---> Running in 09e1a0bc311e [2023-09-28T03:31:37.989Z] Removing intermediate container 09e1a0bc311e [2023-09-28T03:31:37.989Z] ---> c43cb37e25ba [2023-09-28T03:31:37.989Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-09-28T03:31:37.989Z] ---> eb27605bcddb [2023-09-28T03:31:37.989Z] Step 8/21 : COPY src /tmp/sdk/src [2023-09-28T03:31:38.248Z] ---> a437ff108f3e [2023-09-28T03:31:38.248Z] Step 9/21 : COPY include /tmp/sdk/include [2023-09-28T03:31:38.506Z] ---> be44dd14e386 [2023-09-28T03:31:38.506Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-09-28T03:31:38.765Z] ---> 6eb02133f609 [2023-09-28T03:31:38.765Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-09-28T03:31:38.765Z] ---> 4faf9daafc7d [2023-09-28T03:31:38.765Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-09-28T03:31:38.893Z] Still waiting to schedule task [2023-09-28T03:31:38.893Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8104’ [2023-09-28T03:31:39.024Z] ---> 4948eae9c599 [2023-09-28T03:31:39.024Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-09-28T03:31:39.024Z] ---> Running in 6082b5009172 [2023-09-28T03:31:39.282Z] + CPPCHECK=false [2023-09-28T03:31:39.282Z] + DOCGEN=false [2023-09-28T03:31:39.282Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-09-28T03:31:39.282Z] + '[' 0 -gt 0 ] [2023-09-28T03:31:39.282Z] + readlink -f ./scripts/build.sh [2023-09-28T03:31:39.282Z] + dirname /tmp/sdk/scripts/build.sh [2023-09-28T03:31:39.282Z] + dirname /tmp/sdk/scripts [2023-09-28T03:31:39.282Z] + ROOT=/tmp/sdk [2023-09-28T03:31:39.282Z] + cd /tmp/sdk [2023-09-28T03:31:39.282Z] + mkdir -p /tmp/sdk/build/release [2023-09-28T03:31:39.282Z] + cd /tmp/sdk/build/release [2023-09-28T03:31:39.282Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-09-28T03:31:39.282Z] -- The C compiler identification is GNU 11.2.1 [2023-09-28T03:31:39.282Z] -- Detecting C compiler ABI info [2023-09-28T03:31:39.543Z] -- Detecting C compiler ABI info - done [2023-09-28T03:31:39.543Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-09-28T03:31:39.543Z] -- Detecting C compile features [2023-09-28T03:31:39.543Z] -- Detecting C compile features - done [2023-09-28T03:31:39.543Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-09-28T03:31:39.543Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-09-28T03:31:39.543Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-09-28T03:31:39.543Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-09-28T03:31:39.543Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-09-28T03:31:39.543Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-09-28T03:31:39.543Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-09-28T03:31:39.543Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-09-28T03:31:39.543Z] -- /opt/iotech/iot/1.5/include [2023-09-28T03:31:39.543Z] -- C SDK 0.0.0 for Linux [2023-09-28T03:31:39.543Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-09-28T03:31:39.543Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-09-28T03:31:39.543Z] -- Found Curses: /usr/lib/libcurses.so [2023-09-28T03:31:39.543Z] -- Configuring done [2023-09-28T03:31:39.944Z] -- Generating done [2023-09-28T03:31:39.944Z] -- Build files have been written to: /tmp/sdk/build/release [2023-09-28T03:31:39.944Z] + make all package [2023-09-28T03:31:39.944Z] + tee release.log [2023-09-28T03:31:39.944Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-09-28T03:31:39.944Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-09-28T03:31:40.204Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-09-28T03:31:40.204Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-09-28T03:31:40.464Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-09-28T03:31:40.464Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-09-28T03:31:40.723Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-09-28T03:31:40.983Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-09-28T03:31:40.983Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-09-28T03:31:40.983Z] 294 | while (privateConfig) [2023-09-28T03:31:40.983Z] | ^~~~~~~~~~~~~ [2023-09-28T03:31:40.983Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-09-28T03:31:40.983Z] 271 | while (result) [2023-09-28T03:31:40.983Z] | ^~~~~~ [2023-09-28T03:31:40.983Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-09-28T03:31:41.242Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-09-28T03:31:41.242Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-09-28T03:31:41.808Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-09-28T03:31:41.809Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-09-28T03:31:42.066Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-09-28T03:31:42.066Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-09-28T03:31:42.066Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-09-28T03:31:42.325Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-09-28T03:31:42.325Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-09-28T03:31:42.894Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-09-28T03:31:42.894Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-09-28T03:31:42.894Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-09-28T03:31:43.153Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-09-28T03:31:44.092Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-09-28T03:31:44.352Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-09-28T03:31:44.352Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-09-28T03:31:44.612Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-09-28T03:31:44.612Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-09-28T03:31:44.873Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-09-28T03:31:45.442Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-09-28T03:31:45.442Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-09-28T03:31:45.442Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-09-28T03:31:45.702Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-09-28T03:31:45.702Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-09-28T03:31:45.702Z] /tmp/sdk/src/c/service.c:874:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-09-28T03:31:45.702Z] 874 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); [2023-09-28T03:31:45.702Z] | ^~~~~~~~~~~~~~~~~~~~ [2023-09-28T03:31:45.702Z] /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-09-28T03:31:45.702Z] 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); [2023-09-28T03:31:45.702Z] | ^ [2023-09-28T03:31:45.964Z] /tmp/sdk/src/c/service.c:1030:5: warning: 'deviceservices_config' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-09-28T03:31:45.964Z] 1030 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2023-09-28T03:31:45.964Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-09-28T03:31:46.223Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-09-28T03:31:46.223Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-09-28T03:31:46.223Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-09-28T03:31:46.482Z] [ 68%] Linking C shared library libcsdk.so [2023-09-28T03:31:46.482Z] [ 68%] Built target csdk [2023-09-28T03:31:46.482Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-09-28T03:31:46.742Z] [ 72%] Linking C executable template [2023-09-28T03:31:46.742Z] [ 72%] Built target template [2023-09-28T03:31:46.742Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-09-28T03:31:46.742Z] [ 76%] Linking C executable device-counter [2023-09-28T03:31:47.001Z] [ 76%] Built target device-counter [2023-09-28T03:31:47.001Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-09-28T03:31:47.001Z] [ 80%] Linking C executable device-random [2023-09-28T03:31:47.001Z] [ 80%] Built target device-random [2023-09-28T03:31:47.261Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-09-28T03:31:47.261Z] [ 84%] Linking C executable device-gyro [2023-09-28T03:31:47.261Z] [ 84%] Built target device-gyro [2023-09-28T03:31:47.261Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-09-28T03:31:47.521Z] [ 88%] Linking C executable device-bitfields [2023-09-28T03:31:47.521Z] [ 88%] Built target device-bitfields [2023-09-28T03:31:47.521Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-09-28T03:31:47.781Z] [ 92%] Linking C executable template-discovery [2023-09-28T03:31:47.781Z] [ 92%] Built target template-discovery [2023-09-28T03:31:47.781Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-09-28T03:31:48.043Z] [ 96%] Linking C executable device-file [2023-09-28T03:31:48.043Z] [ 96%] Built target device-file [2023-09-28T03:31:48.043Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-09-28T03:31:48.043Z] [100%] Linking C executable device-terminal [2023-09-28T03:31:48.300Z] [100%] Built target device-terminal [2023-09-28T03:31:48.300Z] Run CPack packaging tool... [2023-09-28T03:31:48.300Z] CPack: Create package using TGZ [2023-09-28T03:31:48.300Z] CPack: Install projects [2023-09-28T03:31:48.300Z] CPack: - Run preinstall target for: Csdk [2023-09-28T03:31:48.559Z] CPack: - Install project: Csdk [] [2023-09-28T03:31:48.559Z] CPack: Create package [2023-09-28T03:31:48.559Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-09-28T03:31:48.559Z] + '[' false '=' true ] [2023-09-28T03:31:48.559Z] + '[' false '=' true ] [2023-09-28T03:31:48.559Z] + mkdir -p /tmp/sdk/build/debug [2023-09-28T03:31:48.559Z] + cd /tmp/sdk/build/debug [2023-09-28T03:31:48.559Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-09-28T03:31:48.559Z] -- The C compiler identification is GNU 11.2.1 [2023-09-28T03:31:48.559Z] -- Detecting C compiler ABI info [2023-09-28T03:31:48.559Z] -- Detecting C compiler ABI info - done [2023-09-28T03:31:48.559Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-09-28T03:31:48.559Z] -- Detecting C compile features [2023-09-28T03:31:48.559Z] -- Detecting C compile features - done [2023-09-28T03:31:48.559Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-09-28T03:31:48.826Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-09-28T03:31:48.826Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-09-28T03:31:48.826Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-09-28T03:31:48.826Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-09-28T03:31:48.826Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-09-28T03:31:48.826Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-09-28T03:31:48.826Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-09-28T03:31:48.826Z] -- /opt/iotech/iot/1.5/include [2023-09-28T03:31:48.826Z] -- C SDK 0.0.0 for Linux [2023-09-28T03:31:48.826Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-09-28T03:31:48.826Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-09-28T03:31:48.826Z] -- Found Curses: /usr/lib/libcurses.so [2023-09-28T03:31:48.826Z] -- Configuring done [2023-09-28T03:31:48.826Z] -- Generating done [2023-09-28T03:31:48.826Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-09-28T03:31:48.826Z] + make [2023-09-28T03:31:48.826Z] + tee debug.log [2023-09-28T03:31:49.085Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-09-28T03:31:49.085Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-09-28T03:31:49.085Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-09-28T03:31:49.345Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-09-28T03:31:49.345Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-09-28T03:31:49.345Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-09-28T03:31:49.604Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-09-28T03:31:49.604Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-09-28T03:31:49.604Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-09-28T03:31:49.863Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-09-28T03:31:49.863Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-09-28T03:31:50.123Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-09-28T03:31:50.123Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-09-28T03:31:50.123Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-09-28T03:31:50.123Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-09-28T03:31:50.382Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-09-28T03:31:50.382Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-09-28T03:31:50.641Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-09-28T03:31:50.641Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-09-28T03:31:50.641Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-09-28T03:31:50.641Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-09-28T03:31:51.211Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-09-28T03:31:51.211Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-09-28T03:31:51.211Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-09-28T03:31:51.211Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-09-28T03:31:51.211Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-09-28T03:31:51.470Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-09-28T03:31:51.731Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-09-28T03:31:51.731Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-09-28T03:31:51.731Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-09-28T03:31:51.990Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-09-28T03:31:51.990Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-09-28T03:31:51.990Z] /tmp/sdk/src/c/service.c:874:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-09-28T03:31:51.990Z] 874 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); [2023-09-28T03:31:51.990Z] | ^~~~~~~~~~~~~~~~~~~~ [2023-09-28T03:31:51.990Z] /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-09-28T03:31:51.990Z] 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); [2023-09-28T03:31:51.990Z] | ^ [2023-09-28T03:31:51.990Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-09-28T03:31:52.250Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-09-28T03:31:52.250Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-09-28T03:31:52.250Z] [ 68%] Linking C shared library libcsdk.so [2023-09-28T03:31:52.250Z] [ 68%] Built target csdk [2023-09-28T03:31:52.250Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-09-28T03:31:52.509Z] [ 72%] Linking C executable template [2023-09-28T03:31:52.509Z] [ 72%] Built target template [2023-09-28T03:31:52.509Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-09-28T03:31:52.509Z] [ 76%] Linking C executable device-counter [2023-09-28T03:31:52.768Z] [ 76%] Built target device-counter [2023-09-28T03:31:52.768Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-09-28T03:31:52.768Z] [ 80%] Linking C executable device-random [2023-09-28T03:31:52.768Z] [ 80%] Built target device-random [2023-09-28T03:31:52.768Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-09-28T03:31:52.768Z] [ 84%] Linking C executable device-gyro [2023-09-28T03:31:53.029Z] [ 84%] Built target device-gyro [2023-09-28T03:31:53.029Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-09-28T03:31:53.029Z] [ 88%] Linking C executable device-bitfields [2023-09-28T03:31:53.029Z] [ 88%] Built target device-bitfields [2023-09-28T03:31:53.029Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-09-28T03:31:53.289Z] [ 92%] Linking C executable template-discovery [2023-09-28T03:31:53.289Z] [ 92%] Built target template-discovery [2023-09-28T03:31:53.289Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-09-28T03:31:53.289Z] [ 96%] Linking C executable device-file [2023-09-28T03:31:53.549Z] [ 96%] Built target device-file [2023-09-28T03:31:53.549Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-09-28T03:31:53.549Z] [100%] Linking C executable device-terminal [2023-09-28T03:31:53.549Z] [100%] Built target device-terminal [2023-09-28T03:31:53.549Z] make: Entering directory '/tmp/sdk/build/release' [2023-09-28T03:31:53.549Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-09-28T03:31:53.549Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-28T03:31:53.549Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-28T03:31:53.808Z] [ 68%] Built target csdk [2023-09-28T03:31:53.808Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-28T03:31:53.808Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-28T03:31:53.808Z] [ 72%] Built target template [2023-09-28T03:31:53.808Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-28T03:31:53.808Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-28T03:31:53.808Z] [ 76%] Built target device-counter [2023-09-28T03:31:53.808Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-28T03:31:53.808Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-28T03:31:53.808Z] [ 80%] Built target device-random [2023-09-28T03:31:53.808Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-28T03:31:53.808Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-28T03:31:53.808Z] [ 84%] Built target device-gyro [2023-09-28T03:31:53.808Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-28T03:31:53.808Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-28T03:31:53.808Z] [ 88%] Built target device-bitfields [2023-09-28T03:31:53.808Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-28T03:31:53.808Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-28T03:31:53.808Z] [ 92%] Built target template-discovery [2023-09-28T03:31:53.808Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-28T03:31:53.808Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-28T03:31:53.809Z] [ 96%] Built target device-file [2023-09-28T03:31:53.809Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-28T03:31:53.809Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-28T03:31:53.809Z] [100%] Built target device-terminal [2023-09-28T03:31:53.809Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-09-28T03:31:53.809Z] Install the project... [2023-09-28T03:31:53.809Z] -- Install configuration: "Release" [2023-09-28T03:31:53.809Z] -- Installing: /usr/local/lib/libcsdk.so [2023-09-28T03:31:53.809Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-09-28T03:31:53.809Z] -- Installing: /usr/local/include [2023-09-28T03:31:53.809Z] -- Installing: /usr/local/include/devsdk [2023-09-28T03:31:53.809Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-09-28T03:31:53.809Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-09-28T03:31:53.809Z] -- Installing: /usr/local/include/edgex [2023-09-28T03:31:53.809Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-09-28T03:31:53.809Z] -- Installing: /usr/local/include/edgex/devices.h [2023-09-28T03:31:53.809Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-09-28T03:31:53.809Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-09-28T03:31:53.809Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-09-28T03:31:53.809Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-09-28T03:31:53.809Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-09-28T03:31:53.809Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-09-28T03:31:53.809Z] make: Leaving directory '/tmp/sdk/build/release' [2023-09-28T03:31:54.745Z] Removing intermediate container 6082b5009172 [2023-09-28T03:31:54.745Z] ---> 06fd00a969a6 [2023-09-28T03:31:54.745Z] Step 14/21 : FROM ${BASE} [2023-09-28T03:31:54.745Z] ---> e83ffa357ff4 [2023-09-28T03:31:54.745Z] Step 15/21 : LABEL maintainer="IOTech " [2023-09-28T03:31:54.745Z] ---> Running in 142f9b7edbc0 [2023-09-28T03:31:54.745Z] Removing intermediate container 142f9b7edbc0 [2023-09-28T03:31:54.745Z] ---> 35070900f585 [2023-09-28T03:31:54.745Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-09-28T03:31:54.745Z] ---> Running in a3bf0f7b321c [2023-09-28T03:31:55.313Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-09-28T03:31:55.572Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-28T03:31:55.572Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-28T03:31:55.572Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-28T03:31:56.141Z] Removing intermediate container a3bf0f7b321c [2023-09-28T03:31:56.141Z] ---> c982002a979a [2023-09-28T03:31:56.141Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-28T03:31:56.141Z] ---> Running in f5d795ee3740 [2023-09-28T03:31:56.712Z] Removing intermediate container f5d795ee3740 [2023-09-28T03:31:56.712Z] ---> 969fe4775374 [2023-09-28T03:31:56.712Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-09-28T03:31:56.712Z] ---> Running in 2903d2646a10 [2023-09-28T03:31:56.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-28T03:31:57.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-09-28T03:31:57.486Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-28T03:31:58.056Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-28T03:31:58.056Z] (1/7) Installing curl (8.3.0-r0) [2023-09-28T03:31:58.056Z] (2/7) Installing hiredis (1.0.2-r0) [2023-09-28T03:31:58.056Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-09-28T03:31:58.056Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-09-28T03:31:58.625Z] (5/7) Installing libcbor (0.9.0-r1) [2023-09-28T03:31:58.625Z] (6/7) Installing libuuid (2.38-r1) [2023-09-28T03:31:58.625Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-09-28T03:31:59.565Z] Executing busybox-1.35.0-r17.trigger [2023-09-28T03:31:59.565Z] OK: 276 MiB in 83 packages [2023-09-28T03:32:00.145Z] Removing intermediate container 2903d2646a10 [2023-09-28T03:32:00.145Z] ---> 2741731dddd6 [2023-09-28T03:32:00.145Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-09-28T03:32:00.404Z] ---> 63a10e4760fd [2023-09-28T03:32:00.404Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-09-28T03:32:00.404Z] ---> 135f01087b5a [2023-09-28T03:32:00.404Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-09-28T03:32:00.662Z] ---> 7385354dcc16 [2023-09-28T03:32:00.662Z] Successfully built 7385354dcc16 [2023-09-28T03:32:00.662Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T03:32:01.051Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-28T03:32:01.051Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T03:32:01.124Z] prd-ubuntu20.04-docker-8c-8g-8106 does not seem to be running inside a container [2023-09-28T03:32:01.162Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-486 -v /w/workspace/edgexfoundry_device-sdk-c_PR-486:/w/workspace/edgexfoundry_device-sdk-c_PR-486:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-28T03:32:01.485Z] $ docker top 7bfbca01c49a39d3a5ceb1dd68d45538c70356ddc72ad53bdd681ec1373bc4a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T03:32:01.828Z] + make test [2023-09-28T03:32:01.828Z] echo "make test" [2023-09-28T03:32:01.828Z] make test [Pipeline] } [2023-09-28T03:32:01.842Z] $ docker stop --time=1 7bfbca01c49a39d3a5ceb1dd68d45538c70356ddc72ad53bdd681ec1373bc4a7 [2023-09-28T03:32:03.134Z] $ docker rm -f --volumes 7bfbca01c49a39d3a5ceb1dd68d45538c70356ddc72ad53bdd681ec1373bc4a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-28T03:32:03.612Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-28T03:32:03.901Z] + ls -al . [2023-09-28T03:32:03.901Z] total 212 [2023-09-28T03:32:03.901Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 03:31 . [2023-09-28T03:32:03.901Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 03:30 .. [2023-09-28T03:32:03.901Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 03:31 .git [2023-09-28T03:32:03.901Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 03:30 .github [2023-09-28T03:32:03.901Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 28 03:30 .gitignore [2023-09-28T03:32:03.901Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 03:31 .semver [2023-09-28T03:32:03.901Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 28 03:30 Attribution.txt [2023-09-28T03:32:03.901Z] -rw-rw-r-- 1 jenkins jenkins 9802 Sep 28 03:30 CHANGES [2023-09-28T03:32:03.901Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 28 03:30 Doxyfile [2023-09-28T03:32:03.901Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 03:30 GOVERNANCE.md [2023-09-28T03:32:03.901Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 28 03:30 Jenkinsfile [2023-09-28T03:32:03.901Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 28 03:30 LICENSE [2023-09-28T03:32:03.901Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 28 03:30 Makefile [2023-09-28T03:32:03.901Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 28 03:30 OWNERS.md [2023-09-28T03:32:03.901Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 28 03:30 README.IOT.md [2023-09-28T03:32:03.901Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 28 03:30 README.md [2023-09-28T03:32:03.901Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 28 03:30 README.v3.md [2023-09-28T03:32:03.901Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 03:31 VERSION [2023-09-28T03:32:03.901Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 03:30 docs [2023-09-28T03:32:03.901Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 03:30 include [2023-09-28T03:32:03.901Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 03:30 scripts [2023-09-28T03:32:03.901Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 03:30 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T03:32:04.252Z] + 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=9f92d9671e4ec672be8683f99f8956f4c964cc30 --label arch=amd64 --label version=0.0.0 . [2023-09-28T03:32:04.252Z] Sending build context to Docker daemon 5.001MB [2023-09-28T03:32:04.252Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-09-28T03:32:04.252Z] Step 2/17 : FROM ${BASE} [2023-09-28T03:32:04.252Z] ---> 7385354dcc16 [2023-09-28T03:32:04.252Z] Step 3/17 : LABEL maintainer="IOTech " [2023-09-28T03:32:04.511Z] ---> Running in 6f8dcb4b032f [2023-09-28T03:32:04.511Z] Removing intermediate container 6f8dcb4b032f [2023-09-28T03:32:04.511Z] ---> 3b4aa9f71756 [2023-09-28T03:32:04.511Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-09-28T03:32:04.511Z] ---> Running in e3d073a5d544 [2023-09-28T03:32:04.773Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-09-28T03:32:05.343Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-28T03:32:05.343Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-28T03:32:05.343Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-28T03:32:05.343Z] Removing intermediate container e3d073a5d544 [2023-09-28T03:32:05.343Z] ---> 33855e85c9ec [2023-09-28T03:32:05.343Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-28T03:32:05.602Z] ---> Running in f4b9586ae887 [2023-09-28T03:32:06.168Z] Removing intermediate container f4b9586ae887 [2023-09-28T03:32:06.168Z] ---> a5a930b1e694 [2023-09-28T03:32:06.168Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-09-28T03:32:06.168Z] ---> Running in 774ee8f3983d [2023-09-28T03:32:06.427Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-28T03:32:06.427Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-09-28T03:32:06.427Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-28T03:32:06.997Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-28T03:32:06.997Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-28T03:32:06.997Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-28T03:32:06.997Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-09-28T03:32:07.938Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-09-28T03:32:07.938Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-09-28T03:32:07.938Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-09-28T03:32:07.938Z] (7/11) Installing libblkid (2.38-r1) [2023-09-28T03:32:07.938Z] (8/11) Installing libfdisk (2.38-r1) [2023-09-28T03:32:07.938Z] (9/11) Installing libmount (2.38-r1) [2023-09-28T03:32:07.938Z] (10/11) Installing libsmartcols (2.38-r1) [2023-09-28T03:32:07.938Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-09-28T03:32:07.938Z] Executing busybox-1.35.0-r17.trigger [2023-09-28T03:32:07.938Z] OK: 281 MiB in 92 packages [2023-09-28T03:32:08.508Z] Removing intermediate container 774ee8f3983d [2023-09-28T03:32:08.508Z] ---> 3a94737a247c [2023-09-28T03:32:08.508Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-09-28T03:32:08.810Z] ---> 70c84603ed4f [2023-09-28T03:32:08.810Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-09-28T03:32:09.070Z] ---> ce2d449c403f [2023-09-28T03:32:09.070Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-09-28T03:32:09.070Z] ---> 8c480d897c39 [2023-09-28T03:32:09.070Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-09-28T03:32:09.329Z] ---> d59e1b586ba8 [2023-09-28T03:32:09.329Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-09-28T03:32:09.329Z] ---> 7cc08fe08619 [2023-09-28T03:32:09.329Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-09-28T03:32:09.329Z] ---> d7842db2c174 [2023-09-28T03:32:09.329Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-09-28T03:32:09.588Z] ---> Running in 6ff8cbf582bf [2023-09-28T03:32:09.588Z] Removing intermediate container 6ff8cbf582bf [2023-09-28T03:32:09.588Z] ---> e663a7eb4c25 [2023-09-28T03:32:09.588Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-09-28T03:32:09.588Z] ---> Running in bcb4375f4a9d [2023-09-28T03:32:09.588Z] Removing intermediate container bcb4375f4a9d [2023-09-28T03:32:09.588Z] ---> d08e930336e0 [2023-09-28T03:32:09.588Z] Step 15/17 : LABEL arch=amd64 [2023-09-28T03:32:09.588Z] ---> Running in 89f289b5ca6d [2023-09-28T03:32:09.848Z] Removing intermediate container 89f289b5ca6d [2023-09-28T03:32:09.848Z] ---> 86d7228f8d49 [2023-09-28T03:32:09.848Z] Step 16/17 : LABEL git_sha=9f92d9671e4ec672be8683f99f8956f4c964cc30 [2023-09-28T03:32:09.848Z] ---> Running in cc8ffa479957 [2023-09-28T03:32:09.848Z] Removing intermediate container cc8ffa479957 [2023-09-28T03:32:09.848Z] ---> aa29bbbfb53b [2023-09-28T03:32:09.848Z] Step 17/17 : LABEL version=0.0.0 [2023-09-28T03:32:09.848Z] ---> Running in 444fdcc4de3b [2023-09-28T03:32:09.848Z] Removing intermediate container 444fdcc4de3b [2023-09-28T03:32:09.848Z] ---> 65b712763368 [2023-09-28T03:32:09.848Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-09-28T03:32:09.848Z] Successfully built 65b712763368 [2023-09-28T03:32:10.107Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T03:32:10.522Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-28T03:32:10.522Z] [2023-09-28T03:32:10.522Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T03:32:10.814Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-28T03:32:10.814Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-28T03:32:10.814Z] 5eb5b503b376: Pulling fs layer [2023-09-28T03:32:10.814Z] 5c69ac0246d0: Pulling fs layer [2023-09-28T03:32:10.814Z] ec43610c2a17: Pulling fs layer [2023-09-28T03:32:10.814Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-28T03:32:10.814Z] 33b1e0a273af: Pulling fs layer [2023-09-28T03:32:10.814Z] 5d3b04190fa2: Pulling fs layer [2023-09-28T03:32:10.814Z] 2f39f015ded8: Pulling fs layer [2023-09-28T03:32:10.814Z] 33b1e0a273af: Waiting [2023-09-28T03:32:10.814Z] 5d3b04190fa2: Waiting [2023-09-28T03:32:10.814Z] 2f39f015ded8: Waiting [2023-09-28T03:32:10.814Z] 3a2ae6a8a46f: Waiting [2023-09-28T03:32:10.814Z] 5c69ac0246d0: Download complete [2023-09-28T03:32:10.814Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-28T03:32:10.814Z] 3a2ae6a8a46f: Download complete [2023-09-28T03:32:11.072Z] 33b1e0a273af: Verifying Checksum [2023-09-28T03:32:11.072Z] 33b1e0a273af: Download complete [2023-09-28T03:32:11.072Z] 5d3b04190fa2: Download complete [2023-09-28T03:32:11.072Z] ec43610c2a17: Verifying Checksum [2023-09-28T03:32:11.072Z] ec43610c2a17: Download complete [2023-09-28T03:32:11.072Z] 5eb5b503b376: Verifying Checksum [2023-09-28T03:32:11.072Z] 5eb5b503b376: Download complete [2023-09-28T03:32:11.637Z] 2f39f015ded8: Download complete [2023-09-28T03:32:12.572Z] 5eb5b503b376: Pull complete [2023-09-28T03:32:12.573Z] 5c69ac0246d0: Pull complete [2023-09-28T03:32:12.832Z] ec43610c2a17: Pull complete [2023-09-28T03:32:12.832Z] 3a2ae6a8a46f: Pull complete [2023-09-28T03:32:13.091Z] 33b1e0a273af: Pull complete [2023-09-28T03:32:13.350Z] 5d3b04190fa2: Pull complete [2023-09-28T03:32:18.623Z] 2f39f015ded8: Pull complete [2023-09-28T03:32:18.623Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-28T03:32:18.623Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-28T03:32:18.623Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T03:32:18.707Z] prd-ubuntu20.04-docker-8c-8g-8106 does not seem to be running inside a container [2023-09-28T03:32:18.734Z] $ 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-486 -v /w/workspace/edgexfoundry_device-sdk-c_PR-486:/w/workspace/edgexfoundry_device-sdk-c_PR-486:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-28T03:32:24.432Z] $ docker top aca2dc458d4683d78f612d0a544c7d50cd3881da935c088b2929312e9a3e830c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T03:32:24.797Z] ---> job-cost.sh [2023-09-28T03:32:24.797Z] lf-activate-venv: SKIPPING [2023-09-28T03:32:24.797Z] INFO: No Stack... [2023-09-28T03:32:25.056Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-28T03:32:25.315Z] INFO: Archiving Costs [Pipeline] sh [2023-09-28T03:32:25.603Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives/cost.csv [2023-09-28T03:32:25.603Z] + cut -d, -f6 [Pipeline] lock [2023-09-28T03:32:25.616Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-486-2-stack-cost] [2023-09-28T03:32:25.623Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-486-2-stack-cost] did not exist. Created. [2023-09-28T03:32:25.623Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-486-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-28T03:32:25.926Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-28T03:32:25.967Z] Stashed 1 file(s) [Pipeline] } [2023-09-28T03:32:25.976Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-486-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-28T03:32:25.993Z] $ docker stop --time=1 aca2dc458d4683d78f612d0a544c7d50cd3881da935c088b2929312e9a3e830c [2023-09-28T03:32:27.145Z] $ docker rm -f --volumes aca2dc458d4683d78f612d0a544c7d50cd3881da935c088b2929312e9a3e830c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-28T03:34:36.070Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8108 in /w/workspace/edgexfoundry_device-sdk-c_PR-486 [Pipeline] { [Pipeline] ws [2023-09-28T03:34:36.085Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2023-09-28T03:34:36.125Z] Selected Git installation does not exist. Using Default [2023-09-28T03:34:36.125Z] The recommended git tool is: NONE [2023-09-28T03:34:42.181Z] using credential edgex-jenkins-ssh [2023-09-28T03:34:42.201Z] Cloning the remote Git repository [2023-09-28T03:34:42.253Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-09-28T03:34:42.359Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2023-09-28T03:34:42.531Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-09-28T03:34:42.532Z] > git --version # timeout=10 [2023-09-28T03:34:42.552Z] > git --version # 'git version 2.25.1' [2023-09-28T03:34:42.555Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-28T03:34:42.728Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-28T03:34:43.854Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-09-28T03:34:43.890Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-28T03:34:44.831Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-09-28T03:34:44.885Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-09-28T03:34:44.886Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-28T03:34:44.906Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/486/head:refs/remotes/origin/PR-486 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-28T03:34:45.531Z] Merging remotes/origin/main commit b359547df5a09ee3070876df63645d58a75503b0 into PR head commit a5208ef1239bee49134cbc99df62d504ea7cc9b0 [2023-09-28T03:34:45.953Z] Merge succeeded, producing 2cf0389c37548dfb4ca15251dd990544dd9abf85 [2023-09-28T03:34:45.954Z] Checking out Revision 2cf0389c37548dfb4ca15251dd990544dd9abf85 (PR-486) [2023-09-28T03:34:45.554Z] > git config core.sparsecheckout # timeout=10 [2023-09-28T03:34:45.637Z] > git checkout -f a5208ef1239bee49134cbc99df62d504ea7cc9b0 # timeout=10 [2023-09-28T03:34:45.774Z] > git remote # timeout=10 [2023-09-28T03:34:45.798Z] > git config --get remote.origin.url # timeout=10 [2023-09-28T03:34:45.817Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-28T03:34:45.831Z] > git merge b359547df5a09ee3070876df63645d58a75503b0 # timeout=10 [2023-09-28T03:34:45.938Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-28T03:34:45.962Z] > git config core.sparsecheckout # timeout=10 [2023-09-28T03:34:45.976Z] > git checkout -f 2cf0389c37548dfb4ca15251dd990544dd9abf85 # timeout=10 [2023-09-28T03:34:49.481Z] Commit message: "Merge commit 'b359547df5a09ee3070876df63645d58a75503b0' into HEAD" [2023-09-28T03:34:49.494Z] > git rev-list --no-walk c205757f5d25cfd1bd6a32780a34104ae8b30202 # timeout=10 [2023-09-28T03:34:49.510Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-28T03:34:50.336Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-28T03:34:50.336Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-28T03:34:50.336Z] Dload Upload Total Spent Left Speed [2023-09-28T03:34:50.336Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 109k 0 --:--:-- --:--:-- --:--:-- 110k [Pipeline] sh [2023-09-28T03:34:50.994Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-28T03:34:51.318Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-28T03:34:51.318Z] + sudo tee /etc/docker/daemon.new [2023-09-28T03:34:51.318Z] { [2023-09-28T03:34:51.318Z] "registry-mirrors": [ [2023-09-28T03:34:51.318Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-28T03:34:51.318Z] ], [2023-09-28T03:34:51.318Z] "bip": "10.250.0.254/24", [2023-09-28T03:34:51.318Z] "hosts": [ [2023-09-28T03:34:51.318Z] "tcp://0.0.0.0:5555", [2023-09-28T03:34:51.318Z] "unix:///var/run/docker.sock" [2023-09-28T03:34:51.318Z] ], [2023-09-28T03:34:51.318Z] "mtu": 1458, [2023-09-28T03:34:51.318Z] "selinux-enabled": true, [2023-09-28T03:34:51.318Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-28T03:34:51.318Z] } [Pipeline] sh [2023-09-28T03:34:51.650Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-28T03:34:51.978Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-28T03:35:10.376Z] provisioning config files... [2023-09-28T03:35:10.401Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config10469807212647146474tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T03:35:10.754Z] ---> docker-login.sh [2023-09-28T03:35:10.754Z] nexus3.edgexfoundry.org:10001 [2023-09-28T03:35:11.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T03:35:11.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T03:35:11.293Z] Configure a credential helper to remove this warning. See [2023-09-28T03:35:11.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T03:35:11.293Z] [2023-09-28T03:35:11.293Z] Login Succeeded [2023-09-28T03:35:11.293Z] nexus3.edgexfoundry.org:10002 [2023-09-28T03:35:11.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T03:35:11.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T03:35:11.832Z] Configure a credential helper to remove this warning. See [2023-09-28T03:35:11.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T03:35:11.832Z] [2023-09-28T03:35:11.832Z] Login Succeeded [2023-09-28T03:35:11.832Z] nexus3.edgexfoundry.org:10003 [2023-09-28T03:35:12.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T03:35:12.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T03:35:12.103Z] Configure a credential helper to remove this warning. See [2023-09-28T03:35:12.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T03:35:12.103Z] [2023-09-28T03:35:12.103Z] Login Succeeded [2023-09-28T03:35:12.103Z] nexus3.edgexfoundry.org:10004 [2023-09-28T03:35:12.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T03:35:12.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T03:35:12.373Z] Configure a credential helper to remove this warning. See [2023-09-28T03:35:12.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T03:35:12.373Z] [2023-09-28T03:35:12.373Z] Login Succeeded [2023-09-28T03:35:12.373Z] docker.io [2023-09-28T03:35:12.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-28T03:35:13.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-28T03:35:13.230Z] Configure a credential helper to remove this warning. See [2023-09-28T03:35:13.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-28T03:35:13.230Z] [2023-09-28T03:35:13.230Z] Login Succeeded [2023-09-28T03:35:13.230Z] ---> docker-login.sh ends [Pipeline] } [2023-09-28T03:35:13.244Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-28T03:35:13.498Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T03:35:13.510Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-09-28T03:35:13.525Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-28T03:35:13.541Z] ========================================================= [2023-09-28T03:35:13.541Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-09-28T03:35:13.541Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T03:35:13.868Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2023-09-28T03:35:17.212Z] Sending build context to Docker daemon 3.036MB [2023-09-28T03:35:17.212Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-09-28T03:35:17.212Z] Step 2/21 : FROM ${BASE} as builder [2023-09-28T03:35:17.212Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-09-28T03:35:17.212Z] 547446be3368: Pulling fs layer [2023-09-28T03:35:17.212Z] 76bd08e1cacc: Pulling fs layer [2023-09-28T03:35:17.480Z] 547446be3368: Verifying Checksum [2023-09-28T03:35:17.480Z] 547446be3368: Download complete [2023-09-28T03:35:18.064Z] 547446be3368: Pull complete [2023-09-28T03:35:20.018Z] 76bd08e1cacc: Verifying Checksum [2023-09-28T03:35:20.018Z] 76bd08e1cacc: Download complete [2023-09-28T03:35:28.241Z] 76bd08e1cacc: Pull complete [2023-09-28T03:35:28.241Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-09-28T03:35:28.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-09-28T03:35:28.241Z] ---> 295cd00e64f4 [2023-09-28T03:35:28.241Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-09-28T03:35:28.827Z] ---> Running in 478f72959c8b [2023-09-28T03:35:29.789Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-09-28T03:35:30.373Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-28T03:35:30.373Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-28T03:35:30.373Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-28T03:35:30.958Z] Removing intermediate container 478f72959c8b [2023-09-28T03:35:30.958Z] ---> 59207e6db050 [2023-09-28T03:35:30.958Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-28T03:35:30.958Z] ---> Running in 12b469c7b352 [2023-09-28T03:35:32.913Z] Removing intermediate container 12b469c7b352 [2023-09-28T03:35:32.913Z] ---> b9fe30503f4b [2023-09-28T03:35:32.913Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-09-28T03:35:32.913Z] ---> Running in 4aff3087de02 [2023-09-28T03:35:33.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-28T03:35:34.083Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-09-28T03:35:34.350Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-28T03:35:35.312Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-28T03:35:35.312Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-28T03:35:35.312Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-28T03:35:35.312Z] (3/16) Installing hiredis (1.0.2-r0) [2023-09-28T03:35:35.312Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-09-28T03:35:35.312Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-09-28T03:35:36.272Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-09-28T03:35:36.272Z] (7/16) Installing libcbor (0.9.0-r1) [2023-09-28T03:35:36.272Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-09-28T03:35:36.272Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-09-28T03:35:36.272Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-09-28T03:35:37.235Z] (11/16) Installing libblkid (2.38-r1) [2023-09-28T03:35:37.235Z] (12/16) Installing libuuid (2.38-r1) [2023-09-28T03:35:37.235Z] (13/16) Installing libfdisk (2.38-r1) [2023-09-28T03:35:37.235Z] (14/16) Installing libmount (2.38-r1) [2023-09-28T03:35:37.235Z] (15/16) Installing libsmartcols (2.38-r1) [2023-09-28T03:35:37.235Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-09-28T03:35:37.235Z] Executing busybox-1.35.0-r17.trigger [2023-09-28T03:35:37.235Z] OK: 286 MiB in 90 packages [2023-09-28T03:35:38.645Z] Removing intermediate container 4aff3087de02 [2023-09-28T03:35:38.645Z] ---> 9763cf1ba43f [2023-09-28T03:35:38.645Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-09-28T03:35:38.645Z] ---> Running in eab1caa6eb10 [2023-09-28T03:35:40.063Z] Removing intermediate container eab1caa6eb10 [2023-09-28T03:35:40.063Z] ---> cb33c95447b6 [2023-09-28T03:35:40.063Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-09-28T03:35:44.534Z] ---> 381765476427 [2023-09-28T03:35:44.534Z] Step 8/21 : COPY src /tmp/sdk/src [2023-09-28T03:35:44.803Z] ---> 96567ee5ee7a [2023-09-28T03:35:44.803Z] Step 9/21 : COPY include /tmp/sdk/include [2023-09-28T03:35:45.397Z] ---> 612e112b51d2 [2023-09-28T03:35:45.397Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-09-28T03:35:45.992Z] ---> 9bf7b82e9004 [2023-09-28T03:35:45.992Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-09-28T03:35:46.263Z] ---> f4ae7d3b7fb0 [2023-09-28T03:35:46.263Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-09-28T03:35:46.849Z] ---> 4b25dd8d783b [2023-09-28T03:35:46.849Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-09-28T03:35:46.849Z] ---> Running in 664729b17c78 [2023-09-28T03:35:47.815Z] + CPPCHECK=false [2023-09-28T03:35:47.815Z] + DOCGEN=false [2023-09-28T03:35:47.815Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-09-28T03:35:47.815Z] + '[' 0 -gt 0 ] [2023-09-28T03:35:47.815Z] + readlink -f ./scripts/build.sh [2023-09-28T03:35:47.815Z] + dirname /tmp/sdk/scripts/build.sh [2023-09-28T03:35:47.815Z] + dirname /tmp/sdk/scripts [2023-09-28T03:35:47.815Z] + ROOT=/tmp/sdk [2023-09-28T03:35:47.815Z] + cd /tmp/sdk [2023-09-28T03:35:47.815Z] + mkdir -p /tmp/sdk/build/release [2023-09-28T03:35:47.815Z] + cd /tmp/sdk/build/release [2023-09-28T03:35:47.815Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-09-28T03:35:48.400Z] -- The C compiler identification is GNU 11.2.1 [2023-09-28T03:35:48.400Z] -- Detecting C compiler ABI info [2023-09-28T03:35:48.673Z] -- Detecting C compiler ABI info - done [2023-09-28T03:35:48.673Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-09-28T03:35:48.673Z] -- Detecting C compile features [2023-09-28T03:35:48.673Z] -- Detecting C compile features - done [2023-09-28T03:35:48.673Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-09-28T03:35:48.945Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-09-28T03:35:48.945Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-09-28T03:35:48.945Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-09-28T03:35:48.945Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-09-28T03:35:48.945Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-09-28T03:35:48.945Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-09-28T03:35:48.945Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-09-28T03:35:48.945Z] -- /opt/iotech/iot/1.5/include [2023-09-28T03:35:48.945Z] -- C SDK 0.0.0 for Linux [2023-09-28T03:35:48.945Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-09-28T03:35:49.219Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-09-28T03:35:49.523Z] -- Found Curses: /usr/lib/libcurses.so [2023-09-28T03:35:49.789Z] -- Configuring done [2023-09-28T03:35:50.057Z] -- Generating done [2023-09-28T03:35:50.057Z] -- Build files have been written to: /tmp/sdk/build/release [2023-09-28T03:35:50.057Z] + make all package [2023-09-28T03:35:50.057Z] + tee release.log [2023-09-28T03:35:50.057Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-09-28T03:35:51.019Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-09-28T03:35:52.428Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-09-28T03:35:53.013Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-09-28T03:35:53.977Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-09-28T03:35:54.933Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-09-28T03:35:57.506Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-09-28T03:35:58.910Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-09-28T03:35:58.910Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-09-28T03:35:58.910Z] 294 | while (privateConfig) [2023-09-28T03:35:58.910Z] | ^~~~~~~~~~~~~ [2023-09-28T03:35:58.910Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-09-28T03:35:58.910Z] 271 | while (result) [2023-09-28T03:35:58.910Z] | ^~~~~~ [2023-09-28T03:35:59.180Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-09-28T03:35:59.445Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-09-28T03:36:00.402Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-09-28T03:36:03.740Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-09-28T03:36:04.007Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-09-28T03:36:04.968Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-09-28T03:36:05.928Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-09-28T03:36:06.512Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-09-28T03:36:07.922Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-09-28T03:36:08.190Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-09-28T03:36:10.782Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-09-28T03:36:11.367Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-09-28T03:36:11.952Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-09-28T03:36:13.897Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-09-28T03:36:20.548Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-09-28T03:36:21.131Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-09-28T03:36:21.715Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-09-28T03:36:22.298Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-09-28T03:36:22.566Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-09-28T03:36:24.514Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-09-28T03:36:27.866Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-09-28T03:36:27.866Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-09-28T03:36:29.277Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-09-28T03:36:29.859Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-09-28T03:36:30.448Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-09-28T03:36:30.448Z] /tmp/sdk/src/c/service.c:874:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-09-28T03:36:30.448Z] 874 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); [2023-09-28T03:36:30.448Z] | ^~~~~~~~~~~~~~~~~~~~ [2023-09-28T03:36:30.448Z] /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-09-28T03:36:30.448Z] 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); [2023-09-28T03:36:30.448Z] | ^ [2023-09-28T03:36:32.494Z] /tmp/sdk/src/c/service.c:1030:5: warning: 'deviceservices_config' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-09-28T03:36:32.494Z] 1030 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2023-09-28T03:36:32.494Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-09-28T03:36:33.963Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-09-28T03:36:34.923Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-09-28T03:36:35.508Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-09-28T03:36:36.093Z] [ 68%] Linking C shared library libcsdk.so [2023-09-28T03:36:36.360Z] [ 68%] Built target csdk [2023-09-28T03:36:36.360Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-09-28T03:36:37.323Z] [ 72%] Linking C executable template [2023-09-28T03:36:37.908Z] [ 72%] Built target template [2023-09-28T03:36:37.908Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-09-28T03:36:38.492Z] [ 76%] Linking C executable device-counter [2023-09-28T03:36:38.760Z] [ 76%] Built target device-counter [2023-09-28T03:36:38.760Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-09-28T03:36:39.725Z] [ 80%] Linking C executable device-random [2023-09-28T03:36:39.993Z] [ 80%] Built target device-random [2023-09-28T03:36:39.993Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-09-28T03:36:40.576Z] [ 84%] Linking C executable device-gyro [2023-09-28T03:36:40.843Z] [ 84%] Built target device-gyro [2023-09-28T03:36:40.843Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-09-28T03:36:41.804Z] [ 88%] Linking C executable device-bitfields [2023-09-28T03:36:42.073Z] [ 88%] Built target device-bitfields [2023-09-28T03:36:42.073Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-09-28T03:36:43.034Z] [ 92%] Linking C executable template-discovery [2023-09-28T03:36:43.302Z] [ 92%] Built target template-discovery [2023-09-28T03:36:43.302Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-09-28T03:36:44.262Z] [ 96%] Linking C executable device-file [2023-09-28T03:36:44.847Z] [ 96%] Built target device-file [2023-09-28T03:36:44.847Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-09-28T03:36:45.810Z] [100%] Linking C executable device-terminal [2023-09-28T03:36:46.079Z] [100%] Built target device-terminal [2023-09-28T03:36:46.079Z] Run CPack packaging tool... [2023-09-28T03:36:46.079Z] CPack: Create package using TGZ [2023-09-28T03:36:46.079Z] CPack: Install projects [2023-09-28T03:36:46.079Z] CPack: - Run preinstall target for: Csdk [2023-09-28T03:36:47.046Z] CPack: - Install project: Csdk [] [2023-09-28T03:36:47.046Z] CPack: Create package [2023-09-28T03:36:47.046Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-09-28T03:36:47.046Z] + '[' false '=' true ] [2023-09-28T03:36:47.046Z] + '[' false '=' true ] [2023-09-28T03:36:47.046Z] + mkdir -p /tmp/sdk/build/debug [2023-09-28T03:36:47.046Z] + cd /tmp/sdk/build/debug [2023-09-28T03:36:47.046Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-09-28T03:36:47.315Z] -- The C compiler identification is GNU 11.2.1 [2023-09-28T03:36:47.315Z] -- Detecting C compiler ABI info [2023-09-28T03:36:47.901Z] -- Detecting C compiler ABI info - done [2023-09-28T03:36:47.901Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-09-28T03:36:47.901Z] -- Detecting C compile features [2023-09-28T03:36:47.901Z] -- Detecting C compile features - done [2023-09-28T03:36:47.901Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-09-28T03:36:48.169Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-09-28T03:36:48.169Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-09-28T03:36:48.169Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-09-28T03:36:48.169Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-09-28T03:36:48.169Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-09-28T03:36:48.169Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-09-28T03:36:48.169Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-09-28T03:36:48.169Z] -- /opt/iotech/iot/1.5/include [2023-09-28T03:36:48.169Z] -- C SDK 0.0.0 for Linux [2023-09-28T03:36:48.169Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-09-28T03:36:48.437Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-09-28T03:36:48.707Z] -- Found Curses: /usr/lib/libcurses.so [2023-09-28T03:36:48.975Z] -- Configuring done [2023-09-28T03:36:49.243Z] -- Generating done [2023-09-28T03:36:49.243Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-09-28T03:36:49.243Z] + make [2023-09-28T03:36:49.243Z] + tee debug.log [2023-09-28T03:36:49.243Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-09-28T03:36:49.828Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-09-28T03:36:50.409Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-09-28T03:36:50.678Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-09-28T03:36:51.265Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-09-28T03:36:51.854Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-09-28T03:36:52.817Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-09-28T03:36:53.401Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-09-28T03:36:53.667Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-09-28T03:36:54.251Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-09-28T03:36:55.214Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-09-28T03:36:55.798Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-09-28T03:36:56.381Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-09-28T03:36:56.649Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-09-28T03:36:57.232Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-09-28T03:36:57.818Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-09-28T03:36:58.085Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-09-28T03:36:59.046Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-09-28T03:36:59.313Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-09-28T03:36:59.580Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-09-28T03:37:00.540Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-09-28T03:37:01.948Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-09-28T03:37:02.530Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-09-28T03:37:02.797Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-09-28T03:37:03.380Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-09-28T03:37:03.647Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-09-28T03:37:05.147Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-09-28T03:37:06.637Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-09-28T03:37:06.637Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-09-28T03:37:07.316Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-09-28T03:37:07.912Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-09-28T03:37:08.184Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-09-28T03:37:08.184Z] /tmp/sdk/src/c/service.c:874:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-09-28T03:37:08.184Z] 874 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); [2023-09-28T03:37:08.184Z] | ^~~~~~~~~~~~~~~~~~~~ [2023-09-28T03:37:08.184Z] /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-09-28T03:37:08.184Z] 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); [2023-09-28T03:37:08.184Z] | ^ [2023-09-28T03:37:09.157Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-09-28T03:37:09.753Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-09-28T03:37:10.023Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-09-28T03:37:10.291Z] [ 68%] Linking C shared library libcsdk.so [2023-09-28T03:37:10.558Z] [ 68%] Built target csdk [2023-09-28T03:37:10.825Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-09-28T03:37:11.094Z] [ 72%] Linking C executable template [2023-09-28T03:37:11.360Z] [ 72%] Built target template [2023-09-28T03:37:11.627Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-09-28T03:37:11.896Z] [ 76%] Linking C executable device-counter [2023-09-28T03:37:12.163Z] [ 76%] Built target device-counter [2023-09-28T03:37:12.163Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-09-28T03:37:12.746Z] [ 80%] Linking C executable device-random [2023-09-28T03:37:13.013Z] [ 80%] Built target device-random [2023-09-28T03:37:13.013Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-09-28T03:37:13.279Z] [ 84%] Linking C executable device-gyro [2023-09-28T03:37:13.545Z] [ 84%] Built target device-gyro [2023-09-28T03:37:13.812Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-09-28T03:37:14.078Z] [ 88%] Linking C executable device-bitfields [2023-09-28T03:37:14.345Z] [ 88%] Built target device-bitfields [2023-09-28T03:37:14.345Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-09-28T03:37:14.928Z] [ 92%] Linking C executable template-discovery [2023-09-28T03:37:15.195Z] [ 92%] Built target template-discovery [2023-09-28T03:37:15.195Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-09-28T03:37:15.781Z] [ 96%] Linking C executable device-file [2023-09-28T03:37:16.047Z] [ 96%] Built target device-file [2023-09-28T03:37:16.047Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-09-28T03:37:16.627Z] [100%] Linking C executable device-terminal [2023-09-28T03:37:16.893Z] [100%] Built target device-terminal [2023-09-28T03:37:19.466Z] make: Entering directory '/tmp/sdk/build/release' [2023-09-28T03:37:19.466Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-09-28T03:37:19.466Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-28T03:37:19.466Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-28T03:37:19.466Z] [ 68%] Built target csdk [2023-09-28T03:37:19.466Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-28T03:37:19.466Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-28T03:37:19.732Z] [ 72%] Built target template [2023-09-28T03:37:19.732Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-28T03:37:19.732Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-28T03:37:19.732Z] [ 76%] Built target device-counter [2023-09-28T03:37:19.732Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-28T03:37:19.732Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-28T03:37:19.732Z] [ 80%] Built target device-random [2023-09-28T03:37:19.732Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-28T03:37:19.732Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-28T03:37:19.732Z] [ 84%] Built target device-gyro [2023-09-28T03:37:19.732Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-28T03:37:19.732Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-28T03:37:19.732Z] [ 88%] Built target device-bitfields [2023-09-28T03:37:19.732Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-28T03:37:20.000Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-28T03:37:20.000Z] [ 92%] Built target template-discovery [2023-09-28T03:37:20.000Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-28T03:37:20.000Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-28T03:37:20.000Z] [ 96%] Built target device-file [2023-09-28T03:37:20.000Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-28T03:37:20.000Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-28T03:37:20.000Z] [100%] Built target device-terminal [2023-09-28T03:37:20.000Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-09-28T03:37:20.000Z] Install the project... [2023-09-28T03:37:20.000Z] -- Install configuration: "Release" [2023-09-28T03:37:20.000Z] -- Installing: /usr/local/lib/libcsdk.so [2023-09-28T03:37:20.000Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-09-28T03:37:20.000Z] -- Installing: /usr/local/include [2023-09-28T03:37:20.000Z] -- Installing: /usr/local/include/devsdk [2023-09-28T03:37:20.000Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-09-28T03:37:20.000Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-09-28T03:37:20.000Z] -- Installing: /usr/local/include/edgex [2023-09-28T03:37:20.000Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-09-28T03:37:20.000Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-09-28T03:37:20.000Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-09-28T03:37:20.000Z] -- Installing: /usr/local/include/edgex/devices.h [2023-09-28T03:37:20.000Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-09-28T03:37:20.000Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-09-28T03:37:20.000Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-09-28T03:37:20.000Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-09-28T03:37:20.000Z] make: Leaving directory '/tmp/sdk/build/release' [2023-09-28T03:37:21.409Z] Removing intermediate container 664729b17c78 [2023-09-28T03:37:21.409Z] ---> 2080aa860065 [2023-09-28T03:37:21.409Z] Step 14/21 : FROM ${BASE} [2023-09-28T03:37:21.409Z] ---> 295cd00e64f4 [2023-09-28T03:37:21.409Z] Step 15/21 : LABEL maintainer="IOTech " [2023-09-28T03:37:21.409Z] ---> Running in a1e2ca924af4 [2023-09-28T03:37:21.678Z] Removing intermediate container a1e2ca924af4 [2023-09-28T03:37:21.678Z] ---> 4d57eb6a84a5 [2023-09-28T03:37:21.678Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-09-28T03:37:21.947Z] ---> Running in 3efea10a1099 [2023-09-28T03:37:22.909Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-09-28T03:37:23.176Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-28T03:37:23.176Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-28T03:37:23.176Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-28T03:37:24.138Z] Removing intermediate container 3efea10a1099 [2023-09-28T03:37:24.138Z] ---> 1548ed114dc9 [2023-09-28T03:37:24.138Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-28T03:37:24.138Z] ---> Running in ca65d60c3b42 [2023-09-28T03:37:25.555Z] Removing intermediate container ca65d60c3b42 [2023-09-28T03:37:25.555Z] ---> 1dfa3a310d4a [2023-09-28T03:37:25.555Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-09-28T03:37:25.555Z] ---> Running in 52fa6585ae68 [2023-09-28T03:37:26.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-28T03:37:27.104Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-09-28T03:37:27.370Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-28T03:37:28.328Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-28T03:37:28.328Z] (1/7) Installing curl (8.2.1-r0) [2023-09-28T03:37:28.328Z] (2/7) Installing hiredis (1.0.2-r0) [2023-09-28T03:37:28.328Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-09-28T03:37:28.594Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-09-28T03:37:29.174Z] (5/7) Installing libcbor (0.9.0-r1) [2023-09-28T03:37:29.174Z] (6/7) Installing libuuid (2.38-r1) [2023-09-28T03:37:29.174Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-09-28T03:37:30.134Z] Executing busybox-1.35.0-r17.trigger [2023-09-28T03:37:30.134Z] OK: 281 MiB in 83 packages [2023-09-28T03:37:34.375Z] Removing intermediate container 52fa6585ae68 [2023-09-28T03:37:34.375Z] ---> fb7872b26fb5 [2023-09-28T03:37:34.375Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-09-28T03:37:34.641Z] ---> d12c28f4ad69 [2023-09-28T03:37:34.641Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-09-28T03:37:35.227Z] ---> 3b1cd6dd26d8 [2023-09-28T03:37:35.227Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-09-28T03:37:35.811Z] ---> ee712d0f1ce3 [2023-09-28T03:37:35.811Z] Successfully built ee712d0f1ce3 [2023-09-28T03:37:35.811Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T03:37:36.218Z] + docker inspect -f . ci-base-image-arm64 [2023-09-28T03:37:36.218Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T03:37:36.431Z] prd-ubuntu20.04-docker-arm64-4c-16g-8108 does not seem to be running inside a container [2023-09-28T03:37:36.496Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@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-09-28T03:37:37.693Z] $ docker top ec236c1a78b1a1a96c3b29aa5d4b7e8db43db3f42112f12c8a7505d4c050075a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T03:37:38.534Z] + make test [2023-09-28T03:37:38.534Z] echo "make test" [2023-09-28T03:37:38.534Z] make test [Pipeline] } [2023-09-28T03:37:38.554Z] $ docker stop --time=1 ec236c1a78b1a1a96c3b29aa5d4b7e8db43db3f42112f12c8a7505d4c050075a [2023-09-28T03:37:40.204Z] $ docker rm -f --volumes ec236c1a78b1a1a96c3b29aa5d4b7e8db43db3f42112f12c8a7505d4c050075a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-28T03:37:40.754Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-28T03:37:41.071Z] + ls -al . [2023-09-28T03:37:41.071Z] total 208 [2023-09-28T03:37:41.071Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 03:34 . [2023-09-28T03:37:41.071Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 03:34 .. [2023-09-28T03:37:41.071Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 03:34 .git [2023-09-28T03:37:41.071Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 03:34 .github [2023-09-28T03:37:41.071Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 28 03:34 .gitignore [2023-09-28T03:37:41.071Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 28 03:34 Attribution.txt [2023-09-28T03:37:41.071Z] -rw-rw-r-- 1 jenkins jenkins 9802 Sep 28 03:34 CHANGES [2023-09-28T03:37:41.071Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 28 03:34 Doxyfile [2023-09-28T03:37:41.071Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 03:34 GOVERNANCE.md [2023-09-28T03:37:41.071Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 28 03:34 Jenkinsfile [2023-09-28T03:37:41.071Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 28 03:34 LICENSE [2023-09-28T03:37:41.071Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 28 03:34 Makefile [2023-09-28T03:37:41.071Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 28 03:34 OWNERS.md [2023-09-28T03:37:41.071Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 28 03:34 README.IOT.md [2023-09-28T03:37:41.071Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 28 03:34 README.md [2023-09-28T03:37:41.071Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 28 03:34 README.v3.md [2023-09-28T03:37:41.071Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 03:31 VERSION [2023-09-28T03:37:41.071Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 03:34 docs [2023-09-28T03:37:41.071Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 03:34 include [2023-09-28T03:37:41.071Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 03:34 scripts [2023-09-28T03:37:41.071Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 03:34 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T03:37:41.405Z] + 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=2cf0389c37548dfb4ca15251dd990544dd9abf85 --label arch=arm64 --label version=0.0.0 . [2023-09-28T03:37:41.672Z] Sending build context to Docker daemon 3.036MB [2023-09-28T03:37:41.940Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-09-28T03:37:41.940Z] Step 2/17 : FROM ${BASE} [2023-09-28T03:37:41.940Z] ---> ee712d0f1ce3 [2023-09-28T03:37:41.940Z] Step 3/17 : LABEL maintainer="IOTech " [2023-09-28T03:37:41.940Z] ---> Running in 7b74bc24659d [2023-09-28T03:37:42.210Z] Removing intermediate container 7b74bc24659d [2023-09-28T03:37:42.210Z] ---> 6dfb11a10945 [2023-09-28T03:37:42.210Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-09-28T03:37:42.210Z] ---> Running in f8f7b44c3550 [2023-09-28T03:37:43.169Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-09-28T03:37:43.755Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-28T03:37:43.755Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-28T03:37:43.755Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-28T03:37:44.342Z] Removing intermediate container f8f7b44c3550 [2023-09-28T03:37:44.342Z] ---> e09a0384076a [2023-09-28T03:37:44.342Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-28T03:37:44.610Z] ---> Running in e8c3d9af2a0b [2023-09-28T03:37:46.553Z] Removing intermediate container e8c3d9af2a0b [2023-09-28T03:37:46.553Z] ---> f7162b205d54 [2023-09-28T03:37:46.553Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-09-28T03:37:46.553Z] ---> Running in d7bc7d49015f [2023-09-28T03:37:47.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-28T03:37:47.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-09-28T03:37:48.302Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-28T03:37:49.261Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-28T03:37:49.261Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-28T03:37:49.261Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-28T03:37:49.261Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-09-28T03:37:49.846Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-09-28T03:37:50.115Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-09-28T03:37:50.115Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-09-28T03:37:50.115Z] (7/11) Installing libblkid (2.38-r1) [2023-09-28T03:37:50.115Z] (8/11) Installing libfdisk (2.38-r1) [2023-09-28T03:37:50.115Z] (9/11) Installing libmount (2.38-r1) [2023-09-28T03:37:50.115Z] (10/11) Installing libsmartcols (2.38-r1) [2023-09-28T03:37:50.115Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-09-28T03:37:50.115Z] Executing busybox-1.35.0-r17.trigger [2023-09-28T03:37:50.115Z] OK: 287 MiB in 92 packages [2023-09-28T03:37:51.524Z] Removing intermediate container d7bc7d49015f [2023-09-28T03:37:51.524Z] ---> f52ec7c30f00 [2023-09-28T03:37:51.524Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-09-28T03:37:52.107Z] ---> bc205060a31e [2023-09-28T03:37:52.107Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-09-28T03:37:52.692Z] ---> c936d21ac15d [2023-09-28T03:37:52.692Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-09-28T03:37:53.275Z] ---> 74619f06225d [2023-09-28T03:37:53.275Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-09-28T03:37:53.540Z] ---> 7e7dcf84b013 [2023-09-28T03:37:53.541Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-09-28T03:37:54.123Z] ---> d18efd386dd1 [2023-09-28T03:37:54.123Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-09-28T03:37:54.706Z] ---> 29e8e294705f [2023-09-28T03:37:54.706Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-09-28T03:37:54.706Z] ---> Running in 8db2793a23f8 [2023-09-28T03:37:54.985Z] Removing intermediate container 8db2793a23f8 [2023-09-28T03:37:54.985Z] ---> 850a2a1f5387 [2023-09-28T03:37:54.985Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-09-28T03:37:54.985Z] ---> Running in 96e0de6d78fd [2023-09-28T03:37:55.252Z] Removing intermediate container 96e0de6d78fd [2023-09-28T03:37:55.252Z] ---> 592be30bfe26 [2023-09-28T03:37:55.252Z] Step 15/17 : LABEL arch=arm64 [2023-09-28T03:37:55.519Z] ---> Running in 6636a2c1688d [2023-09-28T03:37:55.785Z] Removing intermediate container 6636a2c1688d [2023-09-28T03:37:55.785Z] ---> 7445abf3e272 [2023-09-28T03:37:55.785Z] Step 16/17 : LABEL git_sha=2cf0389c37548dfb4ca15251dd990544dd9abf85 [2023-09-28T03:37:55.785Z] ---> Running in 70ee6c390efc [2023-09-28T03:37:56.053Z] Removing intermediate container 70ee6c390efc [2023-09-28T03:37:56.053Z] ---> c45c1edd18c7 [2023-09-28T03:37:56.053Z] Step 17/17 : LABEL version=0.0.0 [2023-09-28T03:37:56.053Z] ---> Running in 71acc659d73c [2023-09-28T03:37:56.318Z] Removing intermediate container 71acc659d73c [2023-09-28T03:37:56.318Z] ---> 8afca60beb1e [2023-09-28T03:37:56.318Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-09-28T03:37:56.318Z] Successfully built 8afca60beb1e [2023-09-28T03:37:56.318Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T03:37:56.767Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-28T03:37:56.767Z] [2023-09-28T03:37:56.767Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T03:37:57.103Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-28T03:37:57.103Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-28T03:37:57.103Z] 8998bd30e6a1: Pulling fs layer [2023-09-28T03:37:57.103Z] 04944245beec: Pulling fs layer [2023-09-28T03:37:57.103Z] 699f458cf7ca: Pulling fs layer [2023-09-28T03:37:57.103Z] 765212b225bb: Pulling fs layer [2023-09-28T03:37:57.103Z] f23df028b6ca: Pulling fs layer [2023-09-28T03:37:57.103Z] d65c8cfc05b1: Pulling fs layer [2023-09-28T03:37:57.103Z] 2437ff75d9bd: Pulling fs layer [2023-09-28T03:37:57.103Z] f23df028b6ca: Waiting [2023-09-28T03:37:57.103Z] d65c8cfc05b1: Waiting [2023-09-28T03:37:57.103Z] 2437ff75d9bd: Waiting [2023-09-28T03:37:57.103Z] 765212b225bb: Waiting [2023-09-28T03:37:57.371Z] 04944245beec: Verifying Checksum [2023-09-28T03:37:57.371Z] 04944245beec: Download complete [2023-09-28T03:37:57.371Z] 765212b225bb: Verifying Checksum [2023-09-28T03:37:57.371Z] 765212b225bb: Download complete [2023-09-28T03:37:57.371Z] f23df028b6ca: Verifying Checksum [2023-09-28T03:37:57.371Z] f23df028b6ca: Download complete [2023-09-28T03:37:57.371Z] d65c8cfc05b1: Verifying Checksum [2023-09-28T03:37:57.371Z] d65c8cfc05b1: Download complete [2023-09-28T03:37:57.371Z] 699f458cf7ca: Verifying Checksum [2023-09-28T03:37:57.371Z] 699f458cf7ca: Download complete [2023-09-28T03:37:57.953Z] 8998bd30e6a1: Download complete [2023-09-28T03:38:00.542Z] 2437ff75d9bd: Verifying Checksum [2023-09-28T03:38:00.542Z] 2437ff75d9bd: Download complete [2023-09-28T03:38:01.951Z] 8998bd30e6a1: Pull complete [2023-09-28T03:38:02.219Z] 04944245beec: Pull complete [2023-09-28T03:38:03.621Z] 699f458cf7ca: Pull complete [2023-09-28T03:38:03.887Z] 765212b225bb: Pull complete [2023-09-28T03:38:04.467Z] f23df028b6ca: Pull complete [2023-09-28T03:38:04.733Z] d65c8cfc05b1: Pull complete [2023-09-28T03:38:19.709Z] 2437ff75d9bd: Pull complete [2023-09-28T03:38:19.709Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-28T03:38:19.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-28T03:38:19.709Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T03:38:19.902Z] prd-ubuntu20.04-docker-arm64-4c-16g-8108 does not seem to be running inside a container [2023-09-28T03:38:19.968Z] $ 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/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@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-09-28T03:38:22.430Z] $ docker top 7ccb3c92aec46b3bb54e4e52abf5583bfc8fcf4ac5ebccb1d0df374b0c0c4048 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-28T03:38:22.926Z] ---> job-cost.sh [2023-09-28T03:38:23.191Z] lf-activate-venv: SKIPPING [2023-09-28T03:38:23.191Z] INFO: No Stack... [2023-09-28T03:38:23.457Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-28T03:38:24.411Z] INFO: Archiving Costs [Pipeline] sh [2023-09-28T03:38:25.040Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2023-09-28T03:38:25.040Z] + cut -d, -f6 [Pipeline] lock [2023-09-28T03:38:25.094Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-486-2-stack-cost] [2023-09-28T03:38:25.103Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-486-2-stack-cost] did not exist. Created. [2023-09-28T03:38:25.103Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-486-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-28T03:38:25.434Z] /w/workspace/device-sdk-c/2@tmp/durable-f7b140c3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-28T03:38:25.758Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-28T03:38:25.779Z] Warning: overwriting stash ‘stack-cost’ [2023-09-28T03:38:26.201Z] Stashed 1 file(s) [Pipeline] } [2023-09-28T03:38:26.212Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-486-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-28T03:38:26.233Z] $ docker stop --time=1 7ccb3c92aec46b3bb54e4e52abf5583bfc8fcf4ac5ebccb1d0df374b0c0c4048 [2023-09-28T03:38:27.665Z] $ docker rm -f --volumes 7ccb3c92aec46b3bb54e4e52abf5583bfc8fcf4ac5ebccb1d0df374b0c0c4048 [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-09-28T03:38:28.376Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives ] [2023-09-28T03:38:28.376Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives [2023-09-28T03:38:28.376Z] total 16 [2023-09-28T03:38:28.376Z] drwxr-xr-x 3 root root 4096 Sep 28 03:32 . [2023-09-28T03:38:28.376Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 03:32 .. [2023-09-28T03:38:28.376Z] drwxr-xr-x 2 root root 4096 Sep 28 03:32 cost [2023-09-28T03:38:28.376Z] -rw-r--r-- 1 root root 84 Sep 28 03:32 cost.csv [2023-09-28T03:38:28.376Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives [2023-09-28T03:38:28.376Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives [2023-09-28T03:38:28.376Z] total 16 [2023-09-28T03:38:28.376Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 03:32 . [2023-09-28T03:38:28.376Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 03:32 .. [2023-09-28T03:38:28.376Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 03:32 cost [2023-09-28T03:38:28.376Z] -rw-r--r-- 1 jenkins jenkins 84 Sep 28 03:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-28T03:38:28.672Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T03:38:29.537Z] ---> package-listing.sh [2023-09-28T03:38:29.537Z] ++ facter osfamily [2023-09-28T03:38:29.537Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-28T03:38:29.798Z] + OS_FAMILY=debian [2023-09-28T03:38:29.798Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-486 [2023-09-28T03:38:29.798Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-28T03:38:29.798Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-28T03:38:29.798Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-28T03:38:29.798Z] + PACKAGES=/tmp/packages_start.txt [2023-09-28T03:38:29.798Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-486 ']' [2023-09-28T03:38:29.798Z] + PACKAGES=/tmp/packages_end.txt [2023-09-28T03:38:29.798Z] + case "${OS_FAMILY}" in [2023-09-28T03:38:29.798Z] + dpkg -l [2023-09-28T03:38:29.798Z] + grep '^ii' [2023-09-28T03:38:29.798Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-28T03:38:29.798Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-28T03:38:29.798Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-28T03:38:29.798Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-486 ']' [2023-09-28T03:38:29.798Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives/ [2023-09-28T03:38:29.798Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives/ [Pipeline] echo [2023-09-28T03:38:29.810Z] 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-486/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-28T03:38:30.092Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-28T03:38:30.654Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-28T03:38:30.654Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-28T03:38:30.724Z] prd-ubuntu20.04-docker-8c-8g-8106 does not seem to be running inside a container [2023-09-28T03:38:30.825Z] $ 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-486/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-486 -v /w/workspace/edgexfoundry_device-sdk-c_PR-486:/w/workspace/edgexfoundry_device-sdk-c_PR-486:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-486@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-09-28T03:38:31.006Z] $ docker top 470a4da81ea8fe4168d3b2df56780674aa7359250fd8b55ae336b5515ec9821e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-28T03:38:31.341Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-28T03:38:31.622Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-28T03:38:31.906Z] + ls /var/log/sa-host [2023-09-28T03:38:31.906Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-28T03:38:31.970Z] provisioning config files... [2023-09-28T03:38:31.976Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/config8703334728736571010tmp [Pipeline] { [Pipeline] echo [2023-09-28T03:38:31.991Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T03:38:32.272Z] ---> create-netrc.sh [Pipeline] } [2023-09-28T03:38:32.279Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-28T03:38:32.596Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-28T03:38:32.602Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T03:38:32.884Z] ---> sudo-logs.sh [2023-09-28T03:38:32.884Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-28T03:38:32.918Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T03:38:33.202Z] ---> job-cost.sh [2023-09-28T03:38:33.202Z] lf-activate-venv: SKIPPING [2023-09-28T03:38:33.202Z] DEBUG: total: 0.2199999988079071 [2023-09-28T03:38:33.202Z] INFO: Retrieving Stack Cost... [2023-09-28T03:38:33.462Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-28T03:38:33.722Z] INFO: Archiving Costs [Pipeline] echo [2023-09-28T03:38:33.731Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-28T03:38:34.011Z] ---> logs-deploy.sh [2023-09-28T03:38:34.012Z] lf-activate-venv: SKIPPING [2023-09-28T03:38:34.012Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-486/2 [2023-09-28T03:38:34.012Z] INFO: archiving workspace using pattern(s): [2023-09-28T03:38:34.956Z] Archives upload complete. [2023-09-28T03:38:34.956Z] INFO: archiving logs to Nexus