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 8871496b688051dfdfe39e3b164e5012c8f6e08a+b359547df5a09ee3070876df63645d58a75503b0 (602ac6223b6e0cbf2cf31eca62137b82ec5d19c4) 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-ssh10999748684144022293.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-ssh8517100632308855222.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-ssh15338520166469525653.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-ssh4800082297780093440.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-ssh2923421967292254498.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-8391 in /w/workspace/edgexfoundry_device-sdk-c_PR-486 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-486 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/486/head:refs/remotes/origin/PR-486 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b359547df5a09ee3070876df63645d58a75503b0 into PR head commit 8871496b688051dfdfe39e3b164e5012c8f6e08a Merge succeeded, producing 1914b4281dfc026003a5d57da905551187c7ad64 Checking out Revision 1914b4281dfc026003a5d57da905551187c7ad64 (PR-486) > git config core.sparsecheckout # timeout=10 > git checkout -f 8871496b688051dfdfe39e3b164e5012c8f6e08a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b359547df5a09ee3070876df63645d58a75503b0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1914b4281dfc026003a5d57da905551187c7ad64 # timeout=10 Commit message: "Merge commit 'b359547df5a09ee3070876df63645d58a75503b0' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 2cf0389c37548dfb4ca15251dd990544dd9abf85 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-03T12:33:26.603Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-03T12:33:26.662Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-03T12:33:26.678Z] ========================================================= [2023-10-03T12:33:26.678Z] EdgeX Global Pipelines Version Info [2023-10-03T12:33:26.678Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-03T12:33:27.797Z] ------------------- [2023-10-03T12:33:27.797Z] stable info: [2023-10-03T12:33:27.797Z] ------------------- [2023-10-03T12:33:27.797Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-03T12:33:27.797Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-03T12:33:27.797Z] Message: update stable to v1.0.254 [2023-10-03T12:33:28.057Z] ------------------- [2023-10-03T12:33:28.057Z] experimental info: [2023-10-03T12:33:28.057Z] ------------------- [2023-10-03T12:33:28.057Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-03T12:33:28.057Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-03T12:33:28.057Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-03T12:33:28.219Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-10-03T12:33:28.230Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-10-03T12:33:28.241Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-03T12:33:28.255Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-03T12:33:28.265Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-03T12:33:28.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-10-03T12:33:28.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-10-03T12:33:28.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-03T12:33:28.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-03T12:33:28.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-10-03T12:33:28.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-03T12:33:28.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-03T12:33:28.402Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-03T12:33:28.416Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-10-03T12:33:28.427Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-03T12:33:28.439Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-03T12:33:28.456Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-03T12:33:28.474Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-486 [Pipeline] echo [2023-10-03T12:33:28.486Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-486 [Pipeline] echo [2023-10-03T12:33:28.500Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-486 [Pipeline] echo [2023-10-03T12:33:28.515Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1914b4281dfc026003a5d57da905551187c7ad64 [Pipeline] echo [2023-10-03T12:33:28.528Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1914b42 [Pipeline] echo [2023-10-03T12:33:28.545Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-03T12:33:28.602Z] provisioning config files... [2023-10-03T12:33:28.612Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/config7358327969248399834tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-03T12:33:28.946Z] ---> docker-login.sh [2023-10-03T12:33:28.946Z] nexus3.edgexfoundry.org:10001 [2023-10-03T12:33:29.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T12:33:29.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T12:33:29.206Z] Configure a credential helper to remove this warning. See [2023-10-03T12:33:29.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T12:33:29.206Z] [2023-10-03T12:33:29.206Z] Login Succeeded [2023-10-03T12:33:29.467Z] nexus3.edgexfoundry.org:10002 [2023-10-03T12:33:29.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T12:33:29.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T12:33:29.467Z] Configure a credential helper to remove this warning. See [2023-10-03T12:33:29.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T12:33:29.467Z] [2023-10-03T12:33:29.467Z] Login Succeeded [2023-10-03T12:33:29.467Z] nexus3.edgexfoundry.org:10003 [2023-10-03T12:33:29.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T12:33:29.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T12:33:29.467Z] Configure a credential helper to remove this warning. See [2023-10-03T12:33:29.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T12:33:29.467Z] [2023-10-03T12:33:29.467Z] Login Succeeded [2023-10-03T12:33:29.467Z] nexus3.edgexfoundry.org:10004 [2023-10-03T12:33:29.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T12:33:29.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T12:33:29.727Z] Configure a credential helper to remove this warning. See [2023-10-03T12:33:29.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T12:33:29.727Z] [2023-10-03T12:33:29.727Z] Login Succeeded [2023-10-03T12:33:29.727Z] docker.io [2023-10-03T12:33:29.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T12:33:29.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T12:33:29.986Z] Configure a credential helper to remove this warning. See [2023-10-03T12:33:29.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T12:33:29.986Z] [2023-10-03T12:33:29.986Z] Login Succeeded [2023-10-03T12:33:29.986Z] ---> docker-login.sh ends [Pipeline] } [2023-10-03T12:33:29.994Z] 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-03T12:33:30.386Z] + git rev-list -1 --merges 1914b4281dfc026003a5d57da905551187c7ad64~1..1914b4281dfc026003a5d57da905551187c7ad64 [Pipeline] echo [2023-10-03T12:33:30.435Z] -----------> git rev-list -1 --merges 1914b4281dfc026003a5d57da905551187c7ad64~1..1914b4281dfc026003a5d57da905551187c7ad64 1914b4281dfc026003a5d57da905551187c7ad64 [2023-10-03T12:33:30.435Z] 1914b4281dfc026003a5d57da905551187c7ad64 [false] [Pipeline] sh [2023-10-03T12:33:30.724Z] + git log --format=format:%s -1 1914b4281dfc026003a5d57da905551187c7ad64 [Pipeline] echo [2023-10-03T12:33:30.739Z] ========================================================= [2023-10-03T12:33:30.740Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-03T12:33:30.740Z] ========================================================= 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-03T12:33:31.107Z] + git rev-list -1 --merges 1914b4281dfc026003a5d57da905551187c7ad64~1..1914b4281dfc026003a5d57da905551187c7ad64 [Pipeline] echo [2023-10-03T12:33:31.118Z] -----------> git rev-list -1 --merges 1914b4281dfc026003a5d57da905551187c7ad64~1..1914b4281dfc026003a5d57da905551187c7ad64 1914b4281dfc026003a5d57da905551187c7ad64 [2023-10-03T12:33:31.118Z] 1914b4281dfc026003a5d57da905551187c7ad64 [false] [Pipeline] sh [2023-10-03T12:33:31.413Z] + git log --format=format:%s -1 1914b4281dfc026003a5d57da905551187c7ad64 [Pipeline] echo [2023-10-03T12:33:31.426Z] ========================================================= [2023-10-03T12:33:31.426Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-03T12:33:31.426Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-10-03T12:33:31.865Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-03T12:33:31.865Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-03T12:33:31.865Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-03T12:33:31.865Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-03T12:33:31.865Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2023-10-03T12:33:31.865Z] tee -a /etc/ssh/ssh_known_hosts [2023-10-03T12:33:31.865Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-03T12:33:32.287Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-03T12:33:32.287Z] [2023-10-03T12:33:32.287Z] 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-03T12:33:32.587Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-03T12:33:32.587Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-03T12:33:32.587Z] b85a868b505f: Pulling fs layer [2023-10-03T12:33:32.587Z] e2be974225ed: Pulling fs layer [2023-10-03T12:33:32.587Z] 339a4e72a1f5: Pulling fs layer [2023-10-03T12:33:32.587Z] 988bab9f4d93: Pulling fs layer [2023-10-03T12:33:32.587Z] 1469e6f7b9e6: Pulling fs layer [2023-10-03T12:33:32.587Z] eaf3925da568: Pulling fs layer [2023-10-03T12:33:32.587Z] bab4dde63d76: Pulling fs layer [2023-10-03T12:33:32.587Z] bde34c3a00c8: Pulling fs layer [2023-10-03T12:33:32.587Z] b352a97aabf1: Pulling fs layer [2023-10-03T12:33:32.587Z] 4872d77fe225: Pulling fs layer [2023-10-03T12:33:32.587Z] 5851b861e8e6: Pulling fs layer [2023-10-03T12:33:32.587Z] bab4dde63d76: Waiting [2023-10-03T12:33:32.587Z] b352a97aabf1: Waiting [2023-10-03T12:33:32.587Z] 4872d77fe225: Waiting [2023-10-03T12:33:32.587Z] bde34c3a00c8: Waiting [2023-10-03T12:33:32.587Z] 988bab9f4d93: Waiting [2023-10-03T12:33:32.587Z] 1469e6f7b9e6: Waiting [2023-10-03T12:33:32.587Z] eaf3925da568: Waiting [2023-10-03T12:33:32.587Z] 5851b861e8e6: Waiting [2023-10-03T12:33:32.587Z] e2be974225ed: Verifying Checksum [2023-10-03T12:33:32.587Z] e2be974225ed: Download complete [2023-10-03T12:33:32.587Z] 988bab9f4d93: Download complete [2023-10-03T12:33:32.846Z] 339a4e72a1f5: Verifying Checksum [2023-10-03T12:33:32.846Z] 339a4e72a1f5: Download complete [2023-10-03T12:33:32.846Z] 1469e6f7b9e6: Verifying Checksum [2023-10-03T12:33:32.846Z] 1469e6f7b9e6: Download complete [2023-10-03T12:33:32.846Z] eaf3925da568: Verifying Checksum [2023-10-03T12:33:32.846Z] eaf3925da568: Download complete [2023-10-03T12:33:32.846Z] bde34c3a00c8: Verifying Checksum [2023-10-03T12:33:32.846Z] bde34c3a00c8: Download complete [2023-10-03T12:33:32.846Z] b352a97aabf1: Download complete [2023-10-03T12:33:32.846Z] 4872d77fe225: Verifying Checksum [2023-10-03T12:33:32.846Z] 4872d77fe225: Download complete [2023-10-03T12:33:32.846Z] 5851b861e8e6: Verifying Checksum [2023-10-03T12:33:32.846Z] 5851b861e8e6: Download complete [2023-10-03T12:33:32.846Z] b85a868b505f: Download complete [2023-10-03T12:33:33.106Z] bab4dde63d76: Verifying Checksum [2023-10-03T12:33:33.106Z] bab4dde63d76: Download complete [2023-10-03T12:33:34.042Z] b85a868b505f: Pull complete [2023-10-03T12:33:34.302Z] e2be974225ed: Pull complete [2023-10-03T12:33:34.872Z] 339a4e72a1f5: Pull complete [2023-10-03T12:33:34.872Z] 988bab9f4d93: Pull complete [2023-10-03T12:33:35.130Z] 1469e6f7b9e6: Pull complete [2023-10-03T12:33:35.390Z] eaf3925da568: Pull complete [2023-10-03T12:33:37.295Z] bab4dde63d76: Pull complete [2023-10-03T12:33:37.295Z] bde34c3a00c8: Pull complete [2023-10-03T12:33:37.295Z] b352a97aabf1: Pull complete [2023-10-03T12:33:37.295Z] 4872d77fe225: Pull complete [2023-10-03T12:33:37.295Z] 5851b861e8e6: Pull complete [2023-10-03T12:33:37.554Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-03T12:33:37.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-03T12:33:37.555Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-03T12:33:37.651Z] prd-ubuntu20.04-docker-8c-8g-8391 does not seem to be running inside a container [2023-10-03T12:33:37.692Z] $ 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-03T12:33:40.824Z] $ docker top 047dffcc3eac226107ec99870a21b21d312d23ca21e675f4c4dcf7f35ac0dcc2 -eo pid,comm [2023-10-03T12:33:40.888Z] 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-03T12:33:40.888Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-03T12:33:40.919Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-03T12:33:40.919Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-03T12:33:41.044Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-03T12:33:41.049Z] $ docker exec 047dffcc3eac226107ec99870a21b21d312d23ca21e675f4c4dcf7f35ac0dcc2 ssh-agent [2023-10-03T12:33:41.146Z] SSH_AUTH_SOCK=/tmp/ssh-6T2GNrbI8uH3/agent.32 [2023-10-03T12:33:41.146Z] SSH_AGENT_PID=39 [2023-10-03T12:33:41.153Z] Running ssh-add (command line suppressed) [2023-10-03T12:33:41.265Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_10350847240614746752.key (/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_10350847240614746752.key) [2023-10-03T12:33:41.275Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-03T12:33:41.560Z] + git tag --points-at HEAD [Pipeline] } [2023-10-03T12:33:41.580Z] $ docker exec --env ******** --env ******** 047dffcc3eac226107ec99870a21b21d312d23ca21e675f4c4dcf7f35ac0dcc2 ssh-agent -k [2023-10-03T12:33:41.683Z] unset SSH_AUTH_SOCK; [2023-10-03T12:33:41.683Z] unset SSH_AGENT_PID; [2023-10-03T12:33:41.683Z] echo Agent pid 39 killed; [2023-10-03T12:33:41.690Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-03T12:33:41.714Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-03T12:33:41.714Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-03T12:33:41.844Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-03T12:33:41.849Z] $ docker exec 047dffcc3eac226107ec99870a21b21d312d23ca21e675f4c4dcf7f35ac0dcc2 ssh-agent [2023-10-03T12:33:41.951Z] SSH_AUTH_SOCK=/tmp/ssh-zpiyO9oElOw7/agent.71 [2023-10-03T12:33:41.951Z] SSH_AGENT_PID=77 [2023-10-03T12:33:41.956Z] Running ssh-add (command line suppressed) [2023-10-03T12:33:42.069Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_5069056968730050056.key (/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_5069056968730050056.key) [2023-10-03T12:33:42.079Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-03T12:33:42.366Z] + git semver init [2023-10-03T12:33:42.624Z] 2023-10-03 12:33:42,574 [run_init] DEBUG init version:0.0.0 force:False [2023-10-03T12:33:42.624Z] 2023-10-03 12:33:42,575 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver [2023-10-03T12:33:42.624Z] 2023-10-03 12:33:42,576 [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-03T12:33:42.624Z] 2023-10-03 12:33:42,576 [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-03T12:33:43.561Z] 2023-10-03 12:33:43,479 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.git/info/exclude [2023-10-03T12:33:43.561Z] 2023-10-03 12:33:43,480 [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-03T12:33:43.561Z] 2023-10-03 12:33:43,480 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver/PR-486 [2023-10-03T12:33:43.561Z] 2023-10-03 12:33:43,484 [execute] INFO git cat-file --batch-check [2023-10-03T12:33:43.561Z] 2023-10-03 12:33:43,484 [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-03T12:33:43.561Z] 2023-10-03 12:33:43,492 [execute] INFO git cat-file --batch [2023-10-03T12:33:43.561Z] 2023-10-03 12:33:43,492 [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-03T12:33:43.561Z] 2023-10-03 12:33:43,496 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver/PR-486 [2023-10-03T12:33:43.561Z] 0.0.0 [Pipeline] } [2023-10-03T12:33:43.573Z] $ docker exec --env ******** --env ******** 047dffcc3eac226107ec99870a21b21d312d23ca21e675f4c4dcf7f35ac0dcc2 ssh-agent -k [2023-10-03T12:33:43.672Z] unset SSH_AUTH_SOCK; [2023-10-03T12:33:43.672Z] unset SSH_AGENT_PID; [2023-10-03T12:33:43.672Z] echo Agent pid 77 killed; [2023-10-03T12:33:43.678Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-03T12:33:43.975Z] + git semver [Pipeline] } [2023-10-03T12:33:44.253Z] $ docker stop --time=1 047dffcc3eac226107ec99870a21b21d312d23ca21e675f4c4dcf7f35ac0dcc2 [2023-10-03T12:33:45.521Z] $ docker rm -f --volumes 047dffcc3eac226107ec99870a21b21d312d23ca21e675f4c4dcf7f35ac0dcc2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-03T12:33:45.848Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-03T12:33:46.053Z] Stashed 1 file(s) [Pipeline] echo [2023-10-03T12:33:46.056Z] [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-03T12:33:46.203Z] provisioning config files... [2023-10-03T12:33:46.213Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/config3020531801149346501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-03T12:33:46.511Z] ---> docker-login.sh [2023-10-03T12:33:46.511Z] nexus3.edgexfoundry.org:10001 [2023-10-03T12:33:46.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T12:33:46.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T12:33:46.511Z] Configure a credential helper to remove this warning. See [2023-10-03T12:33:46.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T12:33:46.511Z] [2023-10-03T12:33:46.511Z] Login Succeeded [2023-10-03T12:33:46.511Z] nexus3.edgexfoundry.org:10002 [2023-10-03T12:33:46.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T12:33:46.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T12:33:46.512Z] Configure a credential helper to remove this warning. See [2023-10-03T12:33:46.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T12:33:46.512Z] [2023-10-03T12:33:46.512Z] Login Succeeded [2023-10-03T12:33:46.512Z] nexus3.edgexfoundry.org:10003 [2023-10-03T12:33:46.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T12:33:46.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T12:33:46.772Z] Configure a credential helper to remove this warning. See [2023-10-03T12:33:46.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T12:33:46.772Z] [2023-10-03T12:33:46.772Z] Login Succeeded [2023-10-03T12:33:46.772Z] nexus3.edgexfoundry.org:10004 [2023-10-03T12:33:46.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T12:33:46.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T12:33:46.772Z] Configure a credential helper to remove this warning. See [2023-10-03T12:33:46.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T12:33:46.772Z] [2023-10-03T12:33:46.772Z] Login Succeeded [2023-10-03T12:33:46.772Z] docker.io [2023-10-03T12:33:46.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T12:33:47.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T12:33:47.032Z] Configure a credential helper to remove this warning. See [2023-10-03T12:33:47.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T12:33:47.032Z] [2023-10-03T12:33:47.032Z] Login Succeeded [2023-10-03T12:33:47.032Z] ---> docker-login.sh ends [Pipeline] } [2023-10-03T12:33:47.039Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-03T12:33:47.093Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-03T12:33:47.101Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-10-03T12:33:47.109Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-03T12:33:47.114Z] ========================================================= [2023-10-03T12:33:47.114Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-10-03T12:33:47.114Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-03T12:33:47.413Z] + 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-03T12:33:47.413Z] Sending build context to Docker daemon 5.003MB [2023-10-03T12:33:47.413Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-10-03T12:33:47.413Z] Step 2/21 : FROM ${BASE} as builder [2023-10-03T12:33:47.413Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-10-03T12:33:47.413Z] 91d30c5bc195: Pulling fs layer [2023-10-03T12:33:47.413Z] 316e5a4585fb: Pulling fs layer [2023-10-03T12:33:47.672Z] 91d30c5bc195: Verifying Checksum [2023-10-03T12:33:47.672Z] 91d30c5bc195: Download complete [2023-10-03T12:33:47.672Z] 91d30c5bc195: Pull complete [2023-10-03T12:33:48.239Z] 316e5a4585fb: Verifying Checksum [2023-10-03T12:33:48.240Z] 316e5a4585fb: Download complete [2023-10-03T12:33:50.767Z] 316e5a4585fb: Pull complete [2023-10-03T12:33:50.767Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-10-03T12:33:51.026Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-10-03T12:33:51.026Z] ---> e83ffa357ff4 [2023-10-03T12:33:51.026Z] 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-03T12:33:52.405Z] ---> Running in 31cdebc85b99 [2023-10-03T12:33:52.664Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-10-03T12:33:53.234Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-03T12:33:53.234Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-03T12:33:53.234Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-03T12:33:53.492Z] Removing intermediate container 31cdebc85b99 [2023-10-03T12:33:53.492Z] ---> 84162342d219 [2023-10-03T12:33:53.492Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-03T12:33:53.492Z] ---> Running in e9ba5cac0a5d [2023-10-03T12:33:54.059Z] Removing intermediate container e9ba5cac0a5d [2023-10-03T12:33:54.059Z] ---> 4057f15bf90f [2023-10-03T12:33:54.059Z] 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-03T12:33:54.059Z] ---> Running in 04b17474ceee [2023-10-03T12:33:54.317Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-03T12:33:54.317Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-10-03T12:33:54.578Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-03T12:33:55.148Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-03T12:33:55.148Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-03T12:33:55.148Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-03T12:33:55.148Z] (3/16) Installing hiredis (1.0.2-r0) [2023-10-03T12:33:55.148Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-10-03T12:33:55.408Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-03T12:33:55.974Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-03T12:33:56.232Z] (7/16) Installing libcbor (0.9.0-r1) [2023-10-03T12:33:56.232Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-10-03T12:33:56.233Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-03T12:33:56.233Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-03T12:33:57.170Z] (11/16) Installing libblkid (2.38-r1) [2023-10-03T12:33:57.170Z] (12/16) Installing libuuid (2.38-r1) [2023-10-03T12:33:57.170Z] (13/16) Installing libfdisk (2.38-r1) [2023-10-03T12:33:57.170Z] (14/16) Installing libmount (2.38-r1) [2023-10-03T12:33:57.171Z] (15/16) Installing libsmartcols (2.38-r1) [2023-10-03T12:33:57.171Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-10-03T12:33:57.171Z] Executing busybox-1.35.0-r17.trigger [2023-10-03T12:33:57.171Z] OK: 280 MiB in 90 packages [2023-10-03T12:33:57.734Z] Removing intermediate container 04b17474ceee [2023-10-03T12:33:57.734Z] ---> c9566523bfb1 [2023-10-03T12:33:57.734Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-10-03T12:33:57.734Z] ---> Running in b8d985dcb2b0 [2023-10-03T12:33:58.301Z] Removing intermediate container b8d985dcb2b0 [2023-10-03T12:33:58.301Z] ---> fcf7a8da9ded [2023-10-03T12:33:58.301Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-10-03T12:33:58.301Z] ---> 049b75752c48 [2023-10-03T12:33:58.301Z] Step 8/21 : COPY src /tmp/sdk/src [2023-10-03T12:33:58.868Z] ---> 9297dfe5dce1 [2023-10-03T12:33:58.868Z] Step 9/21 : COPY include /tmp/sdk/include [2023-10-03T12:33:58.868Z] ---> 1ff132be1ccf [2023-10-03T12:33:58.868Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-10-03T12:33:59.126Z] ---> d69d5a097f1b [2023-10-03T12:33:59.126Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-10-03T12:33:59.126Z] ---> 72a774956c18 [2023-10-03T12:33:59.126Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-10-03T12:33:59.387Z] ---> b968a2dcb6e6 [2023-10-03T12:33:59.387Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-10-03T12:33:59.387Z] ---> Running in 04e48212aca8 [2023-10-03T12:33:59.644Z] + CPPCHECK=false [2023-10-03T12:33:59.644Z] + DOCGEN=false [2023-10-03T12:33:59.644Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-10-03T12:33:59.644Z] + '[' 0 -gt 0 ] [2023-10-03T12:33:59.644Z] + readlink -f ./scripts/build.sh [2023-10-03T12:33:59.644Z] + dirname /tmp/sdk/scripts/build.sh [2023-10-03T12:33:59.644Z] + dirname /tmp/sdk/scripts [2023-10-03T12:33:59.644Z] + ROOT=/tmp/sdk [2023-10-03T12:33:59.644Z] + cd /tmp/sdk [2023-10-03T12:33:59.644Z] + mkdir -p /tmp/sdk/build/release [2023-10-03T12:33:59.644Z] + cd /tmp/sdk/build/release [2023-10-03T12:33:59.644Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-10-03T12:33:59.644Z] -- The C compiler identification is GNU 11.2.1 [2023-10-03T12:33:59.644Z] -- Detecting C compiler ABI info [2023-10-03T12:33:59.903Z] -- Detecting C compiler ABI info - done [2023-10-03T12:33:59.903Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-03T12:33:59.903Z] -- Detecting C compile features [2023-10-03T12:33:59.903Z] -- Detecting C compile features - done [2023-10-03T12:33:59.903Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-03T12:33:59.903Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-03T12:33:59.903Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-03T12:33:59.903Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-03T12:33:59.903Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-03T12:33:59.903Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-03T12:33:59.903Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-03T12:33:59.903Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-03T12:33:59.903Z] -- /opt/iotech/iot/1.5/include [2023-10-03T12:33:59.903Z] -- C SDK 0.0.0 for Linux [2023-10-03T12:33:59.903Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-03T12:33:59.903Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-03T12:33:59.903Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-03T12:33:59.903Z] -- Configuring done [2023-10-03T12:34:00.162Z] -- Generating done [2023-10-03T12:34:00.162Z] -- Build files have been written to: /tmp/sdk/build/release [2023-10-03T12:34:00.162Z] + make all package [2023-10-03T12:34:00.162Z] + tee release.log [2023-10-03T12:34:00.162Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-03T12:34:00.162Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-03T12:34:00.421Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-03T12:34:00.421Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-03T12:34:00.679Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-03T12:34:00.679Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-03T12:34:01.153Z] Still waiting to schedule task [2023-10-03T12:34:01.153Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-03T12:34:01.248Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-03T12:34:01.248Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-10-03T12:34:01.248Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-03T12:34:01.248Z] 294 | while (privateConfig) [2023-10-03T12:34:01.248Z] | ^~~~~~~~~~~~~ [2023-10-03T12:34:01.248Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-03T12:34:01.248Z] 271 | while (result) [2023-10-03T12:34:01.248Z] | ^~~~~~ [2023-10-03T12:34:01.248Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-03T12:34:01.507Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-03T12:34:01.507Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-03T12:34:02.076Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-03T12:34:02.076Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-03T12:34:02.076Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-03T12:34:02.336Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-03T12:34:02.336Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-03T12:34:02.596Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-03T12:34:02.596Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-03T12:34:03.163Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-03T12:34:03.164Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-03T12:34:03.164Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-03T12:34:03.422Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-03T12:34:04.356Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-03T12:34:04.615Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-03T12:34:04.615Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-03T12:34:04.615Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-03T12:34:04.875Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-03T12:34:05.134Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-03T12:34:05.394Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-03T12:34:05.653Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-03T12:34:05.653Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-03T12:34:05.912Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-03T12:34:05.912Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-10-03T12:34:05.912Z] /tmp/sdk/src/c/service.c:874:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-03T12:34:05.912Z] 874 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); [2023-10-03T12:34:05.912Z] | ^~~~~~~~~~~~~~~~~~~~ [2023-10-03T12:34:05.912Z] /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-03T12:34:05.912Z] 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); [2023-10-03T12:34:05.912Z] | ^ [2023-10-03T12:34:06.171Z] /tmp/sdk/src/c/service.c:1030:5: warning: 'deviceservices_config' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-03T12:34:06.171Z] 1030 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2023-10-03T12:34:06.171Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-10-03T12:34:06.429Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-03T12:34:06.429Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-03T12:34:06.429Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-03T12:34:06.686Z] [ 68%] Linking C shared library libcsdk.so [2023-10-03T12:34:06.686Z] [ 68%] Built target csdk [2023-10-03T12:34:06.686Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-03T12:34:06.943Z] [ 72%] Linking C executable template [2023-10-03T12:34:06.943Z] [ 72%] Built target template [2023-10-03T12:34:06.944Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-03T12:34:06.944Z] [ 76%] Linking C executable device-counter [2023-10-03T12:34:06.944Z] [ 76%] Built target device-counter [2023-10-03T12:34:07.203Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-03T12:34:07.203Z] [ 80%] Linking C executable device-random [2023-10-03T12:34:07.203Z] [ 80%] Built target device-random [2023-10-03T12:34:07.203Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-03T12:34:07.461Z] [ 84%] Linking C executable device-gyro [2023-10-03T12:34:07.461Z] [ 84%] Built target device-gyro [2023-10-03T12:34:07.461Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-03T12:34:07.461Z] [ 88%] Linking C executable device-bitfields [2023-10-03T12:34:07.461Z] [ 88%] Built target device-bitfields [2023-10-03T12:34:07.719Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-03T12:34:07.719Z] [ 92%] Linking C executable template-discovery [2023-10-03T12:34:07.719Z] [ 92%] Built target template-discovery [2023-10-03T12:34:07.977Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-03T12:34:07.977Z] [ 96%] Linking C executable device-file [2023-10-03T12:34:07.977Z] [ 96%] Built target device-file [2023-10-03T12:34:07.977Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-03T12:34:08.236Z] [100%] Linking C executable device-terminal [2023-10-03T12:34:08.236Z] [100%] Built target device-terminal [2023-10-03T12:34:08.236Z] Run CPack packaging tool... [2023-10-03T12:34:08.236Z] CPack: Create package using TGZ [2023-10-03T12:34:08.236Z] CPack: Install projects [2023-10-03T12:34:08.236Z] CPack: - Run preinstall target for: Csdk [2023-10-03T12:34:08.495Z] CPack: - Install project: Csdk [] [2023-10-03T12:34:08.495Z] CPack: Create package [2023-10-03T12:34:08.495Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-10-03T12:34:08.495Z] + '[' false '=' true ] [2023-10-03T12:34:08.495Z] + '[' false '=' true ] [2023-10-03T12:34:08.495Z] + mkdir -p /tmp/sdk/build/debug [2023-10-03T12:34:08.495Z] + cd /tmp/sdk/build/debug [2023-10-03T12:34:08.495Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-10-03T12:34:08.495Z] -- The C compiler identification is GNU 11.2.1 [2023-10-03T12:34:08.754Z] -- Detecting C compiler ABI info [2023-10-03T12:34:08.754Z] -- Detecting C compiler ABI info - done [2023-10-03T12:34:08.754Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-03T12:34:08.754Z] -- Detecting C compile features [2023-10-03T12:34:08.754Z] -- Detecting C compile features - done [2023-10-03T12:34:08.754Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-03T12:34:08.754Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-03T12:34:08.754Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-03T12:34:08.754Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-03T12:34:08.754Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-03T12:34:08.754Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-03T12:34:08.754Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-03T12:34:08.754Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-03T12:34:08.754Z] -- /opt/iotech/iot/1.5/include [2023-10-03T12:34:08.754Z] -- C SDK 0.0.0 for Linux [2023-10-03T12:34:08.754Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-03T12:34:08.754Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-03T12:34:09.013Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-03T12:34:09.013Z] -- Configuring done [2023-10-03T12:34:09.013Z] -- Generating done [2023-10-03T12:34:09.013Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-10-03T12:34:09.013Z] + make [2023-10-03T12:34:09.013Z] + tee debug.log [2023-10-03T12:34:09.013Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-03T12:34:09.013Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-03T12:34:09.272Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-03T12:34:09.272Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-03T12:34:09.272Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-03T12:34:09.531Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-03T12:34:09.531Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-03T12:34:09.531Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-03T12:34:09.789Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-03T12:34:09.789Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-03T12:34:09.789Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-03T12:34:10.048Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-03T12:34:10.048Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-03T12:34:10.048Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-03T12:34:10.306Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-03T12:34:10.306Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-03T12:34:10.306Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-03T12:34:10.565Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-03T12:34:10.565Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-03T12:34:10.565Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-03T12:34:10.823Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-03T12:34:10.823Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-03T12:34:11.080Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-03T12:34:11.081Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-03T12:34:11.081Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-03T12:34:11.081Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-03T12:34:11.339Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-03T12:34:11.597Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-03T12:34:11.597Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-03T12:34:11.597Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-03T12:34:11.855Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-03T12:34:11.855Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-10-03T12:34:11.855Z] /tmp/sdk/src/c/service.c:874:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-03T12:34:11.855Z] 874 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); [2023-10-03T12:34:11.855Z] | ^~~~~~~~~~~~~~~~~~~~ [2023-10-03T12:34:11.855Z] /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-03T12:34:11.855Z] 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); [2023-10-03T12:34:11.855Z] | ^ [2023-10-03T12:34:11.855Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-03T12:34:12.114Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-03T12:34:12.114Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-03T12:34:12.114Z] [ 68%] Linking C shared library libcsdk.so [2023-10-03T12:34:12.114Z] [ 68%] Built target csdk [2023-10-03T12:34:12.114Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-03T12:34:12.373Z] [ 72%] Linking C executable template [2023-10-03T12:34:12.373Z] [ 72%] Built target template [2023-10-03T12:34:12.373Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-03T12:34:12.373Z] [ 76%] Linking C executable device-counter [2023-10-03T12:34:12.373Z] [ 76%] Built target device-counter [2023-10-03T12:34:12.373Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-03T12:34:12.633Z] [ 80%] Linking C executable device-random [2023-10-03T12:34:12.633Z] [ 80%] Built target device-random [2023-10-03T12:34:12.633Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-03T12:34:12.633Z] [ 84%] Linking C executable device-gyro [2023-10-03T12:34:12.633Z] [ 84%] Built target device-gyro [2023-10-03T12:34:12.893Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-03T12:34:12.893Z] [ 88%] Linking C executable device-bitfields [2023-10-03T12:34:12.893Z] [ 88%] Built target device-bitfields [2023-10-03T12:34:12.893Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-03T12:34:12.893Z] [ 92%] Linking C executable template-discovery [2023-10-03T12:34:13.152Z] [ 92%] Built target template-discovery [2023-10-03T12:34:13.152Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-03T12:34:13.152Z] [ 96%] Linking C executable device-file [2023-10-03T12:34:13.152Z] [ 96%] Built target device-file [2023-10-03T12:34:13.152Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-03T12:34:13.410Z] [100%] Linking C executable device-terminal [2023-10-03T12:34:13.410Z] [100%] Built target device-terminal [2023-10-03T12:34:13.410Z] make: Entering directory '/tmp/sdk/build/release' [2023-10-03T12:34:13.410Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-10-03T12:34:13.410Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T12:34:13.410Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T12:34:13.410Z] [ 68%] Built target csdk [2023-10-03T12:34:13.410Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T12:34:13.410Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T12:34:13.410Z] [ 72%] Built target template [2023-10-03T12:34:13.410Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T12:34:13.410Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T12:34:13.410Z] [ 76%] Built target device-counter [2023-10-03T12:34:13.410Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T12:34:13.410Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T12:34:13.410Z] [ 80%] Built target device-random [2023-10-03T12:34:13.410Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T12:34:13.410Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T12:34:13.410Z] [ 84%] Built target device-gyro [2023-10-03T12:34:13.410Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T12:34:13.410Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T12:34:13.410Z] [ 88%] Built target device-bitfields [2023-10-03T12:34:13.410Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T12:34:13.410Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T12:34:13.733Z] [ 92%] Built target template-discovery [2023-10-03T12:34:13.733Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T12:34:13.733Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T12:34:13.733Z] [ 96%] Built target device-file [2023-10-03T12:34:13.733Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T12:34:13.733Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T12:34:13.733Z] [100%] Built target device-terminal [2023-10-03T12:34:13.733Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T12:34:13.733Z] Install the project... [2023-10-03T12:34:13.733Z] -- Install configuration: "Release" [2023-10-03T12:34:13.733Z] -- Installing: /usr/local/lib/libcsdk.so [2023-10-03T12:34:13.733Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-10-03T12:34:13.733Z] -- Installing: /usr/local/include [2023-10-03T12:34:13.733Z] -- Installing: /usr/local/include/devsdk [2023-10-03T12:34:13.733Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-10-03T12:34:13.733Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-10-03T12:34:13.733Z] -- Installing: /usr/local/include/edgex [2023-10-03T12:34:13.733Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-10-03T12:34:13.733Z] -- Installing: /usr/local/include/edgex/devices.h [2023-10-03T12:34:13.733Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-10-03T12:34:13.733Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-10-03T12:34:13.733Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-10-03T12:34:13.733Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-10-03T12:34:13.733Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-10-03T12:34:13.733Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-10-03T12:34:13.733Z] make: Leaving directory '/tmp/sdk/build/release' [2023-10-03T12:34:13.991Z] Removing intermediate container 04e48212aca8 [2023-10-03T12:34:13.991Z] ---> 265985efdd04 [2023-10-03T12:34:13.991Z] Step 14/21 : FROM ${BASE} [2023-10-03T12:34:13.991Z] ---> e83ffa357ff4 [2023-10-03T12:34:13.991Z] Step 15/21 : LABEL maintainer="IOTech " [2023-10-03T12:34:14.251Z] ---> Running in 8cb77ab8c25e [2023-10-03T12:34:14.251Z] Removing intermediate container 8cb77ab8c25e [2023-10-03T12:34:14.251Z] ---> 0c0c9e728afa [2023-10-03T12:34:14.251Z] 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-03T12:34:14.528Z] ---> Running in 3b2facd3f615 [2023-10-03T12:34:14.787Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-10-03T12:34:15.046Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-03T12:34:15.046Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-03T12:34:15.046Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-03T12:34:15.305Z] Removing intermediate container 3b2facd3f615 [2023-10-03T12:34:15.305Z] ---> edd9c90e9c91 [2023-10-03T12:34:15.305Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-03T12:34:15.305Z] ---> Running in 6a31d4a11847 [2023-10-03T12:34:15.870Z] Removing intermediate container 6a31d4a11847 [2023-10-03T12:34:15.870Z] ---> 6ff87f12e23d [2023-10-03T12:34:15.870Z] 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-03T12:34:15.870Z] ---> Running in 5fc46677750c [2023-10-03T12:34:16.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-03T12:34:16.386Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-10-03T12:34:16.646Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-03T12:34:17.215Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-03T12:34:17.215Z] (1/7) Installing curl (8.3.0-r0) [2023-10-03T12:34:17.215Z] (2/7) Installing hiredis (1.0.2-r0) [2023-10-03T12:34:17.215Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-10-03T12:34:17.215Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-10-03T12:34:17.782Z] (5/7) Installing libcbor (0.9.0-r1) [2023-10-03T12:34:17.782Z] (6/7) Installing libuuid (2.38-r1) [2023-10-03T12:34:17.782Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-03T12:34:19.159Z] Executing busybox-1.35.0-r17.trigger [2023-10-03T12:34:19.159Z] OK: 276 MiB in 83 packages [2023-10-03T12:34:19.159Z] Removing intermediate container 5fc46677750c [2023-10-03T12:34:19.159Z] ---> 744a67a70a5b [2023-10-03T12:34:19.159Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-10-03T12:34:19.420Z] ---> 6ca1e6458c26 [2023-10-03T12:34:19.420Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-10-03T12:34:19.420Z] ---> cbfd3373f757 [2023-10-03T12:34:19.420Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-10-03T12:34:19.681Z] ---> 700745ed1f57 [2023-10-03T12:34:19.681Z] Successfully built 700745ed1f57 [2023-10-03T12:34:19.681Z] 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-03T12:34:20.039Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-03T12:34:20.039Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-03T12:34:20.102Z] prd-ubuntu20.04-docker-8c-8g-8391 does not seem to be running inside a container [2023-10-03T12:34:20.134Z] $ 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-03T12:34:20.746Z] $ docker top 92967ac94deb6c9f41f60cfd32e78b9df107b0420baa421de59a4e0a53270f72 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-03T12:34:21.083Z] + make test [2023-10-03T12:34:21.083Z] echo "make test" [2023-10-03T12:34:21.083Z] make test [Pipeline] } [2023-10-03T12:34:21.097Z] $ docker stop --time=1 92967ac94deb6c9f41f60cfd32e78b9df107b0420baa421de59a4e0a53270f72 [2023-10-03T12:34:22.370Z] $ docker rm -f --volumes 92967ac94deb6c9f41f60cfd32e78b9df107b0420baa421de59a4e0a53270f72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-03T12:34:23.017Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-03T12:34:23.304Z] + ls -al . [2023-10-03T12:34:23.304Z] total 212 [2023-10-03T12:34:23.304Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 12:33 . [2023-10-03T12:34:23.304Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 12:33 .. [2023-10-03T12:34:23.304Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 12:33 .git [2023-10-03T12:34:23.304Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 12:33 .github [2023-10-03T12:34:23.304Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 3 12:33 .gitignore [2023-10-03T12:34:23.304Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 12:33 .semver [2023-10-03T12:34:23.304Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 3 12:33 Attribution.txt [2023-10-03T12:34:23.304Z] -rw-rw-r-- 1 jenkins jenkins 9802 Oct 3 12:33 CHANGES [2023-10-03T12:34:23.304Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 3 12:33 Doxyfile [2023-10-03T12:34:23.304Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 12:33 GOVERNANCE.md [2023-10-03T12:34:23.304Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 3 12:33 Jenkinsfile [2023-10-03T12:34:23.304Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 3 12:33 LICENSE [2023-10-03T12:34:23.304Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 3 12:33 Makefile [2023-10-03T12:34:23.304Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 3 12:33 OWNERS.md [2023-10-03T12:34:23.304Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 3 12:33 README.IOT.md [2023-10-03T12:34:23.304Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 3 12:33 README.md [2023-10-03T12:34:23.304Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 3 12:33 README.v3.md [2023-10-03T12:34:23.304Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 12:33 VERSION [2023-10-03T12:34:23.304Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 12:33 docs [2023-10-03T12:34:23.304Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 12:33 include [2023-10-03T12:34:23.304Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 12:33 scripts [2023-10-03T12:34:23.304Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 12:33 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-03T12:34:23.602Z] + 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=1914b4281dfc026003a5d57da905551187c7ad64 --label arch=amd64 --label version=0.0.0 . [2023-10-03T12:34:23.602Z] Sending build context to Docker daemon 5.003MB [2023-10-03T12:34:23.602Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-10-03T12:34:23.602Z] Step 2/17 : FROM ${BASE} [2023-10-03T12:34:23.602Z] ---> 700745ed1f57 [2023-10-03T12:34:23.602Z] Step 3/17 : LABEL maintainer="IOTech " [2023-10-03T12:34:23.602Z] ---> Running in fce5d109811d [2023-10-03T12:34:23.859Z] Removing intermediate container fce5d109811d [2023-10-03T12:34:23.859Z] ---> bb5401b13758 [2023-10-03T12:34:23.859Z] 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-03T12:34:23.859Z] ---> Running in e6e4d872165c [2023-10-03T12:34:24.116Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-10-03T12:34:24.374Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-03T12:34:24.374Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-03T12:34:24.374Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-03T12:34:24.635Z] Removing intermediate container e6e4d872165c [2023-10-03T12:34:24.635Z] ---> 93348236b97e [2023-10-03T12:34:24.635Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-03T12:34:24.635Z] ---> Running in f8aaaa9fd577 [2023-10-03T12:34:25.205Z] Removing intermediate container f8aaaa9fd577 [2023-10-03T12:34:25.205Z] ---> a3f1fcaa8643 [2023-10-03T12:34:25.205Z] 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-03T12:34:25.205Z] ---> Running in 01502ab11178 [2023-10-03T12:34:25.462Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-03T12:34:25.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-10-03T12:34:25.721Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-03T12:34:26.288Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-03T12:34:26.288Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-03T12:34:26.288Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-03T12:34:26.288Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-03T12:34:26.855Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-03T12:34:27.113Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-10-03T12:34:27.113Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-03T12:34:27.113Z] (7/11) Installing libblkid (2.38-r1) [2023-10-03T12:34:27.113Z] (8/11) Installing libfdisk (2.38-r1) [2023-10-03T12:34:27.113Z] (9/11) Installing libmount (2.38-r1) [2023-10-03T12:34:27.113Z] (10/11) Installing libsmartcols (2.38-r1) [2023-10-03T12:34:27.113Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-10-03T12:34:27.113Z] Executing busybox-1.35.0-r17.trigger [2023-10-03T12:34:27.113Z] OK: 281 MiB in 92 packages [2023-10-03T12:34:27.680Z] Removing intermediate container 01502ab11178 [2023-10-03T12:34:27.680Z] ---> 3c39a1e3a5d9 [2023-10-03T12:34:27.680Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-10-03T12:34:27.680Z] ---> fb70d135d023 [2023-10-03T12:34:27.680Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-10-03T12:34:27.938Z] ---> adca76e68473 [2023-10-03T12:34:27.938Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-10-03T12:34:28.197Z] ---> 7c7b24c01f3d [2023-10-03T12:34:28.197Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-10-03T12:34:28.197Z] ---> 821ec24b7474 [2023-10-03T12:34:28.197Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-10-03T12:34:28.456Z] ---> db4519cd3f2a [2023-10-03T12:34:28.456Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-10-03T12:34:28.456Z] ---> f9943d81bafc [2023-10-03T12:34:28.456Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-10-03T12:34:28.456Z] ---> Running in 6534bf6568a9 [2023-10-03T12:34:28.716Z] Removing intermediate container 6534bf6568a9 [2023-10-03T12:34:28.716Z] ---> 4107b4d23019 [2023-10-03T12:34:28.716Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-10-03T12:34:28.716Z] ---> Running in 9be48c7c7dd4 [2023-10-03T12:34:28.716Z] Removing intermediate container 9be48c7c7dd4 [2023-10-03T12:34:28.716Z] ---> 86c546a75bbf [2023-10-03T12:34:28.716Z] Step 15/17 : LABEL arch=amd64 [2023-10-03T12:34:28.716Z] ---> Running in 885bfbf7194a [2023-10-03T12:34:28.716Z] Removing intermediate container 885bfbf7194a [2023-10-03T12:34:28.716Z] ---> c58bc19ab85a [2023-10-03T12:34:28.716Z] Step 16/17 : LABEL git_sha=1914b4281dfc026003a5d57da905551187c7ad64 [2023-10-03T12:34:28.975Z] ---> Running in ab15f62a83f8 [2023-10-03T12:34:28.975Z] Removing intermediate container ab15f62a83f8 [2023-10-03T12:34:28.975Z] ---> 391baf2fec33 [2023-10-03T12:34:28.975Z] Step 17/17 : LABEL version=0.0.0 [2023-10-03T12:34:28.975Z] ---> Running in db10fdb925ce [2023-10-03T12:34:28.975Z] Removing intermediate container db10fdb925ce [2023-10-03T12:34:28.975Z] ---> b54d49222c7c [2023-10-03T12:34:28.975Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-10-03T12:34:28.975Z] Successfully built b54d49222c7c [2023-10-03T12:34:28.975Z] 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-03T12:34:29.427Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-03T12:34:29.427Z] [2023-10-03T12:34:29.427Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-03T12:34:29.726Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-03T12:34:29.726Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-03T12:34:29.726Z] 5eb5b503b376: Pulling fs layer [2023-10-03T12:34:29.726Z] 5c69ac0246d0: Pulling fs layer [2023-10-03T12:34:29.726Z] ec43610c2a17: Pulling fs layer [2023-10-03T12:34:29.726Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-03T12:34:29.726Z] 33b1e0a273af: Pulling fs layer [2023-10-03T12:34:29.726Z] 5d3b04190fa2: Pulling fs layer [2023-10-03T12:34:29.726Z] 2f39f015ded8: Pulling fs layer [2023-10-03T12:34:29.726Z] 33b1e0a273af: Waiting [2023-10-03T12:34:29.726Z] 5d3b04190fa2: Waiting [2023-10-03T12:34:29.726Z] 3a2ae6a8a46f: Waiting [2023-10-03T12:34:29.726Z] 2f39f015ded8: Waiting [2023-10-03T12:34:29.726Z] 5c69ac0246d0: Verifying Checksum [2023-10-03T12:34:29.726Z] 5c69ac0246d0: Download complete [2023-10-03T12:34:29.726Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-03T12:34:29.726Z] 3a2ae6a8a46f: Download complete [2023-10-03T12:34:29.726Z] 33b1e0a273af: Verifying Checksum [2023-10-03T12:34:29.726Z] 33b1e0a273af: Download complete [2023-10-03T12:34:29.726Z] 5d3b04190fa2: Download complete [2023-10-03T12:34:29.984Z] ec43610c2a17: Verifying Checksum [2023-10-03T12:34:29.984Z] ec43610c2a17: Download complete [2023-10-03T12:34:29.984Z] 5eb5b503b376: Verifying Checksum [2023-10-03T12:34:29.984Z] 5eb5b503b376: Download complete [2023-10-03T12:34:30.548Z] 2f39f015ded8: Download complete [2023-10-03T12:34:31.114Z] 5eb5b503b376: Pull complete [2023-10-03T12:34:31.114Z] 5c69ac0246d0: Pull complete [2023-10-03T12:34:31.680Z] ec43610c2a17: Pull complete [2023-10-03T12:34:31.680Z] 3a2ae6a8a46f: Pull complete [2023-10-03T12:34:31.938Z] 33b1e0a273af: Pull complete [2023-10-03T12:34:31.938Z] 5d3b04190fa2: Pull complete [2023-10-03T12:34:36.119Z] 2f39f015ded8: Pull complete [2023-10-03T12:34:36.119Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-03T12:34:36.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-03T12:34:36.119Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-03T12:34:36.202Z] prd-ubuntu20.04-docker-8c-8g-8391 does not seem to be running inside a container [2023-10-03T12:34:36.237Z] $ 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-03T12:34:38.207Z] $ docker top 495f2c5eb45e313b2a357a0ff910eda00187780a645048935e68045228af38a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-03T12:34:38.604Z] ---> job-cost.sh [2023-10-03T12:34:38.604Z] lf-activate-venv: SKIPPING [2023-10-03T12:34:38.604Z] INFO: No Stack... [2023-10-03T12:34:38.863Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-03T12:34:39.122Z] INFO: Archiving Costs [Pipeline] sh [2023-10-03T12:34:39.412Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives/cost.csv [2023-10-03T12:34:39.412Z] + cut -d, -f6 [Pipeline] lock [2023-10-03T12:34:39.424Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-486-3-stack-cost] [2023-10-03T12:34:39.430Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-486-3-stack-cost] did not exist. Created. [2023-10-03T12:34:39.430Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-486-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-03T12:34:39.737Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-03T12:34:39.793Z] Stashed 1 file(s) [Pipeline] } [2023-10-03T12:34:39.799Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-486-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-03T12:34:39.815Z] $ docker stop --time=1 495f2c5eb45e313b2a357a0ff910eda00187780a645048935e68045228af38a0 [2023-10-03T12:34:40.954Z] $ docker rm -f --volumes 495f2c5eb45e313b2a357a0ff910eda00187780a645048935e68045228af38a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-03T12:35:39.301Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8392 in /w/workspace/edgexfoundry_device-sdk-c_PR-486 [Pipeline] { [Pipeline] ws [2023-10-03T12:35:39.315Z] Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout [2023-10-03T12:35:39.344Z] Selected Git installation does not exist. Using Default [2023-10-03T12:35:39.344Z] The recommended git tool is: NONE [2023-10-03T12:35:44.240Z] using credential edgex-jenkins-ssh [2023-10-03T12:35:44.254Z] Cloning the remote Git repository [2023-10-03T12:35:44.297Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-10-03T12:35:44.391Z] > git init /w/workspace/device-sdk-c/3 # timeout=10 [2023-10-03T12:35:44.521Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-10-03T12:35:44.522Z] > git --version # timeout=10 [2023-10-03T12:35:44.545Z] > git --version # 'git version 2.25.1' [2023-10-03T12:35:44.547Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-03T12:35:44.684Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-03T12:35:45.721Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-10-03T12:35:45.748Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-03T12:35:46.549Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-10-03T12:35:46.593Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-10-03T12:35:46.594Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-03T12:35:46.611Z] > 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-03T12:35:47.239Z] Merging remotes/origin/main commit b359547df5a09ee3070876df63645d58a75503b0 into PR head commit 8871496b688051dfdfe39e3b164e5012c8f6e08a [2023-10-03T12:35:47.658Z] Merge succeeded, producing e42d486a0a8fc37b33ffe41e1079aad5a2d9fa76 [2023-10-03T12:35:47.659Z] Checking out Revision e42d486a0a8fc37b33ffe41e1079aad5a2d9fa76 (PR-486) [2023-10-03T12:35:47.260Z] > git config core.sparsecheckout # timeout=10 [2023-10-03T12:35:47.336Z] > git checkout -f 8871496b688051dfdfe39e3b164e5012c8f6e08a # timeout=10 [2023-10-03T12:35:47.465Z] > git remote # timeout=10 [2023-10-03T12:35:47.487Z] > git config --get remote.origin.url # timeout=10 [2023-10-03T12:35:47.508Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-03T12:35:47.522Z] > git merge b359547df5a09ee3070876df63645d58a75503b0 # timeout=10 [2023-10-03T12:35:47.632Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-03T12:35:47.669Z] > git config core.sparsecheckout # timeout=10 [2023-10-03T12:35:47.683Z] > git checkout -f e42d486a0a8fc37b33ffe41e1079aad5a2d9fa76 # timeout=10 [2023-10-03T12:35:51.153Z] Commit message: "Merge commit 'b359547df5a09ee3070876df63645d58a75503b0' into HEAD" [2023-10-03T12:35:51.174Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-03T12:35:52.086Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-03T12:35:52.086Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-03T12:35:52.086Z] Dload Upload Total Spent Left Speed [2023-10-03T12:35:52.086Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 62812 0 --:--:-- --:--:-- --:--:-- 62504 [Pipeline] sh [2023-10-03T12:35:51.163Z] > git rev-list --no-walk 2cf0389c37548dfb4ca15251dd990544dd9abf85 # timeout=10 [2023-10-03T12:35:52.730Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-03T12:35:53.051Z] + sudo tee /etc/docker/daemon.new [2023-10-03T12:35:53.051Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-03T12:35:53.051Z] { [2023-10-03T12:35:53.051Z] "registry-mirrors": [ [2023-10-03T12:35:53.051Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-03T12:35:53.051Z] ], [2023-10-03T12:35:53.051Z] "bip": "10.250.0.254/24", [2023-10-03T12:35:53.051Z] "hosts": [ [2023-10-03T12:35:53.051Z] "tcp://0.0.0.0:5555", [2023-10-03T12:35:53.051Z] "unix:///var/run/docker.sock" [2023-10-03T12:35:53.051Z] ], [2023-10-03T12:35:53.051Z] "mtu": 1458, [2023-10-03T12:35:53.051Z] "selinux-enabled": true, [2023-10-03T12:35:53.051Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-03T12:35:53.051Z] } [Pipeline] sh [2023-10-03T12:35:53.374Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-03T12:35:53.694Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-03T12:36:11.938Z] provisioning config files... [2023-10-03T12:36:11.963Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config7180967178497070599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-03T12:36:12.300Z] ---> docker-login.sh [2023-10-03T12:36:12.301Z] nexus3.edgexfoundry.org:10001 [2023-10-03T12:36:12.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T12:36:12.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T12:36:12.898Z] Configure a credential helper to remove this warning. See [2023-10-03T12:36:12.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T12:36:12.898Z] [2023-10-03T12:36:12.898Z] Login Succeeded [2023-10-03T12:36:12.898Z] nexus3.edgexfoundry.org:10002 [2023-10-03T12:36:13.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T12:36:13.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T12:36:13.170Z] Configure a credential helper to remove this warning. See [2023-10-03T12:36:13.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T12:36:13.170Z] [2023-10-03T12:36:13.170Z] Login Succeeded [2023-10-03T12:36:13.170Z] nexus3.edgexfoundry.org:10003 [2023-10-03T12:36:13.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T12:36:13.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T12:36:13.709Z] Configure a credential helper to remove this warning. See [2023-10-03T12:36:13.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T12:36:13.709Z] [2023-10-03T12:36:13.709Z] Login Succeeded [2023-10-03T12:36:13.709Z] nexus3.edgexfoundry.org:10004 [2023-10-03T12:36:13.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T12:36:13.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T12:36:13.980Z] Configure a credential helper to remove this warning. See [2023-10-03T12:36:13.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T12:36:13.980Z] [2023-10-03T12:36:13.980Z] Login Succeeded [2023-10-03T12:36:13.980Z] docker.io [2023-10-03T12:36:14.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-03T12:36:14.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-03T12:36:14.518Z] Configure a credential helper to remove this warning. See [2023-10-03T12:36:14.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-03T12:36:14.518Z] [2023-10-03T12:36:14.518Z] Login Succeeded [2023-10-03T12:36:14.518Z] ---> docker-login.sh ends [Pipeline] } [2023-10-03T12:36:14.532Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-03T12:36:14.788Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-03T12:36:14.801Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-10-03T12:36:14.815Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-03T12:36:14.824Z] ========================================================= [2023-10-03T12:36:14.824Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-10-03T12:36:14.824Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-03T12:36:15.160Z] + 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-03T12:36:15.429Z] Sending build context to Docker daemon 3.039MB [2023-10-03T12:36:15.698Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-10-03T12:36:15.698Z] Step 2/21 : FROM ${BASE} as builder [2023-10-03T12:36:16.664Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-10-03T12:36:16.664Z] 547446be3368: Pulling fs layer [2023-10-03T12:36:16.664Z] 76bd08e1cacc: Pulling fs layer [2023-10-03T12:36:16.664Z] 547446be3368: Verifying Checksum [2023-10-03T12:36:16.664Z] 547446be3368: Download complete [2023-10-03T12:36:17.271Z] 547446be3368: Pull complete [2023-10-03T12:36:18.689Z] 76bd08e1cacc: Verifying Checksum [2023-10-03T12:36:18.689Z] 76bd08e1cacc: Download complete [2023-10-03T12:36:26.920Z] 76bd08e1cacc: Pull complete [2023-10-03T12:36:26.920Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-10-03T12:36:26.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-10-03T12:36:26.920Z] ---> 295cd00e64f4 [2023-10-03T12:36:26.920Z] 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-03T12:36:27.890Z] ---> Running in 5f91767cf9df [2023-10-03T12:36:28.850Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-10-03T12:36:29.431Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-03T12:36:29.431Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-03T12:36:29.431Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-03T12:36:30.017Z] Removing intermediate container 5f91767cf9df [2023-10-03T12:36:30.017Z] ---> 072b763609cf [2023-10-03T12:36:30.017Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-03T12:36:30.291Z] ---> Running in 534db171308a [2023-10-03T12:36:31.707Z] Removing intermediate container 534db171308a [2023-10-03T12:36:31.707Z] ---> b6a38f0f88ff [2023-10-03T12:36:31.707Z] 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-03T12:36:31.707Z] ---> Running in a974535919f3 [2023-10-03T12:36:32.669Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-03T12:36:32.937Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-10-03T12:36:33.520Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-03T12:36:34.475Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-03T12:36:34.475Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-03T12:36:34.475Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-03T12:36:34.475Z] (3/16) Installing hiredis (1.0.2-r0) [2023-10-03T12:36:34.742Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-10-03T12:36:34.742Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-03T12:36:35.319Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-03T12:36:35.585Z] (7/16) Installing libcbor (0.9.0-r1) [2023-10-03T12:36:35.585Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-10-03T12:36:35.585Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-03T12:36:35.585Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-03T12:36:36.536Z] (11/16) Installing libblkid (2.38-r1) [2023-10-03T12:36:36.536Z] (12/16) Installing libuuid (2.38-r1) [2023-10-03T12:36:36.536Z] (13/16) Installing libfdisk (2.38-r1) [2023-10-03T12:36:36.536Z] (14/16) Installing libmount (2.38-r1) [2023-10-03T12:36:36.802Z] (15/16) Installing libsmartcols (2.38-r1) [2023-10-03T12:36:36.802Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-10-03T12:36:36.802Z] Executing busybox-1.35.0-r17.trigger [2023-10-03T12:36:36.802Z] OK: 286 MiB in 90 packages [2023-10-03T12:36:38.213Z] Removing intermediate container a974535919f3 [2023-10-03T12:36:38.213Z] ---> 178be5cfe192 [2023-10-03T12:36:38.213Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-10-03T12:36:38.213Z] ---> Running in 6df3518fd4bc [2023-10-03T12:36:39.622Z] Removing intermediate container 6df3518fd4bc [2023-10-03T12:36:39.622Z] ---> fbcea0b140d2 [2023-10-03T12:36:39.622Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-10-03T12:36:39.893Z] ---> ab9cff78adc2 [2023-10-03T12:36:39.893Z] Step 8/21 : COPY src /tmp/sdk/src [2023-10-03T12:36:43.235Z] ---> fdd18610fcd0 [2023-10-03T12:36:43.235Z] Step 9/21 : COPY include /tmp/sdk/include [2023-10-03T12:36:43.502Z] ---> 58042b0f54b4 [2023-10-03T12:36:43.502Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-10-03T12:36:43.770Z] ---> df7460192aba [2023-10-03T12:36:43.770Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-10-03T12:36:44.353Z] ---> db4c89f6b490 [2023-10-03T12:36:44.353Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-10-03T12:36:44.620Z] ---> a437801f2d85 [2023-10-03T12:36:44.620Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-10-03T12:36:44.888Z] ---> Running in ee364ba06f39 [2023-10-03T12:36:45.849Z] + CPPCHECK=false [2023-10-03T12:36:45.849Z] + DOCGEN=false [2023-10-03T12:36:45.849Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-10-03T12:36:45.849Z] + '[' 0 -gt 0 ] [2023-10-03T12:36:45.849Z] + readlink -f ./scripts/build.sh [2023-10-03T12:36:45.849Z] + dirname /tmp/sdk/scripts/build.sh [2023-10-03T12:36:45.849Z] + dirname /tmp/sdk/scripts [2023-10-03T12:36:45.849Z] + ROOT=/tmp/sdk [2023-10-03T12:36:45.849Z] + cd /tmp/sdk [2023-10-03T12:36:45.849Z] + mkdir -p /tmp/sdk/build/release [2023-10-03T12:36:45.849Z] + cd /tmp/sdk/build/release [2023-10-03T12:36:45.849Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-10-03T12:36:46.115Z] -- The C compiler identification is GNU 11.2.1 [2023-10-03T12:36:46.115Z] -- Detecting C compiler ABI info [2023-10-03T12:36:46.383Z] -- Detecting C compiler ABI info - done [2023-10-03T12:36:46.383Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-03T12:36:46.383Z] -- Detecting C compile features [2023-10-03T12:36:46.383Z] -- Detecting C compile features - done [2023-10-03T12:36:46.383Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-03T12:36:46.648Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-03T12:36:46.648Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-03T12:36:46.648Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-03T12:36:46.648Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-03T12:36:46.648Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-03T12:36:46.648Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-03T12:36:46.648Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-03T12:36:46.648Z] -- /opt/iotech/iot/1.5/include [2023-10-03T12:36:46.648Z] -- C SDK 0.0.0 for Linux [2023-10-03T12:36:46.648Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-03T12:36:47.243Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-03T12:36:47.243Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-03T12:36:47.510Z] -- Configuring done [2023-10-03T12:36:47.776Z] -- Generating done [2023-10-03T12:36:47.777Z] -- Build files have been written to: /tmp/sdk/build/release [2023-10-03T12:36:47.777Z] + make all package [2023-10-03T12:36:47.777Z] + tee release.log [2023-10-03T12:36:47.777Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-03T12:36:48.732Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-03T12:36:49.695Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-03T12:36:50.653Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-03T12:36:51.234Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-03T12:36:52.190Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-03T12:36:54.765Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-03T12:36:55.348Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-10-03T12:36:55.348Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-03T12:36:55.348Z] 294 | while (privateConfig) [2023-10-03T12:36:55.348Z] | ^~~~~~~~~~~~~ [2023-10-03T12:36:55.348Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-03T12:36:55.348Z] 271 | while (result) [2023-10-03T12:36:55.348Z] | ^~~~~~ [2023-10-03T12:36:57.086Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-03T12:36:57.086Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-03T12:36:57.086Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-03T12:36:59.665Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-03T12:36:59.930Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-03T12:37:00.884Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-03T12:37:01.837Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-03T12:37:02.104Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-03T12:37:03.509Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-03T12:37:03.775Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-03T12:37:06.352Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-03T12:37:06.352Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-03T12:37:06.933Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-03T12:37:08.876Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-03T12:37:14.212Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-03T12:37:14.476Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-03T12:37:14.745Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-03T12:37:15.700Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-03T12:37:15.700Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-03T12:37:17.637Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-03T12:37:20.214Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-03T12:37:20.480Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-03T12:37:21.436Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-03T12:37:22.018Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-03T12:37:22.285Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-10-03T12:37:22.285Z] /tmp/sdk/src/c/service.c:874:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-03T12:37:22.285Z] 874 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); [2023-10-03T12:37:22.285Z] | ^~~~~~~~~~~~~~~~~~~~ [2023-10-03T12:37:22.285Z] /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-03T12:37:22.285Z] 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); [2023-10-03T12:37:22.285Z] | ^ [2023-10-03T12:37:24.221Z] /tmp/sdk/src/c/service.c:1030:5: warning: 'deviceservices_config' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-03T12:37:24.221Z] 1030 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2023-10-03T12:37:24.221Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-10-03T12:37:25.177Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-03T12:37:26.135Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-03T12:37:26.715Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-03T12:37:27.297Z] [ 68%] Linking C shared library libcsdk.so [2023-10-03T12:37:27.297Z] [ 68%] Built target csdk [2023-10-03T12:37:27.298Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-03T12:37:28.257Z] [ 72%] Linking C executable template [2023-10-03T12:37:28.524Z] [ 72%] Built target template [2023-10-03T12:37:28.790Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-03T12:37:29.369Z] [ 76%] Linking C executable device-counter [2023-10-03T12:37:29.633Z] [ 76%] Built target device-counter [2023-10-03T12:37:29.633Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-03T12:37:30.214Z] [ 80%] Linking C executable device-random [2023-10-03T12:37:30.481Z] [ 80%] Built target device-random [2023-10-03T12:37:30.481Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-03T12:37:31.065Z] [ 84%] Linking C executable device-gyro [2023-10-03T12:37:31.330Z] [ 84%] Built target device-gyro [2023-10-03T12:37:31.330Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-03T12:37:31.912Z] [ 88%] Linking C executable device-bitfields [2023-10-03T12:37:32.180Z] [ 88%] Built target device-bitfields [2023-10-03T12:37:32.180Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-03T12:37:33.140Z] [ 92%] Linking C executable template-discovery [2023-10-03T12:37:33.408Z] [ 92%] Built target template-discovery [2023-10-03T12:37:33.675Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-03T12:37:34.256Z] [ 96%] Linking C executable device-file [2023-10-03T12:37:34.836Z] [ 96%] Built target device-file [2023-10-03T12:37:34.836Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-03T12:37:35.422Z] [100%] Linking C executable device-terminal [2023-10-03T12:37:35.688Z] [100%] Built target device-terminal [2023-10-03T12:37:37.096Z] Run CPack packaging tool... [2023-10-03T12:37:37.096Z] CPack: Create package using TGZ [2023-10-03T12:37:37.096Z] CPack: Install projects [2023-10-03T12:37:37.096Z] CPack: - Run preinstall target for: Csdk [2023-10-03T12:37:37.679Z] CPack: - Install project: Csdk [] [2023-10-03T12:37:37.946Z] CPack: Create package [2023-10-03T12:37:37.946Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-10-03T12:37:37.946Z] + '[' false '=' true ] [2023-10-03T12:37:37.946Z] + '[' false '=' true ] [2023-10-03T12:37:37.946Z] + mkdir -p /tmp/sdk/build/debug [2023-10-03T12:37:37.946Z] + cd /tmp/sdk/build/debug [2023-10-03T12:37:37.946Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-10-03T12:37:38.212Z] -- The C compiler identification is GNU 11.2.1 [2023-10-03T12:37:38.212Z] -- Detecting C compiler ABI info [2023-10-03T12:37:38.478Z] -- Detecting C compiler ABI info - done [2023-10-03T12:37:38.744Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-03T12:37:38.744Z] -- Detecting C compile features [2023-10-03T12:37:38.744Z] -- Detecting C compile features - done [2023-10-03T12:37:38.745Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-03T12:37:39.011Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-03T12:37:39.011Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-03T12:37:39.011Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-03T12:37:39.011Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-03T12:37:39.011Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-03T12:37:39.011Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-03T12:37:39.011Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-03T12:37:39.011Z] -- /opt/iotech/iot/1.5/include [2023-10-03T12:37:39.011Z] -- C SDK 0.0.0 for Linux [2023-10-03T12:37:39.011Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-03T12:37:39.278Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-03T12:37:39.545Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-03T12:37:39.545Z] -- Configuring done [2023-10-03T12:37:39.811Z] -- Generating done [2023-10-03T12:37:39.811Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-10-03T12:37:39.811Z] + make [2023-10-03T12:37:39.811Z] + tee debug.log [2023-10-03T12:37:40.080Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-03T12:37:40.346Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-03T12:37:40.929Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-03T12:37:41.195Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-03T12:37:41.777Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-03T12:37:42.044Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-03T12:37:43.001Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-03T12:37:43.584Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-03T12:37:43.584Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-03T12:37:44.164Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-03T12:37:44.744Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-03T12:37:45.012Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-03T12:37:45.592Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-03T12:37:45.860Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-03T12:37:46.441Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-03T12:37:46.707Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-03T12:37:46.972Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-03T12:37:47.929Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-03T12:37:48.198Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-03T12:37:48.198Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-03T12:37:49.157Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-03T12:37:50.128Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-03T12:37:50.711Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-03T12:37:50.977Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-03T12:37:51.243Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-03T12:37:51.510Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-03T12:37:52.090Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-03T12:37:54.029Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-03T12:37:54.029Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-03T12:37:54.610Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-03T12:37:54.877Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-03T12:37:55.144Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-10-03T12:37:55.144Z] /tmp/sdk/src/c/service.c:874:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-03T12:37:55.144Z] 874 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); [2023-10-03T12:37:55.144Z] | ^~~~~~~~~~~~~~~~~~~~ [2023-10-03T12:37:55.144Z] /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-03T12:37:55.145Z] 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); [2023-10-03T12:37:55.145Z] | ^ [2023-10-03T12:37:56.105Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-03T12:37:56.373Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-03T12:37:56.639Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-03T12:37:56.918Z] [ 68%] Linking C shared library libcsdk.so [2023-10-03T12:37:57.185Z] [ 68%] Built target csdk [2023-10-03T12:37:57.185Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-03T12:37:57.767Z] [ 72%] Linking C executable template [2023-10-03T12:37:58.033Z] [ 72%] Built target template [2023-10-03T12:37:58.033Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-03T12:37:58.298Z] [ 76%] Linking C executable device-counter [2023-10-03T12:37:58.565Z] [ 76%] Built target device-counter [2023-10-03T12:37:58.565Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-03T12:37:58.831Z] [ 80%] Linking C executable device-random [2023-10-03T12:37:59.098Z] [ 80%] Built target device-random [2023-10-03T12:37:59.363Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-03T12:37:59.628Z] [ 84%] Linking C executable device-gyro [2023-10-03T12:37:59.955Z] [ 84%] Built target device-gyro [2023-10-03T12:37:59.955Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-03T12:38:00.228Z] [ 88%] Linking C executable device-bitfields [2023-10-03T12:38:00.504Z] [ 88%] Built target device-bitfields [2023-10-03T12:38:00.504Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-03T12:38:01.097Z] [ 92%] Linking C executable template-discovery [2023-10-03T12:38:01.368Z] [ 92%] Built target template-discovery [2023-10-03T12:38:01.368Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-03T12:38:01.648Z] [ 96%] Linking C executable device-file [2023-10-03T12:38:01.937Z] [ 96%] Built target device-file [2023-10-03T12:38:02.208Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-03T12:38:02.481Z] [100%] Linking C executable device-terminal [2023-10-03T12:38:03.070Z] [100%] Built target device-terminal [2023-10-03T12:38:03.339Z] make: Entering directory '/tmp/sdk/build/release' [2023-10-03T12:38:03.339Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-10-03T12:38:03.339Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T12:38:03.339Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T12:38:03.339Z] [ 68%] Built target csdk [2023-10-03T12:38:03.339Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T12:38:03.604Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T12:38:03.604Z] [ 72%] Built target template [2023-10-03T12:38:03.604Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T12:38:03.604Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T12:38:03.604Z] [ 76%] Built target device-counter [2023-10-03T12:38:03.604Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T12:38:03.604Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T12:38:03.604Z] [ 80%] Built target device-random [2023-10-03T12:38:03.604Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T12:38:03.604Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T12:38:03.604Z] [ 84%] Built target device-gyro [2023-10-03T12:38:03.604Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T12:38:03.604Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T12:38:03.604Z] [ 88%] Built target device-bitfields [2023-10-03T12:38:03.604Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T12:38:03.871Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T12:38:03.871Z] [ 92%] Built target template-discovery [2023-10-03T12:38:03.871Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T12:38:03.871Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T12:38:03.871Z] [ 96%] Built target device-file [2023-10-03T12:38:03.871Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-03T12:38:03.871Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T12:38:03.871Z] [100%] Built target device-terminal [2023-10-03T12:38:03.871Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-10-03T12:38:03.871Z] Install the project... [2023-10-03T12:38:03.871Z] -- Install configuration: "Release" [2023-10-03T12:38:03.871Z] -- Installing: /usr/local/lib/libcsdk.so [2023-10-03T12:38:03.871Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-10-03T12:38:03.871Z] -- Installing: /usr/local/include [2023-10-03T12:38:03.871Z] -- Installing: /usr/local/include/devsdk [2023-10-03T12:38:03.871Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-10-03T12:38:03.871Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-10-03T12:38:03.871Z] -- Installing: /usr/local/include/edgex [2023-10-03T12:38:03.871Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-10-03T12:38:03.871Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-10-03T12:38:03.871Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-10-03T12:38:03.871Z] -- Installing: /usr/local/include/edgex/devices.h [2023-10-03T12:38:03.871Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-10-03T12:38:03.871Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-10-03T12:38:03.871Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-10-03T12:38:03.871Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-10-03T12:38:03.871Z] make: Leaving directory '/tmp/sdk/build/release' [2023-10-03T12:38:05.278Z] Removing intermediate container ee364ba06f39 [2023-10-03T12:38:05.278Z] ---> 53e6db673fb1 [2023-10-03T12:38:05.278Z] Step 14/21 : FROM ${BASE} [2023-10-03T12:38:05.278Z] ---> 295cd00e64f4 [2023-10-03T12:38:05.278Z] Step 15/21 : LABEL maintainer="IOTech " [2023-10-03T12:38:05.278Z] ---> Running in a4ea143ab523 [2023-10-03T12:38:05.545Z] Removing intermediate container a4ea143ab523 [2023-10-03T12:38:05.545Z] ---> 299b18890c93 [2023-10-03T12:38:05.545Z] 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-03T12:38:05.817Z] ---> Running in 10ff10fe2c56 [2023-10-03T12:38:06.775Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-10-03T12:38:07.041Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-03T12:38:07.041Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-03T12:38:07.041Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-03T12:38:07.623Z] Removing intermediate container 10ff10fe2c56 [2023-10-03T12:38:07.623Z] ---> 845b5107236d [2023-10-03T12:38:07.623Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-03T12:38:07.896Z] ---> Running in 1b15b2f2cafb [2023-10-03T12:38:09.304Z] Removing intermediate container 1b15b2f2cafb [2023-10-03T12:38:09.304Z] ---> a1c22c3595ea [2023-10-03T12:38:09.304Z] 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-03T12:38:09.304Z] ---> Running in 3748aa87d63d [2023-10-03T12:38:10.261Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-03T12:38:10.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-10-03T12:38:11.108Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-03T12:38:12.063Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-03T12:38:12.063Z] (1/7) Installing curl (8.2.1-r0) [2023-10-03T12:38:12.063Z] (2/7) Installing hiredis (1.0.2-r0) [2023-10-03T12:38:12.063Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-10-03T12:38:12.063Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-10-03T12:38:12.642Z] (5/7) Installing libcbor (0.9.0-r1) [2023-10-03T12:38:12.642Z] (6/7) Installing libuuid (2.38-r1) [2023-10-03T12:38:12.642Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-03T12:38:13.597Z] Executing busybox-1.35.0-r17.trigger [2023-10-03T12:38:13.863Z] OK: 281 MiB in 83 packages [2023-10-03T12:38:16.441Z] Removing intermediate container 3748aa87d63d [2023-10-03T12:38:16.441Z] ---> ebce28e43114 [2023-10-03T12:38:16.441Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-10-03T12:38:17.023Z] ---> 8fbb56fce36a [2023-10-03T12:38:17.023Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-10-03T12:38:17.604Z] ---> db9c4c49d976 [2023-10-03T12:38:17.604Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-10-03T12:38:18.186Z] ---> 8550e1a35dc9 [2023-10-03T12:38:18.186Z] Successfully built 8550e1a35dc9 [2023-10-03T12:38:18.186Z] 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-03T12:38:18.588Z] + docker inspect -f . ci-base-image-arm64 [2023-10-03T12:38:18.588Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-03T12:38:18.788Z] prd-ubuntu20.04-docker-arm64-4c-16g-8392 does not seem to be running inside a container [2023-10-03T12:38:18.845Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-03T12:38:19.979Z] $ docker top 15356f68a5743d4f2559489a458ad6c19d9bc22613e36d93d394bc554cad4158 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-03T12:38:20.810Z] + make test [2023-10-03T12:38:20.810Z] echo "make test" [2023-10-03T12:38:20.810Z] make test [Pipeline] } [2023-10-03T12:38:20.826Z] $ docker stop --time=1 15356f68a5743d4f2559489a458ad6c19d9bc22613e36d93d394bc554cad4158 [2023-10-03T12:38:22.430Z] $ docker rm -f --volumes 15356f68a5743d4f2559489a458ad6c19d9bc22613e36d93d394bc554cad4158 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-03T12:38:22.958Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-03T12:38:23.268Z] + ls -al . [2023-10-03T12:38:23.268Z] total 208 [2023-10-03T12:38:23.268Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 12:35 . [2023-10-03T12:38:23.268Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 12:35 .. [2023-10-03T12:38:23.268Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 12:35 .git [2023-10-03T12:38:23.268Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 12:35 .github [2023-10-03T12:38:23.268Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 3 12:35 .gitignore [2023-10-03T12:38:23.268Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 3 12:35 Attribution.txt [2023-10-03T12:38:23.268Z] -rw-rw-r-- 1 jenkins jenkins 9802 Oct 3 12:35 CHANGES [2023-10-03T12:38:23.268Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 3 12:35 Doxyfile [2023-10-03T12:38:23.268Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 12:35 GOVERNANCE.md [2023-10-03T12:38:23.268Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 3 12:35 Jenkinsfile [2023-10-03T12:38:23.268Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 3 12:35 LICENSE [2023-10-03T12:38:23.268Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 3 12:35 Makefile [2023-10-03T12:38:23.268Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 3 12:35 OWNERS.md [2023-10-03T12:38:23.268Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 3 12:35 README.IOT.md [2023-10-03T12:38:23.268Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 3 12:35 README.md [2023-10-03T12:38:23.268Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 3 12:35 README.v3.md [2023-10-03T12:38:23.268Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 12:33 VERSION [2023-10-03T12:38:23.268Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 12:35 docs [2023-10-03T12:38:23.268Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 12:35 include [2023-10-03T12:38:23.268Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 12:35 scripts [2023-10-03T12:38:23.268Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 12:35 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-03T12:38:23.598Z] + 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=e42d486a0a8fc37b33ffe41e1079aad5a2d9fa76 --label arch=arm64 --label version=0.0.0 . [2023-10-03T12:38:23.869Z] Sending build context to Docker daemon 3.039MB [2023-10-03T12:38:23.869Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-10-03T12:38:23.869Z] Step 2/17 : FROM ${BASE} [2023-10-03T12:38:23.869Z] ---> 8550e1a35dc9 [2023-10-03T12:38:23.869Z] Step 3/17 : LABEL maintainer="IOTech " [2023-10-03T12:38:24.134Z] ---> Running in 939d0d0a1aa1 [2023-10-03T12:38:24.401Z] Removing intermediate container 939d0d0a1aa1 [2023-10-03T12:38:24.401Z] ---> 10568f6db654 [2023-10-03T12:38:24.401Z] 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-03T12:38:24.401Z] ---> Running in 22273d569a8d [2023-10-03T12:38:25.357Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-10-03T12:38:25.621Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-03T12:38:25.621Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-03T12:38:25.621Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-03T12:38:26.588Z] Removing intermediate container 22273d569a8d [2023-10-03T12:38:26.588Z] ---> be334c4e2c97 [2023-10-03T12:38:26.588Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-03T12:38:26.588Z] ---> Running in 3f081c6704f9 [2023-10-03T12:38:31.917Z] Removing intermediate container 3f081c6704f9 [2023-10-03T12:38:31.917Z] ---> fd88126e2c07 [2023-10-03T12:38:31.917Z] 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-03T12:38:31.917Z] ---> Running in 10080bc1897c [2023-10-03T12:38:32.182Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-03T12:38:32.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-10-03T12:38:33.028Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-03T12:38:33.982Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-03T12:38:33.982Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-03T12:38:33.982Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-03T12:38:33.982Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-03T12:38:34.558Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-03T12:38:34.823Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-10-03T12:38:34.823Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-03T12:38:34.823Z] (7/11) Installing libblkid (2.38-r1) [2023-10-03T12:38:34.823Z] (8/11) Installing libfdisk (2.38-r1) [2023-10-03T12:38:34.823Z] (9/11) Installing libmount (2.38-r1) [2023-10-03T12:38:34.823Z] (10/11) Installing libsmartcols (2.38-r1) [2023-10-03T12:38:34.823Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-10-03T12:38:35.089Z] Executing busybox-1.35.0-r17.trigger [2023-10-03T12:38:35.089Z] OK: 287 MiB in 92 packages [2023-10-03T12:38:36.047Z] Removing intermediate container 10080bc1897c [2023-10-03T12:38:36.048Z] ---> f1ca3775ac58 [2023-10-03T12:38:36.048Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-10-03T12:38:36.630Z] ---> f1b20eb3276f [2023-10-03T12:38:36.630Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-10-03T12:38:37.213Z] ---> 4fae6db6f4f8 [2023-10-03T12:38:37.213Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-10-03T12:38:37.795Z] ---> 5e964a6a3cc7 [2023-10-03T12:38:37.795Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-10-03T12:38:38.376Z] ---> 2ef55328cabe [2023-10-03T12:38:38.376Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-10-03T12:38:38.642Z] ---> f5c80e935d19 [2023-10-03T12:38:38.642Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-10-03T12:38:39.224Z] ---> 86f3eeda37a5 [2023-10-03T12:38:39.224Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-10-03T12:38:39.224Z] ---> Running in efab0f7b0681 [2023-10-03T12:38:39.491Z] Removing intermediate container efab0f7b0681 [2023-10-03T12:38:39.492Z] ---> 395c8f600377 [2023-10-03T12:38:39.492Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-10-03T12:38:39.759Z] ---> Running in 5f1346bf38cd [2023-10-03T12:38:40.025Z] Removing intermediate container 5f1346bf38cd [2023-10-03T12:38:40.025Z] ---> 0144c8a2d9c9 [2023-10-03T12:38:40.025Z] Step 15/17 : LABEL arch=arm64 [2023-10-03T12:38:40.025Z] ---> Running in 24414615f597 [2023-10-03T12:38:40.292Z] Removing intermediate container 24414615f597 [2023-10-03T12:38:40.292Z] ---> dd457dd4e243 [2023-10-03T12:38:40.292Z] Step 16/17 : LABEL git_sha=e42d486a0a8fc37b33ffe41e1079aad5a2d9fa76 [2023-10-03T12:38:40.292Z] ---> Running in 1ea4b8f502cd [2023-10-03T12:38:40.558Z] Removing intermediate container 1ea4b8f502cd [2023-10-03T12:38:40.558Z] ---> 0f3772d483f4 [2023-10-03T12:38:40.558Z] Step 17/17 : LABEL version=0.0.0 [2023-10-03T12:38:40.837Z] ---> Running in 3966a06ce1bd [2023-10-03T12:38:41.103Z] Removing intermediate container 3966a06ce1bd [2023-10-03T12:38:41.103Z] ---> e17fd44f3b67 [2023-10-03T12:38:41.103Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-10-03T12:38:41.103Z] Successfully built e17fd44f3b67 [2023-10-03T12:38:41.103Z] 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-03T12:38:41.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-03T12:38:41.523Z] [2023-10-03T12:38:41.523Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-03T12:38:41.847Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-03T12:38:42.112Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-03T12:38:42.112Z] 8998bd30e6a1: Pulling fs layer [2023-10-03T12:38:42.112Z] 04944245beec: Pulling fs layer [2023-10-03T12:38:42.112Z] 699f458cf7ca: Pulling fs layer [2023-10-03T12:38:42.112Z] 765212b225bb: Pulling fs layer [2023-10-03T12:38:42.112Z] f23df028b6ca: Pulling fs layer [2023-10-03T12:38:42.112Z] d65c8cfc05b1: Pulling fs layer [2023-10-03T12:38:42.112Z] 2437ff75d9bd: Pulling fs layer [2023-10-03T12:38:42.112Z] 765212b225bb: Waiting [2023-10-03T12:38:42.112Z] f23df028b6ca: Waiting [2023-10-03T12:38:42.112Z] d65c8cfc05b1: Waiting [2023-10-03T12:38:42.112Z] 2437ff75d9bd: Waiting [2023-10-03T12:38:42.112Z] 04944245beec: Verifying Checksum [2023-10-03T12:38:42.112Z] 04944245beec: Download complete [2023-10-03T12:38:42.112Z] 765212b225bb: Verifying Checksum [2023-10-03T12:38:42.112Z] 765212b225bb: Download complete [2023-10-03T12:38:42.112Z] f23df028b6ca: Verifying Checksum [2023-10-03T12:38:42.112Z] f23df028b6ca: Download complete [2023-10-03T12:38:42.112Z] d65c8cfc05b1: Verifying Checksum [2023-10-03T12:38:42.112Z] d65c8cfc05b1: Download complete [2023-10-03T12:38:42.378Z] 699f458cf7ca: Verifying Checksum [2023-10-03T12:38:42.378Z] 699f458cf7ca: Download complete [2023-10-03T12:38:42.646Z] 8998bd30e6a1: Verifying Checksum [2023-10-03T12:38:42.646Z] 8998bd30e6a1: Download complete [2023-10-03T12:38:45.222Z] 2437ff75d9bd: Verifying Checksum [2023-10-03T12:38:45.222Z] 2437ff75d9bd: Download complete [2023-10-03T12:38:46.627Z] 8998bd30e6a1: Pull complete [2023-10-03T12:38:46.893Z] 04944245beec: Pull complete [2023-10-03T12:38:48.298Z] 699f458cf7ca: Pull complete [2023-10-03T12:38:48.564Z] 765212b225bb: Pull complete [2023-10-03T12:38:49.146Z] f23df028b6ca: Pull complete [2023-10-03T12:38:49.413Z] d65c8cfc05b1: Pull complete [2023-10-03T12:39:04.416Z] 2437ff75d9bd: Pull complete [2023-10-03T12:39:04.416Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-03T12:39:04.416Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-03T12:39:04.416Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-03T12:39:04.606Z] prd-ubuntu20.04-docker-arm64-4c-16g-8392 does not seem to be running inside a container [2023-10-03T12:39:04.668Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-03T12:39:06.948Z] $ docker top dd98eaf892e235966de74f9b279462a36c8278fb42efe97f92a147c15eadb15d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-03T12:39:07.459Z] ---> job-cost.sh [2023-10-03T12:39:07.725Z] lf-activate-venv: SKIPPING [2023-10-03T12:39:07.725Z] INFO: No Stack... [2023-10-03T12:39:07.989Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-03T12:39:08.943Z] INFO: Archiving Costs [Pipeline] sh [2023-10-03T12:39:09.570Z] + + cat /w/workspace/device-sdk-c/3/archives/cost.csvcut [2023-10-03T12:39:09.570Z] -d, -f6 [Pipeline] lock [2023-10-03T12:39:09.627Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-486-3-stack-cost] [2023-10-03T12:39:09.634Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-486-3-stack-cost] did not exist. Created. [2023-10-03T12:39:09.634Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-486-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-03T12:39:09.970Z] /w/workspace/device-sdk-c/3@tmp/durable-531f96c4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-03T12:39:10.361Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-03T12:39:10.379Z] Warning: overwriting stash ‘stack-cost’ [2023-10-03T12:39:10.902Z] Stashed 1 file(s) [Pipeline] } [2023-10-03T12:39:10.910Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-486-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-03T12:39:10.932Z] $ docker stop --time=1 dd98eaf892e235966de74f9b279462a36c8278fb42efe97f92a147c15eadb15d [2023-10-03T12:39:12.427Z] $ docker rm -f --volumes dd98eaf892e235966de74f9b279462a36c8278fb42efe97f92a147c15eadb15d [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-03T12:39:13.202Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives ] [2023-10-03T12:39:13.202Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives [2023-10-03T12:39:13.202Z] total 16 [2023-10-03T12:39:13.202Z] drwxr-xr-x 3 root root 4096 Oct 3 12:34 . [2023-10-03T12:39:13.202Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 12:34 .. [2023-10-03T12:39:13.202Z] drwxr-xr-x 2 root root 4096 Oct 3 12:34 cost [2023-10-03T12:39:13.202Z] -rw-r--r-- 1 root root 84 Oct 3 12:34 cost.csv [2023-10-03T12:39:13.202Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives [2023-10-03T12:39:13.202Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives [2023-10-03T12:39:13.202Z] total 16 [2023-10-03T12:39:13.202Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 12:34 . [2023-10-03T12:39:13.202Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 12:34 .. [2023-10-03T12:39:13.202Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 12:34 cost [2023-10-03T12:39:13.202Z] -rw-r--r-- 1 jenkins jenkins 84 Oct 3 12:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-03T12:39:13.493Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-03T12:39:14.355Z] ---> package-listing.sh [2023-10-03T12:39:14.355Z] ++ facter osfamily [2023-10-03T12:39:14.355Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-03T12:39:14.617Z] + OS_FAMILY=debian [2023-10-03T12:39:14.617Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-486 [2023-10-03T12:39:14.617Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-03T12:39:14.617Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-03T12:39:14.617Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-03T12:39:14.617Z] + PACKAGES=/tmp/packages_start.txt [2023-10-03T12:39:14.617Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-486 ']' [2023-10-03T12:39:14.617Z] + PACKAGES=/tmp/packages_end.txt [2023-10-03T12:39:14.617Z] + case "${OS_FAMILY}" in [2023-10-03T12:39:14.617Z] + dpkg -l [2023-10-03T12:39:14.617Z] + grep '^ii' [2023-10-03T12:39:14.617Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-03T12:39:14.617Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-03T12:39:14.617Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-03T12:39:14.617Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-486 ']' [2023-10-03T12:39:14.617Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives/ [2023-10-03T12:39:14.617Z] + 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-03T12:39:14.626Z] 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-03T12:39:14.910Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-03T12:39:15.481Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-03T12:39:15.482Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-03T12:39:15.559Z] prd-ubuntu20.04-docker-8c-8g-8391 does not seem to be running inside a container [2023-10-03T12:39:15.593Z] $ 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-03T12:39:15.823Z] $ docker top a079fdd381defbb21e1781202f61e5f2c001b67601fee7fb05a87c66a5436c31 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-03T12:39:16.163Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-03T12:39:16.449Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-03T12:39:16.732Z] + ls /var/log/sa-host [2023-10-03T12:39:16.732Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-03T12:39:16.890Z] provisioning config files... [2023-10-03T12:39:16.899Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/config9983064633938090681tmp [Pipeline] { [Pipeline] echo [2023-10-03T12:39:16.911Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-03T12:39:17.195Z] ---> create-netrc.sh [Pipeline] } [2023-10-03T12:39:17.203Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-03T12:39:17.524Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-03T12:39:17.532Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-03T12:39:17.815Z] ---> sudo-logs.sh [2023-10-03T12:39:17.815Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-03T12:39:17.847Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-03T12:39:18.128Z] ---> job-cost.sh [2023-10-03T12:39:18.129Z] lf-activate-venv: SKIPPING [2023-10-03T12:39:18.129Z] DEBUG: total: 0.2199999988079071 [2023-10-03T12:39:18.129Z] INFO: Retrieving Stack Cost... [2023-10-03T12:39:18.387Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-03T12:39:18.646Z] INFO: Archiving Costs [Pipeline] echo [2023-10-03T12:39:18.656Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-03T12:39:18.939Z] ---> logs-deploy.sh [2023-10-03T12:39:18.940Z] lf-activate-venv: SKIPPING [2023-10-03T12:39:18.940Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-486/3 [2023-10-03T12:39:18.940Z] INFO: archiving workspace using pattern(s): [2023-10-03T12:39:19.878Z] Archives upload complete. [2023-10-03T12:39:19.878Z] INFO: archiving logs to Nexus