Pull request #486 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 4caea525620fae8a66350c1457a58ad892a3586e+4c52de37db7d3bd0277fba2739b75d0a1bd475b3 (a4ff59f06b1fef61cafefd21010a54154bf8f111) 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-ssh2330274665522006881.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-ssh7443835694458427023.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-486/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-486/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6906350920798659203.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-ssh9277415389633389049.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-486/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-486/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7731997034898321404.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8620 in /w/workspace/edgexfoundry_device-sdk-c_PR-486 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-486 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/486/head:refs/remotes/origin/PR-486 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 into PR head commit 4caea525620fae8a66350c1457a58ad892a3586e Merge succeeded, producing 4caea525620fae8a66350c1457a58ad892a3586e Checking out Revision 4caea525620fae8a66350c1457a58ad892a3586e (PR-486) > git config core.sparsecheckout # timeout=10 > git checkout -f 4caea525620fae8a66350c1457a58ad892a3586e # 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 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4caea525620fae8a66350c1457a58ad892a3586e # timeout=10 Commit message: "feat: Add command line/environment flag for commonConfig" First time build. Skipping changelog. > git rev-list --no-walk fce8b44c181640430d6cf7146f864b97eec8f6cd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-06T04:44:12.727Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-06T04:44:12.779Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-06T04:44:12.795Z] ========================================================= [2023-10-06T04:44:12.795Z] EdgeX Global Pipelines Version Info [2023-10-06T04:44:12.795Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:44:13.512Z] ------------------- [2023-10-06T04:44:13.512Z] stable info: [2023-10-06T04:44:13.512Z] ------------------- [2023-10-06T04:44:13.512Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-06T04:44:13.512Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-06T04:44:13.512Z] Message: update stable to v1.0.254 [2023-10-06T04:44:14.081Z] ------------------- [2023-10-06T04:44:14.081Z] experimental info: [2023-10-06T04:44:14.081Z] ------------------- [2023-10-06T04:44:14.081Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-06T04:44:14.081Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-06T04:44:14.081Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-06T04:44:14.251Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-10-06T04:44:14.261Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-10-06T04:44:14.276Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-06T04:44:14.293Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-06T04:44:14.305Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-06T04:44:14.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-10-06T04:44:14.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-10-06T04:44:14.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-06T04:44:14.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-06T04:44:14.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-10-06T04:44:14.375Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-06T04:44:14.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-06T04:44:14.397Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-06T04:44:14.409Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-10-06T04:44:14.421Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-06T04:44:14.433Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-06T04:44:14.451Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-06T04:44:14.465Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-486 [Pipeline] echo [2023-10-06T04:44:14.476Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-486 [Pipeline] echo [2023-10-06T04:44:14.489Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-486 [Pipeline] echo [2023-10-06T04:44:14.500Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4caea525620fae8a66350c1457a58ad892a3586e [Pipeline] echo [2023-10-06T04:44:14.512Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4caea52 [Pipeline] echo [2023-10-06T04:44:14.524Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-06T04:44:14.576Z] provisioning config files... [2023-10-06T04:44:14.589Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/config11162970560676566567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:44:14.890Z] ---> docker-login.sh [2023-10-06T04:44:14.890Z] nexus3.edgexfoundry.org:10001 [2023-10-06T04:44:15.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:44:15.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:44:15.410Z] Configure a credential helper to remove this warning. See [2023-10-06T04:44:15.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:44:15.410Z] [2023-10-06T04:44:15.410Z] Login Succeeded [2023-10-06T04:44:15.410Z] nexus3.edgexfoundry.org:10002 [2023-10-06T04:44:15.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:44:15.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:44:15.410Z] Configure a credential helper to remove this warning. See [2023-10-06T04:44:15.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:44:15.410Z] [2023-10-06T04:44:15.410Z] Login Succeeded [2023-10-06T04:44:15.410Z] nexus3.edgexfoundry.org:10003 [2023-10-06T04:44:15.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:44:15.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:44:15.410Z] Configure a credential helper to remove this warning. See [2023-10-06T04:44:15.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:44:15.410Z] [2023-10-06T04:44:15.410Z] Login Succeeded [2023-10-06T04:44:15.410Z] nexus3.edgexfoundry.org:10004 [2023-10-06T04:44:15.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:44:15.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:44:15.675Z] Configure a credential helper to remove this warning. See [2023-10-06T04:44:15.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:44:15.675Z] [2023-10-06T04:44:15.675Z] Login Succeeded [2023-10-06T04:44:15.675Z] docker.io [2023-10-06T04:44:15.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:44:15.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:44:15.936Z] Configure a credential helper to remove this warning. See [2023-10-06T04:44:15.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:44:15.936Z] [2023-10-06T04:44:15.936Z] Login Succeeded [2023-10-06T04:44:15.936Z] ---> docker-login.sh ends [Pipeline] } [2023-10-06T04:44:15.944Z] 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-06T04:44:16.314Z] + git rev-list -1 --merges 4caea525620fae8a66350c1457a58ad892a3586e~1..4caea525620fae8a66350c1457a58ad892a3586e [Pipeline] echo [2023-10-06T04:44:16.363Z] -----------> git rev-list -1 --merges 4caea525620fae8a66350c1457a58ad892a3586e~1..4caea525620fae8a66350c1457a58ad892a3586e 4caea525620fae8a66350c1457a58ad892a3586e [false] [Pipeline] sh [2023-10-06T04:44:16.653Z] + git log --format=format:%s -1 4caea525620fae8a66350c1457a58ad892a3586e [Pipeline] echo [2023-10-06T04:44:16.666Z] ========================================================= [2023-10-06T04:44:16.666Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-06T04:44:16.666Z] ========================================================= 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-06T04:44:17.045Z] + git rev-list -1 --merges 4caea525620fae8a66350c1457a58ad892a3586e~1..4caea525620fae8a66350c1457a58ad892a3586e [Pipeline] echo [2023-10-06T04:44:17.056Z] -----------> git rev-list -1 --merges 4caea525620fae8a66350c1457a58ad892a3586e~1..4caea525620fae8a66350c1457a58ad892a3586e 4caea525620fae8a66350c1457a58ad892a3586e [false] [Pipeline] sh [2023-10-06T04:44:17.346Z] + git log --format=format:%s -1 4caea525620fae8a66350c1457a58ad892a3586e [Pipeline] echo [2023-10-06T04:44:17.361Z] ========================================================= [2023-10-06T04:44:17.361Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-06T04:44:17.361Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-10-06T04:44:17.783Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-06T04:44:17.783Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-06T04:44:17.783Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-06T04:44:17.783Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-06T04:44:17.783Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-06T04:44:17.783Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-06T04:44:17.783Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T04:44:18.199Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-06T04:44:18.199Z] [2023-10-06T04:44:18.199Z] 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-06T04:44:18.498Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-06T04:44:18.499Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-06T04:44:18.499Z] b85a868b505f: Pulling fs layer [2023-10-06T04:44:18.499Z] e2be974225ed: Pulling fs layer [2023-10-06T04:44:18.499Z] 339a4e72a1f5: Pulling fs layer [2023-10-06T04:44:18.499Z] 988bab9f4d93: Pulling fs layer [2023-10-06T04:44:18.499Z] 1469e6f7b9e6: Pulling fs layer [2023-10-06T04:44:18.499Z] 988bab9f4d93: Waiting [2023-10-06T04:44:18.499Z] eaf3925da568: Pulling fs layer [2023-10-06T04:44:18.499Z] bab4dde63d76: Pulling fs layer [2023-10-06T04:44:18.499Z] bde34c3a00c8: Pulling fs layer [2023-10-06T04:44:18.499Z] 1469e6f7b9e6: Waiting [2023-10-06T04:44:18.499Z] eaf3925da568: Waiting [2023-10-06T04:44:18.499Z] bab4dde63d76: Waiting [2023-10-06T04:44:18.499Z] b352a97aabf1: Pulling fs layer [2023-10-06T04:44:18.499Z] 4872d77fe225: Pulling fs layer [2023-10-06T04:44:18.499Z] 5851b861e8e6: Pulling fs layer [2023-10-06T04:44:18.499Z] bde34c3a00c8: Waiting [2023-10-06T04:44:18.499Z] b352a97aabf1: Waiting [2023-10-06T04:44:18.499Z] 5851b861e8e6: Waiting [2023-10-06T04:44:18.499Z] 4872d77fe225: Waiting [2023-10-06T04:44:18.499Z] e2be974225ed: Download complete [2023-10-06T04:44:18.499Z] 988bab9f4d93: Verifying Checksum [2023-10-06T04:44:18.499Z] 988bab9f4d93: Download complete [2023-10-06T04:44:18.760Z] 1469e6f7b9e6: Verifying Checksum [2023-10-06T04:44:18.760Z] 1469e6f7b9e6: Download complete [2023-10-06T04:44:18.760Z] eaf3925da568: Verifying Checksum [2023-10-06T04:44:18.760Z] eaf3925da568: Download complete [2023-10-06T04:44:18.760Z] 339a4e72a1f5: Verifying Checksum [2023-10-06T04:44:18.760Z] 339a4e72a1f5: Download complete [2023-10-06T04:44:18.760Z] bde34c3a00c8: Download complete [2023-10-06T04:44:18.760Z] b352a97aabf1: Download complete [2023-10-06T04:44:18.760Z] 4872d77fe225: Download complete [2023-10-06T04:44:18.760Z] 5851b861e8e6: Download complete [2023-10-06T04:44:19.020Z] b85a868b505f: Verifying Checksum [2023-10-06T04:44:19.020Z] b85a868b505f: Download complete [2023-10-06T04:44:19.279Z] bab4dde63d76: Verifying Checksum [2023-10-06T04:44:19.279Z] bab4dde63d76: Download complete [2023-10-06T04:44:20.216Z] b85a868b505f: Pull complete [2023-10-06T04:44:20.474Z] e2be974225ed: Pull complete [2023-10-06T04:44:20.732Z] 339a4e72a1f5: Pull complete [2023-10-06T04:44:20.991Z] 988bab9f4d93: Pull complete [2023-10-06T04:44:21.271Z] 1469e6f7b9e6: Pull complete [2023-10-06T04:44:21.271Z] eaf3925da568: Pull complete [2023-10-06T04:44:23.183Z] bab4dde63d76: Pull complete [2023-10-06T04:44:23.183Z] bde34c3a00c8: Pull complete [2023-10-06T04:44:23.443Z] b352a97aabf1: Pull complete [2023-10-06T04:44:23.443Z] 4872d77fe225: Pull complete [2023-10-06T04:44:23.443Z] 5851b861e8e6: Pull complete [2023-10-06T04:44:23.443Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-06T04:44:23.443Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-06T04:44:23.443Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-06T04:44:23.601Z] prd-ubuntu20.04-docker-8c-8g-8620 does not seem to be running inside a container [2023-10-06T04:44:23.651Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-486 -v /w/workspace/edgexfoundry_device-sdk-c_PR-486:/w/workspace/edgexfoundry_device-sdk-c_PR-486:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-06T04:44:27.230Z] $ docker top 7d549201eae857db5497875be1fbc84524677aca648de79c04d1e72c45a8dba1 -eo pid,comm [2023-10-06T04:44:27.280Z] 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-06T04:44:27.280Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-06T04:44:27.318Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-06T04:44:27.318Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-06T04:44:27.445Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-06T04:44:27.451Z] $ docker exec 7d549201eae857db5497875be1fbc84524677aca648de79c04d1e72c45a8dba1 ssh-agent [2023-10-06T04:44:27.557Z] SSH_AUTH_SOCK=/tmp/ssh-vXXlhG3gIEFc/agent.32 [2023-10-06T04:44:27.557Z] SSH_AGENT_PID=38 [2023-10-06T04:44:27.563Z] Running ssh-add (command line suppressed) [2023-10-06T04:44:27.681Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_4168781555394969407.key (/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_4168781555394969407.key) [2023-10-06T04:44:27.694Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-06T04:44:27.982Z] + git tag --points-at HEAD [Pipeline] } [2023-10-06T04:44:27.998Z] $ docker exec --env ******** --env ******** 7d549201eae857db5497875be1fbc84524677aca648de79c04d1e72c45a8dba1 ssh-agent -k [2023-10-06T04:44:28.099Z] unset SSH_AUTH_SOCK; [2023-10-06T04:44:28.100Z] unset SSH_AGENT_PID; [2023-10-06T04:44:28.100Z] echo Agent pid 38 killed; [2023-10-06T04:44:28.109Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-06T04:44:28.131Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-06T04:44:28.131Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-06T04:44:28.247Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-06T04:44:28.254Z] $ docker exec 7d549201eae857db5497875be1fbc84524677aca648de79c04d1e72c45a8dba1 ssh-agent [2023-10-06T04:44:28.359Z] SSH_AUTH_SOCK=/tmp/ssh-5ZBXBczEIKwy/agent.70 [2023-10-06T04:44:28.359Z] SSH_AGENT_PID=76 [2023-10-06T04:44:28.364Z] Running ssh-add (command line suppressed) [2023-10-06T04:44:28.485Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_16871840227102407069.key (/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_16871840227102407069.key) [2023-10-06T04:44:28.503Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-06T04:44:28.798Z] + git semver init [2023-10-06T04:44:29.064Z] 2023-10-06 04:44:29,015 [run_init] DEBUG init version:0.0.0 force:False [2023-10-06T04:44:29.064Z] 2023-10-06 04:44:29,016 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver [2023-10-06T04:44:29.064Z] 2023-10-06 04:44:29,016 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver [2023-10-06T04:44:29.064Z] 2023-10-06 04:44:29,017 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-486, universal_newlines=False, shell=None, istream=None) [2023-10-06T04:44:30.015Z] 2023-10-06 04:44:29,896 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.git/info/exclude [2023-10-06T04:44:30.015Z] 2023-10-06 04:44:29,897 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver/PR-486 with force:False [2023-10-06T04:44:30.016Z] 2023-10-06 04:44:29,897 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver/PR-486 [2023-10-06T04:44:30.016Z] 2023-10-06 04:44:29,900 [execute] INFO git cat-file --batch-check [2023-10-06T04:44:30.016Z] 2023-10-06 04:44:29,900 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver, universal_newlines=False, shell=None, istream=) [2023-10-06T04:44:30.016Z] 2023-10-06 04:44:29,905 [execute] INFO git cat-file --batch [2023-10-06T04:44:30.016Z] 2023-10-06 04:44:29,906 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver, universal_newlines=False, shell=None, istream=) [2023-10-06T04:44:30.016Z] 2023-10-06 04:44:29,911 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver/PR-486 [2023-10-06T04:44:30.016Z] 0.0.0 [Pipeline] } [2023-10-06T04:44:30.033Z] $ docker exec --env ******** --env ******** 7d549201eae857db5497875be1fbc84524677aca648de79c04d1e72c45a8dba1 ssh-agent -k [2023-10-06T04:44:30.128Z] unset SSH_AUTH_SOCK; [2023-10-06T04:44:30.129Z] unset SSH_AGENT_PID; [2023-10-06T04:44:30.129Z] echo Agent pid 76 killed; [2023-10-06T04:44:30.136Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-06T04:44:30.437Z] + git semver [Pipeline] } [2023-10-06T04:44:30.715Z] $ docker stop --time=1 7d549201eae857db5497875be1fbc84524677aca648de79c04d1e72c45a8dba1 [2023-10-06T04:44:32.128Z] $ docker rm -f --volumes 7d549201eae857db5497875be1fbc84524677aca648de79c04d1e72c45a8dba1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-06T04:44:32.458Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-06T04:44:32.658Z] Stashed 1 file(s) [Pipeline] echo [2023-10-06T04:44:32.660Z] [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-06T04:44:32.753Z] provisioning config files... [2023-10-06T04:44:32.762Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/config13482955278583115984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:44:33.061Z] ---> docker-login.sh [2023-10-06T04:44:33.061Z] nexus3.edgexfoundry.org:10001 [2023-10-06T04:44:33.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:44:33.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:44:33.061Z] Configure a credential helper to remove this warning. See [2023-10-06T04:44:33.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:44:33.061Z] [2023-10-06T04:44:33.061Z] Login Succeeded [2023-10-06T04:44:33.061Z] nexus3.edgexfoundry.org:10002 [2023-10-06T04:44:33.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:44:33.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:44:33.062Z] Configure a credential helper to remove this warning. See [2023-10-06T04:44:33.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:44:33.062Z] [2023-10-06T04:44:33.062Z] Login Succeeded [2023-10-06T04:44:33.062Z] nexus3.edgexfoundry.org:10003 [2023-10-06T04:44:33.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:44:33.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:44:33.322Z] Configure a credential helper to remove this warning. See [2023-10-06T04:44:33.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:44:33.322Z] [2023-10-06T04:44:33.322Z] Login Succeeded [2023-10-06T04:44:33.322Z] nexus3.edgexfoundry.org:10004 [2023-10-06T04:44:33.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:44:33.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:44:33.322Z] Configure a credential helper to remove this warning. See [2023-10-06T04:44:33.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:44:33.322Z] [2023-10-06T04:44:33.322Z] Login Succeeded [2023-10-06T04:44:33.322Z] docker.io [2023-10-06T04:44:33.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:44:33.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:44:33.855Z] Configure a credential helper to remove this warning. See [2023-10-06T04:44:33.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:44:33.855Z] [2023-10-06T04:44:33.855Z] Login Succeeded [2023-10-06T04:44:33.855Z] ---> docker-login.sh ends [Pipeline] } [2023-10-06T04:44:33.862Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-06T04:44:33.923Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-06T04:44:33.935Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-10-06T04:44:33.949Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-06T04:44:33.957Z] ========================================================= [2023-10-06T04:44:33.957Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-10-06T04:44:33.957Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T04:44:34.256Z] + 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-06T04:44:34.256Z] Sending build context to Docker daemon 4.939MB [2023-10-06T04:44:34.256Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-10-06T04:44:34.256Z] Step 2/21 : FROM ${BASE} as builder [2023-10-06T04:44:34.256Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-10-06T04:44:34.256Z] 91d30c5bc195: Pulling fs layer [2023-10-06T04:44:34.256Z] 316e5a4585fb: Pulling fs layer [2023-10-06T04:44:34.516Z] 91d30c5bc195: Download complete [2023-10-06T04:44:34.516Z] 91d30c5bc195: Pull complete [2023-10-06T04:44:35.084Z] 316e5a4585fb: Verifying Checksum [2023-10-06T04:44:35.084Z] 316e5a4585fb: Download complete [2023-10-06T04:44:38.369Z] 316e5a4585fb: Pull complete [2023-10-06T04:44:38.369Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-10-06T04:44:38.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-10-06T04:44:38.369Z] ---> e83ffa357ff4 [2023-10-06T04:44:38.369Z] 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-06T04:44:41.662Z] ---> Running in 85dba6983eed [2023-10-06T04:44:41.662Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-10-06T04:44:41.922Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-06T04:44:41.922Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-06T04:44:41.922Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-06T04:44:42.183Z] Removing intermediate container 85dba6983eed [2023-10-06T04:44:42.183Z] ---> b9562b4d636a [2023-10-06T04:44:42.183Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-06T04:44:42.444Z] ---> Running in cdd74ab60d03 [2023-10-06T04:44:43.017Z] Removing intermediate container cdd74ab60d03 [2023-10-06T04:44:43.017Z] ---> 0f5e1bfceeb9 [2023-10-06T04:44:43.017Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-10-06T04:44:43.017Z] ---> Running in c4987305aab2 [2023-10-06T04:44:43.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-06T04:44:43.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-10-06T04:44:43.541Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-06T04:44:44.109Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-06T04:44:44.109Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-06T04:44:44.109Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-06T04:44:44.109Z] (3/16) Installing hiredis (1.0.2-r0) [2023-10-06T04:44:44.109Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-10-06T04:44:44.109Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-06T04:44:45.047Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-06T04:44:45.047Z] (7/16) Installing libcbor (0.9.0-r1) [2023-10-06T04:44:45.047Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-10-06T04:44:45.047Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-06T04:44:45.047Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-06T04:44:46.058Z] (11/16) Installing libblkid (2.38-r1) [2023-10-06T04:44:46.058Z] (12/16) Installing libuuid (2.38-r1) [2023-10-06T04:44:46.058Z] (13/16) Installing libfdisk (2.38-r1) [2023-10-06T04:44:46.058Z] (14/16) Installing libmount (2.38-r1) [2023-10-06T04:44:46.058Z] (15/16) Installing libsmartcols (2.38-r1) [2023-10-06T04:44:46.058Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-10-06T04:44:46.058Z] Executing busybox-1.35.0-r17.trigger [2023-10-06T04:44:46.058Z] OK: 280 MiB in 90 packages [2023-10-06T04:44:46.626Z] Removing intermediate container c4987305aab2 [2023-10-06T04:44:46.626Z] ---> 51843e0cdb35 [2023-10-06T04:44:46.626Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-10-06T04:44:46.626Z] ---> Running in 12f6442f505a [2023-10-06T04:44:47.195Z] Removing intermediate container 12f6442f505a [2023-10-06T04:44:47.195Z] ---> be001eab0aeb [2023-10-06T04:44:47.195Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-10-06T04:44:47.454Z] ---> 42c10bd6170b [2023-10-06T04:44:47.454Z] Step 8/21 : COPY src /tmp/sdk/src [2023-10-06T04:44:47.454Z] ---> 0012d084d210 [2023-10-06T04:44:47.454Z] Step 9/21 : COPY include /tmp/sdk/include [2023-10-06T04:44:47.713Z] ---> 68d07de11a6f [2023-10-06T04:44:47.713Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-10-06T04:44:47.721Z] Still waiting to schedule task [2023-10-06T04:44:47.721Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-06T04:44:47.973Z] ---> fa1bb62800f7 [2023-10-06T04:44:47.973Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-10-06T04:44:48.234Z] ---> 09118262cca0 [2023-10-06T04:44:48.234Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-10-06T04:44:48.494Z] ---> fbb69dffee76 [2023-10-06T04:44:48.494Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-10-06T04:44:48.494Z] ---> Running in 8620cc4a5529 [2023-10-06T04:44:48.754Z] + CPPCHECK=false [2023-10-06T04:44:48.754Z] + DOCGEN=false [2023-10-06T04:44:48.754Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-10-06T04:44:48.754Z] + '[' 0 -gt 0 ] [2023-10-06T04:44:48.754Z] + readlink -f ./scripts/build.sh [2023-10-06T04:44:48.754Z] + dirname /tmp/sdk/scripts/build.sh [2023-10-06T04:44:48.754Z] + dirname /tmp/sdk/scripts [2023-10-06T04:44:48.754Z] + ROOT=/tmp/sdk [2023-10-06T04:44:48.754Z] + cd /tmp/sdk [2023-10-06T04:44:48.754Z] + mkdir -p /tmp/sdk/build/release [2023-10-06T04:44:48.754Z] + cd /tmp/sdk/build/release [2023-10-06T04:44:48.754Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-10-06T04:44:48.754Z] -- The C compiler identification is GNU 11.2.1 [2023-10-06T04:44:48.754Z] -- Detecting C compiler ABI info [2023-10-06T04:44:48.754Z] -- Detecting C compiler ABI info - done [2023-10-06T04:44:48.754Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-06T04:44:48.754Z] -- Detecting C compile features [2023-10-06T04:44:48.754Z] -- Detecting C compile features - done [2023-10-06T04:44:48.754Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-06T04:44:49.013Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-06T04:44:49.013Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-06T04:44:49.013Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-06T04:44:49.013Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-06T04:44:49.013Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-06T04:44:49.013Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-06T04:44:49.013Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-06T04:44:49.013Z] -- /opt/iotech/iot/1.5/include [2023-10-06T04:44:49.013Z] -- C SDK 0.0.0 for Linux [2023-10-06T04:44:49.013Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-06T04:44:49.013Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-06T04:44:49.013Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-06T04:44:49.013Z] -- Configuring done [2023-10-06T04:44:49.013Z] -- Generating done [2023-10-06T04:44:49.013Z] -- Build files have been written to: /tmp/sdk/build/release [2023-10-06T04:44:49.013Z] + make all package [2023-10-06T04:44:49.013Z] + tee release.log [2023-10-06T04:44:49.271Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-06T04:44:49.271Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-06T04:44:49.531Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-06T04:44:49.531Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-06T04:44:49.791Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-06T04:44:49.791Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-06T04:44:50.358Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-06T04:44:50.358Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-10-06T04:44:50.358Z] /tmp/sdk/src/c/consul.c:297:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-06T04:44:50.358Z] 297 | while (privateConfig) [2023-10-06T04:44:50.358Z] | ^~~~~~~~~~~~~ [2023-10-06T04:44:50.358Z] /tmp/sdk/src/c/consul.c:274:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-06T04:44:50.358Z] 274 | while (result) [2023-10-06T04:44:50.358Z] | ^~~~~~ [2023-10-06T04:44:50.358Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-06T04:44:50.358Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-06T04:44:50.618Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-06T04:44:51.188Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-06T04:44:51.188Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-06T04:44:51.188Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-06T04:44:51.452Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-06T04:44:51.452Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-06T04:44:51.712Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-06T04:44:51.712Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-06T04:44:52.283Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-06T04:44:52.283Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-06T04:44:52.542Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-06T04:44:52.542Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-06T04:44:53.482Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-06T04:44:53.741Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-06T04:44:53.741Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-06T04:44:53.741Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-06T04:44:53.999Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-06T04:44:54.258Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-06T04:44:54.518Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-06T04:44:54.776Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-06T04:44:54.776Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-06T04:44:55.035Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-06T04:44:55.035Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-10-06T04:44:55.035Z] /tmp/sdk/src/c/service.c:873:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-06T04:44:55.035Z] 873 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); [2023-10-06T04:44:55.035Z] | ^~~~~~~~~~~~~~~~~~~~ [2023-10-06T04:44:55.035Z] /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-06T04:44:55.035Z] 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); [2023-10-06T04:44:55.035Z] | ^ [2023-10-06T04:44:55.295Z] /tmp/sdk/src/c/service.c:1030:5: warning: 'deviceservices_config' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-06T04:44:55.295Z] 1030 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2023-10-06T04:44:55.295Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-10-06T04:44:55.555Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-06T04:44:55.555Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-06T04:44:55.555Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-06T04:44:55.813Z] [ 68%] Linking C shared library libcsdk.so [2023-10-06T04:44:55.813Z] [ 68%] Built target csdk [2023-10-06T04:44:55.813Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-06T04:44:56.072Z] [ 72%] Linking C executable template [2023-10-06T04:44:56.072Z] [ 72%] Built target template [2023-10-06T04:44:56.072Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-06T04:44:56.072Z] [ 76%] Linking C executable device-counter [2023-10-06T04:44:56.331Z] [ 76%] Built target device-counter [2023-10-06T04:44:56.331Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-06T04:44:56.331Z] [ 80%] Linking C executable device-random [2023-10-06T04:44:56.331Z] [ 80%] Built target device-random [2023-10-06T04:44:56.590Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-06T04:44:56.590Z] [ 84%] Linking C executable device-gyro [2023-10-06T04:44:56.590Z] [ 84%] Built target device-gyro [2023-10-06T04:44:56.590Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-06T04:44:56.849Z] [ 88%] Linking C executable device-bitfields [2023-10-06T04:44:56.849Z] [ 88%] Built target device-bitfields [2023-10-06T04:44:56.849Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-06T04:44:57.108Z] [ 92%] Linking C executable template-discovery [2023-10-06T04:44:57.108Z] [ 92%] Built target template-discovery [2023-10-06T04:44:57.108Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-06T04:44:57.108Z] [ 96%] Linking C executable device-file [2023-10-06T04:44:57.367Z] [ 96%] Built target device-file [2023-10-06T04:44:57.367Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-06T04:44:57.367Z] [100%] Linking C executable device-terminal [2023-10-06T04:44:57.367Z] [100%] Built target device-terminal [2023-10-06T04:44:57.625Z] Run CPack packaging tool... [2023-10-06T04:44:57.625Z] CPack: Create package using TGZ [2023-10-06T04:44:57.625Z] CPack: Install projects [2023-10-06T04:44:57.625Z] CPack: - Run preinstall target for: Csdk [2023-10-06T04:44:57.885Z] CPack: - Install project: Csdk [] [2023-10-06T04:44:57.885Z] CPack: Create package [2023-10-06T04:44:57.885Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-10-06T04:44:57.885Z] + '[' false '=' true ] [2023-10-06T04:44:57.885Z] + '[' false '=' true ] [2023-10-06T04:44:57.885Z] + mkdir -p /tmp/sdk/build/debug [2023-10-06T04:44:57.885Z] + cd /tmp/sdk/build/debug [2023-10-06T04:44:57.885Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-10-06T04:44:57.885Z] -- The C compiler identification is GNU 11.2.1 [2023-10-06T04:44:57.885Z] -- Detecting C compiler ABI info [2023-10-06T04:44:57.885Z] -- Detecting C compiler ABI info - done [2023-10-06T04:44:57.885Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-06T04:44:57.885Z] -- Detecting C compile features [2023-10-06T04:44:57.885Z] -- Detecting C compile features - done [2023-10-06T04:44:57.885Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-06T04:44:58.144Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-06T04:44:58.144Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-06T04:44:58.144Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-06T04:44:58.144Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-06T04:44:58.144Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-06T04:44:58.144Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-06T04:44:58.144Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-06T04:44:58.144Z] -- /opt/iotech/iot/1.5/include [2023-10-06T04:44:58.144Z] -- C SDK 0.0.0 for Linux [2023-10-06T04:44:58.144Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-06T04:44:58.144Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-06T04:44:58.144Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-06T04:44:58.144Z] -- Configuring done [2023-10-06T04:44:58.144Z] -- Generating done [2023-10-06T04:44:58.144Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-10-06T04:44:58.144Z] + + tee debug.log [2023-10-06T04:44:58.144Z] make [2023-10-06T04:44:58.402Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-06T04:44:58.402Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-06T04:44:58.402Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-06T04:44:58.662Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-06T04:44:58.662Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-06T04:44:58.662Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-06T04:44:58.921Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-06T04:44:58.921Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-06T04:44:58.921Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-06T04:44:59.179Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-06T04:44:59.179Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-06T04:44:59.179Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-06T04:44:59.438Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-06T04:44:59.438Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-06T04:44:59.438Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-06T04:44:59.698Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-06T04:44:59.698Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-06T04:44:59.698Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-06T04:44:59.957Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-06T04:44:59.957Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-06T04:44:59.957Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-06T04:45:00.215Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-06T04:45:00.474Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-06T04:45:00.474Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-06T04:45:00.474Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-06T04:45:00.474Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-06T04:45:00.734Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-06T04:45:00.994Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-06T04:45:00.994Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-06T04:45:00.994Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-06T04:45:01.253Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-06T04:45:01.253Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-10-06T04:45:01.253Z] /tmp/sdk/src/c/service.c:873:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-06T04:45:01.253Z] 873 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); [2023-10-06T04:45:01.253Z] | ^~~~~~~~~~~~~~~~~~~~ [2023-10-06T04:45:01.253Z] /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-06T04:45:01.253Z] 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); [2023-10-06T04:45:01.253Z] | ^ [2023-10-06T04:45:01.253Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-06T04:45:01.514Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-06T04:45:01.514Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-06T04:45:01.514Z] [ 68%] Linking C shared library libcsdk.so [2023-10-06T04:45:01.514Z] [ 68%] Built target csdk [2023-10-06T04:45:01.514Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-06T04:45:01.774Z] [ 72%] Linking C executable template [2023-10-06T04:45:01.774Z] [ 72%] Built target template [2023-10-06T04:45:01.774Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-06T04:45:01.774Z] [ 76%] Linking C executable device-counter [2023-10-06T04:45:02.032Z] [ 76%] Built target device-counter [2023-10-06T04:45:02.032Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-06T04:45:02.032Z] [ 80%] Linking C executable device-random [2023-10-06T04:45:02.032Z] [ 80%] Built target device-random [2023-10-06T04:45:02.032Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-06T04:45:02.032Z] [ 84%] Linking C executable device-gyro [2023-10-06T04:45:02.291Z] [ 84%] Built target device-gyro [2023-10-06T04:45:02.291Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-06T04:45:02.291Z] [ 88%] Linking C executable device-bitfields [2023-10-06T04:45:02.291Z] [ 88%] Built target device-bitfields [2023-10-06T04:45:02.291Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-06T04:45:02.549Z] [ 92%] Linking C executable template-discovery [2023-10-06T04:45:02.549Z] [ 92%] Built target template-discovery [2023-10-06T04:45:02.549Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-06T04:45:02.549Z] [ 96%] Linking C executable device-file [2023-10-06T04:45:02.810Z] [ 96%] Built target device-file [2023-10-06T04:45:02.810Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-06T04:45:02.810Z] [100%] Linking C executable device-terminal [2023-10-06T04:45:02.810Z] [100%] Built target device-terminal [2023-10-06T04:45:02.810Z] make: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:45:02.810Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:45:02.810Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:45:02.810Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:45:03.068Z] [ 68%] Built target csdk [2023-10-06T04:45:03.068Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:45:03.068Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:45:03.068Z] [ 72%] Built target template [2023-10-06T04:45:03.068Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:45:03.068Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:45:03.068Z] [ 76%] Built target device-counter [2023-10-06T04:45:03.068Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:45:03.068Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:45:03.068Z] [ 80%] Built target device-random [2023-10-06T04:45:03.068Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:45:03.068Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:45:03.068Z] [ 84%] Built target device-gyro [2023-10-06T04:45:03.068Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:45:03.068Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:45:03.068Z] [ 88%] Built target device-bitfields [2023-10-06T04:45:03.068Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:45:03.068Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:45:03.068Z] [ 92%] Built target template-discovery [2023-10-06T04:45:03.068Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:45:03.068Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:45:03.068Z] [ 96%] Built target device-file [2023-10-06T04:45:03.068Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:45:03.068Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:45:03.068Z] [100%] Built target device-terminal [2023-10-06T04:45:03.068Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:45:03.068Z] Install the project... [2023-10-06T04:45:03.068Z] -- Install configuration: "Release" [2023-10-06T04:45:03.068Z] -- Installing: /usr/local/lib/libcsdk.so [2023-10-06T04:45:03.068Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-10-06T04:45:03.068Z] -- Installing: /usr/local/include [2023-10-06T04:45:03.068Z] -- Installing: /usr/local/include/devsdk [2023-10-06T04:45:03.068Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-10-06T04:45:03.068Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-10-06T04:45:03.068Z] -- Installing: /usr/local/include/edgex [2023-10-06T04:45:03.068Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-10-06T04:45:03.068Z] -- Installing: /usr/local/include/edgex/devices.h [2023-10-06T04:45:03.068Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-10-06T04:45:03.068Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-10-06T04:45:03.068Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-10-06T04:45:03.068Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-10-06T04:45:03.068Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-10-06T04:45:03.068Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-10-06T04:45:03.068Z] make: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:45:04.011Z] Removing intermediate container 8620cc4a5529 [2023-10-06T04:45:04.011Z] ---> 01bc3b1c30e6 [2023-10-06T04:45:04.011Z] Step 14/21 : FROM ${BASE} [2023-10-06T04:45:04.011Z] ---> e83ffa357ff4 [2023-10-06T04:45:04.011Z] Step 15/21 : LABEL maintainer="IOTech " [2023-10-06T04:45:04.270Z] ---> Running in c5d110c694ac [2023-10-06T04:45:04.270Z] Removing intermediate container c5d110c694ac [2023-10-06T04:45:04.270Z] ---> a99d8be0316c [2023-10-06T04:45:04.270Z] 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-06T04:45:04.270Z] ---> Running in 0911a8cade76 [2023-10-06T04:45:04.528Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-10-06T04:45:05.096Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-06T04:45:05.096Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-06T04:45:05.096Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-06T04:45:05.355Z] Removing intermediate container 0911a8cade76 [2023-10-06T04:45:05.355Z] ---> d678faeeffac [2023-10-06T04:45:05.355Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-06T04:45:05.355Z] ---> Running in 5b833ac93809 [2023-10-06T04:45:07.275Z] Removing intermediate container 5b833ac93809 [2023-10-06T04:45:07.275Z] ---> b733e5124f54 [2023-10-06T04:45:07.275Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-10-06T04:45:07.275Z] ---> Running in 45bb7cb34b4a [2023-10-06T04:45:07.850Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-06T04:45:08.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-10-06T04:45:08.367Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-06T04:45:08.937Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-06T04:45:08.937Z] (1/7) Installing curl (8.3.0-r0) [2023-10-06T04:45:08.937Z] (2/7) Installing hiredis (1.0.2-r0) [2023-10-06T04:45:08.937Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-10-06T04:45:08.937Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-10-06T04:45:09.504Z] (5/7) Installing libcbor (0.9.0-r1) [2023-10-06T04:45:09.504Z] (6/7) Installing libuuid (2.38-r1) [2023-10-06T04:45:09.504Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-06T04:45:10.439Z] Executing busybox-1.35.0-r17.trigger [2023-10-06T04:45:10.439Z] OK: 276 MiB in 83 packages [2023-10-06T04:45:11.840Z] Removing intermediate container 45bb7cb34b4a [2023-10-06T04:45:11.840Z] ---> 5824d502bb14 [2023-10-06T04:45:11.840Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-10-06T04:45:12.408Z] ---> ce2cc1adcf47 [2023-10-06T04:45:12.408Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-10-06T04:45:13.348Z] ---> 025d915f1d59 [2023-10-06T04:45:13.348Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-10-06T04:45:13.917Z] ---> 63fb617aeacb [2023-10-06T04:45:13.917Z] Successfully built 63fb617aeacb [2023-10-06T04:45:14.179Z] 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-06T04:45:14.564Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-06T04:45:14.564Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-06T04:45:14.635Z] prd-ubuntu20.04-docker-8c-8g-8620 does not seem to be running inside a container [2023-10-06T04:45:14.670Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-486 -v /w/workspace/edgexfoundry_device-sdk-c_PR-486:/w/workspace/edgexfoundry_device-sdk-c_PR-486:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-06T04:45:16.180Z] $ docker top a1ebceb6ce5931ddee15fc9abd3e89d896e93e4c1ede8e874591cc9339f8daf9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-06T04:45:16.526Z] + make test [2023-10-06T04:45:16.526Z] echo "make test" [2023-10-06T04:45:16.526Z] make test [Pipeline] } [2023-10-06T04:45:16.538Z] $ docker stop --time=1 a1ebceb6ce5931ddee15fc9abd3e89d896e93e4c1ede8e874591cc9339f8daf9 [2023-10-06T04:45:17.964Z] $ docker rm -f --volumes a1ebceb6ce5931ddee15fc9abd3e89d896e93e4c1ede8e874591cc9339f8daf9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-06T04:45:18.586Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-06T04:45:18.874Z] + ls -al . [2023-10-06T04:45:18.874Z] total 212 [2023-10-06T04:45:18.874Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 6 04:44 . [2023-10-06T04:45:18.874Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:44 .. [2023-10-06T04:45:18.874Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 04:44 .git [2023-10-06T04:45:18.874Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 04:44 .github [2023-10-06T04:45:18.874Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 6 04:44 .gitignore [2023-10-06T04:45:18.874Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 6 04:44 .semver [2023-10-06T04:45:18.874Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 6 04:44 Attribution.txt [2023-10-06T04:45:18.874Z] -rw-rw-r-- 1 jenkins jenkins 9802 Oct 6 04:44 CHANGES [2023-10-06T04:45:18.874Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 6 04:44 Doxyfile [2023-10-06T04:45:18.874Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 6 04:44 GOVERNANCE.md [2023-10-06T04:45:18.874Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 6 04:44 Jenkinsfile [2023-10-06T04:45:18.874Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 6 04:44 LICENSE [2023-10-06T04:45:18.874Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 6 04:44 Makefile [2023-10-06T04:45:18.874Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 6 04:44 OWNERS.md [2023-10-06T04:45:18.874Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 6 04:44 README.IOT.md [2023-10-06T04:45:18.874Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 6 04:44 README.md [2023-10-06T04:45:18.874Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 6 04:44 README.v3.md [2023-10-06T04:45:18.874Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 04:44 VERSION [2023-10-06T04:45:18.874Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 04:44 docs [2023-10-06T04:45:18.874Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:44 include [2023-10-06T04:45:18.874Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 04:44 scripts [2023-10-06T04:45:18.874Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:44 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T04:45:19.178Z] + 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=4caea525620fae8a66350c1457a58ad892a3586e --label arch=amd64 --label version=0.0.0 . [2023-10-06T04:45:19.178Z] Sending build context to Docker daemon 4.939MB [2023-10-06T04:45:19.178Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-10-06T04:45:19.178Z] Step 2/17 : FROM ${BASE} [2023-10-06T04:45:19.178Z] ---> 63fb617aeacb [2023-10-06T04:45:19.178Z] Step 3/17 : LABEL maintainer="IOTech " [2023-10-06T04:45:19.178Z] ---> Running in 15c2efd6287d [2023-10-06T04:45:19.436Z] Removing intermediate container 15c2efd6287d [2023-10-06T04:45:19.436Z] ---> 1abe3ae75e28 [2023-10-06T04:45:19.436Z] 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-06T04:45:19.436Z] ---> Running in 546753e5ff62 [2023-10-06T04:45:19.695Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-10-06T04:45:20.007Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-06T04:45:20.007Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-06T04:45:20.007Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-06T04:45:20.264Z] Removing intermediate container 546753e5ff62 [2023-10-06T04:45:20.264Z] ---> 7e388c2349a7 [2023-10-06T04:45:20.264Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-06T04:45:20.264Z] ---> Running in 68d1971fae8f [2023-10-06T04:45:20.832Z] Removing intermediate container 68d1971fae8f [2023-10-06T04:45:20.832Z] ---> 0b8e8f24cd33 [2023-10-06T04:45:20.832Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-10-06T04:45:20.832Z] ---> Running in 515ba5fce6e9 [2023-10-06T04:45:21.091Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-06T04:45:21.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-10-06T04:45:21.350Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-06T04:45:21.918Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-06T04:45:21.918Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-06T04:45:21.918Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-06T04:45:22.177Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-06T04:45:22.744Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-06T04:45:22.745Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-10-06T04:45:22.745Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-06T04:45:22.745Z] (7/11) Installing libblkid (2.38-r1) [2023-10-06T04:45:22.745Z] (8/11) Installing libfdisk (2.38-r1) [2023-10-06T04:45:22.745Z] (9/11) Installing libmount (2.38-r1) [2023-10-06T04:45:22.745Z] (10/11) Installing libsmartcols (2.38-r1) [2023-10-06T04:45:22.745Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-10-06T04:45:23.055Z] Executing busybox-1.35.0-r17.trigger [2023-10-06T04:45:23.055Z] OK: 281 MiB in 92 packages [2023-10-06T04:45:23.623Z] Removing intermediate container 515ba5fce6e9 [2023-10-06T04:45:23.623Z] ---> 37ff054a3bb7 [2023-10-06T04:45:23.623Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-10-06T04:45:23.623Z] ---> fa2f9930ac24 [2023-10-06T04:45:23.623Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-10-06T04:45:23.882Z] ---> c0ec2c630125 [2023-10-06T04:45:23.882Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-10-06T04:45:23.882Z] ---> 9fb1a188a9dc [2023-10-06T04:45:23.882Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-10-06T04:45:24.140Z] ---> cdf7c21711e9 [2023-10-06T04:45:24.140Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-10-06T04:45:24.140Z] ---> aaccb73560f1 [2023-10-06T04:45:24.140Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-10-06T04:45:24.400Z] ---> 80b8a315a42e [2023-10-06T04:45:24.400Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-10-06T04:45:24.400Z] ---> Running in c344ca571647 [2023-10-06T04:45:24.400Z] Removing intermediate container c344ca571647 [2023-10-06T04:45:24.400Z] ---> 503e530a4f04 [2023-10-06T04:45:24.400Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-10-06T04:45:24.400Z] ---> Running in 5b4ea80b619e [2023-10-06T04:45:24.400Z] Removing intermediate container 5b4ea80b619e [2023-10-06T04:45:24.400Z] ---> ae425a570898 [2023-10-06T04:45:24.400Z] Step 15/17 : LABEL arch=amd64 [2023-10-06T04:45:24.659Z] ---> Running in 6b9e9264bc64 [2023-10-06T04:45:24.659Z] Removing intermediate container 6b9e9264bc64 [2023-10-06T04:45:24.659Z] ---> b2164438869a [2023-10-06T04:45:24.659Z] Step 16/17 : LABEL git_sha=4caea525620fae8a66350c1457a58ad892a3586e [2023-10-06T04:45:24.659Z] ---> Running in d48734e7c270 [2023-10-06T04:45:24.659Z] Removing intermediate container d48734e7c270 [2023-10-06T04:45:24.659Z] ---> ec72ff2130b1 [2023-10-06T04:45:24.659Z] Step 17/17 : LABEL version=0.0.0 [2023-10-06T04:45:24.659Z] ---> Running in 6960b4277e9a [2023-10-06T04:45:24.919Z] Removing intermediate container 6960b4277e9a [2023-10-06T04:45:24.919Z] ---> 54ec188e229c [2023-10-06T04:45:24.919Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-10-06T04:45:24.919Z] Successfully built 54ec188e229c [2023-10-06T04:45:24.919Z] 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-06T04:45:25.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-06T04:45:25.342Z] [2023-10-06T04:45:25.342Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T04:45:25.644Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-06T04:45:25.644Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-06T04:45:25.644Z] 5eb5b503b376: Pulling fs layer [2023-10-06T04:45:25.644Z] 5c69ac0246d0: Pulling fs layer [2023-10-06T04:45:25.644Z] ec43610c2a17: Pulling fs layer [2023-10-06T04:45:25.644Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-06T04:45:25.644Z] 33b1e0a273af: Pulling fs layer [2023-10-06T04:45:25.644Z] 5d3b04190fa2: Pulling fs layer [2023-10-06T04:45:25.644Z] 2f39f015ded8: Pulling fs layer [2023-10-06T04:45:25.644Z] 33b1e0a273af: Waiting [2023-10-06T04:45:25.644Z] 3a2ae6a8a46f: Waiting [2023-10-06T04:45:25.644Z] 5d3b04190fa2: Waiting [2023-10-06T04:45:25.644Z] 2f39f015ded8: Waiting [2023-10-06T04:45:25.644Z] 5c69ac0246d0: Download complete [2023-10-06T04:45:25.644Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-06T04:45:25.644Z] 3a2ae6a8a46f: Download complete [2023-10-06T04:45:25.644Z] 33b1e0a273af: Verifying Checksum [2023-10-06T04:45:25.644Z] 33b1e0a273af: Download complete [2023-10-06T04:45:25.911Z] 5d3b04190fa2: Verifying Checksum [2023-10-06T04:45:25.911Z] 5d3b04190fa2: Download complete [2023-10-06T04:45:25.911Z] ec43610c2a17: Verifying Checksum [2023-10-06T04:45:25.911Z] ec43610c2a17: Download complete [2023-10-06T04:45:25.911Z] 5eb5b503b376: Verifying Checksum [2023-10-06T04:45:25.911Z] 5eb5b503b376: Download complete [2023-10-06T04:45:26.853Z] 2f39f015ded8: Download complete [2023-10-06T04:45:27.112Z] 5eb5b503b376: Pull complete [2023-10-06T04:45:27.371Z] 5c69ac0246d0: Pull complete [2023-10-06T04:45:27.631Z] ec43610c2a17: Pull complete [2023-10-06T04:45:27.890Z] 3a2ae6a8a46f: Pull complete [2023-10-06T04:45:28.149Z] 33b1e0a273af: Pull complete [2023-10-06T04:45:28.149Z] 5d3b04190fa2: Pull complete [2023-10-06T04:45:32.336Z] 2f39f015ded8: Pull complete [2023-10-06T04:45:32.336Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-06T04:45:32.336Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-06T04:45:32.336Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-06T04:45:32.411Z] prd-ubuntu20.04-docker-8c-8g-8620 does not seem to be running inside a container [2023-10-06T04:45:32.445Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-486 -v /w/workspace/edgexfoundry_device-sdk-c_PR-486:/w/workspace/edgexfoundry_device-sdk-c_PR-486:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-06T04:45:37.347Z] $ docker top 3a0b50e8849bffc5d37f86af9caf1b1adc2f963ab89149ff439c8094529d5fd1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:45:37.742Z] ---> job-cost.sh [2023-10-06T04:45:37.742Z] lf-activate-venv: SKIPPING [2023-10-06T04:45:37.742Z] INFO: No Stack... [2023-10-06T04:45:38.001Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-06T04:45:38.260Z] INFO: Archiving Costs [Pipeline] sh [2023-10-06T04:45:38.552Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives/cost.csv [2023-10-06T04:45:38.552Z] + cut -d, -f6 [Pipeline] lock [2023-10-06T04:45:38.565Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-486-8-stack-cost] [2023-10-06T04:45:38.573Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-486-8-stack-cost] did not exist. Created. [2023-10-06T04:45:38.573Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-486-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-06T04:45:38.875Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-06T04:45:38.924Z] Stashed 1 file(s) [Pipeline] } [2023-10-06T04:45:38.930Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-486-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-06T04:45:38.952Z] $ docker stop --time=1 3a0b50e8849bffc5d37f86af9caf1b1adc2f963ab89149ff439c8094529d5fd1 [2023-10-06T04:45:40.108Z] $ docker rm -f --volumes 3a0b50e8849bffc5d37f86af9caf1b1adc2f963ab89149ff439c8094529d5fd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-06T04:46:21.117Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8621 in /w/workspace/edgexfoundry_device-sdk-c_PR-486 [Pipeline] { [Pipeline] ws [2023-10-06T04:46:21.129Z] Running in /w/workspace/device-sdk-c/8 [Pipeline] { [Pipeline] checkout [2023-10-06T04:46:21.166Z] Selected Git installation does not exist. Using Default [2023-10-06T04:46:21.166Z] The recommended git tool is: NONE [2023-10-06T04:46:26.291Z] using credential edgex-jenkins-ssh [2023-10-06T04:46:26.305Z] Cloning the remote Git repository [2023-10-06T04:46:26.341Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-10-06T04:46:26.427Z] > git init /w/workspace/device-sdk-c/8 # timeout=10 [2023-10-06T04:46:26.559Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-10-06T04:46:26.560Z] > git --version # timeout=10 [2023-10-06T04:46:26.580Z] > git --version # 'git version 2.25.1' [2023-10-06T04:46:26.582Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-06T04:46:26.730Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-06T04:46:27.837Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-10-06T04:46:27.864Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-06T04:46:28.650Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-10-06T04:46:28.697Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-10-06T04:46:28.698Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-06T04:46:28.717Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/486/head:refs/remotes/origin/PR-486 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-06T04:46:29.334Z] Merging remotes/origin/main commit 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 into PR head commit 4caea525620fae8a66350c1457a58ad892a3586e [2023-10-06T04:46:29.637Z] Merge succeeded, producing 4caea525620fae8a66350c1457a58ad892a3586e [2023-10-06T04:46:29.638Z] Checking out Revision 4caea525620fae8a66350c1457a58ad892a3586e (PR-486) [2023-10-06T04:46:29.350Z] > git config core.sparsecheckout # timeout=10 [2023-10-06T04:46:29.419Z] > git checkout -f 4caea525620fae8a66350c1457a58ad892a3586e # timeout=10 [2023-10-06T04:46:29.540Z] > git remote # timeout=10 [2023-10-06T04:46:29.563Z] > git config --get remote.origin.url # timeout=10 [2023-10-06T04:46:29.577Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-06T04:46:29.591Z] > git merge 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 # timeout=10 [2023-10-06T04:46:29.616Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-06T04:46:29.641Z] > git config core.sparsecheckout # timeout=10 [2023-10-06T04:46:29.653Z] > git checkout -f 4caea525620fae8a66350c1457a58ad892a3586e # timeout=10 [2023-10-06T04:46:33.156Z] Commit message: "feat: Add command line/environment flag for commonConfig" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-06T04:46:34.230Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-06T04:46:34.230Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-06T04:46:34.230Z] Dload Upload Total Spent Left Speed [2023-10-06T04:46:34.230Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 88830 0 --:--:-- --:--:-- --:--:-- 88120 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-10-06T04:46:34.952Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-06T04:46:35.286Z] + sudo tee /etc/docker/daemon.new [2023-10-06T04:46:35.286Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-06T04:46:35.286Z] { [2023-10-06T04:46:35.286Z] "registry-mirrors": [ [2023-10-06T04:46:35.286Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-06T04:46:35.286Z] ], [2023-10-06T04:46:35.286Z] "bip": "10.250.0.254/24", [2023-10-06T04:46:35.286Z] "hosts": [ [2023-10-06T04:46:35.286Z] "tcp://0.0.0.0:5555", [2023-10-06T04:46:35.286Z] "unix:///var/run/docker.sock" [2023-10-06T04:46:35.286Z] ], [2023-10-06T04:46:35.286Z] "mtu": 1458, [2023-10-06T04:46:35.286Z] "selinux-enabled": true, [2023-10-06T04:46:35.286Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-06T04:46:35.286Z] } [Pipeline] sh [2023-10-06T04:46:35.612Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-06T04:46:35.943Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-06T04:46:54.202Z] provisioning config files... [2023-10-06T04:46:54.229Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/8@tmp/config6354849608312821667tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:46:54.577Z] ---> docker-login.sh [2023-10-06T04:46:54.577Z] nexus3.edgexfoundry.org:10001 [2023-10-06T04:46:54.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:46:55.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:46:55.121Z] Configure a credential helper to remove this warning. See [2023-10-06T04:46:55.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:46:55.121Z] [2023-10-06T04:46:55.121Z] Login Succeeded [2023-10-06T04:46:55.121Z] nexus3.edgexfoundry.org:10002 [2023-10-06T04:46:55.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:46:55.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:46:55.391Z] Configure a credential helper to remove this warning. See [2023-10-06T04:46:55.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:46:55.391Z] [2023-10-06T04:46:55.661Z] Login Succeeded [2023-10-06T04:46:55.661Z] nexus3.edgexfoundry.org:10003 [2023-10-06T04:46:55.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:46:55.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:46:55.930Z] Configure a credential helper to remove this warning. See [2023-10-06T04:46:55.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:46:55.930Z] [2023-10-06T04:46:55.930Z] Login Succeeded [2023-10-06T04:46:55.930Z] nexus3.edgexfoundry.org:10004 [2023-10-06T04:46:56.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:46:56.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:46:56.200Z] Configure a credential helper to remove this warning. See [2023-10-06T04:46:56.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:46:56.200Z] [2023-10-06T04:46:56.200Z] Login Succeeded [2023-10-06T04:46:56.200Z] docker.io [2023-10-06T04:46:56.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:46:56.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:46:56.739Z] Configure a credential helper to remove this warning. See [2023-10-06T04:46:56.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:46:56.739Z] [2023-10-06T04:46:56.739Z] Login Succeeded [2023-10-06T04:46:56.739Z] ---> docker-login.sh ends [Pipeline] } [2023-10-06T04:46:56.754Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-06T04:46:57.017Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-06T04:46:57.028Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-10-06T04:46:57.038Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-06T04:46:57.049Z] ========================================================= [2023-10-06T04:46:57.049Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-10-06T04:46:57.049Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T04:46:57.380Z] + 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-06T04:46:57.653Z] Sending build context to Docker daemon 2.966MB [2023-10-06T04:46:57.653Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-10-06T04:46:57.653Z] Step 2/21 : FROM ${BASE} as builder [2023-10-06T04:46:57.923Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-10-06T04:46:57.923Z] 547446be3368: Pulling fs layer [2023-10-06T04:46:57.923Z] 76bd08e1cacc: Pulling fs layer [2023-10-06T04:46:57.923Z] 547446be3368: Verifying Checksum [2023-10-06T04:46:57.923Z] 547446be3368: Download complete [2023-10-06T04:46:58.511Z] 547446be3368: Pull complete [2023-10-06T04:47:00.467Z] 76bd08e1cacc: Download complete [2023-10-06T04:47:08.699Z] 76bd08e1cacc: Pull complete [2023-10-06T04:47:08.699Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-10-06T04:47:08.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-10-06T04:47:08.699Z] ---> 295cd00e64f4 [2023-10-06T04:47:08.699Z] 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-06T04:47:09.294Z] ---> Running in c86d9d14203c [2023-10-06T04:47:10.260Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-10-06T04:47:10.528Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-06T04:47:10.528Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-06T04:47:10.528Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-06T04:47:11.507Z] Removing intermediate container c86d9d14203c [2023-10-06T04:47:11.507Z] ---> 2ffa7a77c2a5 [2023-10-06T04:47:11.507Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-06T04:47:11.507Z] ---> Running in 2b172889e04c [2023-10-06T04:47:12.925Z] Removing intermediate container 2b172889e04c [2023-10-06T04:47:12.925Z] ---> 2b39a59301f5 [2023-10-06T04:47:12.925Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-10-06T04:47:12.925Z] ---> Running in 7ef0238c0e6e [2023-10-06T04:47:13.891Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-06T04:47:14.159Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-10-06T04:47:14.745Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-06T04:47:15.706Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-06T04:47:15.706Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-06T04:47:15.706Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-06T04:47:15.706Z] (3/16) Installing hiredis (1.0.2-r0) [2023-10-06T04:47:15.706Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-10-06T04:47:15.706Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-06T04:47:16.667Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-06T04:47:16.667Z] (7/16) Installing libcbor (0.9.0-r1) [2023-10-06T04:47:16.667Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-10-06T04:47:16.932Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-06T04:47:16.932Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-06T04:47:17.892Z] (11/16) Installing libblkid (2.38-r1) [2023-10-06T04:47:17.892Z] (12/16) Installing libuuid (2.38-r1) [2023-10-06T04:47:17.892Z] (13/16) Installing libfdisk (2.38-r1) [2023-10-06T04:47:17.892Z] (14/16) Installing libmount (2.38-r1) [2023-10-06T04:47:17.892Z] (15/16) Installing libsmartcols (2.38-r1) [2023-10-06T04:47:17.892Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-10-06T04:47:17.892Z] Executing busybox-1.35.0-r17.trigger [2023-10-06T04:47:17.892Z] OK: 286 MiB in 90 packages [2023-10-06T04:47:18.853Z] Removing intermediate container 7ef0238c0e6e [2023-10-06T04:47:18.853Z] ---> caf3ad7756d7 [2023-10-06T04:47:18.853Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-10-06T04:47:19.127Z] ---> Running in ef0ded00f33a [2023-10-06T04:47:20.536Z] Removing intermediate container ef0ded00f33a [2023-10-06T04:47:20.536Z] ---> 7c16eb475cfd [2023-10-06T04:47:20.536Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-10-06T04:47:21.121Z] ---> 4fce7a3a0050 [2023-10-06T04:47:21.121Z] Step 8/21 : COPY src /tmp/sdk/src [2023-10-06T04:47:21.703Z] ---> 3c86b0c08d03 [2023-10-06T04:47:21.703Z] Step 9/21 : COPY include /tmp/sdk/include [2023-10-06T04:47:22.301Z] ---> aabbf71009bb [2023-10-06T04:47:22.301Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-10-06T04:47:22.571Z] ---> 6152276b1ac4 [2023-10-06T04:47:22.571Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-10-06T04:47:23.156Z] ---> 32c238fc1823 [2023-10-06T04:47:23.156Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-10-06T04:47:23.743Z] ---> 2c6d4a6fcf7a [2023-10-06T04:47:23.743Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-10-06T04:47:23.743Z] ---> Running in bc9b390690c9 [2023-10-06T04:47:24.702Z] + CPPCHECK=false [2023-10-06T04:47:24.702Z] + DOCGEN=false [2023-10-06T04:47:24.702Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-10-06T04:47:24.702Z] + '[' 0 -gt 0 ] [2023-10-06T04:47:24.702Z] + readlink -f ./scripts/build.sh [2023-10-06T04:47:24.702Z] + dirname /tmp/sdk/scripts/build.sh [2023-10-06T04:47:24.702Z] + dirname /tmp/sdk/scripts [2023-10-06T04:47:24.702Z] + ROOT=/tmp/sdk [2023-10-06T04:47:24.702Z] + cd /tmp/sdk [2023-10-06T04:47:24.702Z] + mkdir -p /tmp/sdk/build/release [2023-10-06T04:47:24.702Z] + cd /tmp/sdk/build/release [2023-10-06T04:47:24.702Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-10-06T04:47:24.968Z] -- The C compiler identification is GNU 11.2.1 [2023-10-06T04:47:24.968Z] -- Detecting C compiler ABI info [2023-10-06T04:47:25.236Z] -- Detecting C compiler ABI info - done [2023-10-06T04:47:25.236Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-06T04:47:25.236Z] -- Detecting C compile features [2023-10-06T04:47:25.236Z] -- Detecting C compile features - done [2023-10-06T04:47:25.236Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-06T04:47:25.504Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-06T04:47:25.504Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-06T04:47:25.504Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-06T04:47:25.504Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-06T04:47:25.504Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-06T04:47:25.504Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-06T04:47:25.770Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-06T04:47:25.770Z] -- /opt/iotech/iot/1.5/include [2023-10-06T04:47:25.770Z] -- C SDK 0.0.0 for Linux [2023-10-06T04:47:25.770Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-06T04:47:26.036Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-06T04:47:26.036Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-06T04:47:26.302Z] -- Configuring done [2023-10-06T04:47:26.570Z] -- Generating done [2023-10-06T04:47:26.570Z] -- Build files have been written to: /tmp/sdk/build/release [2023-10-06T04:47:26.570Z] + make all package [2023-10-06T04:47:26.570Z] + tee release.log [2023-10-06T04:47:26.570Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-06T04:47:27.528Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-06T04:47:28.937Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-06T04:47:29.520Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-06T04:47:30.477Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-06T04:47:31.058Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-06T04:47:34.391Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-06T04:47:34.972Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-10-06T04:47:34.972Z] /tmp/sdk/src/c/consul.c:297:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-06T04:47:34.972Z] 297 | while (privateConfig) [2023-10-06T04:47:34.972Z] | ^~~~~~~~~~~~~ [2023-10-06T04:47:34.972Z] /tmp/sdk/src/c/consul.c:274:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-06T04:47:34.972Z] 274 | while (result) [2023-10-06T04:47:34.972Z] | ^~~~~~ [2023-10-06T04:47:35.238Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-06T04:47:35.504Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-06T04:47:36.457Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-06T04:47:39.025Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-06T04:47:39.606Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-06T04:47:41.018Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-06T04:47:41.600Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-06T04:47:42.181Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-06T04:47:43.585Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-06T04:47:43.851Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-06T04:47:46.420Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-06T04:47:46.685Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-06T04:47:47.639Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-06T04:47:49.043Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-06T04:47:55.671Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-06T04:47:55.671Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-06T04:47:55.936Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-06T04:47:56.518Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-06T04:47:56.784Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-06T04:47:58.723Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-06T04:48:01.298Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-06T04:48:01.878Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-06T04:48:03.288Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-06T04:48:03.869Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-06T04:48:04.134Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-10-06T04:48:04.134Z] /tmp/sdk/src/c/service.c:873:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-06T04:48:04.134Z] 873 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); [2023-10-06T04:48:04.134Z] | ^~~~~~~~~~~~~~~~~~~~ [2023-10-06T04:48:04.134Z] /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-06T04:48:04.134Z] 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); [2023-10-06T04:48:04.134Z] | ^ [2023-10-06T04:48:06.066Z] /tmp/sdk/src/c/service.c:1030:5: warning: 'deviceservices_config' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-06T04:48:06.066Z] 1030 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2023-10-06T04:48:06.066Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-10-06T04:48:07.467Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-06T04:48:08.424Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-06T04:48:08.690Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-06T04:48:09.271Z] [ 68%] Linking C shared library libcsdk.so [2023-10-06T04:48:09.538Z] [ 68%] Built target csdk [2023-10-06T04:48:09.538Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-06T04:48:10.946Z] [ 72%] Linking C executable template [2023-10-06T04:48:10.946Z] [ 72%] Built target template [2023-10-06T04:48:10.946Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-06T04:48:11.527Z] [ 76%] Linking C executable device-counter [2023-10-06T04:48:11.793Z] [ 76%] Built target device-counter [2023-10-06T04:48:12.058Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-06T04:48:12.638Z] [ 80%] Linking C executable device-random [2023-10-06T04:48:12.903Z] [ 80%] Built target device-random [2023-10-06T04:48:12.903Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-06T04:48:13.484Z] [ 84%] Linking C executable device-gyro [2023-10-06T04:48:13.749Z] [ 84%] Built target device-gyro [2023-10-06T04:48:13.750Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-06T04:48:14.330Z] [ 88%] Linking C executable device-bitfields [2023-10-06T04:48:14.596Z] [ 88%] Built target device-bitfields [2023-10-06T04:48:14.596Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-06T04:48:15.996Z] [ 92%] Linking C executable template-discovery [2023-10-06T04:48:15.996Z] [ 92%] Built target template-discovery [2023-10-06T04:48:15.996Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-06T04:48:16.952Z] [ 96%] Linking C executable device-file [2023-10-06T04:48:17.485Z] [ 96%] Built target device-file [2023-10-06T04:48:17.485Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-06T04:48:18.064Z] [100%] Linking C executable device-terminal [2023-10-06T04:48:18.330Z] [100%] Built target device-terminal [2023-10-06T04:48:18.330Z] Run CPack packaging tool... [2023-10-06T04:48:18.330Z] CPack: Create package using TGZ [2023-10-06T04:48:18.330Z] CPack: Install projects [2023-10-06T04:48:18.330Z] CPack: - Run preinstall target for: Csdk [2023-10-06T04:48:19.288Z] CPack: - Install project: Csdk [] [2023-10-06T04:48:19.288Z] CPack: Create package [2023-10-06T04:48:19.288Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-10-06T04:48:19.288Z] + '[' false '=' true ] [2023-10-06T04:48:19.288Z] + '[' false '=' true ] [2023-10-06T04:48:19.288Z] + mkdir -p /tmp/sdk/build/debug [2023-10-06T04:48:19.288Z] + cd /tmp/sdk/build/debug [2023-10-06T04:48:19.288Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-10-06T04:48:19.554Z] -- The C compiler identification is GNU 11.2.1 [2023-10-06T04:48:19.554Z] -- Detecting C compiler ABI info [2023-10-06T04:48:19.819Z] -- Detecting C compiler ABI info - done [2023-10-06T04:48:20.085Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-06T04:48:20.085Z] -- Detecting C compile features [2023-10-06T04:48:20.085Z] -- Detecting C compile features - done [2023-10-06T04:48:20.085Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-06T04:48:20.351Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-06T04:48:20.351Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-06T04:48:20.351Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-06T04:48:20.351Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-06T04:48:20.351Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-06T04:48:20.351Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-06T04:48:20.351Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-06T04:48:20.351Z] -- /opt/iotech/iot/1.5/include [2023-10-06T04:48:20.351Z] -- C SDK 0.0.0 for Linux [2023-10-06T04:48:20.351Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-06T04:48:20.620Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-06T04:48:20.887Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-06T04:48:20.887Z] -- Configuring done [2023-10-06T04:48:21.152Z] -- Generating done [2023-10-06T04:48:21.152Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-10-06T04:48:21.152Z] + make [2023-10-06T04:48:21.152Z] + tee debug.log [2023-10-06T04:48:21.418Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-06T04:48:21.999Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-06T04:48:22.265Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-06T04:48:22.844Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-06T04:48:23.110Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-06T04:48:23.691Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-06T04:48:24.647Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-06T04:48:24.913Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-06T04:48:25.178Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-06T04:48:25.760Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-06T04:48:26.716Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-06T04:48:26.981Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-06T04:48:27.248Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-06T04:48:27.828Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-06T04:48:28.095Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-06T04:48:28.675Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-06T04:48:28.941Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-06T04:48:29.902Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-06T04:48:30.170Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-06T04:48:30.436Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-06T04:48:31.021Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-06T04:48:32.427Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-06T04:48:33.011Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-06T04:48:33.277Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-06T04:48:33.543Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-06T04:48:33.810Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-06T04:48:34.393Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-06T04:48:39.738Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-06T04:48:39.738Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-06T04:48:39.738Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-06T04:48:40.004Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-06T04:48:40.588Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-10-06T04:48:40.588Z] /tmp/sdk/src/c/service.c:873:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-06T04:48:40.588Z] 873 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); [2023-10-06T04:48:40.588Z] | ^~~~~~~~~~~~~~~~~~~~ [2023-10-06T04:48:40.588Z] /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-06T04:48:40.588Z] 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); [2023-10-06T04:48:40.588Z] | ^ [2023-10-06T04:48:41.172Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-06T04:48:41.438Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-06T04:48:42.017Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-06T04:48:42.283Z] [ 68%] Linking C shared library libcsdk.so [2023-10-06T04:48:42.548Z] [ 68%] Built target csdk [2023-10-06T04:48:42.548Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-06T04:48:42.813Z] [ 72%] Linking C executable template [2023-10-06T04:48:43.078Z] [ 72%] Built target template [2023-10-06T04:48:43.344Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-06T04:48:43.610Z] [ 76%] Linking C executable device-counter [2023-10-06T04:48:43.876Z] [ 76%] Built target device-counter [2023-10-06T04:48:43.876Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-06T04:48:44.142Z] [ 80%] Linking C executable device-random [2023-10-06T04:48:44.410Z] [ 80%] Built target device-random [2023-10-06T04:48:44.676Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-06T04:48:44.942Z] [ 84%] Linking C executable device-gyro [2023-10-06T04:48:45.207Z] [ 84%] Built target device-gyro [2023-10-06T04:48:45.207Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-06T04:48:45.472Z] [ 88%] Linking C executable device-bitfields [2023-10-06T04:48:45.740Z] [ 88%] Built target device-bitfields [2023-10-06T04:48:46.004Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-06T04:48:46.269Z] [ 92%] Linking C executable template-discovery [2023-10-06T04:48:46.535Z] [ 92%] Built target template-discovery [2023-10-06T04:48:46.535Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-06T04:48:47.114Z] [ 96%] Linking C executable device-file [2023-10-06T04:48:47.380Z] [ 96%] Built target device-file [2023-10-06T04:48:47.380Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-06T04:48:47.962Z] [100%] Linking C executable device-terminal [2023-10-06T04:48:48.227Z] [100%] Built target device-terminal [2023-10-06T04:48:48.227Z] make: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:48:48.227Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:48:48.227Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:48:48.227Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:48:48.227Z] [ 68%] Built target csdk [2023-10-06T04:48:48.227Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:48:48.227Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:48:48.227Z] [ 72%] Built target template [2023-10-06T04:48:48.494Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:48:48.494Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:48:48.494Z] [ 76%] Built target device-counter [2023-10-06T04:48:48.494Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:48:48.494Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:48:48.494Z] [ 80%] Built target device-random [2023-10-06T04:48:48.494Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:48:48.494Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:48:48.494Z] [ 84%] Built target device-gyro [2023-10-06T04:48:48.494Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:48:48.494Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:48:48.494Z] [ 88%] Built target device-bitfields [2023-10-06T04:48:48.494Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:48:48.494Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:48:48.495Z] [ 92%] Built target template-discovery [2023-10-06T04:48:48.495Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:48:48.495Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:48:48.760Z] [ 96%] Built target device-file [2023-10-06T04:48:48.760Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:48:48.760Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:48:48.760Z] [100%] Built target device-terminal [2023-10-06T04:48:48.760Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:48:48.760Z] Install the project... [2023-10-06T04:48:48.760Z] -- Install configuration: "Release" [2023-10-06T04:48:48.760Z] -- Installing: /usr/local/lib/libcsdk.so [2023-10-06T04:48:48.760Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-10-06T04:48:48.760Z] -- Installing: /usr/local/include [2023-10-06T04:48:48.760Z] -- Installing: /usr/local/include/devsdk [2023-10-06T04:48:48.760Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-10-06T04:48:48.760Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-10-06T04:48:48.760Z] -- Installing: /usr/local/include/edgex [2023-10-06T04:48:48.760Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-10-06T04:48:48.760Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-10-06T04:48:48.760Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-10-06T04:48:48.760Z] -- Installing: /usr/local/include/edgex/devices.h [2023-10-06T04:48:48.760Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-10-06T04:48:48.760Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-10-06T04:48:48.760Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-10-06T04:48:48.760Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-10-06T04:48:48.760Z] make: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:48:54.150Z] Removing intermediate container bc9b390690c9 [2023-10-06T04:48:54.150Z] ---> 90d248fa6460 [2023-10-06T04:48:54.150Z] Step 14/21 : FROM ${BASE} [2023-10-06T04:48:54.150Z] ---> 295cd00e64f4 [2023-10-06T04:48:54.150Z] Step 15/21 : LABEL maintainer="IOTech " [2023-10-06T04:48:54.150Z] ---> Running in 6bd814fcf35e [2023-10-06T04:48:54.150Z] Removing intermediate container 6bd814fcf35e [2023-10-06T04:48:54.150Z] ---> 8c5bbf2cb7be [2023-10-06T04:48:54.150Z] 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-06T04:48:54.150Z] ---> Running in 277d09e5f643 [2023-10-06T04:48:54.418Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-10-06T04:48:55.016Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-06T04:48:55.016Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-06T04:48:55.016Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-06T04:48:55.612Z] Removing intermediate container 277d09e5f643 [2023-10-06T04:48:55.612Z] ---> 3b1433b1b778 [2023-10-06T04:48:55.612Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-06T04:48:55.612Z] ---> Running in 7238bfcc74d5 [2023-10-06T04:48:57.028Z] Removing intermediate container 7238bfcc74d5 [2023-10-06T04:48:57.028Z] ---> a12cbe73cf1b [2023-10-06T04:48:57.028Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-10-06T04:48:57.294Z] ---> Running in 3e58e72d7126 [2023-10-06T04:48:58.250Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-06T04:48:58.250Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-10-06T04:48:58.832Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-06T04:48:59.787Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-06T04:48:59.787Z] (1/7) Installing curl (8.2.1-r0) [2023-10-06T04:48:59.787Z] (2/7) Installing hiredis (1.0.2-r0) [2023-10-06T04:48:59.787Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-10-06T04:48:59.787Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-10-06T04:49:00.367Z] (5/7) Installing libcbor (0.9.0-r1) [2023-10-06T04:49:00.367Z] (6/7) Installing libuuid (2.38-r1) [2023-10-06T04:49:00.634Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-06T04:49:01.215Z] Executing busybox-1.35.0-r17.trigger [2023-10-06T04:49:01.481Z] OK: 281 MiB in 83 packages [2023-10-06T04:49:02.442Z] Removing intermediate container 3e58e72d7126 [2023-10-06T04:49:02.442Z] ---> a0d879692334 [2023-10-06T04:49:02.442Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-10-06T04:49:02.709Z] ---> 737d63253b89 [2023-10-06T04:49:02.709Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-10-06T04:49:03.291Z] ---> 42b596b08227 [2023-10-06T04:49:03.291Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-10-06T04:49:07.536Z] ---> 8126d89908ca [2023-10-06T04:49:07.536Z] Successfully built 8126d89908ca [2023-10-06T04:49:07.536Z] 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-06T04:49:07.943Z] + docker inspect -f . ci-base-image-arm64 [2023-10-06T04:49:07.943Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-06T04:49:08.152Z] prd-ubuntu20.04-docker-arm64-4c-16g-8621 does not seem to be running inside a container [2023-10-06T04:49:08.222Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/8 -v /w/workspace/device-sdk-c/8:/w/workspace/device-sdk-c/8:rw,z -v /w/workspace/device-sdk-c/8@tmp:/w/workspace/device-sdk-c/8@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-06T04:49:09.384Z] $ docker top 4d278d059433286b9497b74eb9f5df4542d20c18778d10131117b13d38d694a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-06T04:49:10.182Z] + make test [2023-10-06T04:49:10.182Z] echo "make test" [2023-10-06T04:49:10.182Z] make test [Pipeline] } [2023-10-06T04:49:10.209Z] $ docker stop --time=1 4d278d059433286b9497b74eb9f5df4542d20c18778d10131117b13d38d694a2 [2023-10-06T04:49:11.828Z] $ docker rm -f --volumes 4d278d059433286b9497b74eb9f5df4542d20c18778d10131117b13d38d694a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-06T04:49:12.333Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-06T04:49:12.643Z] + ls -al . [2023-10-06T04:49:12.643Z] total 208 [2023-10-06T04:49:12.643Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 04:46 . [2023-10-06T04:49:12.643Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:46 .. [2023-10-06T04:49:12.643Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 04:46 .git [2023-10-06T04:49:12.643Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 04:46 .github [2023-10-06T04:49:12.643Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 6 04:46 .gitignore [2023-10-06T04:49:12.643Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 6 04:46 Attribution.txt [2023-10-06T04:49:12.643Z] -rw-rw-r-- 1 jenkins jenkins 9802 Oct 6 04:46 CHANGES [2023-10-06T04:49:12.643Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 6 04:46 Doxyfile [2023-10-06T04:49:12.643Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 6 04:46 GOVERNANCE.md [2023-10-06T04:49:12.643Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 6 04:46 Jenkinsfile [2023-10-06T04:49:12.643Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 6 04:46 LICENSE [2023-10-06T04:49:12.643Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 6 04:46 Makefile [2023-10-06T04:49:12.643Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 6 04:46 OWNERS.md [2023-10-06T04:49:12.643Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 6 04:46 README.IOT.md [2023-10-06T04:49:12.643Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 6 04:46 README.md [2023-10-06T04:49:12.643Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 6 04:46 README.v3.md [2023-10-06T04:49:12.643Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 04:44 VERSION [2023-10-06T04:49:12.643Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 04:46 docs [2023-10-06T04:49:12.643Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:46 include [2023-10-06T04:49:12.643Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 04:46 scripts [2023-10-06T04:49:12.643Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:46 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T04:49:13.189Z] + 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=4caea525620fae8a66350c1457a58ad892a3586e --label arch=arm64 --label version=0.0.0 . [2023-10-06T04:49:13.189Z] Sending build context to Docker daemon 2.966MB [2023-10-06T04:49:13.189Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-10-06T04:49:13.189Z] Step 2/17 : FROM ${BASE} [2023-10-06T04:49:13.189Z] ---> 8126d89908ca [2023-10-06T04:49:13.189Z] Step 3/17 : LABEL maintainer="IOTech " [2023-10-06T04:49:13.455Z] ---> Running in d269c4529b1d [2023-10-06T04:49:13.726Z] Removing intermediate container d269c4529b1d [2023-10-06T04:49:13.726Z] ---> e889edddf2bc [2023-10-06T04:49:13.726Z] 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-06T04:49:13.726Z] ---> Running in cb2b49f328a5 [2023-10-06T04:49:14.690Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-10-06T04:49:14.958Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-06T04:49:14.958Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-06T04:49:14.958Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-06T04:49:15.925Z] Removing intermediate container cb2b49f328a5 [2023-10-06T04:49:15.925Z] ---> 97c93cfe0b17 [2023-10-06T04:49:15.925Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-06T04:49:15.925Z] ---> Running in ae936ba5c3c8 [2023-10-06T04:49:17.340Z] Removing intermediate container ae936ba5c3c8 [2023-10-06T04:49:17.340Z] ---> 75e9fa310f57 [2023-10-06T04:49:17.340Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-10-06T04:49:17.340Z] ---> Running in cb7a95fd53c5 [2023-10-06T04:49:18.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-06T04:49:18.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-10-06T04:49:19.153Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-06T04:49:20.110Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-06T04:49:20.110Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-06T04:49:20.110Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-06T04:49:20.110Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-06T04:49:20.861Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-06T04:49:21.127Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-10-06T04:49:21.127Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-06T04:49:21.127Z] (7/11) Installing libblkid (2.38-r1) [2023-10-06T04:49:21.127Z] (8/11) Installing libfdisk (2.38-r1) [2023-10-06T04:49:21.127Z] (9/11) Installing libmount (2.38-r1) [2023-10-06T04:49:21.127Z] (10/11) Installing libsmartcols (2.38-r1) [2023-10-06T04:49:21.127Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-10-06T04:49:21.446Z] Executing busybox-1.35.0-r17.trigger [2023-10-06T04:49:21.446Z] OK: 287 MiB in 92 packages [2023-10-06T04:49:22.424Z] Removing intermediate container cb7a95fd53c5 [2023-10-06T04:49:22.424Z] ---> 25bc7c64f892 [2023-10-06T04:49:22.424Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-10-06T04:49:23.006Z] ---> 163a1eef8b13 [2023-10-06T04:49:23.006Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-10-06T04:49:24.233Z] ---> 9e8b2ebe1adc [2023-10-06T04:49:24.233Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-10-06T04:49:24.233Z] ---> be8e32e63245 [2023-10-06T04:49:24.233Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-10-06T04:49:24.823Z] ---> dee0bef6bf60 [2023-10-06T04:49:24.823Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-10-06T04:49:25.090Z] ---> 16308ac439f4 [2023-10-06T04:49:25.090Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-10-06T04:49:25.673Z] ---> 026d8f39886d [2023-10-06T04:49:25.673Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-10-06T04:49:25.673Z] ---> Running in c9305901768f [2023-10-06T04:49:25.939Z] Removing intermediate container c9305901768f [2023-10-06T04:49:25.939Z] ---> 3118b5b149eb [2023-10-06T04:49:25.939Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-10-06T04:49:25.939Z] ---> Running in 0db5df191ec5 [2023-10-06T04:49:26.210Z] Removing intermediate container 0db5df191ec5 [2023-10-06T04:49:26.210Z] ---> 5d5883e4832f [2023-10-06T04:49:26.210Z] Step 15/17 : LABEL arch=arm64 [2023-10-06T04:49:26.480Z] ---> Running in 9518700945bd [2023-10-06T04:49:26.746Z] Removing intermediate container 9518700945bd [2023-10-06T04:49:26.746Z] ---> 3cb3f31fceb9 [2023-10-06T04:49:26.746Z] Step 16/17 : LABEL git_sha=4caea525620fae8a66350c1457a58ad892a3586e [2023-10-06T04:49:26.746Z] ---> Running in d98bd0098584 [2023-10-06T04:49:27.011Z] Removing intermediate container d98bd0098584 [2023-10-06T04:49:27.011Z] ---> b796cc31d6ce [2023-10-06T04:49:27.011Z] Step 17/17 : LABEL version=0.0.0 [2023-10-06T04:49:27.011Z] ---> Running in 6d5d397d4653 [2023-10-06T04:49:27.278Z] Removing intermediate container 6d5d397d4653 [2023-10-06T04:49:27.278Z] ---> 0e6d72a43a91 [2023-10-06T04:49:27.278Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-10-06T04:49:27.278Z] Successfully built 0e6d72a43a91 [2023-10-06T04:49:27.278Z] 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-06T04:49:27.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-06T04:49:27.705Z] [2023-10-06T04:49:27.705Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T04:49:28.038Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-06T04:49:28.307Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-06T04:49:28.307Z] 8998bd30e6a1: Pulling fs layer [2023-10-06T04:49:28.307Z] 04944245beec: Pulling fs layer [2023-10-06T04:49:28.307Z] 699f458cf7ca: Pulling fs layer [2023-10-06T04:49:28.307Z] 765212b225bb: Pulling fs layer [2023-10-06T04:49:28.307Z] f23df028b6ca: Pulling fs layer [2023-10-06T04:49:28.307Z] d65c8cfc05b1: Pulling fs layer [2023-10-06T04:49:28.307Z] 2437ff75d9bd: Pulling fs layer [2023-10-06T04:49:28.307Z] d65c8cfc05b1: Waiting [2023-10-06T04:49:28.307Z] 2437ff75d9bd: Waiting [2023-10-06T04:49:28.307Z] 765212b225bb: Waiting [2023-10-06T04:49:28.307Z] f23df028b6ca: Waiting [2023-10-06T04:49:28.307Z] 04944245beec: Verifying Checksum [2023-10-06T04:49:28.307Z] 04944245beec: Download complete [2023-10-06T04:49:28.307Z] 765212b225bb: Verifying Checksum [2023-10-06T04:49:28.307Z] 765212b225bb: Download complete [2023-10-06T04:49:28.307Z] f23df028b6ca: Verifying Checksum [2023-10-06T04:49:28.307Z] f23df028b6ca: Download complete [2023-10-06T04:49:28.307Z] d65c8cfc05b1: Verifying Checksum [2023-10-06T04:49:28.307Z] d65c8cfc05b1: Download complete [2023-10-06T04:49:28.575Z] 699f458cf7ca: Verifying Checksum [2023-10-06T04:49:28.575Z] 699f458cf7ca: Download complete [2023-10-06T04:49:28.842Z] 8998bd30e6a1: Verifying Checksum [2023-10-06T04:49:28.842Z] 8998bd30e6a1: Download complete [2023-10-06T04:49:31.421Z] 2437ff75d9bd: Verifying Checksum [2023-10-06T04:49:31.421Z] 2437ff75d9bd: Download complete [2023-10-06T04:49:32.828Z] 8998bd30e6a1: Pull complete [2023-10-06T04:49:33.093Z] 04944245beec: Pull complete [2023-10-06T04:49:34.497Z] 699f458cf7ca: Pull complete [2023-10-06T04:49:34.497Z] 765212b225bb: Pull complete [2023-10-06T04:49:35.457Z] f23df028b6ca: Pull complete [2023-10-06T04:49:35.457Z] d65c8cfc05b1: Pull complete [2023-10-06T04:49:50.441Z] 2437ff75d9bd: Pull complete [2023-10-06T04:49:50.441Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-06T04:49:50.441Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-06T04:49:50.441Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-06T04:49:50.626Z] prd-ubuntu20.04-docker-arm64-4c-16g-8621 does not seem to be running inside a container [2023-10-06T04:49:50.700Z] $ 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/8 -v /w/workspace/device-sdk-c/8:/w/workspace/device-sdk-c/8:rw,z -v /w/workspace/device-sdk-c/8@tmp:/w/workspace/device-sdk-c/8@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-06T04:49:53.197Z] $ docker top c53e005c005533efdeaae4bad98625e6d0542e4775aa7e13b096a9b8762d4474 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:49:54.004Z] ---> job-cost.sh [2023-10-06T04:49:54.005Z] lf-activate-venv: SKIPPING [2023-10-06T04:49:54.005Z] INFO: No Stack... [2023-10-06T04:49:54.270Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-06T04:49:55.225Z] INFO: Archiving Costs [Pipeline] sh [2023-10-06T04:49:55.613Z] + cat /w/workspace/device-sdk-c/8/archives/cost.csv [2023-10-06T04:49:55.613Z] + cut -d, -f6 [Pipeline] lock [2023-10-06T04:49:55.677Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-486-8-stack-cost] [2023-10-06T04:49:55.682Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-486-8-stack-cost] did not exist. Created. [2023-10-06T04:49:55.682Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-486-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-06T04:49:56.010Z] /w/workspace/device-sdk-c/8@tmp/durable-843814e8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-06T04:49:56.346Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-06T04:49:56.373Z] Warning: overwriting stash ‘stack-cost’ [2023-10-06T04:49:56.838Z] Stashed 1 file(s) [Pipeline] } [2023-10-06T04:49:56.843Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-486-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-06T04:49:56.868Z] $ docker stop --time=1 c53e005c005533efdeaae4bad98625e6d0542e4775aa7e13b096a9b8762d4474 [2023-10-06T04:49:58.335Z] $ docker rm -f --volumes c53e005c005533efdeaae4bad98625e6d0542e4775aa7e13b096a9b8762d4474 [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-06T04:50:00.544Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives ] [2023-10-06T04:50:00.544Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives [2023-10-06T04:50:00.544Z] total 16 [2023-10-06T04:50:00.544Z] drwxr-xr-x 3 root root 4096 Oct 6 04:45 . [2023-10-06T04:50:00.544Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 6 04:45 .. [2023-10-06T04:50:00.544Z] drwxr-xr-x 2 root root 4096 Oct 6 04:45 cost [2023-10-06T04:50:00.544Z] -rw-r--r-- 1 root root 84 Oct 6 04:45 cost.csv [2023-10-06T04:50:00.544Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives [2023-10-06T04:50:00.544Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives [2023-10-06T04:50:00.544Z] total 16 [2023-10-06T04:50:00.544Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 6 04:45 . [2023-10-06T04:50:00.545Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 6 04:45 .. [2023-10-06T04:50:00.545Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 6 04:45 cost [2023-10-06T04:50:00.545Z] -rw-r--r-- 1 jenkins jenkins 84 Oct 6 04:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:50:00.837Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:50:01.698Z] ---> package-listing.sh [2023-10-06T04:50:01.699Z] ++ facter osfamily [2023-10-06T04:50:01.699Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-06T04:50:01.960Z] + OS_FAMILY=debian [2023-10-06T04:50:01.960Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-486 [2023-10-06T04:50:01.960Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-06T04:50:01.960Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-06T04:50:01.960Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-06T04:50:01.960Z] + PACKAGES=/tmp/packages_start.txt [2023-10-06T04:50:01.960Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-486 ']' [2023-10-06T04:50:01.960Z] + PACKAGES=/tmp/packages_end.txt [2023-10-06T04:50:01.960Z] + case "${OS_FAMILY}" in [2023-10-06T04:50:01.960Z] + dpkg -l [2023-10-06T04:50:01.960Z] + grep '^ii' [2023-10-06T04:50:01.960Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-06T04:50:01.960Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-06T04:50:01.960Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-06T04:50:01.960Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-486 ']' [2023-10-06T04:50:01.960Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives/ [2023-10-06T04:50:01.960Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives/ [Pipeline] echo [2023-10-06T04:50:01.971Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-486/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-06T04:50:02.247Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T04:50:02.806Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-06T04:50:02.806Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-06T04:50:02.871Z] prd-ubuntu20.04-docker-8c-8g-8620 does not seem to be running inside a container [2023-10-06T04:50:02.902Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-486/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-486 -v /w/workspace/edgexfoundry_device-sdk-c_PR-486:/w/workspace/edgexfoundry_device-sdk-c_PR-486:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-06T04:50:03.108Z] $ docker top ae58a6c9589061fbaa9a27f78e26ad70a1e78f9046c20f8410d80861c876b4aa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-06T04:50:03.440Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-06T04:50:03.723Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-06T04:50:04.003Z] + ls /var/log/sa-host [2023-10-06T04:50:04.003Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-06T04:50:04.139Z] provisioning config files... [2023-10-06T04:50:04.147Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/config17555638159447464048tmp [Pipeline] { [Pipeline] echo [2023-10-06T04:50:04.161Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:50:04.442Z] ---> create-netrc.sh [Pipeline] } [2023-10-06T04:50:04.449Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:50:04.780Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-06T04:50:04.788Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:50:05.072Z] ---> sudo-logs.sh [2023-10-06T04:50:05.072Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-06T04:50:05.095Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:50:05.372Z] ---> job-cost.sh [2023-10-06T04:50:05.372Z] lf-activate-venv: SKIPPING [2023-10-06T04:50:05.372Z] DEBUG: total: 0.2199999988079071 [2023-10-06T04:50:05.372Z] INFO: Retrieving Stack Cost... [2023-10-06T04:50:05.631Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-06T04:50:06.201Z] INFO: Archiving Costs [Pipeline] echo [2023-10-06T04:50:06.213Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:50:06.497Z] ---> logs-deploy.sh [2023-10-06T04:50:06.497Z] lf-activate-venv: SKIPPING [2023-10-06T04:50:06.497Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-486/8 [2023-10-06T04:50:06.497Z] INFO: archiving workspace using pattern(s): [2023-10-06T04:50:07.435Z] Archives upload complete. [2023-10-06T04:50:07.435Z] INFO: archiving logs to Nexus