Pull request #489 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 ernestojeda for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 61fff111debf8d9c38eefbb468de148cb9201ca8+753c0e66273d645c82de476ca0a438ee98891f55 (982af4968f1d5a197f87cc6286fa6b59fe9eba48) 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-ssh16917195828622519523.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-ssh7493522916200437367.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-489/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-489/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6814369565481661189.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-ssh2089602026892662999.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-489/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-489/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh380333425398718198.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-15586’ is offline Running on prd-ubuntu20.04-docker-8c-8g-15589 in /w/workspace/edgexfoundry_device-sdk-c_PR-489 [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-489 # 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 Merging remotes/origin/main commit 753c0e66273d645c82de476ca0a438ee98891f55 into PR head commit 61fff111debf8d9c38eefbb468de148cb9201ca8 Merge succeeded, producing 61fff111debf8d9c38eefbb468de148cb9201ca8 Checking out Revision 61fff111debf8d9c38eefbb468de148cb9201ca8 (PR-489) 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/489/head:refs/remotes/origin/PR-489 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 61fff111debf8d9c38eefbb468de148cb9201ca8 # 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 753c0e66273d645c82de476ca0a438ee98891f55 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 61fff111debf8d9c38eefbb468de148cb9201ca8 # timeout=10 Commit message: "ci: move to alpine 3.18 base" First time build. Skipping changelog. > git rev-list --no-walk 121d3b301208db2cb4347fe4a7f428b283ef2985 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-31T16:44:00.346Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-31T16:44:00.420Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-31T16:44:00.441Z] ========================================================= [2023-10-31T16:44:00.441Z] EdgeX Global Pipelines Version Info [2023-10-31T16:44:00.441Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-31T16:44:01.164Z] ------------------- [2023-10-31T16:44:01.164Z] stable info: [2023-10-31T16:44:01.164Z] ------------------- [2023-10-31T16:44:01.164Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-31T16:44:01.164Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-31T16:44:01.164Z] Message: update stable to v1.0.254 [2023-10-31T16:44:01.733Z] ------------------- [2023-10-31T16:44:01.733Z] experimental info: [2023-10-31T16:44:01.733Z] ------------------- [2023-10-31T16:44:01.733Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-31T16:44:01.733Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-31T16:44:01.733Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-31T16:44:01.919Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-10-31T16:44:01.938Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-10-31T16:44:01.955Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-31T16:44:01.972Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-31T16:44:01.987Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-31T16:44:01.999Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-10-31T16:44:02.013Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-10-31T16:44:02.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-31T16:44:02.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-31T16:44:02.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-10-31T16:44:02.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-31T16:44:02.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-31T16:44:02.116Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-31T16:44:02.135Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-10-31T16:44:02.163Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-31T16:44:02.179Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-31T16:44:02.194Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-31T16:44:02.215Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-489 [Pipeline] echo [2023-10-31T16:44:02.229Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-489 [Pipeline] echo [2023-10-31T16:44:02.249Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-489 [Pipeline] echo [2023-10-31T16:44:02.270Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 61fff111debf8d9c38eefbb468de148cb9201ca8 [Pipeline] echo [2023-10-31T16:44:02.286Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 61fff11 [Pipeline] echo [2023-10-31T16:44:02.301Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-31T16:44:02.357Z] provisioning config files... [2023-10-31T16:44:02.371Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp/config12561190899361761959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T16:44:02.670Z] ---> docker-login.sh [2023-10-31T16:44:02.670Z] nexus3.edgexfoundry.org:10001 [2023-10-31T16:44:02.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T16:44:02.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T16:44:02.935Z] Configure a credential helper to remove this warning. See [2023-10-31T16:44:02.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T16:44:02.935Z] [2023-10-31T16:44:02.935Z] Login Succeeded [2023-10-31T16:44:02.935Z] nexus3.edgexfoundry.org:10002 [2023-10-31T16:44:03.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T16:44:03.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T16:44:03.194Z] Configure a credential helper to remove this warning. See [2023-10-31T16:44:03.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T16:44:03.194Z] [2023-10-31T16:44:03.194Z] Login Succeeded [2023-10-31T16:44:03.194Z] nexus3.edgexfoundry.org:10003 [2023-10-31T16:44:03.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T16:44:03.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T16:44:03.454Z] Configure a credential helper to remove this warning. See [2023-10-31T16:44:03.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T16:44:03.454Z] [2023-10-31T16:44:03.454Z] Login Succeeded [2023-10-31T16:44:03.454Z] nexus3.edgexfoundry.org:10004 [2023-10-31T16:44:03.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T16:44:03.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T16:44:03.454Z] Configure a credential helper to remove this warning. See [2023-10-31T16:44:03.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T16:44:03.454Z] [2023-10-31T16:44:03.454Z] Login Succeeded [2023-10-31T16:44:03.454Z] docker.io [2023-10-31T16:44:03.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T16:44:03.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T16:44:03.975Z] Configure a credential helper to remove this warning. See [2023-10-31T16:44:03.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T16:44:03.975Z] [2023-10-31T16:44:03.975Z] Login Succeeded [2023-10-31T16:44:03.975Z] ---> docker-login.sh ends [Pipeline] } [2023-10-31T16:44:03.982Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2023-10-31T16:44:04.368Z] + git rev-list -1 --merges 61fff111debf8d9c38eefbb468de148cb9201ca8~1..61fff111debf8d9c38eefbb468de148cb9201ca8 [Pipeline] echo [2023-10-31T16:44:04.425Z] -----------> git rev-list -1 --merges 61fff111debf8d9c38eefbb468de148cb9201ca8~1..61fff111debf8d9c38eefbb468de148cb9201ca8 61fff111debf8d9c38eefbb468de148cb9201ca8 [false] [Pipeline] sh [2023-10-31T16:44:04.717Z] + git log --format=format:%s -1 61fff111debf8d9c38eefbb468de148cb9201ca8 [Pipeline] echo [2023-10-31T16:44:04.729Z] ========================================================= [2023-10-31T16:44:04.729Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-31T16:44:04.729Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-31T16:44:05.131Z] + git rev-list -1 --merges 61fff111debf8d9c38eefbb468de148cb9201ca8~1..61fff111debf8d9c38eefbb468de148cb9201ca8 [Pipeline] echo [2023-10-31T16:44:05.149Z] -----------> git rev-list -1 --merges 61fff111debf8d9c38eefbb468de148cb9201ca8~1..61fff111debf8d9c38eefbb468de148cb9201ca8 61fff111debf8d9c38eefbb468de148cb9201ca8 [false] [Pipeline] sh [2023-10-31T16:44:05.446Z] + git log --format=format:%s -1 61fff111debf8d9c38eefbb468de148cb9201ca8 [Pipeline] echo [2023-10-31T16:44:05.462Z] ========================================================= [2023-10-31T16:44:05.462Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-31T16:44:05.462Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-10-31T16:44:05.991Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-31T16:44:05.991Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-31T16:44:05.991Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-31T16:44:05.991Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-31T16:44:05.991Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-31T16:44:05.991Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-31T16:44:05.991Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T16:44:06.445Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-31T16:44:06.445Z] [2023-10-31T16:44:06.445Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T16:44:06.744Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-31T16:44:06.744Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-31T16:44:06.744Z] b85a868b505f: Pulling fs layer [2023-10-31T16:44:06.744Z] e2be974225ed: Pulling fs layer [2023-10-31T16:44:06.744Z] 339a4e72a1f5: Pulling fs layer [2023-10-31T16:44:06.744Z] 988bab9f4d93: Pulling fs layer [2023-10-31T16:44:06.744Z] 1469e6f7b9e6: Pulling fs layer [2023-10-31T16:44:06.744Z] eaf3925da568: Pulling fs layer [2023-10-31T16:44:06.744Z] bab4dde63d76: Pulling fs layer [2023-10-31T16:44:06.744Z] bde34c3a00c8: Pulling fs layer [2023-10-31T16:44:06.744Z] b352a97aabf1: Pulling fs layer [2023-10-31T16:44:06.744Z] 4872d77fe225: Pulling fs layer [2023-10-31T16:44:06.744Z] 5851b861e8e6: Pulling fs layer [2023-10-31T16:44:06.744Z] 1469e6f7b9e6: Waiting [2023-10-31T16:44:06.744Z] eaf3925da568: Waiting [2023-10-31T16:44:06.744Z] bab4dde63d76: Waiting [2023-10-31T16:44:06.744Z] 5851b861e8e6: Waiting [2023-10-31T16:44:06.744Z] 4872d77fe225: Waiting [2023-10-31T16:44:06.744Z] bde34c3a00c8: Waiting [2023-10-31T16:44:06.744Z] b352a97aabf1: Waiting [2023-10-31T16:44:07.004Z] e2be974225ed: Verifying Checksum [2023-10-31T16:44:07.005Z] e2be974225ed: Download complete [2023-10-31T16:44:07.005Z] 988bab9f4d93: Verifying Checksum [2023-10-31T16:44:07.005Z] 988bab9f4d93: Download complete [2023-10-31T16:44:07.005Z] 1469e6f7b9e6: Verifying Checksum [2023-10-31T16:44:07.005Z] 1469e6f7b9e6: Download complete [2023-10-31T16:44:07.005Z] 339a4e72a1f5: Verifying Checksum [2023-10-31T16:44:07.005Z] 339a4e72a1f5: Download complete [2023-10-31T16:44:07.005Z] eaf3925da568: Verifying Checksum [2023-10-31T16:44:07.005Z] eaf3925da568: Download complete [2023-10-31T16:44:07.005Z] bde34c3a00c8: Verifying Checksum [2023-10-31T16:44:07.005Z] bde34c3a00c8: Download complete [2023-10-31T16:44:07.264Z] b85a868b505f: Verifying Checksum [2023-10-31T16:44:07.264Z] b85a868b505f: Download complete [2023-10-31T16:44:07.264Z] b352a97aabf1: Download complete [2023-10-31T16:44:07.264Z] 4872d77fe225: Download complete [2023-10-31T16:44:07.829Z] bab4dde63d76: Verifying Checksum [2023-10-31T16:44:07.829Z] bab4dde63d76: Download complete [2023-10-31T16:44:08.399Z] b85a868b505f: Pull complete [2023-10-31T16:44:08.657Z] e2be974225ed: Pull complete [2023-10-31T16:44:09.225Z] 339a4e72a1f5: Pull complete [2023-10-31T16:44:09.225Z] 988bab9f4d93: Pull complete [2023-10-31T16:44:09.485Z] 1469e6f7b9e6: Pull complete [2023-10-31T16:44:09.743Z] eaf3925da568: Pull complete [2023-10-31T16:44:11.655Z] bab4dde63d76: Pull complete [2023-10-31T16:44:11.655Z] bde34c3a00c8: Pull complete [2023-10-31T16:44:11.655Z] b352a97aabf1: Pull complete [2023-10-31T16:44:11.916Z] 4872d77fe225: Pull complete [2023-10-31T16:44:11.916Z] 5851b861e8e6: Pull complete [2023-10-31T16:44:11.916Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-31T16:44:11.916Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-31T16:44:11.916Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T16:44:12.016Z] prd-ubuntu20.04-docker-8c-8g-15589 does not seem to be running inside a container [2023-10-31T16:44:12.067Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-489 -v /w/workspace/edgexfoundry_device-sdk-c_PR-489:/w/workspace/edgexfoundry_device-sdk-c_PR-489:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-31T16:44:18.485Z] $ docker top 7080cb91d6ed123f3086a8926d377d579420139b116f6a56498123cc72c60e8e -eo pid,comm [2023-10-31T16:44:18.539Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-31T16:44:18.539Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-31T16:44:18.578Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-31T16:44:18.578Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-31T16:44:18.697Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-31T16:44:18.703Z] $ docker exec 7080cb91d6ed123f3086a8926d377d579420139b116f6a56498123cc72c60e8e ssh-agent [2023-10-31T16:44:18.808Z] SSH_AUTH_SOCK=/tmp/ssh-5mk6gCvEUIeI/agent.32 [2023-10-31T16:44:18.808Z] SSH_AGENT_PID=38 [2023-10-31T16:44:18.814Z] Running ssh-add (command line suppressed) [2023-10-31T16:44:18.919Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp/private_key_2881836627184417122.key (/w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp/private_key_2881836627184417122.key) [2023-10-31T16:44:18.933Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-31T16:44:19.229Z] + git tag --points-at HEAD [Pipeline] } [2023-10-31T16:44:19.249Z] $ docker exec --env ******** --env ******** 7080cb91d6ed123f3086a8926d377d579420139b116f6a56498123cc72c60e8e ssh-agent -k [2023-10-31T16:44:19.356Z] unset SSH_AUTH_SOCK; [2023-10-31T16:44:19.356Z] unset SSH_AGENT_PID; [2023-10-31T16:44:19.356Z] echo Agent pid 38 killed; [2023-10-31T16:44:19.361Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-31T16:44:19.389Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-31T16:44:19.389Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-31T16:44:19.515Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-31T16:44:19.521Z] $ docker exec 7080cb91d6ed123f3086a8926d377d579420139b116f6a56498123cc72c60e8e ssh-agent [2023-10-31T16:44:19.641Z] SSH_AUTH_SOCK=/tmp/ssh-HaBXIhfWnU04/agent.70 [2023-10-31T16:44:19.641Z] SSH_AGENT_PID=77 [2023-10-31T16:44:19.645Z] Running ssh-add (command line suppressed) [2023-10-31T16:44:19.756Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp/private_key_5758753755699350957.key (/w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp/private_key_5758753755699350957.key) [2023-10-31T16:44:19.766Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-31T16:44:20.054Z] + git semver init [2023-10-31T16:44:20.313Z] 2023-10-31 16:44:20,294 [run_init] DEBUG init version:0.0.0 force:False [2023-10-31T16:44:20.313Z] 2023-10-31 16:44:20,294 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-489/.semver [2023-10-31T16:44:20.313Z] 2023-10-31 16:44:20,295 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-489/.semver [2023-10-31T16:44:20.313Z] 2023-10-31 16:44:20,295 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-489/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-489, universal_newlines=False, shell=None, istream=None) [2023-10-31T16:44:23.661Z] 2023-10-31 16:44:22,969 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-489/.git/info/exclude [2023-10-31T16:44:23.661Z] 2023-10-31 16:44:22,969 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-489/.semver/PR-489 with force:False [2023-10-31T16:44:23.661Z] 2023-10-31 16:44:22,970 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-489/.semver/PR-489 [2023-10-31T16:44:23.661Z] 2023-10-31 16:44:22,974 [execute] INFO git cat-file --batch-check [2023-10-31T16:44:23.661Z] 2023-10-31 16:44:22,974 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-489/.semver, universal_newlines=False, shell=None, istream=) [2023-10-31T16:44:23.661Z] 2023-10-31 16:44:22,980 [execute] INFO git cat-file --batch [2023-10-31T16:44:23.661Z] 2023-10-31 16:44:22,981 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-489/.semver, universal_newlines=False, shell=None, istream=) [2023-10-31T16:44:23.661Z] 2023-10-31 16:44:22,986 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-489/.semver/PR-489 [2023-10-31T16:44:23.661Z] 0.0.0 [Pipeline] } [2023-10-31T16:44:23.673Z] $ docker exec --env ******** --env ******** 7080cb91d6ed123f3086a8926d377d579420139b116f6a56498123cc72c60e8e ssh-agent -k [2023-10-31T16:44:23.772Z] unset SSH_AUTH_SOCK; [2023-10-31T16:44:23.772Z] unset SSH_AGENT_PID; [2023-10-31T16:44:23.772Z] echo Agent pid 77 killed; [2023-10-31T16:44:23.780Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-31T16:44:24.183Z] + git semver [Pipeline] } [2023-10-31T16:44:24.459Z] $ docker stop --time=1 7080cb91d6ed123f3086a8926d377d579420139b116f6a56498123cc72c60e8e [2023-10-31T16:44:25.759Z] $ docker rm -f --volumes 7080cb91d6ed123f3086a8926d377d579420139b116f6a56498123cc72c60e8e [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-31T16:44:26.175Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-31T16:44:26.607Z] Stashed 1 file(s) [Pipeline] echo [2023-10-31T16:44:26.610Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-31T16:44:26.768Z] provisioning config files... [2023-10-31T16:44:26.778Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp/config15733244723167818714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T16:44:27.084Z] ---> docker-login.sh [2023-10-31T16:44:27.084Z] nexus3.edgexfoundry.org:10001 [2023-10-31T16:44:27.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T16:44:27.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T16:44:27.084Z] Configure a credential helper to remove this warning. See [2023-10-31T16:44:27.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T16:44:27.084Z] [2023-10-31T16:44:27.084Z] Login Succeeded [2023-10-31T16:44:27.084Z] nexus3.edgexfoundry.org:10002 [2023-10-31T16:44:27.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T16:44:27.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T16:44:27.349Z] Configure a credential helper to remove this warning. See [2023-10-31T16:44:27.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T16:44:27.349Z] [2023-10-31T16:44:27.349Z] Login Succeeded [2023-10-31T16:44:27.349Z] nexus3.edgexfoundry.org:10003 [2023-10-31T16:44:27.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T16:44:27.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T16:44:27.611Z] Configure a credential helper to remove this warning. See [2023-10-31T16:44:27.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T16:44:27.611Z] [2023-10-31T16:44:27.611Z] Login Succeeded [2023-10-31T16:44:27.611Z] nexus3.edgexfoundry.org:10004 [2023-10-31T16:44:27.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T16:44:27.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T16:44:27.878Z] Configure a credential helper to remove this warning. See [2023-10-31T16:44:27.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T16:44:27.878Z] [2023-10-31T16:44:27.878Z] Login Succeeded [2023-10-31T16:44:27.878Z] docker.io [2023-10-31T16:44:27.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T16:44:28.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T16:44:28.141Z] Configure a credential helper to remove this warning. See [2023-10-31T16:44:28.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T16:44:28.141Z] [2023-10-31T16:44:28.142Z] Login Succeeded [2023-10-31T16:44:28.142Z] ---> docker-login.sh ends [Pipeline] } [2023-10-31T16:44:28.166Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-31T16:44:28.266Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-31T16:44:28.281Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-10-31T16:44:28.296Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-31T16:44:28.308Z] ========================================================= [2023-10-31T16:44:28.308Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-10-31T16:44:28.308Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T16:44:28.669Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2023-10-31T16:44:28.669Z] Sending build context to Docker daemon 4.93MB [2023-10-31T16:44:28.669Z] Step 1/21 : ARG BASE=alpine:3.18 [2023-10-31T16:44:28.669Z] Step 2/21 : FROM ${BASE} as builder [2023-10-31T16:44:28.953Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-10-31T16:44:28.954Z] 96526aa774ef: Pulling fs layer [2023-10-31T16:44:28.954Z] da60e534fd72: Pulling fs layer [2023-10-31T16:44:28.954Z] 96526aa774ef: Verifying Checksum [2023-10-31T16:44:28.954Z] 96526aa774ef: Download complete [2023-10-31T16:44:29.223Z] 96526aa774ef: Pull complete [2023-10-31T16:44:30.195Z] da60e534fd72: Verifying Checksum [2023-10-31T16:44:30.195Z] da60e534fd72: Download complete [2023-10-31T16:44:33.602Z] da60e534fd72: Pull complete [2023-10-31T16:44:33.602Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2023-10-31T16:44:33.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-10-31T16:44:33.602Z] ---> 6605166a5db4 [2023-10-31T16:44:33.602Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-10-31T16:44:36.935Z] ---> Running in 3ed08a44865e [2023-10-31T16:44:37.205Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-10-31T16:44:37.468Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-31T16:44:37.468Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-31T16:44:37.468Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-31T16:44:38.074Z] Removing intermediate container 3ed08a44865e [2023-10-31T16:44:38.074Z] ---> 6b33cb407e5a [2023-10-31T16:44:38.074Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-10-31T16:44:38.074Z] ---> Running in 9b3f3b1c5a21 [2023-10-31T16:44:38.661Z] Removing intermediate container 9b3f3b1c5a21 [2023-10-31T16:44:38.661Z] ---> 7930d4796283 [2023-10-31T16:44:38.661Z] 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 iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-10-31T16:44:38.661Z] ---> Running in 0a49df869b94 [2023-10-31T16:44:38.930Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-31T16:44:39.200Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-31T16:44:39.200Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-31T16:44:39.780Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-31T16:44:39.780Z] (1/17) Installing hiredis (1.1.0-r2) [2023-10-31T16:44:39.780Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2023-10-31T16:44:39.780Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-31T16:44:40.730Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-31T16:44:40.730Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-31T16:44:40.730Z] (6/17) Installing libcbor (0.10.2-r1) [2023-10-31T16:44:40.730Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2023-10-31T16:44:40.730Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2023-10-31T16:44:40.730Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2023-10-31T16:44:40.730Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2023-10-31T16:44:40.999Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2023-10-31T16:44:40.999Z] (12/17) Installing libblkid (2.38.1-r8) [2023-10-31T16:44:40.999Z] (13/17) Installing libuuid (2.38.1-r8) [2023-10-31T16:44:40.999Z] (14/17) Installing libfdisk (2.38.1-r8) [2023-10-31T16:44:40.999Z] (15/17) Installing libmount (2.38.1-r8) [2023-10-31T16:44:40.999Z] (16/17) Installing libsmartcols (2.38.1-r8) [2023-10-31T16:44:40.999Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2023-10-31T16:44:40.999Z] Executing busybox-1.36.1-r4.trigger [2023-10-31T16:44:40.999Z] OK: 336 MiB in 99 packages [2023-10-31T16:44:41.593Z] Removing intermediate container 0a49df869b94 [2023-10-31T16:44:41.593Z] ---> abbd6b1028a2 [2023-10-31T16:44:41.593Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-10-31T16:44:41.593Z] ---> Running in 08bf60e4dd33 [2023-10-31T16:44:41.723Z] Still waiting to schedule task [2023-10-31T16:44:41.723Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-15587’ is offline [2023-10-31T16:44:42.189Z] Removing intermediate container 08bf60e4dd33 [2023-10-31T16:44:42.189Z] ---> 07cc84c5821f [2023-10-31T16:44:42.189Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-10-31T16:44:42.451Z] ---> 1a25547ec3de [2023-10-31T16:44:42.451Z] Step 8/21 : COPY src /tmp/sdk/src [2023-10-31T16:44:42.451Z] ---> 322a9423500b [2023-10-31T16:44:42.451Z] Step 9/21 : COPY include /tmp/sdk/include [2023-10-31T16:44:42.712Z] ---> 92c38f26b798 [2023-10-31T16:44:42.712Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-10-31T16:44:43.029Z] ---> e73c980ef57f [2023-10-31T16:44:43.029Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-10-31T16:44:43.029Z] ---> 3f4faf87cc0f [2023-10-31T16:44:43.029Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-10-31T16:44:43.029Z] ---> 26aa94a8afc9 [2023-10-31T16:44:43.029Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-10-31T16:44:43.309Z] ---> Running in 941fd60923bb [2023-10-31T16:44:43.583Z] + CPPCHECK=false [2023-10-31T16:44:43.583Z] + DOCGEN=false [2023-10-31T16:44:43.583Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-10-31T16:44:43.583Z] + '[' 0 -gt 0 ] [2023-10-31T16:44:43.583Z] + readlink -f ./scripts/build.sh [2023-10-31T16:44:43.583Z] + dirname /tmp/sdk/scripts/build.sh [2023-10-31T16:44:43.583Z] + dirname /tmp/sdk/scripts [2023-10-31T16:44:43.583Z] + ROOT=/tmp/sdk [2023-10-31T16:44:43.583Z] + cd /tmp/sdk [2023-10-31T16:44:43.583Z] + mkdir -p /tmp/sdk/build/release [2023-10-31T16:44:43.583Z] + cd /tmp/sdk/build/release [2023-10-31T16:44:43.583Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-10-31T16:44:43.583Z] -- The C compiler identification is GNU 12.2.1 [2023-10-31T16:44:43.583Z] -- Detecting C compiler ABI info [2023-10-31T16:44:43.583Z] -- Detecting C compiler ABI info - done [2023-10-31T16:44:43.583Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-31T16:44:43.583Z] -- Detecting C compile features [2023-10-31T16:44:43.583Z] -- Detecting C compile features - done [2023-10-31T16:44:43.583Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-31T16:44:43.852Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-10-31T16:44:43.852Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-31T16:44:43.852Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-31T16:44:43.852Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-31T16:44:43.852Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-31T16:44:43.852Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-31T16:44:43.852Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-31T16:44:43.852Z] -- /opt/iotech/iot/1.5/include [2023-10-31T16:44:43.852Z] -- C SDK 0.0.0 for Linux [2023-10-31T16:44:43.852Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-31T16:44:43.852Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-31T16:44:43.852Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-31T16:44:43.852Z] -- Configuring done (0.5s) [2023-10-31T16:44:43.852Z] -- Generating done (0.0s) [2023-10-31T16:44:43.852Z] -- Build files have been written to: /tmp/sdk/build/release [2023-10-31T16:44:43.852Z] + make all package [2023-10-31T16:44:43.852Z] + tee release.log [2023-10-31T16:44:44.143Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-31T16:44:44.143Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-31T16:44:44.437Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-31T16:44:44.437Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-31T16:44:44.437Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-31T16:44:44.732Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-31T16:44:44.997Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-31T16:44:44.997Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-10-31T16:44:44.997Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2023-10-31T16:44:44.997Z] 294 | while (privateConfig) [2023-10-31T16:44:44.997Z] | ^~~~~~~~~~~~~ [2023-10-31T16:44:44.997Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2023-10-31T16:44:44.997Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2023-10-31T16:44:44.997Z] | ^~~~~~~~~~~~~ [2023-10-31T16:44:44.997Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2023-10-31T16:44:44.997Z] 271 | while (result) [2023-10-31T16:44:44.997Z] | ^~~~~~ [2023-10-31T16:44:44.997Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2023-10-31T16:44:44.997Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2023-10-31T16:44:44.997Z] | ^~~~~~ [2023-10-31T16:44:44.997Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-31T16:44:45.287Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-31T16:44:45.287Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-31T16:44:45.592Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-31T16:44:45.592Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-31T16:44:45.901Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-31T16:44:45.901Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-31T16:44:46.256Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-31T16:44:46.256Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-31T16:44:46.256Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-31T16:44:46.566Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-31T16:44:46.566Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-31T16:44:46.862Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-31T16:44:47.146Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-31T16:44:48.123Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-31T16:44:48.123Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-31T16:44:48.421Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-31T16:44:48.421Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-31T16:44:48.421Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-31T16:44:48.694Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-31T16:44:48.969Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-31T16:44:49.253Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-31T16:44:49.253Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-31T16:44:49.253Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-31T16:44:49.542Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-10-31T16:44:49.542Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-31T16:44:49.542Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-10-31T16:44:49.542Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-10-31T16:44:49.542Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-31T16:44:49.542Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-10-31T16:44:49.542Z] | ^ [2023-10-31T16:44:49.542Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2023-10-31T16:44:49.542Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2023-10-31T16:44:49.542Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-10-31T16:44:49.542Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2023-10-31T16:44:49.542Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2023-10-31T16:44:49.542Z] | ^~~~~~~~~~~~~~~~~~~~~ [2023-10-31T16:44:49.811Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-31T16:44:49.811Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-31T16:44:50.091Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-31T16:44:50.091Z] [ 68%] Linking C shared library libcsdk.so [2023-10-31T16:44:50.091Z] [ 68%] Built target csdk [2023-10-31T16:44:50.091Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-31T16:44:50.384Z] [ 72%] Linking C executable template [2023-10-31T16:44:50.384Z] [ 72%] Built target template [2023-10-31T16:44:50.384Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-31T16:44:50.384Z] [ 76%] Linking C executable device-counter [2023-10-31T16:44:50.384Z] [ 76%] Built target device-counter [2023-10-31T16:44:50.679Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-31T16:44:50.679Z] [ 80%] Linking C executable device-random [2023-10-31T16:44:50.679Z] [ 80%] Built target device-random [2023-10-31T16:44:50.679Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-31T16:44:50.679Z] [ 84%] Linking C executable device-gyro [2023-10-31T16:44:50.984Z] [ 84%] Built target device-gyro [2023-10-31T16:44:50.984Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-31T16:44:50.984Z] [ 88%] Linking C executable device-bitfields [2023-10-31T16:44:50.984Z] [ 88%] Built target device-bitfields [2023-10-31T16:44:50.984Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-31T16:44:51.249Z] [ 92%] Linking C executable template-discovery [2023-10-31T16:44:51.249Z] [ 92%] Built target template-discovery [2023-10-31T16:44:51.249Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-31T16:44:51.529Z] [ 96%] Linking C executable device-file [2023-10-31T16:44:51.529Z] [ 96%] Built target device-file [2023-10-31T16:44:51.529Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-31T16:44:51.529Z] [100%] Linking C executable device-terminal [2023-10-31T16:44:51.799Z] [100%] Built target device-terminal [2023-10-31T16:44:51.799Z] Run CPack packaging tool... [2023-10-31T16:44:51.799Z] CPack: Create package using TGZ [2023-10-31T16:44:51.799Z] CPack: Install projects [2023-10-31T16:44:51.799Z] CPack: - Run preinstall target for: Csdk [2023-10-31T16:44:52.094Z] CPack: - Install project: Csdk [] [2023-10-31T16:44:52.094Z] CPack: Create package [2023-10-31T16:44:52.094Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-10-31T16:44:52.094Z] + '[' false '=' true ] [2023-10-31T16:44:52.094Z] + '[' false '=' true ] [2023-10-31T16:44:52.094Z] + mkdir -p /tmp/sdk/build/debug [2023-10-31T16:44:52.094Z] + cd /tmp/sdk/build/debug [2023-10-31T16:44:52.094Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-10-31T16:44:52.094Z] -- The C compiler identification is GNU 12.2.1 [2023-10-31T16:44:52.094Z] -- Detecting C compiler ABI info [2023-10-31T16:44:52.094Z] -- Detecting C compiler ABI info - done [2023-10-31T16:44:52.367Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-31T16:44:52.367Z] -- Detecting C compile features [2023-10-31T16:44:52.367Z] -- Detecting C compile features - done [2023-10-31T16:44:52.367Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-31T16:44:52.367Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-10-31T16:44:52.367Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-31T16:44:52.367Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-31T16:44:52.367Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-31T16:44:52.367Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-31T16:44:52.367Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-31T16:44:52.367Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-31T16:44:52.367Z] -- /opt/iotech/iot/1.5/include [2023-10-31T16:44:52.367Z] -- C SDK 0.0.0 for Linux [2023-10-31T16:44:52.367Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-31T16:44:52.367Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-31T16:44:52.367Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-31T16:44:52.367Z] -- Configuring done (0.4s) [2023-10-31T16:44:52.659Z] -- Generating done (0.0s) [2023-10-31T16:44:52.659Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-10-31T16:44:52.659Z] + make [2023-10-31T16:44:52.659Z] + tee debug.log [2023-10-31T16:44:52.659Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-31T16:44:52.659Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-31T16:44:52.659Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-31T16:44:52.948Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-31T16:44:52.948Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-31T16:44:52.948Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-31T16:44:52.948Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-31T16:44:53.226Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-31T16:44:53.226Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-31T16:44:53.226Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-31T16:44:53.494Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-31T16:44:53.494Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-31T16:44:53.494Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-31T16:44:53.494Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-31T16:44:53.768Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-31T16:44:53.768Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-31T16:44:53.768Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-31T16:44:54.039Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-31T16:44:54.039Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-31T16:44:54.039Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-31T16:44:54.039Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-31T16:44:54.305Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-31T16:44:54.305Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-31T16:44:54.573Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-31T16:44:54.573Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-31T16:44:54.573Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-31T16:44:54.573Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-31T16:44:54.844Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-31T16:44:54.844Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-31T16:44:55.125Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-31T16:44:55.125Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-31T16:44:55.125Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-10-31T16:44:55.125Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-31T16:44:55.125Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-10-31T16:44:55.125Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-10-31T16:44:55.125Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-31T16:44:55.125Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-10-31T16:44:55.125Z] | ^ [2023-10-31T16:44:55.125Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-31T16:44:55.399Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-31T16:44:55.399Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-31T16:44:55.399Z] [ 68%] Linking C shared library libcsdk.so [2023-10-31T16:44:55.399Z] [ 68%] Built target csdk [2023-10-31T16:44:55.399Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-31T16:44:55.686Z] [ 72%] Linking C executable template [2023-10-31T16:44:55.686Z] [ 72%] Built target template [2023-10-31T16:44:55.686Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-31T16:44:55.686Z] [ 76%] Linking C executable device-counter [2023-10-31T16:44:55.686Z] [ 76%] Built target device-counter [2023-10-31T16:44:55.686Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-31T16:44:55.950Z] [ 80%] Linking C executable device-random [2023-10-31T16:44:55.950Z] [ 80%] Built target device-random [2023-10-31T16:44:55.950Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-31T16:44:55.950Z] [ 84%] Linking C executable device-gyro [2023-10-31T16:44:55.950Z] [ 84%] Built target device-gyro [2023-10-31T16:44:56.211Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-31T16:44:56.211Z] [ 88%] Linking C executable device-bitfields [2023-10-31T16:44:56.211Z] [ 88%] Built target device-bitfields [2023-10-31T16:44:56.211Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-31T16:44:56.211Z] [ 92%] Linking C executable template-discovery [2023-10-31T16:44:56.478Z] [ 92%] Built target template-discovery [2023-10-31T16:44:56.478Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-31T16:44:56.478Z] [ 96%] Linking C executable device-file [2023-10-31T16:44:56.478Z] [ 96%] Built target device-file [2023-10-31T16:44:56.478Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-31T16:44:56.764Z] [100%] Linking C executable device-terminal [2023-10-31T16:44:56.764Z] [100%] Built target device-terminal [2023-10-31T16:44:56.764Z] make: Entering directory '/tmp/sdk/build/release' [2023-10-31T16:44:56.764Z] [ 68%] Built target csdk [2023-10-31T16:44:56.764Z] [ 72%] Built target template [2023-10-31T16:44:56.764Z] [ 76%] Built target device-counter [2023-10-31T16:44:56.764Z] [ 80%] Built target device-random [2023-10-31T16:44:57.082Z] [ 84%] Built target device-gyro [2023-10-31T16:44:57.082Z] [ 88%] Built target device-bitfields [2023-10-31T16:44:57.082Z] [ 92%] Built target template-discovery [2023-10-31T16:44:57.082Z] [ 96%] Built target device-file [2023-10-31T16:44:57.082Z] [100%] Built target device-terminal [2023-10-31T16:44:57.082Z] Install the project... [2023-10-31T16:44:57.082Z] -- Install configuration: "Release" [2023-10-31T16:44:57.082Z] -- Installing: /usr/local/lib/libcsdk.so [2023-10-31T16:44:57.082Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-10-31T16:44:57.082Z] -- Installing: /usr/local/include [2023-10-31T16:44:57.082Z] -- Installing: /usr/local/include/devsdk [2023-10-31T16:44:57.082Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-10-31T16:44:57.082Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-10-31T16:44:57.082Z] -- Installing: /usr/local/include/edgex [2023-10-31T16:44:57.082Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-10-31T16:44:57.082Z] -- Installing: /usr/local/include/edgex/devices.h [2023-10-31T16:44:57.082Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-10-31T16:44:57.082Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-10-31T16:44:57.082Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-10-31T16:44:57.082Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-10-31T16:44:57.082Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-10-31T16:44:57.082Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-10-31T16:44:57.082Z] make: Leaving directory '/tmp/sdk/build/release' [2023-10-31T16:44:57.692Z] Removing intermediate container 941fd60923bb [2023-10-31T16:44:57.692Z] ---> c40aadf7d73c [2023-10-31T16:44:57.692Z] Step 14/21 : FROM ${BASE} [2023-10-31T16:44:57.692Z] ---> 6605166a5db4 [2023-10-31T16:44:57.692Z] Step 15/21 : LABEL maintainer="IOTech " [2023-10-31T16:44:57.982Z] ---> Running in 1772a9881ed8 [2023-10-31T16:44:57.982Z] Removing intermediate container 1772a9881ed8 [2023-10-31T16:44:57.982Z] ---> a43e757b1058 [2023-10-31T16:44:57.982Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-10-31T16:44:57.982Z] ---> Running in 9c6be6cddfc4 [2023-10-31T16:44:58.253Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-10-31T16:44:58.858Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-31T16:44:58.858Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-31T16:44:58.858Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-31T16:44:58.858Z] Removing intermediate container 9c6be6cddfc4 [2023-10-31T16:44:58.858Z] ---> b5d6f12ad1cc [2023-10-31T16:44:58.858Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-10-31T16:44:58.858Z] ---> Running in 679cb36d7367 [2023-10-31T16:44:59.485Z] Removing intermediate container 679cb36d7367 [2023-10-31T16:44:59.485Z] ---> 0c55b8152c26 [2023-10-31T16:44:59.485Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev [2023-10-31T16:44:59.485Z] ---> Running in fb438cf9f89e [2023-10-31T16:44:59.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-31T16:45:00.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-31T16:45:00.031Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-31T16:45:00.619Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-31T16:45:00.619Z] (1/7) Installing curl (8.4.0-r0) [2023-10-31T16:45:00.619Z] (2/7) Installing hiredis (1.1.0-r2) [2023-10-31T16:45:00.619Z] (3/7) Installing hiredis-dev (1.1.0-r2) [2023-10-31T16:45:00.619Z] (4/7) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-31T16:45:01.219Z] (5/7) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-31T16:45:01.504Z] (6/7) Installing libcbor (0.10.2-r1) [2023-10-31T16:45:01.505Z] (7/7) Installing libuuid (2.38.1-r8) [2023-10-31T16:45:01.505Z] Executing busybox-1.36.1-r4.trigger [2023-10-31T16:45:01.505Z] OK: 331 MiB in 89 packages [2023-10-31T16:45:01.817Z] Removing intermediate container fb438cf9f89e [2023-10-31T16:45:01.817Z] ---> afd197e2095f [2023-10-31T16:45:01.817Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-10-31T16:45:02.076Z] ---> 2da8fbc5cdd2 [2023-10-31T16:45:02.076Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-10-31T16:45:02.341Z] ---> 6003a32eabe1 [2023-10-31T16:45:02.341Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-10-31T16:45:02.341Z] ---> 56fcbe3351a7 [2023-10-31T16:45:02.341Z] Successfully built 56fcbe3351a7 [2023-10-31T16:45:02.341Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T16:45:02.792Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-31T16:45:02.793Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T16:45:02.901Z] prd-ubuntu20.04-docker-8c-8g-15589 does not seem to be running inside a container [2023-10-31T16:45:02.970Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-489 -v /w/workspace/edgexfoundry_device-sdk-c_PR-489:/w/workspace/edgexfoundry_device-sdk-c_PR-489:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-31T16:45:03.345Z] $ docker top c7f2594c61f6e9e2bf79df7072039cf668e81908f949aec378a420cad360ef7d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T16:45:03.768Z] + make test [2023-10-31T16:45:03.768Z] echo "make test" [2023-10-31T16:45:03.768Z] make test [Pipeline] } [2023-10-31T16:45:03.814Z] $ docker stop --time=1 c7f2594c61f6e9e2bf79df7072039cf668e81908f949aec378a420cad360ef7d [2023-10-31T16:45:05.134Z] $ docker rm -f --volumes c7f2594c61f6e9e2bf79df7072039cf668e81908f949aec378a420cad360ef7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-31T16:45:06.092Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-31T16:45:06.434Z] + ls -al . [2023-10-31T16:45:06.434Z] total 212 [2023-10-31T16:45:06.434Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 31 16:44 . [2023-10-31T16:45:06.434Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 16:43 .. [2023-10-31T16:45:06.434Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 16:44 .git [2023-10-31T16:45:06.434Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 16:43 .github [2023-10-31T16:45:06.434Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 31 16:43 .gitignore [2023-10-31T16:45:06.434Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 16:44 .semver [2023-10-31T16:45:06.434Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 31 16:43 Attribution.txt [2023-10-31T16:45:06.434Z] -rw-rw-r-- 1 jenkins jenkins 9802 Oct 31 16:43 CHANGES [2023-10-31T16:45:06.434Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 31 16:43 Doxyfile [2023-10-31T16:45:06.434Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 16:43 GOVERNANCE.md [2023-10-31T16:45:06.434Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 31 16:43 Jenkinsfile [2023-10-31T16:45:06.434Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 31 16:43 LICENSE [2023-10-31T16:45:06.434Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 31 16:43 Makefile [2023-10-31T16:45:06.434Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 31 16:43 OWNERS.md [2023-10-31T16:45:06.434Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 31 16:43 README.IOT.md [2023-10-31T16:45:06.434Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 31 16:43 README.md [2023-10-31T16:45:06.434Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 31 16:43 README.v3.md [2023-10-31T16:45:06.434Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 31 16:44 VERSION [2023-10-31T16:45:06.434Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 16:43 docs [2023-10-31T16:45:06.434Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 16:43 include [2023-10-31T16:45:06.434Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 16:43 scripts [2023-10-31T16:45:06.434Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 16:43 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T16:45:06.797Z] + 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=61fff111debf8d9c38eefbb468de148cb9201ca8 --label arch=amd64 --label version=0.0.0 . [2023-10-31T16:45:06.797Z] Sending build context to Docker daemon 4.93MB [2023-10-31T16:45:06.797Z] Step 1/17 : ARG BASE=alpine:3.18 [2023-10-31T16:45:06.797Z] Step 2/17 : FROM ${BASE} [2023-10-31T16:45:06.797Z] ---> 56fcbe3351a7 [2023-10-31T16:45:06.797Z] Step 3/17 : LABEL maintainer="IOTech " [2023-10-31T16:45:06.797Z] ---> Running in 8cde81137cdb [2023-10-31T16:45:06.797Z] Removing intermediate container 8cde81137cdb [2023-10-31T16:45:06.797Z] ---> 68529ba8734f [2023-10-31T16:45:06.797Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-10-31T16:45:06.797Z] ---> Running in 4b3a7130d7e8 [2023-10-31T16:45:07.064Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-10-31T16:45:07.704Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-31T16:45:07.704Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-31T16:45:07.704Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-31T16:45:07.978Z] Removing intermediate container 4b3a7130d7e8 [2023-10-31T16:45:07.978Z] ---> 0663249b7d1d [2023-10-31T16:45:07.978Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-10-31T16:45:07.978Z] ---> Running in 5f4bc398f4e2 [2023-10-31T16:45:08.947Z] Removing intermediate container 5f4bc398f4e2 [2023-10-31T16:45:08.947Z] ---> b85246ab4738 [2023-10-31T16:45:08.947Z] 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 iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-10-31T16:45:08.947Z] ---> Running in 7262ff5b4595 [2023-10-31T16:45:09.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-31T16:45:09.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-31T16:45:09.221Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-31T16:45:09.827Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-31T16:45:09.827Z] (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-31T16:45:10.107Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2023-10-31T16:45:10.107Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2023-10-31T16:45:10.107Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2023-10-31T16:45:10.107Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2023-10-31T16:45:10.107Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2023-10-31T16:45:10.107Z] (7/11) Installing libblkid (2.38.1-r8) [2023-10-31T16:45:10.107Z] (8/11) Installing libfdisk (2.38.1-r8) [2023-10-31T16:45:10.107Z] (9/11) Installing libmount (2.38.1-r8) [2023-10-31T16:45:10.107Z] (10/11) Installing libsmartcols (2.38.1-r8) [2023-10-31T16:45:10.107Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2023-10-31T16:45:10.107Z] Executing busybox-1.36.1-r4.trigger [2023-10-31T16:45:10.107Z] OK: 336 MiB in 100 packages [2023-10-31T16:45:10.694Z] Removing intermediate container 7262ff5b4595 [2023-10-31T16:45:10.694Z] ---> 4a8a3898fa21 [2023-10-31T16:45:10.694Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-10-31T16:45:10.694Z] ---> 5299e8493b58 [2023-10-31T16:45:10.694Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-10-31T16:45:10.976Z] ---> 3d666e45c3b6 [2023-10-31T16:45:10.976Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-10-31T16:45:11.235Z] ---> cd7512f9d307 [2023-10-31T16:45:11.235Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-10-31T16:45:11.235Z] ---> 117309d39129 [2023-10-31T16:45:11.235Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-10-31T16:45:11.506Z] ---> 24d55ee17bd0 [2023-10-31T16:45:11.506Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-10-31T16:45:11.506Z] ---> 517a1ec94523 [2023-10-31T16:45:11.506Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-10-31T16:45:11.506Z] ---> Running in 1d3ea1f4db8b [2023-10-31T16:45:11.506Z] Removing intermediate container 1d3ea1f4db8b [2023-10-31T16:45:11.506Z] ---> 14594f08c27c [2023-10-31T16:45:11.506Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-10-31T16:45:11.506Z] ---> Running in f7ed2ce794d6 [2023-10-31T16:45:11.774Z] Removing intermediate container f7ed2ce794d6 [2023-10-31T16:45:11.774Z] ---> c4a386fd217e [2023-10-31T16:45:11.774Z] Step 15/17 : LABEL arch=amd64 [2023-10-31T16:45:11.774Z] ---> Running in 641bcc577ef4 [2023-10-31T16:45:11.774Z] Removing intermediate container 641bcc577ef4 [2023-10-31T16:45:11.774Z] ---> 1ff50328181e [2023-10-31T16:45:11.774Z] Step 16/17 : LABEL git_sha=61fff111debf8d9c38eefbb468de148cb9201ca8 [2023-10-31T16:45:11.774Z] ---> Running in 7ecd4bda7111 [2023-10-31T16:45:12.046Z] Removing intermediate container 7ecd4bda7111 [2023-10-31T16:45:12.046Z] ---> 467ff308b8cc [2023-10-31T16:45:12.046Z] Step 17/17 : LABEL version=0.0.0 [2023-10-31T16:45:12.046Z] ---> Running in 6cc76fe31992 [2023-10-31T16:45:12.046Z] Removing intermediate container 6cc76fe31992 [2023-10-31T16:45:12.046Z] ---> 6a07df406c31 [2023-10-31T16:45:12.046Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-10-31T16:45:12.046Z] Successfully built 6a07df406c31 [2023-10-31T16:45:12.306Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T16:45:12.894Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-31T16:45:12.895Z] [2023-10-31T16:45:12.895Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T16:45:13.225Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-31T16:45:13.225Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-31T16:45:13.225Z] 5eb5b503b376: Pulling fs layer [2023-10-31T16:45:13.225Z] 5c69ac0246d0: Pulling fs layer [2023-10-31T16:45:13.225Z] ec43610c2a17: Pulling fs layer [2023-10-31T16:45:13.225Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-31T16:45:13.225Z] 33b1e0a273af: Pulling fs layer [2023-10-31T16:45:13.225Z] 5d3b04190fa2: Pulling fs layer [2023-10-31T16:45:13.225Z] 2f39f015ded8: Pulling fs layer [2023-10-31T16:45:13.225Z] 3a2ae6a8a46f: Waiting [2023-10-31T16:45:13.225Z] 33b1e0a273af: Waiting [2023-10-31T16:45:13.225Z] 5d3b04190fa2: Waiting [2023-10-31T16:45:13.225Z] 2f39f015ded8: Waiting [2023-10-31T16:45:13.487Z] 5c69ac0246d0: Download complete [2023-10-31T16:45:13.487Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-31T16:45:13.487Z] ec43610c2a17: Verifying Checksum [2023-10-31T16:45:13.487Z] ec43610c2a17: Download complete [2023-10-31T16:45:13.487Z] 5d3b04190fa2: Download complete [2023-10-31T16:45:13.747Z] 33b1e0a273af: Verifying Checksum [2023-10-31T16:45:13.747Z] 33b1e0a273af: Download complete [2023-10-31T16:45:13.747Z] 5eb5b503b376: Verifying Checksum [2023-10-31T16:45:13.747Z] 5eb5b503b376: Download complete [2023-10-31T16:45:14.710Z] 2f39f015ded8: Download complete [2023-10-31T16:45:14.980Z] 5eb5b503b376: Pull complete [2023-10-31T16:45:15.253Z] 5c69ac0246d0: Pull complete [2023-10-31T16:45:15.840Z] ec43610c2a17: Pull complete [2023-10-31T16:45:15.840Z] 3a2ae6a8a46f: Pull complete [2023-10-31T16:45:16.105Z] 33b1e0a273af: Pull complete [2023-10-31T16:45:16.105Z] 5d3b04190fa2: Pull complete [2023-10-31T16:45:20.319Z] 2f39f015ded8: Pull complete [2023-10-31T16:45:20.319Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-31T16:45:20.319Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-31T16:45:20.319Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T16:45:20.445Z] prd-ubuntu20.04-docker-8c-8g-15589 does not seem to be running inside a container [2023-10-31T16:45:20.496Z] $ 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-489 -v /w/workspace/edgexfoundry_device-sdk-c_PR-489:/w/workspace/edgexfoundry_device-sdk-c_PR-489:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-31T16:45:28.503Z] $ docker top 00d809508d728d8a0b19834c00e92d4702b83ae1f2ce8963e6b5bcd98de84fdf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T16:45:29.038Z] ---> job-cost.sh [2023-10-31T16:45:29.038Z] lf-activate-venv: SKIPPING [2023-10-31T16:45:29.038Z] INFO: No Stack... [2023-10-31T16:45:29.298Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-31T16:45:29.562Z] INFO: Archiving Costs [Pipeline] sh [2023-10-31T16:45:29.865Z] + + cat /w/workspace/edgexfoundry_device-sdk-c_PR-489/archives/cost.csv [2023-10-31T16:45:29.865Z] cut -d, -f6 [Pipeline] lock [2023-10-31T16:45:29.897Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-489-4-stack-cost] [2023-10-31T16:45:29.907Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-489-4-stack-cost] did not exist. Created. [2023-10-31T16:45:29.907Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-489-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-31T16:45:30.289Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-31T16:45:30.342Z] Stashed 1 file(s) [Pipeline] } [2023-10-31T16:45:30.361Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-489-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-31T16:45:30.392Z] $ docker stop --time=1 00d809508d728d8a0b19834c00e92d4702b83ae1f2ce8963e6b5bcd98de84fdf [2023-10-31T16:45:31.560Z] $ docker rm -f --volumes 00d809508d728d8a0b19834c00e92d4702b83ae1f2ce8963e6b5bcd98de84fdf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-31T16:46:34.944Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15591 in /w/workspace/edgexfoundry_device-sdk-c_PR-489 [Pipeline] { [Pipeline] ws [2023-10-31T16:46:34.958Z] Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout [2023-10-31T16:46:34.993Z] Selected Git installation does not exist. Using Default [2023-10-31T16:46:34.993Z] The recommended git tool is: NONE [2023-10-31T16:46:41.162Z] using credential edgex-jenkins-ssh [2023-10-31T16:46:41.177Z] Cloning the remote Git repository [2023-10-31T16:46:41.226Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-10-31T16:46:41.328Z] > git init /w/workspace/device-sdk-c/4 # timeout=10 [2023-10-31T16:46:41.476Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-10-31T16:46:41.477Z] > git --version # timeout=10 [2023-10-31T16:46:41.500Z] > git --version # 'git version 2.25.1' [2023-10-31T16:46:41.503Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-31T16:46:41.675Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-31T16:46:42.755Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-10-31T16:46:42.776Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-31T16:46:43.706Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-10-31T16:46:43.751Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-10-31T16:46:43.752Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-31T16:46:43.767Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/489/head:refs/remotes/origin/PR-489 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-31T16:46:44.385Z] Merging remotes/origin/main commit 753c0e66273d645c82de476ca0a438ee98891f55 into PR head commit 61fff111debf8d9c38eefbb468de148cb9201ca8 [2023-10-31T16:46:44.714Z] Merge succeeded, producing 61fff111debf8d9c38eefbb468de148cb9201ca8 [2023-10-31T16:46:44.714Z] Checking out Revision 61fff111debf8d9c38eefbb468de148cb9201ca8 (PR-489) [2023-10-31T16:46:44.407Z] > git config core.sparsecheckout # timeout=10 [2023-10-31T16:46:44.487Z] > git checkout -f 61fff111debf8d9c38eefbb468de148cb9201ca8 # timeout=10 [2023-10-31T16:46:44.619Z] > git remote # timeout=10 [2023-10-31T16:46:44.645Z] > git config --get remote.origin.url # timeout=10 [2023-10-31T16:46:44.664Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-31T16:46:44.677Z] > git merge 753c0e66273d645c82de476ca0a438ee98891f55 # timeout=10 [2023-10-31T16:46:44.700Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-31T16:46:44.722Z] > git config core.sparsecheckout # timeout=10 [2023-10-31T16:46:44.736Z] > git checkout -f 61fff111debf8d9c38eefbb468de148cb9201ca8 # timeout=10 [2023-10-31T16:46:48.231Z] Commit message: "ci: move to alpine 3.18 base" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-31T16:46:49.169Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-31T16:46:49.169Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-31T16:46:49.169Z] Dload Upload Total Spent Left Speed [2023-10-31T16:46:49.169Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-10-31T16:46:49.879Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-31T16:46:50.209Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-31T16:46:50.209Z] + sudo tee /etc/docker/daemon.new [2023-10-31T16:46:50.209Z] { [2023-10-31T16:46:50.209Z] "registry-mirrors": [ [2023-10-31T16:46:50.209Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-31T16:46:50.209Z] ], [2023-10-31T16:46:50.209Z] "bip": "10.250.0.254/24", [2023-10-31T16:46:50.209Z] "hosts": [ [2023-10-31T16:46:50.209Z] "tcp://0.0.0.0:5555", [2023-10-31T16:46:50.209Z] "unix:///var/run/docker.sock" [2023-10-31T16:46:50.209Z] ], [2023-10-31T16:46:50.209Z] "mtu": 1458, [2023-10-31T16:46:50.209Z] "selinux-enabled": true, [2023-10-31T16:46:50.209Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-31T16:46:50.209Z] } [Pipeline] sh [2023-10-31T16:46:50.540Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-31T16:46:50.870Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-31T16:47:12.999Z] provisioning config files... [2023-10-31T16:47:13.026Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config11089055779994353588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T16:47:13.395Z] ---> docker-login.sh [2023-10-31T16:47:13.396Z] nexus3.edgexfoundry.org:10001 [2023-10-31T16:47:13.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T16:47:14.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T16:47:14.269Z] Configure a credential helper to remove this warning. See [2023-10-31T16:47:14.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T16:47:14.269Z] [2023-10-31T16:47:14.269Z] Login Succeeded [2023-10-31T16:47:14.269Z] nexus3.edgexfoundry.org:10002 [2023-10-31T16:47:14.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T16:47:14.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T16:47:14.541Z] Configure a credential helper to remove this warning. See [2023-10-31T16:47:14.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T16:47:14.541Z] [2023-10-31T16:47:14.541Z] Login Succeeded [2023-10-31T16:47:14.541Z] nexus3.edgexfoundry.org:10003 [2023-10-31T16:47:14.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T16:47:15.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T16:47:15.089Z] Configure a credential helper to remove this warning. See [2023-10-31T16:47:15.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T16:47:15.089Z] [2023-10-31T16:47:15.089Z] Login Succeeded [2023-10-31T16:47:15.089Z] nexus3.edgexfoundry.org:10004 [2023-10-31T16:47:15.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T16:47:15.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T16:47:15.360Z] Configure a credential helper to remove this warning. See [2023-10-31T16:47:15.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T16:47:15.360Z] [2023-10-31T16:47:15.360Z] Login Succeeded [2023-10-31T16:47:15.360Z] docker.io [2023-10-31T16:47:15.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T16:47:15.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T16:47:15.906Z] Configure a credential helper to remove this warning. See [2023-10-31T16:47:15.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T16:47:15.906Z] [2023-10-31T16:47:15.906Z] Login Succeeded [2023-10-31T16:47:15.906Z] ---> docker-login.sh ends [Pipeline] } [2023-10-31T16:47:15.920Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-31T16:47:16.182Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-31T16:47:16.196Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-10-31T16:47:16.214Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-31T16:47:16.226Z] ========================================================= [2023-10-31T16:47:16.226Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-10-31T16:47:16.226Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T16:47:16.564Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2023-10-31T16:47:16.840Z] Sending build context to Docker daemon 2.955MB [2023-10-31T16:47:16.840Z] Step 1/21 : ARG BASE=alpine:3.18 [2023-10-31T16:47:16.840Z] Step 2/21 : FROM ${BASE} as builder [2023-10-31T16:47:17.111Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-10-31T16:47:17.111Z] 579b34f0a95b: Pulling fs layer [2023-10-31T16:47:17.111Z] e71477ac5e1b: Pulling fs layer [2023-10-31T16:47:17.380Z] 579b34f0a95b: Download complete [2023-10-31T16:47:17.980Z] 579b34f0a95b: Pull complete [2023-10-31T16:47:19.960Z] e71477ac5e1b: Verifying Checksum [2023-10-31T16:47:19.960Z] e71477ac5e1b: Download complete [2023-10-31T16:47:32.337Z] e71477ac5e1b: Pull complete [2023-10-31T16:47:32.337Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2023-10-31T16:47:32.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-10-31T16:47:32.337Z] ---> 2b552cad5dd9 [2023-10-31T16:47:32.337Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-10-31T16:47:32.337Z] ---> Running in f75d40d68286 [2023-10-31T16:47:32.605Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-10-31T16:47:33.192Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-31T16:47:33.192Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-31T16:47:33.192Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-31T16:47:34.163Z] Removing intermediate container f75d40d68286 [2023-10-31T16:47:34.163Z] ---> 96f70af6aa3c [2023-10-31T16:47:34.163Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-10-31T16:47:34.163Z] ---> Running in 50921d3a7d5c [2023-10-31T16:47:35.583Z] Removing intermediate container 50921d3a7d5c [2023-10-31T16:47:35.583Z] ---> 181df51ef338 [2023-10-31T16:47:35.583Z] 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 iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-10-31T16:47:35.583Z] ---> Running in c8ce6b1dabdd [2023-10-31T16:47:36.548Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-31T16:47:37.139Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-31T16:47:37.742Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-31T16:47:38.706Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-31T16:47:38.706Z] (1/17) Installing hiredis (1.1.0-r2) [2023-10-31T16:47:38.706Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2023-10-31T16:47:38.706Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-31T16:47:39.287Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-31T16:47:39.554Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-31T16:47:39.821Z] (6/17) Installing libcbor (0.10.2-r1) [2023-10-31T16:47:39.821Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2023-10-31T16:47:39.821Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2023-10-31T16:47:39.821Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2023-10-31T16:47:39.821Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2023-10-31T16:47:39.821Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2023-10-31T16:47:39.821Z] (12/17) Installing libblkid (2.38.1-r8) [2023-10-31T16:47:39.821Z] (13/17) Installing libuuid (2.38.1-r8) [2023-10-31T16:47:39.821Z] (14/17) Installing libfdisk (2.38.1-r8) [2023-10-31T16:47:39.821Z] (15/17) Installing libmount (2.38.1-r8) [2023-10-31T16:47:39.821Z] (16/17) Installing libsmartcols (2.38.1-r8) [2023-10-31T16:47:39.821Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2023-10-31T16:47:40.091Z] Executing busybox-1.36.1-r4.trigger [2023-10-31T16:47:40.091Z] OK: 333 MiB in 99 packages [2023-10-31T16:47:41.524Z] Removing intermediate container c8ce6b1dabdd [2023-10-31T16:47:41.524Z] ---> 7c6514010bb3 [2023-10-31T16:47:41.524Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-10-31T16:47:41.524Z] ---> Running in bd728eaa501d [2023-10-31T16:47:42.957Z] Removing intermediate container bd728eaa501d [2023-10-31T16:47:42.957Z] ---> a61cd2994f8e [2023-10-31T16:47:42.957Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-10-31T16:47:43.542Z] ---> 0e253dcbf08b [2023-10-31T16:47:43.542Z] Step 8/21 : COPY src /tmp/sdk/src [2023-10-31T16:47:44.161Z] ---> f440ba2a31ca [2023-10-31T16:47:44.161Z] Step 9/21 : COPY include /tmp/sdk/include [2023-10-31T16:47:44.747Z] ---> 21ff1ea5f56a [2023-10-31T16:47:44.747Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-10-31T16:47:45.337Z] ---> c06fa18e5466 [2023-10-31T16:47:45.337Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-10-31T16:47:45.925Z] ---> c9e57f8892be [2023-10-31T16:47:45.925Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-10-31T16:47:46.316Z] ---> ef637cfe1b51 [2023-10-31T16:47:46.316Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-10-31T16:47:46.316Z] ---> Running in 4c986aa99d43 [2023-10-31T16:47:47.364Z] + CPPCHECK=false [2023-10-31T16:47:47.364Z] + DOCGEN=false [2023-10-31T16:47:47.364Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-10-31T16:47:47.364Z] + '[' 0 -gt 0 ] [2023-10-31T16:47:47.364Z] + readlink -f ./scripts/build.sh [2023-10-31T16:47:47.364Z] + dirname /tmp/sdk/scripts/build.sh [2023-10-31T16:47:47.364Z] + dirname /tmp/sdk/scripts [2023-10-31T16:47:47.364Z] + ROOT=/tmp/sdk [2023-10-31T16:47:47.364Z] + cd /tmp/sdk [2023-10-31T16:47:47.364Z] + mkdir -p /tmp/sdk/build/release [2023-10-31T16:47:47.364Z] + cd /tmp/sdk/build/release [2023-10-31T16:47:47.364Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-10-31T16:47:47.633Z] -- The C compiler identification is GNU 12.2.1 [2023-10-31T16:47:47.633Z] -- Detecting C compiler ABI info [2023-10-31T16:47:48.225Z] -- Detecting C compiler ABI info - done [2023-10-31T16:47:48.225Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-31T16:47:48.225Z] -- Detecting C compile features [2023-10-31T16:47:48.225Z] -- Detecting C compile features - done [2023-10-31T16:47:48.225Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-31T16:47:48.495Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-10-31T16:47:48.495Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-31T16:47:48.495Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-31T16:47:48.495Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-31T16:47:48.495Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-31T16:47:48.495Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-31T16:47:48.495Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-31T16:47:48.495Z] -- /opt/iotech/iot/1.5/include [2023-10-31T16:47:48.495Z] -- C SDK 0.0.0 for Linux [2023-10-31T16:47:48.495Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-31T16:47:48.765Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-31T16:47:49.037Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-31T16:47:49.037Z] -- Configuring done (1.7s) [2023-10-31T16:47:49.308Z] -- Generating done (0.3s) [2023-10-31T16:47:49.308Z] -- Build files have been written to: /tmp/sdk/build/release [2023-10-31T16:47:49.308Z] + make all package [2023-10-31T16:47:49.308Z] + tee release.log [2023-10-31T16:47:49.577Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-31T16:47:50.197Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-31T16:47:51.173Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-31T16:47:52.152Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-31T16:47:52.743Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-31T16:47:53.409Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-31T16:47:55.368Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-31T16:47:56.340Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-10-31T16:47:56.340Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2023-10-31T16:47:56.340Z] 294 | while (privateConfig) [2023-10-31T16:47:56.340Z] | ^~~~~~~~~~~~~ [2023-10-31T16:47:56.340Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2023-10-31T16:47:56.340Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2023-10-31T16:47:56.340Z] | ^~~~~~~~~~~~~ [2023-10-31T16:47:56.340Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2023-10-31T16:47:56.340Z] 271 | while (result) [2023-10-31T16:47:56.340Z] | ^~~~~~ [2023-10-31T16:47:56.340Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2023-10-31T16:47:56.340Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2023-10-31T16:47:56.340Z] | ^~~~~~ [2023-10-31T16:47:56.612Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-31T16:47:56.885Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-31T16:47:57.869Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-31T16:47:59.826Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-31T16:48:00.414Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-31T16:48:01.003Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-31T16:48:01.978Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-31T16:48:02.569Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-31T16:48:03.540Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-31T16:48:03.812Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-31T16:48:05.774Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-31T16:48:06.363Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-31T16:48:06.950Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-31T16:48:08.379Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-31T16:48:15.165Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-31T16:48:15.435Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-31T16:48:16.023Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-31T16:48:16.614Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-31T16:48:16.885Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-31T16:48:18.310Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-31T16:48:20.271Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-31T16:48:20.862Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-31T16:48:21.830Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-31T16:48:22.420Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-31T16:48:22.690Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-10-31T16:48:22.690Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-31T16:48:22.690Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-10-31T16:48:22.690Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-10-31T16:48:22.690Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-31T16:48:22.690Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-10-31T16:48:22.690Z] | ^ [2023-10-31T16:48:24.112Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2023-10-31T16:48:24.112Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2023-10-31T16:48:24.112Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-10-31T16:48:24.112Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2023-10-31T16:48:24.112Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2023-10-31T16:48:24.112Z] | ^~~~~~~~~~~~~~~~~~~~~ [2023-10-31T16:48:25.079Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-31T16:48:26.056Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-31T16:48:26.327Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-31T16:48:26.925Z] [ 68%] Linking C shared library libcsdk.so [2023-10-31T16:48:26.925Z] [ 68%] Built target csdk [2023-10-31T16:48:27.193Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-31T16:48:28.161Z] [ 72%] Linking C executable template [2023-10-31T16:48:28.161Z] [ 72%] Built target template [2023-10-31T16:48:28.433Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-31T16:48:29.014Z] [ 76%] Linking C executable device-counter [2023-10-31T16:48:29.282Z] [ 76%] Built target device-counter [2023-10-31T16:48:29.282Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-31T16:48:29.865Z] [ 80%] Linking C executable device-random [2023-10-31T16:48:30.134Z] [ 80%] Built target device-random [2023-10-31T16:48:30.134Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-31T16:48:30.716Z] [ 84%] Linking C executable device-gyro [2023-10-31T16:48:30.982Z] [ 84%] Built target device-gyro [2023-10-31T16:48:30.982Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-31T16:48:31.565Z] [ 88%] Linking C executable device-bitfields [2023-10-31T16:48:31.832Z] [ 88%] Built target device-bitfields [2023-10-31T16:48:31.832Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-31T16:48:32.790Z] [ 92%] Linking C executable template-discovery [2023-10-31T16:48:33.056Z] [ 92%] Built target template-discovery [2023-10-31T16:48:33.056Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-31T16:48:34.015Z] [ 96%] Linking C executable device-file [2023-10-31T16:48:34.286Z] [ 96%] Built target device-file [2023-10-31T16:48:34.286Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-31T16:48:34.874Z] [100%] Linking C executable device-terminal [2023-10-31T16:48:35.459Z] [100%] Built target device-terminal [2023-10-31T16:48:35.459Z] Run CPack packaging tool... [2023-10-31T16:48:35.459Z] CPack: Create package using TGZ [2023-10-31T16:48:35.459Z] CPack: Install projects [2023-10-31T16:48:35.459Z] CPack: - Run preinstall target for: Csdk [2023-10-31T16:48:36.050Z] CPack: - Install project: Csdk [] [2023-10-31T16:48:36.050Z] CPack: Create package [2023-10-31T16:48:36.316Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-10-31T16:48:36.316Z] + '[' false '=' true ] [2023-10-31T16:48:36.316Z] + '[' false '=' true ] [2023-10-31T16:48:36.316Z] + mkdir -p /tmp/sdk/build/debug [2023-10-31T16:48:36.316Z] + cd /tmp/sdk/build/debug [2023-10-31T16:48:36.316Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-10-31T16:48:36.586Z] -- The C compiler identification is GNU 12.2.1 [2023-10-31T16:48:36.586Z] -- Detecting C compiler ABI info [2023-10-31T16:48:36.853Z] -- Detecting C compiler ABI info - done [2023-10-31T16:48:37.121Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-31T16:48:37.121Z] -- Detecting C compile features [2023-10-31T16:48:37.121Z] -- Detecting C compile features - done [2023-10-31T16:48:37.121Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-31T16:48:37.121Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-10-31T16:48:37.121Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-31T16:48:37.402Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-31T16:48:37.402Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-31T16:48:37.402Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-31T16:48:37.402Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-31T16:48:37.402Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-31T16:48:37.402Z] -- /opt/iotech/iot/1.5/include [2023-10-31T16:48:37.402Z] -- C SDK 0.0.0 for Linux [2023-10-31T16:48:37.402Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-31T16:48:37.682Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-31T16:48:37.964Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-31T16:48:37.964Z] -- Configuring done (1.7s) [2023-10-31T16:48:38.238Z] -- Generating done (0.2s) [2023-10-31T16:48:38.238Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-10-31T16:48:38.238Z] + + make [2023-10-31T16:48:38.238Z] tee debug.log [2023-10-31T16:48:38.507Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-31T16:48:38.782Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-31T16:48:39.053Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-31T16:48:39.642Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-31T16:48:39.926Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-31T16:48:40.199Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-31T16:48:41.175Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-31T16:48:41.446Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-31T16:48:41.715Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-31T16:48:41.985Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-31T16:48:42.575Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-31T16:48:42.845Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-31T16:48:43.441Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-31T16:48:43.723Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-31T16:48:43.992Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-31T16:48:44.581Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-31T16:48:44.581Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-31T16:48:45.555Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-31T16:48:45.555Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-31T16:48:45.824Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-31T16:48:46.413Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-31T16:48:47.834Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-31T16:48:48.103Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-31T16:48:48.373Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-31T16:48:48.641Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-31T16:48:48.918Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-31T16:48:49.542Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-31T16:48:50.969Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-31T16:48:50.969Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-31T16:48:51.240Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-31T16:48:51.843Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-31T16:48:51.843Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-10-31T16:48:51.843Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-31T16:48:51.843Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-10-31T16:48:51.843Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-10-31T16:48:51.843Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-31T16:48:51.843Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-10-31T16:48:51.843Z] | ^ [2023-10-31T16:48:52.434Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-31T16:48:53.023Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-31T16:48:53.293Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-31T16:48:53.565Z] [ 68%] Linking C shared library libcsdk.so [2023-10-31T16:48:53.835Z] [ 68%] Built target csdk [2023-10-31T16:48:53.835Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-31T16:48:54.124Z] [ 72%] Linking C executable template [2023-10-31T16:48:54.392Z] [ 72%] Built target template [2023-10-31T16:48:54.661Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-31T16:48:54.927Z] [ 76%] Linking C executable device-counter [2023-10-31T16:48:55.195Z] [ 76%] Built target device-counter [2023-10-31T16:48:55.195Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-31T16:48:55.462Z] [ 80%] Linking C executable device-random [2023-10-31T16:48:55.730Z] [ 80%] Built target device-random [2023-10-31T16:48:55.730Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-31T16:48:55.999Z] [ 84%] Linking C executable device-gyro [2023-10-31T16:48:56.585Z] [ 84%] Built target device-gyro [2023-10-31T16:48:56.585Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-31T16:48:56.853Z] [ 88%] Linking C executable device-bitfields [2023-10-31T16:48:57.120Z] [ 88%] Built target device-bitfields [2023-10-31T16:48:57.120Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-31T16:48:57.704Z] [ 92%] Linking C executable template-discovery [2023-10-31T16:48:57.972Z] [ 92%] Built target template-discovery [2023-10-31T16:48:57.972Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-31T16:48:58.240Z] [ 96%] Linking C executable device-file [2023-10-31T16:48:58.508Z] [ 96%] Built target device-file [2023-10-31T16:48:58.508Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-31T16:48:59.097Z] [100%] Linking C executable device-terminal [2023-10-31T16:48:59.365Z] [100%] Built target device-terminal [2023-10-31T16:48:59.365Z] make: Entering directory '/tmp/sdk/build/release' [2023-10-31T16:48:59.633Z] [ 68%] Built target csdk [2023-10-31T16:48:59.633Z] [ 72%] Built target template [2023-10-31T16:48:59.633Z] [ 76%] Built target device-counter [2023-10-31T16:48:59.633Z] [ 80%] Built target device-random [2023-10-31T16:48:59.984Z] [ 84%] Built target device-gyro [2023-10-31T16:48:59.984Z] [ 88%] Built target device-bitfields [2023-10-31T16:48:59.984Z] [ 92%] Built target template-discovery [2023-10-31T16:48:59.984Z] [ 96%] Built target device-file [2023-10-31T16:49:00.259Z] [100%] Built target device-terminal [2023-10-31T16:49:00.259Z] Install the project... [2023-10-31T16:49:00.259Z] -- Install configuration: "Release" [2023-10-31T16:49:00.259Z] -- Installing: /usr/local/lib/libcsdk.so [2023-10-31T16:49:00.259Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-10-31T16:49:00.259Z] -- Installing: /usr/local/include [2023-10-31T16:49:00.259Z] -- Installing: /usr/local/include/devsdk [2023-10-31T16:49:00.259Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-10-31T16:49:00.259Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-10-31T16:49:00.259Z] -- Installing: /usr/local/include/edgex [2023-10-31T16:49:00.259Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-10-31T16:49:00.259Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-10-31T16:49:00.259Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-10-31T16:49:00.259Z] -- Installing: /usr/local/include/edgex/devices.h [2023-10-31T16:49:00.259Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-10-31T16:49:00.259Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-10-31T16:49:00.259Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-10-31T16:49:00.259Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-10-31T16:49:00.259Z] make: Leaving directory '/tmp/sdk/build/release' [2023-10-31T16:49:04.564Z] Removing intermediate container 4c986aa99d43 [2023-10-31T16:49:04.564Z] ---> 114b41396cd7 [2023-10-31T16:49:04.564Z] Step 14/21 : FROM ${BASE} [2023-10-31T16:49:04.564Z] ---> 2b552cad5dd9 [2023-10-31T16:49:04.564Z] Step 15/21 : LABEL maintainer="IOTech " [2023-10-31T16:49:04.564Z] ---> Running in 323c295131f6 [2023-10-31T16:49:04.835Z] Removing intermediate container 323c295131f6 [2023-10-31T16:49:04.835Z] ---> 4bbb13d9474e [2023-10-31T16:49:04.835Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-10-31T16:49:04.835Z] ---> Running in b1422f9ef12f [2023-10-31T16:49:05.805Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-10-31T16:49:06.388Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-31T16:49:06.388Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-31T16:49:06.388Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-31T16:49:06.974Z] Removing intermediate container b1422f9ef12f [2023-10-31T16:49:06.975Z] ---> 31b12736f8f6 [2023-10-31T16:49:06.975Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-10-31T16:49:06.975Z] ---> Running in 2bd6b8e8b3e7 [2023-10-31T16:49:08.920Z] Removing intermediate container 2bd6b8e8b3e7 [2023-10-31T16:49:08.920Z] ---> 511fed8fb35d [2023-10-31T16:49:08.920Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev [2023-10-31T16:49:08.920Z] ---> Running in 98e3d90a06ef [2023-10-31T16:49:09.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-31T16:49:10.091Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-31T16:49:10.674Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-31T16:49:11.632Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-31T16:49:11.632Z] (1/7) Installing curl (8.4.0-r0) [2023-10-31T16:49:11.632Z] (2/7) Installing hiredis (1.1.0-r2) [2023-10-31T16:49:11.632Z] (3/7) Installing hiredis-dev (1.1.0-r2) [2023-10-31T16:49:11.632Z] (4/7) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-31T16:49:12.210Z] (5/7) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-31T16:49:12.483Z] (6/7) Installing libcbor (0.10.2-r1) [2023-10-31T16:49:12.483Z] (7/7) Installing libuuid (2.38.1-r8) [2023-10-31T16:49:12.483Z] Executing busybox-1.36.1-r4.trigger [2023-10-31T16:49:12.483Z] OK: 327 MiB in 89 packages [2023-10-31T16:49:13.453Z] Removing intermediate container 98e3d90a06ef [2023-10-31T16:49:13.453Z] ---> 215cb0fe1be9 [2023-10-31T16:49:13.453Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-10-31T16:49:18.794Z] ---> 3e74574f427d [2023-10-31T16:49:18.794Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-10-31T16:49:18.794Z] ---> 7830f429ca6b [2023-10-31T16:49:18.794Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-10-31T16:49:18.794Z] ---> 1737b2a352ad [2023-10-31T16:49:18.794Z] Successfully built 1737b2a352ad [2023-10-31T16:49:18.794Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T16:49:19.472Z] + docker inspect -f . ci-base-image-arm64 [2023-10-31T16:49:19.472Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T16:49:19.685Z] prd-ubuntu20.04-docker-arm64-4c-16g-15591 does not seem to be running inside a container [2023-10-31T16:49:19.748Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-31T16:49:20.982Z] $ docker top 697118bb760858611328e42d4be0d1453381fc64674ff2dc2c9b7f6c78a1eeef -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T16:49:21.821Z] + make test [2023-10-31T16:49:21.821Z] echo "make test" [2023-10-31T16:49:21.821Z] make test [Pipeline] } [2023-10-31T16:49:21.847Z] $ docker stop --time=1 697118bb760858611328e42d4be0d1453381fc64674ff2dc2c9b7f6c78a1eeef [2023-10-31T16:49:23.478Z] $ docker rm -f --volumes 697118bb760858611328e42d4be0d1453381fc64674ff2dc2c9b7f6c78a1eeef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-31T16:49:24.042Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-31T16:49:24.361Z] + ls -al . [2023-10-31T16:49:24.361Z] total 208 [2023-10-31T16:49:24.361Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 16:46 . [2023-10-31T16:49:24.361Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 16:46 .. [2023-10-31T16:49:24.361Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 16:46 .git [2023-10-31T16:49:24.361Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 16:46 .github [2023-10-31T16:49:24.361Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 31 16:46 .gitignore [2023-10-31T16:49:24.361Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 31 16:46 Attribution.txt [2023-10-31T16:49:24.361Z] -rw-rw-r-- 1 jenkins jenkins 9802 Oct 31 16:46 CHANGES [2023-10-31T16:49:24.361Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 31 16:46 Doxyfile [2023-10-31T16:49:24.361Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 16:46 GOVERNANCE.md [2023-10-31T16:49:24.361Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 31 16:46 Jenkinsfile [2023-10-31T16:49:24.361Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 31 16:46 LICENSE [2023-10-31T16:49:24.361Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 31 16:46 Makefile [2023-10-31T16:49:24.361Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 31 16:46 OWNERS.md [2023-10-31T16:49:24.361Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 31 16:46 README.IOT.md [2023-10-31T16:49:24.361Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 31 16:46 README.md [2023-10-31T16:49:24.361Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 31 16:46 README.v3.md [2023-10-31T16:49:24.361Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 31 16:44 VERSION [2023-10-31T16:49:24.361Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 16:46 docs [2023-10-31T16:49:24.361Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 16:46 include [2023-10-31T16:49:24.361Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 16:46 scripts [2023-10-31T16:49:24.361Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 16:46 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T16:49:24.698Z] + 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=61fff111debf8d9c38eefbb468de148cb9201ca8 --label arch=arm64 --label version=0.0.0 . [2023-10-31T16:49:24.964Z] Sending build context to Docker daemon 2.955MB [2023-10-31T16:49:25.231Z] Step 1/17 : ARG BASE=alpine:3.18 [2023-10-31T16:49:25.231Z] Step 2/17 : FROM ${BASE} [2023-10-31T16:49:25.231Z] ---> 1737b2a352ad [2023-10-31T16:49:25.231Z] Step 3/17 : LABEL maintainer="IOTech " [2023-10-31T16:49:25.231Z] ---> Running in da195d0edb2d [2023-10-31T16:49:25.499Z] Removing intermediate container da195d0edb2d [2023-10-31T16:49:25.499Z] ---> 020c2d3f9da9 [2023-10-31T16:49:25.499Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-10-31T16:49:25.499Z] ---> Running in f745d32b0b54 [2023-10-31T16:49:26.456Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-10-31T16:49:27.046Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-31T16:49:27.046Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-31T16:49:27.046Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-31T16:49:27.635Z] Removing intermediate container f745d32b0b54 [2023-10-31T16:49:27.635Z] ---> 445ab3dcb227 [2023-10-31T16:49:27.635Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-10-31T16:49:27.635Z] ---> Running in 3df68c5e3095 [2023-10-31T16:49:29.584Z] Removing intermediate container 3df68c5e3095 [2023-10-31T16:49:29.584Z] ---> 96eb89f17520 [2023-10-31T16:49:29.584Z] 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 iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-10-31T16:49:29.584Z] ---> Running in b2efcc154fe0 [2023-10-31T16:49:30.173Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-31T16:49:30.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-31T16:49:31.355Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-31T16:49:32.316Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-31T16:49:32.316Z] (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-31T16:49:32.316Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2023-10-31T16:49:32.316Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2023-10-31T16:49:32.585Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2023-10-31T16:49:32.585Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2023-10-31T16:49:32.585Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2023-10-31T16:49:32.585Z] (7/11) Installing libblkid (2.38.1-r8) [2023-10-31T16:49:32.585Z] (8/11) Installing libfdisk (2.38.1-r8) [2023-10-31T16:49:32.585Z] (9/11) Installing libmount (2.38.1-r8) [2023-10-31T16:49:32.585Z] (10/11) Installing libsmartcols (2.38.1-r8) [2023-10-31T16:49:32.585Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2023-10-31T16:49:32.585Z] Executing busybox-1.36.1-r4.trigger [2023-10-31T16:49:32.585Z] OK: 333 MiB in 100 packages [2023-10-31T16:49:34.004Z] Removing intermediate container b2efcc154fe0 [2023-10-31T16:49:34.004Z] ---> 7f3dcdc24c98 [2023-10-31T16:49:34.004Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-10-31T16:49:34.270Z] ---> 98b835f47fef [2023-10-31T16:49:34.270Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-10-31T16:49:35.230Z] ---> ef1f06dfff79 [2023-10-31T16:49:35.230Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-10-31T16:49:35.498Z] ---> 2d4cde5200f3 [2023-10-31T16:49:35.498Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-10-31T16:49:36.084Z] ---> cfc7e57b3662 [2023-10-31T16:49:36.084Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-10-31T16:49:36.352Z] ---> b2895485fbfb [2023-10-31T16:49:36.352Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-10-31T16:49:36.963Z] ---> 62b336b9e62d [2023-10-31T16:49:36.963Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-10-31T16:49:36.963Z] ---> Running in 98320ff17219 [2023-10-31T16:49:37.545Z] Removing intermediate container 98320ff17219 [2023-10-31T16:49:37.545Z] ---> c12bb840e06c [2023-10-31T16:49:37.545Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-10-31T16:49:37.545Z] ---> Running in f6817ce7db9f [2023-10-31T16:49:37.812Z] Removing intermediate container f6817ce7db9f [2023-10-31T16:49:37.813Z] ---> 8d546641a379 [2023-10-31T16:49:37.813Z] Step 15/17 : LABEL arch=arm64 [2023-10-31T16:49:37.813Z] ---> Running in 9860b2d1dfc6 [2023-10-31T16:49:38.107Z] Removing intermediate container 9860b2d1dfc6 [2023-10-31T16:49:38.107Z] ---> 96819d7ef187 [2023-10-31T16:49:38.107Z] Step 16/17 : LABEL git_sha=61fff111debf8d9c38eefbb468de148cb9201ca8 [2023-10-31T16:49:38.107Z] ---> Running in e00d1cf53374 [2023-10-31T16:49:38.373Z] Removing intermediate container e00d1cf53374 [2023-10-31T16:49:38.373Z] ---> e65c531f59c8 [2023-10-31T16:49:38.373Z] Step 17/17 : LABEL version=0.0.0 [2023-10-31T16:49:38.644Z] ---> Running in f4049730bc0b [2023-10-31T16:49:38.909Z] Removing intermediate container f4049730bc0b [2023-10-31T16:49:38.909Z] ---> 6a3e7c3d30e4 [2023-10-31T16:49:38.909Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-10-31T16:49:38.909Z] Successfully built 6a3e7c3d30e4 [2023-10-31T16:49:38.909Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T16:49:39.361Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-31T16:49:39.361Z] [2023-10-31T16:49:39.361Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T16:49:39.694Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-31T16:49:39.966Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-31T16:49:39.966Z] 8998bd30e6a1: Pulling fs layer [2023-10-31T16:49:39.966Z] 04944245beec: Pulling fs layer [2023-10-31T16:49:39.966Z] 699f458cf7ca: Pulling fs layer [2023-10-31T16:49:39.966Z] 765212b225bb: Pulling fs layer [2023-10-31T16:49:39.966Z] f23df028b6ca: Pulling fs layer [2023-10-31T16:49:39.966Z] d65c8cfc05b1: Pulling fs layer [2023-10-31T16:49:39.966Z] 765212b225bb: Waiting [2023-10-31T16:49:39.966Z] 2437ff75d9bd: Pulling fs layer [2023-10-31T16:49:39.966Z] f23df028b6ca: Waiting [2023-10-31T16:49:39.966Z] d65c8cfc05b1: Waiting [2023-10-31T16:49:39.966Z] 2437ff75d9bd: Waiting [2023-10-31T16:49:39.966Z] 04944245beec: Verifying Checksum [2023-10-31T16:49:39.966Z] 04944245beec: Download complete [2023-10-31T16:49:39.966Z] 765212b225bb: Verifying Checksum [2023-10-31T16:49:39.966Z] 765212b225bb: Download complete [2023-10-31T16:49:40.234Z] f23df028b6ca: Download complete [2023-10-31T16:49:40.234Z] d65c8cfc05b1: Verifying Checksum [2023-10-31T16:49:40.234Z] d65c8cfc05b1: Download complete [2023-10-31T16:49:40.234Z] 699f458cf7ca: Verifying Checksum [2023-10-31T16:49:40.234Z] 699f458cf7ca: Download complete [2023-10-31T16:49:40.827Z] 8998bd30e6a1: Download complete [2023-10-31T16:49:43.407Z] 2437ff75d9bd: Verifying Checksum [2023-10-31T16:49:43.407Z] 2437ff75d9bd: Download complete [2023-10-31T16:49:45.352Z] 8998bd30e6a1: Pull complete [2023-10-31T16:49:45.937Z] 04944245beec: Pull complete [2023-10-31T16:49:47.345Z] 699f458cf7ca: Pull complete [2023-10-31T16:49:47.612Z] 765212b225bb: Pull complete [2023-10-31T16:49:48.573Z] f23df028b6ca: Pull complete [2023-10-31T16:49:48.850Z] d65c8cfc05b1: Pull complete [2023-10-31T16:50:07.065Z] 2437ff75d9bd: Pull complete [2023-10-31T16:50:07.065Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-31T16:50:07.065Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-31T16:50:07.065Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T16:50:07.259Z] prd-ubuntu20.04-docker-arm64-4c-16g-15591 does not seem to be running inside a container [2023-10-31T16:50:07.337Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-31T16:50:09.853Z] $ docker top 52c434b6e48452588642ef098dd220bed192d94c5e683e617a26cffecdbb9b8f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T16:50:10.704Z] ---> job-cost.sh [2023-10-31T16:50:10.704Z] lf-activate-venv: SKIPPING [2023-10-31T16:50:10.704Z] INFO: No Stack... [2023-10-31T16:50:10.971Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-31T16:50:11.932Z] INFO: Archiving Costs [Pipeline] sh [2023-10-31T16:50:12.261Z] + cat /w/workspace/device-sdk-c/4/archives/cost.csv [2023-10-31T16:50:12.261Z] + cut -d, -f6 [Pipeline] lock [2023-10-31T16:50:12.610Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-489-4-stack-cost] [2023-10-31T16:50:12.616Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-489-4-stack-cost] did not exist. Created. [2023-10-31T16:50:12.617Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-489-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-31T16:50:13.293Z] /w/workspace/device-sdk-c/4@tmp/durable-4b7a7be6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-31T16:50:13.951Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-31T16:50:13.973Z] Warning: overwriting stash ‘stack-cost’ [2023-10-31T16:50:14.441Z] Stashed 1 file(s) [Pipeline] } [2023-10-31T16:50:14.448Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-489-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-31T16:50:14.474Z] $ docker stop --time=1 52c434b6e48452588642ef098dd220bed192d94c5e683e617a26cffecdbb9b8f [2023-10-31T16:50:16.015Z] $ docker rm -f --volumes 52c434b6e48452588642ef098dd220bed192d94c5e683e617a26cffecdbb9b8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-10-31T16:50:16.871Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-489/archives ] [2023-10-31T16:50:16.871Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-489/archives [2023-10-31T16:50:16.871Z] total 16 [2023-10-31T16:50:16.871Z] drwxr-xr-x 3 root root 4096 Oct 31 16:45 . [2023-10-31T16:50:16.871Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 31 16:45 .. [2023-10-31T16:50:16.871Z] drwxr-xr-x 2 root root 4096 Oct 31 16:45 cost [2023-10-31T16:50:16.871Z] -rw-r--r-- 1 root root 84 Oct 31 16:45 cost.csv [2023-10-31T16:50:16.871Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-489/archives [2023-10-31T16:50:16.871Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-489/archives [2023-10-31T16:50:16.871Z] total 16 [2023-10-31T16:50:16.871Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 16:45 . [2023-10-31T16:50:16.871Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 31 16:45 .. [2023-10-31T16:50:16.871Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 31 16:45 cost [2023-10-31T16:50:16.871Z] -rw-r--r-- 1 jenkins jenkins 84 Oct 31 16:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-31T16:50:17.165Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T16:50:18.028Z] ---> package-listing.sh [2023-10-31T16:50:18.028Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-31T16:50:18.028Z] ++ facter osfamily [2023-10-31T16:50:18.290Z] + OS_FAMILY=debian [2023-10-31T16:50:18.290Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-489 [2023-10-31T16:50:18.290Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-31T16:50:18.290Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-31T16:50:18.290Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-31T16:50:18.290Z] + PACKAGES=/tmp/packages_start.txt [2023-10-31T16:50:18.290Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-489 ']' [2023-10-31T16:50:18.290Z] + PACKAGES=/tmp/packages_end.txt [2023-10-31T16:50:18.290Z] + case "${OS_FAMILY}" in [2023-10-31T16:50:18.290Z] + dpkg -l [2023-10-31T16:50:18.290Z] + grep '^ii' [2023-10-31T16:50:18.290Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-31T16:50:18.290Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-31T16:50:18.290Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-31T16:50:18.290Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-489 ']' [2023-10-31T16:50:18.290Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-489/archives/ [2023-10-31T16:50:18.290Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-489/archives/ [Pipeline] echo [2023-10-31T16:50:18.300Z] 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-489/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-31T16:50:18.583Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T16:50:19.148Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-31T16:50:19.148Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T16:50:19.227Z] prd-ubuntu20.04-docker-8c-8g-15589 does not seem to be running inside a container [2023-10-31T16:50:19.262Z] $ 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-489/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-489 -v /w/workspace/edgexfoundry_device-sdk-c_PR-489:/w/workspace/edgexfoundry_device-sdk-c_PR-489:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-31T16:50:19.444Z] $ docker top 6635872c900a4bf96e5bc0c90aad59667beed04d8632c9a7bf3a933cd2af0e16 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T16:50:19.798Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-31T16:50:20.088Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-31T16:50:20.381Z] + ls /var/log/sa-host [2023-10-31T16:50:20.381Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-31T16:50:20.582Z] provisioning config files... [2023-10-31T16:50:20.593Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp/config4793686131788592293tmp [Pipeline] { [Pipeline] echo [2023-10-31T16:50:20.609Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T16:50:20.900Z] ---> create-netrc.sh [Pipeline] } [2023-10-31T16:50:20.907Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-31T16:50:21.246Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-31T16:50:21.255Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T16:50:21.541Z] ---> sudo-logs.sh [2023-10-31T16:50:21.541Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-31T16:50:21.574Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T16:50:21.862Z] ---> job-cost.sh [2023-10-31T16:50:21.862Z] lf-activate-venv: SKIPPING [2023-10-31T16:50:21.862Z] DEBUG: total: 0.2199999988079071 [2023-10-31T16:50:21.862Z] INFO: Retrieving Stack Cost... [2023-10-31T16:50:22.432Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-31T16:50:22.692Z] INFO: Archiving Costs [Pipeline] echo [2023-10-31T16:50:22.703Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T16:50:22.993Z] ---> logs-deploy.sh [2023-10-31T16:50:22.994Z] lf-activate-venv: SKIPPING [2023-10-31T16:50:22.994Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-489/4 [2023-10-31T16:50:22.994Z] INFO: archiving workspace using pattern(s): [2023-10-31T16:50:23.935Z] Archives upload complete. [2023-10-31T16:50:23.935Z] INFO: archiving logs to Nexus