Pull request #463 opened 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 3a12353c124c337378cc6f68d878f7c9e29e8eff+629b9722aa39bd0efb276d4c775a85c2ba734e30 (53313530391896af6fb47e02d9088bb6a48fc28d) 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-ssh494669391588505881.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh4861732806704563264.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-463/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-463/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16621952613682639301.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-463/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13124966092320493848.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh9544104105202727331.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-463/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-463/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2739649065341032916.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-163 in /w/workspace/edgexfoundry_device-sdk-c_PR-463 [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-463 # 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/463/head:refs/remotes/origin/PR-463 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 629b9722aa39bd0efb276d4c775a85c2ba734e30 into PR head commit 3a12353c124c337378cc6f68d878f7c9e29e8eff Merge succeeded, producing 3a12353c124c337378cc6f68d878f7c9e29e8eff Checking out Revision 3a12353c124c337378cc6f68d878f7c9e29e8eff (PR-463) > git config core.sparsecheckout # timeout=10 > git checkout -f 3a12353c124c337378cc6f68d878f7c9e29e8eff # 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 629b9722aa39bd0efb276d4c775a85c2ba734e30 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3a12353c124c337378cc6f68d878f7c9e29e8eff # timeout=10 Commit message: "fix: Remove space character from the URL for uploading deviceprofile" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-06-29T09:40:21.649Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-29T09:40:21.822Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-29T09:40:21.914Z] ========================================================= [2023-06-29T09:40:21.915Z] EdgeX Global Pipelines Version Info [2023-06-29T09:40:21.915Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-06-29T09:40:23.138Z] ------------------- [2023-06-29T09:40:23.138Z] stable info: [2023-06-29T09:40:23.138Z] ------------------- [2023-06-29T09:40:23.138Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-29T09:40:23.138Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-29T09:40:23.138Z] Message: update stable to v1.0.250 [2023-06-29T09:40:23.400Z] ------------------- [2023-06-29T09:40:23.400Z] experimental info: [2023-06-29T09:40:23.400Z] ------------------- [2023-06-29T09:40:23.400Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-29T09:40:23.400Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-29T09:40:23.400Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-29T09:40:23.682Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-06-29T09:40:23.727Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-06-29T09:40:23.765Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-29T09:40:23.805Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-29T09:40:23.844Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-29T09:40:23.882Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-06-29T09:40:23.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-06-29T09:40:23.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-29T09:40:23.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-29T09:40:24.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-06-29T09:40:24.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-29T09:40:24.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-29T09:40:24.146Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-06-29T09:40:24.183Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-06-29T09:40:24.222Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-29T09:40:24.285Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-29T09:40:24.330Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-29T09:40:24.368Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-463 [Pipeline] echo [2023-06-29T09:40:24.404Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-463 [Pipeline] echo [2023-06-29T09:40:24.445Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-463 [Pipeline] echo [2023-06-29T09:40:24.488Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3a12353c124c337378cc6f68d878f7c9e29e8eff [Pipeline] echo [2023-06-29T09:40:24.553Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3a12353 [Pipeline] echo [2023-06-29T09:40:24.598Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-29T09:40:24.713Z] provisioning config files... [2023-06-29T09:40:24.727Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-463@tmp/config6971330252919871750tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-29T09:40:25.081Z] ---> docker-login.sh [2023-06-29T09:40:25.081Z] nexus3.edgexfoundry.org:10001 [2023-06-29T09:40:25.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T09:40:25.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T09:40:25.666Z] Configure a credential helper to remove this warning. See [2023-06-29T09:40:25.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T09:40:25.666Z] [2023-06-29T09:40:25.666Z] Login Succeeded [2023-06-29T09:40:25.666Z] nexus3.edgexfoundry.org:10002 [2023-06-29T09:40:25.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T09:40:25.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T09:40:25.941Z] Configure a credential helper to remove this warning. See [2023-06-29T09:40:25.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T09:40:25.941Z] [2023-06-29T09:40:25.941Z] Login Succeeded [2023-06-29T09:40:25.941Z] nexus3.edgexfoundry.org:10003 [2023-06-29T09:40:25.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T09:40:25.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T09:40:25.941Z] Configure a credential helper to remove this warning. See [2023-06-29T09:40:25.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T09:40:25.941Z] [2023-06-29T09:40:25.941Z] Login Succeeded [2023-06-29T09:40:25.941Z] nexus3.edgexfoundry.org:10004 [2023-06-29T09:40:25.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T09:40:26.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T09:40:26.211Z] Configure a credential helper to remove this warning. See [2023-06-29T09:40:26.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T09:40:26.211Z] [2023-06-29T09:40:26.211Z] Login Succeeded [2023-06-29T09:40:26.211Z] docker.io [2023-06-29T09:40:26.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T09:40:26.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T09:40:26.473Z] Configure a credential helper to remove this warning. See [2023-06-29T09:40:26.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T09:40:26.473Z] [2023-06-29T09:40:26.473Z] Login Succeeded [2023-06-29T09:40:26.473Z] ---> docker-login.sh ends [Pipeline] } [2023-06-29T09:40:26.498Z] 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-06-29T09:40:27.146Z] + git rev-list -1 --merges 3a12353c124c337378cc6f68d878f7c9e29e8eff~1..3a12353c124c337378cc6f68d878f7c9e29e8eff [Pipeline] echo [2023-06-29T09:40:27.210Z] -----------> git rev-list -1 --merges 3a12353c124c337378cc6f68d878f7c9e29e8eff~1..3a12353c124c337378cc6f68d878f7c9e29e8eff 3a12353c124c337378cc6f68d878f7c9e29e8eff [false] [Pipeline] sh [2023-06-29T09:40:27.518Z] + git log --format=format:%s -1 3a12353c124c337378cc6f68d878f7c9e29e8eff [Pipeline] echo [2023-06-29T09:40:27.551Z] ========================================================= [2023-06-29T09:40:27.551Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-29T09:40:27.551Z] ========================================================= 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-06-29T09:40:28.374Z] + git rev-list -1 --merges 3a12353c124c337378cc6f68d878f7c9e29e8eff~1..3a12353c124c337378cc6f68d878f7c9e29e8eff [Pipeline] echo [2023-06-29T09:40:28.404Z] -----------> git rev-list -1 --merges 3a12353c124c337378cc6f68d878f7c9e29e8eff~1..3a12353c124c337378cc6f68d878f7c9e29e8eff 3a12353c124c337378cc6f68d878f7c9e29e8eff [false] [Pipeline] sh [2023-06-29T09:40:28.711Z] + git log --format=format:%s -1 3a12353c124c337378cc6f68d878f7c9e29e8eff [Pipeline] echo [2023-06-29T09:40:28.744Z] ========================================================= [2023-06-29T09:40:28.744Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-29T09:40:28.744Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-06-29T09:40:29.246Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-29T09:40:29.246Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-29T09:40:29.246Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-29T09:40:29.246Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-29T09:40:29.246Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-06-29T09:40:29.246Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-06-29T09:40:29.246Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T09:40:29.742Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-29T09:40:29.742Z] [2023-06-29T09:40:29.742Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T09:40:30.127Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-29T09:40:30.127Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-29T09:40:30.127Z] b85a868b505f: Pulling fs layer [2023-06-29T09:40:30.127Z] e2be974225ed: Pulling fs layer [2023-06-29T09:40:30.127Z] 339a4e72a1f5: Pulling fs layer [2023-06-29T09:40:30.127Z] 988bab9f4d93: Pulling fs layer [2023-06-29T09:40:30.127Z] 1469e6f7b9e6: Pulling fs layer [2023-06-29T09:40:30.127Z] eaf3925da568: Pulling fs layer [2023-06-29T09:40:30.127Z] bab4dde63d76: Pulling fs layer [2023-06-29T09:40:30.127Z] bde34c3a00c8: Pulling fs layer [2023-06-29T09:40:30.127Z] b352a97aabf1: Pulling fs layer [2023-06-29T09:40:30.127Z] 4872d77fe225: Pulling fs layer [2023-06-29T09:40:30.127Z] 5851b861e8e6: Pulling fs layer [2023-06-29T09:40:30.127Z] 5851b861e8e6: Waiting [2023-06-29T09:40:30.127Z] 988bab9f4d93: Waiting [2023-06-29T09:40:30.127Z] 4872d77fe225: Waiting [2023-06-29T09:40:30.127Z] eaf3925da568: Waiting [2023-06-29T09:40:30.127Z] bde34c3a00c8: Waiting [2023-06-29T09:40:30.127Z] 1469e6f7b9e6: Waiting [2023-06-29T09:40:30.127Z] b352a97aabf1: Waiting [2023-06-29T09:40:30.127Z] bab4dde63d76: Waiting [2023-06-29T09:40:30.127Z] e2be974225ed: Verifying Checksum [2023-06-29T09:40:30.127Z] e2be974225ed: Download complete [2023-06-29T09:40:30.127Z] 988bab9f4d93: Download complete [2023-06-29T09:40:30.388Z] 1469e6f7b9e6: Verifying Checksum [2023-06-29T09:40:30.388Z] 1469e6f7b9e6: Download complete [2023-06-29T09:40:30.388Z] eaf3925da568: Verifying Checksum [2023-06-29T09:40:30.388Z] eaf3925da568: Download complete [2023-06-29T09:40:30.388Z] 339a4e72a1f5: Verifying Checksum [2023-06-29T09:40:30.388Z] 339a4e72a1f5: Download complete [2023-06-29T09:40:30.388Z] bde34c3a00c8: Download complete [2023-06-29T09:40:30.388Z] b352a97aabf1: Download complete [2023-06-29T09:40:30.388Z] 4872d77fe225: Verifying Checksum [2023-06-29T09:40:30.388Z] 4872d77fe225: Download complete [2023-06-29T09:40:30.388Z] 5851b861e8e6: Verifying Checksum [2023-06-29T09:40:30.388Z] 5851b861e8e6: Download complete [2023-06-29T09:40:30.388Z] b85a868b505f: Verifying Checksum [2023-06-29T09:40:30.388Z] b85a868b505f: Download complete [2023-06-29T09:40:30.648Z] bab4dde63d76: Verifying Checksum [2023-06-29T09:40:30.648Z] bab4dde63d76: Download complete [2023-06-29T09:40:32.026Z] b85a868b505f: Pull complete [2023-06-29T09:40:32.027Z] e2be974225ed: Pull complete [2023-06-29T09:40:32.594Z] 339a4e72a1f5: Pull complete [2023-06-29T09:40:32.594Z] 988bab9f4d93: Pull complete [2023-06-29T09:40:32.854Z] 1469e6f7b9e6: Pull complete [2023-06-29T09:40:32.854Z] eaf3925da568: Pull complete [2023-06-29T09:40:35.396Z] bab4dde63d76: Pull complete [2023-06-29T09:40:35.396Z] bde34c3a00c8: Pull complete [2023-06-29T09:40:35.396Z] b352a97aabf1: Pull complete [2023-06-29T09:40:35.396Z] 4872d77fe225: Pull complete [2023-06-29T09:40:35.396Z] 5851b861e8e6: Pull complete [2023-06-29T09:40:35.396Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-29T09:40:35.396Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-29T09:40:35.396Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T09:40:35.628Z] prd-ubuntu20.04-docker-8c-8g-163 does not seem to be running inside a container [2023-06-29T09:40:35.670Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-463 -v /w/workspace/edgexfoundry_device-sdk-c_PR-463:/w/workspace/edgexfoundry_device-sdk-c_PR-463:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-463@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-463@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-29T09:40:40.900Z] $ docker top 320a591ba7df67ba65396f563c8b5954eb25ca0184251fae62981526a5838894 -eo pid,comm [2023-06-29T09:40:40.962Z] 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-06-29T09:40:40.962Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-29T09:40:41.088Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-29T09:40:41.088Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-29T09:40:41.215Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-29T09:40:41.222Z] $ docker exec 320a591ba7df67ba65396f563c8b5954eb25ca0184251fae62981526a5838894 ssh-agent [2023-06-29T09:40:41.335Z] SSH_AUTH_SOCK=/tmp/ssh-68HKVEQYWuYG/agent.32 [2023-06-29T09:40:41.335Z] SSH_AGENT_PID=38 [2023-06-29T09:40:41.344Z] Running ssh-add (command line suppressed) [2023-06-29T09:40:41.450Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-463@tmp/private_key_1494869335540857002.key (/w/workspace/edgexfoundry_device-sdk-c_PR-463@tmp/private_key_1494869335540857002.key) [2023-06-29T09:40:41.460Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-29T09:40:41.893Z] + git tag --points-at HEAD [Pipeline] } [2023-06-29T09:40:41.925Z] $ docker exec --env ******** --env ******** 320a591ba7df67ba65396f563c8b5954eb25ca0184251fae62981526a5838894 ssh-agent -k [2023-06-29T09:40:42.027Z] unset SSH_AUTH_SOCK; [2023-06-29T09:40:42.027Z] unset SSH_AGENT_PID; [2023-06-29T09:40:42.027Z] echo Agent pid 38 killed; [2023-06-29T09:40:42.040Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-29T09:40:42.126Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-29T09:40:42.126Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-29T09:40:42.241Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-29T09:40:42.249Z] $ docker exec 320a591ba7df67ba65396f563c8b5954eb25ca0184251fae62981526a5838894 ssh-agent [2023-06-29T09:40:42.356Z] SSH_AUTH_SOCK=/tmp/ssh-uFkdmm4RftGo/agent.71 [2023-06-29T09:40:42.356Z] SSH_AGENT_PID=77 [2023-06-29T09:40:42.361Z] Running ssh-add (command line suppressed) [2023-06-29T09:40:42.467Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-463@tmp/private_key_4946803606817409620.key (/w/workspace/edgexfoundry_device-sdk-c_PR-463@tmp/private_key_4946803606817409620.key) [2023-06-29T09:40:42.479Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-29T09:40:42.809Z] + git semver init [2023-06-29T09:40:43.069Z] 2023-06-29 09:40:43,028 [run_init] DEBUG init version:0.0.0 force:False [2023-06-29T09:40:43.069Z] 2023-06-29 09:40:43,030 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-463/.semver [2023-06-29T09:40:43.069Z] 2023-06-29 09:40:43,031 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-463/.semver [2023-06-29T09:40:43.069Z] 2023-06-29 09:40:43,031 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-463/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-463, universal_newlines=False, shell=None, istream=None) [2023-06-29T09:40:44.009Z] 2023-06-29 09:40:43,883 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-463/.git/info/exclude [2023-06-29T09:40:44.009Z] 2023-06-29 09:40:43,884 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-463/.semver/PR-463 with force:False [2023-06-29T09:40:44.009Z] 2023-06-29 09:40:43,884 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-463/.semver/PR-463 [2023-06-29T09:40:44.009Z] 2023-06-29 09:40:43,889 [execute] INFO git cat-file --batch-check [2023-06-29T09:40:44.009Z] 2023-06-29 09:40:43,889 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-463/.semver, universal_newlines=False, shell=None, istream=) [2023-06-29T09:40:44.009Z] 2023-06-29 09:40:43,895 [execute] INFO git cat-file --batch [2023-06-29T09:40:44.009Z] 2023-06-29 09:40:43,895 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-463/.semver, universal_newlines=False, shell=None, istream=) [2023-06-29T09:40:44.009Z] 2023-06-29 09:40:43,900 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-463/.semver/PR-463 [2023-06-29T09:40:44.009Z] 0.0.0 [Pipeline] } [2023-06-29T09:40:44.039Z] $ docker exec --env ******** --env ******** 320a591ba7df67ba65396f563c8b5954eb25ca0184251fae62981526a5838894 ssh-agent -k [2023-06-29T09:40:44.134Z] unset SSH_AUTH_SOCK; [2023-06-29T09:40:44.134Z] unset SSH_AGENT_PID; [2023-06-29T09:40:44.135Z] echo Agent pid 77 killed; [2023-06-29T09:40:44.142Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-29T09:40:44.591Z] + git semver [Pipeline] } [2023-06-29T09:40:44.882Z] $ docker stop --time=1 320a591ba7df67ba65396f563c8b5954eb25ca0184251fae62981526a5838894 [2023-06-29T09:40:46.150Z] $ docker rm -f --volumes 320a591ba7df67ba65396f563c8b5954eb25ca0184251fae62981526a5838894 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-29T09:40:46.553Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-29T09:40:46.848Z] Stashed 1 file(s) [Pipeline] echo [2023-06-29T09:40:46.864Z] [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-06-29T09:40:47.374Z] provisioning config files... [2023-06-29T09:40:47.385Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-463@tmp/config8862721472206882822tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-29T09:40:47.725Z] ---> docker-login.sh [2023-06-29T09:40:47.725Z] nexus3.edgexfoundry.org:10001 [2023-06-29T09:40:47.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T09:40:47.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T09:40:47.725Z] Configure a credential helper to remove this warning. See [2023-06-29T09:40:47.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T09:40:47.725Z] [2023-06-29T09:40:47.725Z] Login Succeeded [2023-06-29T09:40:47.725Z] nexus3.edgexfoundry.org:10002 [2023-06-29T09:40:47.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T09:40:47.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T09:40:47.725Z] Configure a credential helper to remove this warning. See [2023-06-29T09:40:47.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T09:40:47.725Z] [2023-06-29T09:40:47.725Z] Login Succeeded [2023-06-29T09:40:47.725Z] nexus3.edgexfoundry.org:10003 [2023-06-29T09:40:47.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T09:40:47.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T09:40:47.983Z] Configure a credential helper to remove this warning. See [2023-06-29T09:40:47.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T09:40:47.983Z] [2023-06-29T09:40:47.983Z] Login Succeeded [2023-06-29T09:40:47.984Z] nexus3.edgexfoundry.org:10004 [2023-06-29T09:40:47.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T09:40:47.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T09:40:47.984Z] Configure a credential helper to remove this warning. See [2023-06-29T09:40:47.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T09:40:47.984Z] [2023-06-29T09:40:47.984Z] Login Succeeded [2023-06-29T09:40:47.984Z] docker.io [2023-06-29T09:40:48.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T09:40:48.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T09:40:48.244Z] Configure a credential helper to remove this warning. See [2023-06-29T09:40:48.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T09:40:48.244Z] [2023-06-29T09:40:48.244Z] Login Succeeded [2023-06-29T09:40:48.504Z] ---> docker-login.sh ends [Pipeline] } [2023-06-29T09:40:48.541Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-29T09:40:48.739Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-29T09:40:48.767Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-06-29T09:40:48.802Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-29T09:40:48.836Z] ========================================================= [2023-06-29T09:40:48.836Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-06-29T09:40:48.836Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T09:40:49.263Z] + 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-06-29T09:40:49.263Z] Sending build context to Docker daemon 4.817MB [2023-06-29T09:40:49.263Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-06-29T09:40:49.263Z] Step 2/21 : FROM ${BASE} as builder [2023-06-29T09:40:49.523Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-06-29T09:40:49.523Z] 91d30c5bc195: Pulling fs layer [2023-06-29T09:40:49.523Z] 316e5a4585fb: Pulling fs layer [2023-06-29T09:40:49.523Z] 91d30c5bc195: Verifying Checksum [2023-06-29T09:40:49.523Z] 91d30c5bc195: Download complete [2023-06-29T09:40:49.782Z] 91d30c5bc195: Pull complete [2023-06-29T09:40:50.350Z] 316e5a4585fb: Verifying Checksum [2023-06-29T09:40:50.350Z] 316e5a4585fb: Download complete [2023-06-29T09:40:53.659Z] 316e5a4585fb: Pull complete [2023-06-29T09:40:53.659Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-06-29T09:40:53.659Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-06-29T09:40:53.659Z] ---> e83ffa357ff4 [2023-06-29T09:40:53.659Z] 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-06-29T09:40:56.954Z] ---> Running in 7a280ad877ba [2023-06-29T09:40:57.214Z] Connecting to iotech.jfrog.io (52.212.146.28:443) [2023-06-29T09:40:57.783Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-06-29T09:40:57.783Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-06-29T09:40:57.783Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-06-29T09:40:58.043Z] Removing intermediate container 7a280ad877ba [2023-06-29T09:40:58.044Z] ---> 38dea2290693 [2023-06-29T09:40:58.044Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-06-29T09:40:58.044Z] ---> Running in 25a5b22dd2c7 [2023-06-29T09:40:58.985Z] Removing intermediate container 25a5b22dd2c7 [2023-06-29T09:40:58.985Z] ---> fba911b9b7d5 [2023-06-29T09:40:58.985Z] 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-06-29T09:40:58.985Z] ---> Running in fe66c1056461 [2023-06-29T09:40:59.245Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-06-29T09:40:59.245Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-06-29T09:40:59.506Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-06-29T09:41:00.075Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-06-29T09:41:00.075Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-06-29T09:41:00.075Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-06-29T09:41:00.075Z] (3/16) Installing hiredis (1.0.2-r0) [2023-06-29T09:41:00.075Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-06-29T09:41:00.334Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-06-29T09:41:00.904Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-06-29T09:41:01.163Z] (7/16) Installing libcbor (0.9.0-r1) [2023-06-29T09:41:01.163Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-06-29T09:41:01.422Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-06-29T09:41:01.422Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-06-29T09:41:02.196Z] Still waiting to schedule task [2023-06-29T09:41:02.197Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-06-29T09:41:02.361Z] (11/16) Installing libblkid (2.38-r1) [2023-06-29T09:41:02.361Z] (12/16) Installing libuuid (2.38-r1) [2023-06-29T09:41:02.361Z] (13/16) Installing libfdisk (2.38-r1) [2023-06-29T09:41:02.361Z] (14/16) Installing libmount (2.38-r1) [2023-06-29T09:41:02.361Z] (15/16) Installing libsmartcols (2.38-r1) [2023-06-29T09:41:02.361Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-06-29T09:41:02.361Z] Executing busybox-1.35.0-r17.trigger [2023-06-29T09:41:02.361Z] OK: 280 MiB in 90 packages [2023-06-29T09:41:02.931Z] Removing intermediate container fe66c1056461 [2023-06-29T09:41:02.931Z] ---> e0eeb5a19ca4 [2023-06-29T09:41:02.931Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-06-29T09:41:02.931Z] ---> Running in 434185f07b4e [2023-06-29T09:41:03.501Z] Removing intermediate container 434185f07b4e [2023-06-29T09:41:03.501Z] ---> 5518e13da7ef [2023-06-29T09:41:03.501Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-06-29T09:41:03.766Z] ---> 3ffeff22b28c [2023-06-29T09:41:03.766Z] Step 8/21 : COPY src /tmp/sdk/src [2023-06-29T09:41:04.025Z] ---> 37cf27e4b32a [2023-06-29T09:41:04.025Z] Step 9/21 : COPY include /tmp/sdk/include [2023-06-29T09:41:04.025Z] ---> 365ff1269218 [2023-06-29T09:41:04.025Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-06-29T09:41:04.284Z] ---> d861c09a182d [2023-06-29T09:41:04.284Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-06-29T09:41:04.284Z] ---> f2abbced8dd5 [2023-06-29T09:41:04.284Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-06-29T09:41:04.542Z] ---> 48d808cce1c2 [2023-06-29T09:41:04.542Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-06-29T09:41:04.542Z] ---> Running in 73490a59ac71 [2023-06-29T09:41:04.802Z] + CPPCHECK=false [2023-06-29T09:41:04.802Z] + DOCGEN=false [2023-06-29T09:41:04.802Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-06-29T09:41:04.802Z] + '[' 0 -gt 0 ] [2023-06-29T09:41:04.802Z] + readlink -f ./scripts/build.sh [2023-06-29T09:41:04.802Z] + dirname /tmp/sdk/scripts/build.sh [2023-06-29T09:41:04.802Z] + dirname /tmp/sdk/scripts [2023-06-29T09:41:04.802Z] + ROOT=/tmp/sdk [2023-06-29T09:41:04.802Z] + cd /tmp/sdk [2023-06-29T09:41:04.802Z] + mkdir -p /tmp/sdk/build/release [2023-06-29T09:41:04.802Z] + cd /tmp/sdk/build/release [2023-06-29T09:41:04.802Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-06-29T09:41:05.061Z] -- The C compiler identification is GNU 11.2.1 [2023-06-29T09:41:05.061Z] -- Detecting C compiler ABI info [2023-06-29T09:41:05.061Z] -- Detecting C compiler ABI info - done [2023-06-29T09:41:05.061Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-06-29T09:41:05.061Z] -- Detecting C compile features [2023-06-29T09:41:05.061Z] -- Detecting C compile features - done [2023-06-29T09:41:05.061Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-06-29T09:41:05.061Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-06-29T09:41:05.061Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-06-29T09:41:05.061Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-06-29T09:41:05.061Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-06-29T09:41:05.061Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-06-29T09:41:05.061Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-06-29T09:41:05.061Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-06-29T09:41:05.061Z] -- /opt/iotech/iot/1.5/include [2023-06-29T09:41:05.061Z] -- C SDK 0.0.0 for Linux [2023-06-29T09:41:05.061Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-06-29T09:41:05.319Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-06-29T09:41:05.319Z] -- Found Curses: /usr/lib/libcurses.so [2023-06-29T09:41:05.319Z] -- Configuring done [2023-06-29T09:41:05.319Z] -- Generating done [2023-06-29T09:41:05.319Z] -- Build files have been written to: /tmp/sdk/build/release [2023-06-29T09:41:05.319Z] + make all package [2023-06-29T09:41:05.319Z] + tee release.log [2023-06-29T09:41:05.319Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-06-29T09:41:05.579Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-06-29T09:41:05.579Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-06-29T09:41:05.838Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-06-29T09:41:05.838Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-06-29T09:41:06.126Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-06-29T09:41:06.399Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-06-29T09:41:06.679Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-06-29T09:41:06.679Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-06-29T09:41:06.954Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-06-29T09:41:07.221Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-06-29T09:41:07.221Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-06-29T09:41:07.485Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-06-29T09:41:07.485Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-06-29T09:41:07.743Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-06-29T09:41:08.003Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-06-29T09:41:08.003Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-06-29T09:41:08.263Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-06-29T09:41:08.523Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-06-29T09:41:08.523Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-06-29T09:41:08.782Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-06-29T09:41:09.722Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-06-29T09:41:09.722Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-06-29T09:41:09.722Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-06-29T09:41:09.981Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-06-29T09:41:09.981Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-06-29T09:41:10.241Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-06-29T09:41:10.812Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-06-29T09:41:10.812Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-06-29T09:41:10.812Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-06-29T09:41:11.072Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-06-29T09:41:11.641Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-06-29T09:41:11.641Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-06-29T09:41:11.641Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-06-29T09:41:11.901Z] [ 68%] Linking C shared library libcsdk.so [2023-06-29T09:41:11.901Z] [ 68%] Built target csdk [2023-06-29T09:41:11.901Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-06-29T09:41:12.160Z] [ 72%] Linking C executable template [2023-06-29T09:41:12.160Z] [ 72%] Built target template [2023-06-29T09:41:12.160Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-06-29T09:41:12.419Z] [ 76%] Linking C executable device-counter [2023-06-29T09:41:12.419Z] [ 76%] Built target device-counter [2023-06-29T09:41:12.419Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-06-29T09:41:12.419Z] [ 80%] Linking C executable device-random [2023-06-29T09:41:12.678Z] [ 80%] Built target device-random [2023-06-29T09:41:12.678Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-06-29T09:41:12.678Z] [ 84%] Linking C executable device-gyro [2023-06-29T09:41:12.678Z] [ 84%] Built target device-gyro [2023-06-29T09:41:12.678Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-06-29T09:41:12.939Z] [ 88%] Linking C executable device-bitfields [2023-06-29T09:41:12.939Z] [ 88%] Built target device-bitfields [2023-06-29T09:41:12.939Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-06-29T09:41:13.200Z] [ 92%] Linking C executable template-discovery [2023-06-29T09:41:13.200Z] [ 92%] Built target template-discovery [2023-06-29T09:41:13.200Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-06-29T09:41:13.461Z] [ 96%] Linking C executable device-file [2023-06-29T09:41:13.461Z] [ 96%] Built target device-file [2023-06-29T09:41:13.461Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-06-29T09:41:13.461Z] [100%] Linking C executable device-terminal [2023-06-29T09:41:13.720Z] [100%] Built target device-terminal [2023-06-29T09:41:13.720Z] Run CPack packaging tool... [2023-06-29T09:41:13.721Z] CPack: Create package using TGZ [2023-06-29T09:41:13.721Z] CPack: Install projects [2023-06-29T09:41:13.721Z] CPack: - Run preinstall target for: Csdk [2023-06-29T09:41:13.982Z] CPack: - Install project: Csdk [] [2023-06-29T09:41:13.982Z] CPack: Create package [2023-06-29T09:41:13.982Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-06-29T09:41:13.982Z] + '[' false '=' true ] [2023-06-29T09:41:13.982Z] + '[' false '=' true ] [2023-06-29T09:41:13.982Z] + mkdir -p /tmp/sdk/build/debug [2023-06-29T09:41:13.982Z] + cd /tmp/sdk/build/debug [2023-06-29T09:41:13.982Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-06-29T09:41:13.982Z] -- The C compiler identification is GNU 11.2.1 [2023-06-29T09:41:13.982Z] -- Detecting C compiler ABI info [2023-06-29T09:41:14.241Z] -- Detecting C compiler ABI info - done [2023-06-29T09:41:14.241Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-06-29T09:41:14.241Z] -- Detecting C compile features [2023-06-29T09:41:14.241Z] -- Detecting C compile features - done [2023-06-29T09:41:14.241Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-06-29T09:41:14.241Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-06-29T09:41:14.241Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-06-29T09:41:14.241Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-06-29T09:41:14.241Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-06-29T09:41:14.241Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-06-29T09:41:14.241Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-06-29T09:41:14.241Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-06-29T09:41:14.241Z] -- /opt/iotech/iot/1.5/include [2023-06-29T09:41:14.241Z] -- C SDK 0.0.0 for Linux [2023-06-29T09:41:14.241Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-06-29T09:41:14.241Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-06-29T09:41:14.241Z] -- Found Curses: /usr/lib/libcurses.so [2023-06-29T09:41:14.499Z] -- Configuring done [2023-06-29T09:41:14.499Z] -- Generating done [2023-06-29T09:41:14.499Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-06-29T09:41:14.499Z] + make [2023-06-29T09:41:14.499Z] + tee debug.log [2023-06-29T09:41:14.499Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-06-29T09:41:14.499Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-06-29T09:41:14.760Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-06-29T09:41:14.760Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-06-29T09:41:14.760Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-06-29T09:41:14.760Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-06-29T09:41:15.019Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-06-29T09:41:15.019Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-06-29T09:41:15.019Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-06-29T09:41:15.279Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-06-29T09:41:15.279Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-06-29T09:41:15.545Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-06-29T09:41:15.545Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-06-29T09:41:15.545Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-06-29T09:41:15.802Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-06-29T09:41:15.802Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-06-29T09:41:15.802Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-06-29T09:41:16.086Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-06-29T09:41:16.086Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-06-29T09:41:16.086Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-06-29T09:41:16.086Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-06-29T09:41:16.345Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-06-29T09:41:16.603Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-06-29T09:41:16.603Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-06-29T09:41:16.603Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-06-29T09:41:16.603Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-06-29T09:41:16.862Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-06-29T09:41:17.121Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-06-29T09:41:17.121Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-06-29T09:41:17.121Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-06-29T09:41:17.380Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-06-29T09:41:17.380Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-06-29T09:41:17.637Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-06-29T09:41:17.637Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-06-29T09:41:17.637Z] [ 68%] Linking C shared library libcsdk.so [2023-06-29T09:41:17.637Z] [ 68%] Built target csdk [2023-06-29T09:41:17.897Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-06-29T09:41:17.897Z] [ 72%] Linking C executable template [2023-06-29T09:41:17.897Z] [ 72%] Built target template [2023-06-29T09:41:17.897Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-06-29T09:41:17.897Z] [ 76%] Linking C executable device-counter [2023-06-29T09:41:18.156Z] [ 76%] Built target device-counter [2023-06-29T09:41:18.156Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-06-29T09:41:18.156Z] [ 80%] Linking C executable device-random [2023-06-29T09:41:18.156Z] [ 80%] Built target device-random [2023-06-29T09:41:18.156Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-06-29T09:41:18.415Z] [ 84%] Linking C executable device-gyro [2023-06-29T09:41:18.415Z] [ 84%] Built target device-gyro [2023-06-29T09:41:18.415Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-06-29T09:41:18.415Z] [ 88%] Linking C executable device-bitfields [2023-06-29T09:41:18.415Z] [ 88%] Built target device-bitfields [2023-06-29T09:41:18.675Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-06-29T09:41:18.675Z] [ 92%] Linking C executable template-discovery [2023-06-29T09:41:18.675Z] [ 92%] Built target template-discovery [2023-06-29T09:41:18.675Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-06-29T09:41:18.934Z] [ 96%] Linking C executable device-file [2023-06-29T09:41:18.934Z] [ 96%] Built target device-file [2023-06-29T09:41:18.934Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-06-29T09:41:18.934Z] [100%] Linking C executable device-terminal [2023-06-29T09:41:18.934Z] [100%] Built target device-terminal [2023-06-29T09:41:19.197Z] make: Entering directory '/tmp/sdk/build/release' [2023-06-29T09:41:19.197Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-06-29T09:41:19.197Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-06-29T09:41:19.197Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-06-29T09:41:19.197Z] [ 68%] Built target csdk [2023-06-29T09:41:19.197Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-06-29T09:41:19.197Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-06-29T09:41:19.197Z] [ 72%] Built target template [2023-06-29T09:41:19.197Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-06-29T09:41:19.197Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-06-29T09:41:19.197Z] [ 76%] Built target device-counter [2023-06-29T09:41:19.197Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-06-29T09:41:19.197Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-06-29T09:41:19.197Z] [ 80%] Built target device-random [2023-06-29T09:41:19.197Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-06-29T09:41:19.197Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-06-29T09:41:19.197Z] [ 84%] Built target device-gyro [2023-06-29T09:41:19.197Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-06-29T09:41:19.197Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-06-29T09:41:19.197Z] [ 88%] Built target device-bitfields [2023-06-29T09:41:19.197Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-06-29T09:41:19.197Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-06-29T09:41:19.197Z] [ 92%] Built target template-discovery [2023-06-29T09:41:19.197Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-06-29T09:41:19.197Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-06-29T09:41:19.197Z] [ 96%] Built target device-file [2023-06-29T09:41:19.197Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-06-29T09:41:19.197Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-06-29T09:41:19.197Z] [100%] Built target device-terminal [2023-06-29T09:41:19.197Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-06-29T09:41:19.197Z] Install the project... [2023-06-29T09:41:19.197Z] -- Install configuration: "Release" [2023-06-29T09:41:19.197Z] -- Installing: /usr/local/lib/libcsdk.so [2023-06-29T09:41:19.197Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-06-29T09:41:19.197Z] -- Installing: /usr/local/include [2023-06-29T09:41:19.197Z] -- Installing: /usr/local/include/devsdk [2023-06-29T09:41:19.197Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-06-29T09:41:19.197Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-06-29T09:41:19.197Z] -- Installing: /usr/local/include/edgex [2023-06-29T09:41:19.197Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-06-29T09:41:19.197Z] -- Installing: /usr/local/include/edgex/devices.h [2023-06-29T09:41:19.197Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-06-29T09:41:19.197Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-06-29T09:41:19.197Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-06-29T09:41:19.197Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-06-29T09:41:19.197Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-06-29T09:41:19.197Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-06-29T09:41:19.197Z] make: Leaving directory '/tmp/sdk/build/release' [2023-06-29T09:41:20.210Z] Removing intermediate container 73490a59ac71 [2023-06-29T09:41:20.210Z] ---> e0dd576e9704 [2023-06-29T09:41:20.210Z] Step 14/21 : FROM ${BASE} [2023-06-29T09:41:20.210Z] ---> e83ffa357ff4 [2023-06-29T09:41:20.210Z] Step 15/21 : LABEL maintainer="IOTech " [2023-06-29T09:41:20.210Z] ---> Running in 0041032b6726 [2023-06-29T09:41:20.210Z] Removing intermediate container 0041032b6726 [2023-06-29T09:41:20.210Z] ---> faef20b7848b [2023-06-29T09:41:20.210Z] 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-06-29T09:41:20.210Z] ---> Running in 3f86b09404d3 [2023-06-29T09:41:20.469Z] Connecting to iotech.jfrog.io (34.251.180.96:443) [2023-06-29T09:41:21.037Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-06-29T09:41:21.037Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-06-29T09:41:21.037Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-06-29T09:41:21.296Z] Removing intermediate container 3f86b09404d3 [2023-06-29T09:41:21.296Z] ---> 4e7543d8ff62 [2023-06-29T09:41:21.296Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-06-29T09:41:21.296Z] ---> Running in 03e1aff28a0b [2023-06-29T09:41:21.919Z] Removing intermediate container 03e1aff28a0b [2023-06-29T09:41:21.919Z] ---> 7af93a50db34 [2023-06-29T09:41:21.919Z] 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-06-29T09:41:21.919Z] ---> Running in b6adb46f1d35 [2023-06-29T09:41:22.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-06-29T09:41:22.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-06-29T09:41:22.439Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-06-29T09:41:23.013Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-06-29T09:41:23.013Z] (1/7) Installing curl (8.1.2-r0) [2023-06-29T09:41:23.013Z] (2/7) Installing hiredis (1.0.2-r0) [2023-06-29T09:41:23.013Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-06-29T09:41:23.013Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-06-29T09:41:23.582Z] (5/7) Installing libcbor (0.9.0-r1) [2023-06-29T09:41:23.582Z] (6/7) Installing libuuid (2.38-r1) [2023-06-29T09:41:23.582Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-06-29T09:41:24.521Z] Executing busybox-1.35.0-r17.trigger [2023-06-29T09:41:24.521Z] OK: 276 MiB in 83 packages [2023-06-29T09:41:24.779Z] Removing intermediate container b6adb46f1d35 [2023-06-29T09:41:24.779Z] ---> 92d5f22b7f95 [2023-06-29T09:41:24.779Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-06-29T09:41:25.039Z] ---> c16f62c9669d [2023-06-29T09:41:25.039Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-06-29T09:41:25.039Z] ---> ee62d39195f1 [2023-06-29T09:41:25.039Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-06-29T09:41:25.299Z] ---> b9d389cc26ff [2023-06-29T09:41:25.299Z] Successfully built b9d389cc26ff [2023-06-29T09:41:25.299Z] 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-06-29T09:41:25.995Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-29T09:41:25.995Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T09:41:26.154Z] prd-ubuntu20.04-docker-8c-8g-163 does not seem to be running inside a container [2023-06-29T09:41:26.188Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-463 -v /w/workspace/edgexfoundry_device-sdk-c_PR-463:/w/workspace/edgexfoundry_device-sdk-c_PR-463:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-463@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-463@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 ******** ci-base-image-x86_64 cat [2023-06-29T09:41:26.546Z] $ docker top aaa2ee79e7e99f211019359d42a7dd3026e3d6de23bfec75ec8e38a27021ebb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-29T09:41:26.941Z] + make test [2023-06-29T09:41:26.941Z] echo "make test" [2023-06-29T09:41:26.941Z] make test [Pipeline] } [2023-06-29T09:41:26.975Z] $ docker stop --time=1 aaa2ee79e7e99f211019359d42a7dd3026e3d6de23bfec75ec8e38a27021ebb2 [2023-06-29T09:41:28.270Z] $ docker rm -f --volumes aaa2ee79e7e99f211019359d42a7dd3026e3d6de23bfec75ec8e38a27021ebb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-29T09:41:29.169Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-29T09:41:29.477Z] + ls -al . [2023-06-29T09:41:29.477Z] total 212 [2023-06-29T09:41:29.477Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 29 09:40 . [2023-06-29T09:41:29.477Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 09:40 .. [2023-06-29T09:41:29.477Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 09:40 .git [2023-06-29T09:41:29.477Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 09:40 .github [2023-06-29T09:41:29.477Z] -rw-rw-r-- 1 jenkins jenkins 176 Jun 29 09:40 .gitignore [2023-06-29T09:41:29.477Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 09:40 .semver [2023-06-29T09:41:29.477Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jun 29 09:40 Attribution.txt [2023-06-29T09:41:29.477Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jun 29 09:40 CHANGES [2023-06-29T09:41:29.477Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jun 29 09:40 Doxyfile [2023-06-29T09:41:29.477Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 09:40 GOVERNANCE.md [2023-06-29T09:41:29.477Z] -rw-rw-r-- 1 jenkins jenkins 784 Jun 29 09:40 Jenkinsfile [2023-06-29T09:41:29.477Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jun 29 09:40 LICENSE [2023-06-29T09:41:29.477Z] -rw-rw-r-- 1 jenkins jenkins 444 Jun 29 09:40 Makefile [2023-06-29T09:41:29.477Z] -rw-rw-r-- 1 jenkins jenkins 618 Jun 29 09:40 OWNERS.md [2023-06-29T09:41:29.477Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jun 29 09:40 README.IOT.md [2023-06-29T09:41:29.477Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jun 29 09:40 README.md [2023-06-29T09:41:29.477Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jun 29 09:40 README.v3.md [2023-06-29T09:41:29.477Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 09:40 VERSION [2023-06-29T09:41:29.477Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 09:40 docs [2023-06-29T09:41:29.477Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 09:40 include [2023-06-29T09:41:29.477Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 09:40 scripts [2023-06-29T09:41:29.477Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 09:40 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T09:41:29.873Z] + 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=3a12353c124c337378cc6f68d878f7c9e29e8eff --label arch=amd64 --label version=0.0.0 . [2023-06-29T09:41:29.873Z] Sending build context to Docker daemon 4.817MB [2023-06-29T09:41:29.873Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-06-29T09:41:29.873Z] Step 2/17 : FROM ${BASE} [2023-06-29T09:41:29.873Z] ---> b9d389cc26ff [2023-06-29T09:41:29.873Z] Step 3/17 : LABEL maintainer="IOTech " [2023-06-29T09:41:30.131Z] ---> Running in 599d40fef42d [2023-06-29T09:41:30.131Z] Removing intermediate container 599d40fef42d [2023-06-29T09:41:30.131Z] ---> 7e556577c8d5 [2023-06-29T09:41:30.131Z] 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-06-29T09:41:30.131Z] ---> Running in 9b80da219bcf [2023-06-29T09:41:30.390Z] Connecting to iotech.jfrog.io (52.214.78.182:443) [2023-06-29T09:41:30.650Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-06-29T09:41:30.650Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-06-29T09:41:30.650Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-06-29T09:41:30.911Z] Removing intermediate container 9b80da219bcf [2023-06-29T09:41:30.911Z] ---> 9bb711f4e941 [2023-06-29T09:41:30.911Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-06-29T09:41:30.911Z] ---> Running in 4b3f6c592b20 [2023-06-29T09:41:31.493Z] Removing intermediate container 4b3f6c592b20 [2023-06-29T09:41:31.493Z] ---> ce7c4ba42c8f [2023-06-29T09:41:31.493Z] 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-06-29T09:41:31.493Z] ---> Running in 0985cd042000 [2023-06-29T09:41:31.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-06-29T09:41:31.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-06-29T09:41:32.011Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-06-29T09:41:32.578Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-06-29T09:41:32.578Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-06-29T09:41:32.578Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-06-29T09:41:32.578Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-06-29T09:41:33.146Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-06-29T09:41:33.146Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-06-29T09:41:33.146Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-06-29T09:41:33.146Z] (7/11) Installing libblkid (2.38-r1) [2023-06-29T09:41:33.146Z] (8/11) Installing libfdisk (2.38-r1) [2023-06-29T09:41:33.146Z] (9/11) Installing libmount (2.38-r1) [2023-06-29T09:41:33.146Z] (10/11) Installing libsmartcols (2.38-r1) [2023-06-29T09:41:33.146Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-06-29T09:41:33.540Z] Executing busybox-1.35.0-r17.trigger [2023-06-29T09:41:33.540Z] OK: 281 MiB in 92 packages [2023-06-29T09:41:34.107Z] Removing intermediate container 0985cd042000 [2023-06-29T09:41:34.107Z] ---> be2c442e0a03 [2023-06-29T09:41:34.107Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-06-29T09:41:34.107Z] ---> 2c3a02f38724 [2023-06-29T09:41:34.107Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-06-29T09:41:34.365Z] ---> c6a13660b9b8 [2023-06-29T09:41:34.365Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-06-29T09:41:34.624Z] ---> 7c61440aeac6 [2023-06-29T09:41:34.624Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-06-29T09:41:34.624Z] ---> e78ff0de3dd9 [2023-06-29T09:41:34.624Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-06-29T09:41:34.624Z] ---> aeda3ba469ee [2023-06-29T09:41:34.624Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-06-29T09:41:34.883Z] ---> 2a9d64814865 [2023-06-29T09:41:34.883Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-06-29T09:41:34.883Z] ---> Running in f85c028c8206 [2023-06-29T09:41:34.884Z] Removing intermediate container f85c028c8206 [2023-06-29T09:41:34.884Z] ---> 39de28292cb0 [2023-06-29T09:41:34.884Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-06-29T09:41:34.884Z] ---> Running in f972beb2392a [2023-06-29T09:41:35.143Z] Removing intermediate container f972beb2392a [2023-06-29T09:41:35.143Z] ---> 1aff3cda3ea9 [2023-06-29T09:41:35.143Z] Step 15/17 : LABEL arch=amd64 [2023-06-29T09:41:35.143Z] ---> Running in ed6bc0b71b85 [2023-06-29T09:41:35.143Z] Removing intermediate container ed6bc0b71b85 [2023-06-29T09:41:35.143Z] ---> 1bc61c2a4b9c [2023-06-29T09:41:35.143Z] Step 16/17 : LABEL git_sha=3a12353c124c337378cc6f68d878f7c9e29e8eff [2023-06-29T09:41:35.143Z] ---> Running in 5ee89ac9f919 [2023-06-29T09:41:35.143Z] Removing intermediate container 5ee89ac9f919 [2023-06-29T09:41:35.143Z] ---> 82a35df1a82e [2023-06-29T09:41:35.143Z] Step 17/17 : LABEL version=0.0.0 [2023-06-29T09:41:35.402Z] ---> Running in 5e93f226e3a6 [2023-06-29T09:41:35.402Z] Removing intermediate container 5e93f226e3a6 [2023-06-29T09:41:35.402Z] ---> d5a09448e933 [2023-06-29T09:41:35.402Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-06-29T09:41:35.402Z] Successfully built d5a09448e933 [2023-06-29T09:41:35.402Z] 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-06-29T09:41:36.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-29T09:41:36.261Z] [2023-06-29T09:41:36.261Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T09:41:36.640Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-29T09:41:36.640Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-29T09:41:36.640Z] 5eb5b503b376: Pulling fs layer [2023-06-29T09:41:36.640Z] 5c69ac0246d0: Pulling fs layer [2023-06-29T09:41:36.640Z] ec43610c2a17: Pulling fs layer [2023-06-29T09:41:36.640Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-29T09:41:36.640Z] 33b1e0a273af: Pulling fs layer [2023-06-29T09:41:36.640Z] 5d3b04190fa2: Pulling fs layer [2023-06-29T09:41:36.640Z] 2f39f015ded8: Pulling fs layer [2023-06-29T09:41:36.640Z] 33b1e0a273af: Waiting [2023-06-29T09:41:36.640Z] 3a2ae6a8a46f: Waiting [2023-06-29T09:41:36.640Z] 5d3b04190fa2: Waiting [2023-06-29T09:41:36.640Z] 2f39f015ded8: Waiting [2023-06-29T09:41:36.640Z] 5c69ac0246d0: Verifying Checksum [2023-06-29T09:41:36.640Z] 5c69ac0246d0: Download complete [2023-06-29T09:41:36.640Z] 3a2ae6a8a46f: Verifying Checksum [2023-06-29T09:41:36.640Z] 3a2ae6a8a46f: Download complete [2023-06-29T09:41:36.640Z] 33b1e0a273af: Verifying Checksum [2023-06-29T09:41:36.640Z] 33b1e0a273af: Download complete [2023-06-29T09:41:36.640Z] ec43610c2a17: Verifying Checksum [2023-06-29T09:41:36.640Z] ec43610c2a17: Download complete [2023-06-29T09:41:36.640Z] 5d3b04190fa2: Download complete [2023-06-29T09:41:36.899Z] 5eb5b503b376: Verifying Checksum [2023-06-29T09:41:36.899Z] 5eb5b503b376: Download complete [2023-06-29T09:41:37.468Z] 2f39f015ded8: Verifying Checksum [2023-06-29T09:41:37.468Z] 2f39f015ded8: Download complete [2023-06-29T09:41:38.036Z] 5eb5b503b376: Pull complete [2023-06-29T09:41:38.036Z] 5c69ac0246d0: Pull complete [2023-06-29T09:41:38.602Z] ec43610c2a17: Pull complete [2023-06-29T09:41:38.602Z] 3a2ae6a8a46f: Pull complete [2023-06-29T09:41:38.861Z] 33b1e0a273af: Pull complete [2023-06-29T09:41:38.861Z] 5d3b04190fa2: Pull complete [2023-06-29T09:41:43.073Z] 2f39f015ded8: Pull complete [2023-06-29T09:41:43.073Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-29T09:41:43.073Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-29T09:41:43.073Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T09:41:43.300Z] prd-ubuntu20.04-docker-8c-8g-163 does not seem to be running inside a container [2023-06-29T09:41:43.335Z] $ 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-463 -v /w/workspace/edgexfoundry_device-sdk-c_PR-463:/w/workspace/edgexfoundry_device-sdk-c_PR-463:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-463@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-463@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-29T09:41:50.804Z] $ docker top f63d9635b3aaf62f347d35b20b5dfdb61b3ff1d7de1087f62d529dadaa80dd6d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-29T09:41:51.267Z] ---> job-cost.sh [2023-06-29T09:41:51.268Z] lf-activate-venv: SKIPPING [2023-06-29T09:41:51.268Z] INFO: No Stack... [2023-06-29T09:41:51.526Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-29T09:41:52.090Z] INFO: Archiving Costs [Pipeline] sh [2023-06-29T09:41:52.408Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-463/archives/cost.csv [2023-06-29T09:41:52.409Z] + cut -d, -f6 [Pipeline] lock [2023-06-29T09:41:52.444Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-463-1-stack-cost] [2023-06-29T09:41:52.452Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-463-1-stack-cost] did not exist. Created. [2023-06-29T09:41:52.453Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-463-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-29T09:41:52.840Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-29T09:41:52.906Z] Stashed 1 file(s) [Pipeline] } [2023-06-29T09:41:52.919Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-463-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-29T09:41:52.994Z] $ docker stop --time=1 f63d9635b3aaf62f347d35b20b5dfdb61b3ff1d7de1087f62d529dadaa80dd6d [2023-06-29T09:41:54.145Z] $ docker rm -f --volumes f63d9635b3aaf62f347d35b20b5dfdb61b3ff1d7de1087f62d529dadaa80dd6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-29T09:42:34.953Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-164 in /w/workspace/edgexfoundry_device-sdk-c_PR-463 [Pipeline] { [Pipeline] ws [2023-06-29T09:42:35.011Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2023-06-29T09:42:35.091Z] Selected Git installation does not exist. Using Default [2023-06-29T09:42:35.091Z] The recommended git tool is: NONE [2023-06-29T09:42:40.182Z] using credential edgex-jenkins-ssh [2023-06-29T09:42:40.197Z] Cloning the remote Git repository [2023-06-29T09:42:40.241Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-06-29T09:42:40.325Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2023-06-29T09:42:40.470Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-06-29T09:42:40.471Z] > git --version # timeout=10 [2023-06-29T09:42:40.491Z] > git --version # 'git version 2.25.1' [2023-06-29T09:42:40.494Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-29T09:42:40.635Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-29T09:42:41.725Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-06-29T09:42:41.745Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-29T09:42:43.148Z] Merging remotes/origin/main commit 629b9722aa39bd0efb276d4c775a85c2ba734e30 into PR head commit 3a12353c124c337378cc6f68d878f7c9e29e8eff [2023-06-29T09:42:43.447Z] Merge succeeded, producing 3a12353c124c337378cc6f68d878f7c9e29e8eff [2023-06-29T09:42:43.448Z] Checking out Revision 3a12353c124c337378cc6f68d878f7c9e29e8eff (PR-463) [2023-06-29T09:42:42.557Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-06-29T09:42:42.594Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-06-29T09:42:42.595Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-29T09:42:42.610Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/463/head:refs/remotes/origin/PR-463 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-06-29T09:42:43.169Z] > git config core.sparsecheckout # timeout=10 [2023-06-29T09:42:43.228Z] > git checkout -f 3a12353c124c337378cc6f68d878f7c9e29e8eff # timeout=10 [2023-06-29T09:42:43.346Z] > git remote # timeout=10 [2023-06-29T09:42:43.364Z] > git config --get remote.origin.url # timeout=10 [2023-06-29T09:42:43.390Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-29T09:42:43.403Z] > git merge 629b9722aa39bd0efb276d4c775a85c2ba734e30 # timeout=10 [2023-06-29T09:42:43.425Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-06-29T09:42:43.456Z] > git config core.sparsecheckout # timeout=10 [2023-06-29T09:42:43.468Z] > git checkout -f 3a12353c124c337378cc6f68d878f7c9e29e8eff # timeout=10 [2023-06-29T09:42:46.970Z] Commit message: "fix: Remove space character from the URL for uploading deviceprofile" [2023-06-29T09:42:47.046Z] > git --version # timeout=10 [2023-06-29T09:42:47.058Z] > git --version # 'git version 2.25.1' [2023-06-29T09:42:47.073Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-29T09:42:48.158Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-29T09:42:48.158Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-29T09:42:48.158Z] Dload Upload Total Spent Left Speed [2023-06-29T09:42:48.158Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh [2023-06-29T09:42:48.921Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-29T09:42:49.268Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-29T09:42:49.269Z] + sudo tee /etc/docker/daemon.new [2023-06-29T09:42:49.269Z] { [2023-06-29T09:42:49.269Z] "registry-mirrors": [ [2023-06-29T09:42:49.269Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-29T09:42:49.269Z] ], [2023-06-29T09:42:49.269Z] "bip": "10.250.0.254/24", [2023-06-29T09:42:49.269Z] "hosts": [ [2023-06-29T09:42:49.269Z] "tcp://0.0.0.0:5555", [2023-06-29T09:42:49.269Z] "unix:///var/run/docker.sock" [2023-06-29T09:42:49.269Z] ], [2023-06-29T09:42:49.269Z] "mtu": 1458, [2023-06-29T09:42:49.269Z] "selinux-enabled": true, [2023-06-29T09:42:49.269Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-29T09:42:49.269Z] } [Pipeline] sh [2023-06-29T09:42:49.606Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-29T09:42:49.956Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-29T09:43:08.247Z] provisioning config files... [2023-06-29T09:43:08.272Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config12704341494277269988tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-29T09:43:08.654Z] ---> docker-login.sh [2023-06-29T09:43:08.654Z] nexus3.edgexfoundry.org:10001 [2023-06-29T09:43:08.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T09:43:09.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T09:43:09.194Z] Configure a credential helper to remove this warning. See [2023-06-29T09:43:09.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T09:43:09.194Z] [2023-06-29T09:43:09.194Z] Login Succeeded [2023-06-29T09:43:09.194Z] nexus3.edgexfoundry.org:10002 [2023-06-29T09:43:09.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T09:43:09.464Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T09:43:09.464Z] Configure a credential helper to remove this warning. See [2023-06-29T09:43:09.464Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T09:43:09.464Z] [2023-06-29T09:43:09.464Z] Login Succeeded [2023-06-29T09:43:09.464Z] nexus3.edgexfoundry.org:10003 [2023-06-29T09:43:09.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T09:43:09.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T09:43:09.731Z] Configure a credential helper to remove this warning. See [2023-06-29T09:43:09.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T09:43:09.731Z] [2023-06-29T09:43:09.731Z] Login Succeeded [2023-06-29T09:43:09.731Z] nexus3.edgexfoundry.org:10004 [2023-06-29T09:43:10.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T09:43:10.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T09:43:10.271Z] Configure a credential helper to remove this warning. See [2023-06-29T09:43:10.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T09:43:10.271Z] [2023-06-29T09:43:10.271Z] Login Succeeded [2023-06-29T09:43:10.271Z] docker.io [2023-06-29T09:43:10.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T09:43:10.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T09:43:10.538Z] Configure a credential helper to remove this warning. See [2023-06-29T09:43:10.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T09:43:10.538Z] [2023-06-29T09:43:10.538Z] Login Succeeded [2023-06-29T09:43:10.807Z] ---> docker-login.sh ends [Pipeline] } [2023-06-29T09:43:10.836Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-29T09:43:11.219Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-29T09:43:11.253Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-06-29T09:43:11.286Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-29T09:43:11.321Z] ========================================================= [2023-06-29T09:43:11.321Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-06-29T09:43:11.321Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T09:43:11.856Z] + 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-06-29T09:43:12.125Z] Sending build context to Docker daemon 2.885MB [2023-06-29T09:43:12.125Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-06-29T09:43:12.125Z] Step 2/21 : FROM ${BASE} as builder [2023-06-29T09:43:12.395Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-06-29T09:43:12.395Z] 547446be3368: Pulling fs layer [2023-06-29T09:43:12.395Z] 76bd08e1cacc: Pulling fs layer [2023-06-29T09:43:12.395Z] 547446be3368: Verifying Checksum [2023-06-29T09:43:12.395Z] 547446be3368: Download complete [2023-06-29T09:43:12.991Z] 547446be3368: Pull complete [2023-06-29T09:43:14.418Z] 76bd08e1cacc: Verifying Checksum [2023-06-29T09:43:14.418Z] 76bd08e1cacc: Download complete [2023-06-29T09:43:22.641Z] 76bd08e1cacc: Pull complete [2023-06-29T09:43:22.641Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-06-29T09:43:22.641Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-06-29T09:43:22.641Z] ---> 295cd00e64f4 [2023-06-29T09:43:22.641Z] 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-06-29T09:43:23.230Z] ---> Running in a97476b5df03 [2023-06-29T09:43:24.193Z] Connecting to iotech.jfrog.io (54.154.129.41:443) [2023-06-29T09:43:24.783Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-06-29T09:43:24.783Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-06-29T09:43:24.783Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-06-29T09:43:25.369Z] Removing intermediate container a97476b5df03 [2023-06-29T09:43:25.369Z] ---> f6874aed800b [2023-06-29T09:43:25.369Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-06-29T09:43:25.369Z] ---> Running in 4e98d40df25b [2023-06-29T09:43:26.782Z] Removing intermediate container 4e98d40df25b [2023-06-29T09:43:26.782Z] ---> bfe5254a0585 [2023-06-29T09:43:26.782Z] 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-06-29T09:43:27.068Z] ---> Running in e5dc97200419 [2023-06-29T09:43:28.035Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-06-29T09:43:28.035Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-06-29T09:43:28.619Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-06-29T09:43:29.580Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-06-29T09:43:29.580Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-06-29T09:43:29.580Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-06-29T09:43:29.580Z] (3/16) Installing hiredis (1.0.2-r0) [2023-06-29T09:43:29.580Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-06-29T09:43:29.847Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-06-29T09:43:30.802Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-06-29T09:43:30.802Z] (7/16) Installing libcbor (0.9.0-r1) [2023-06-29T09:43:30.802Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-06-29T09:43:31.067Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-06-29T09:43:31.067Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-06-29T09:43:32.022Z] (11/16) Installing libblkid (2.38-r1) [2023-06-29T09:43:32.022Z] (12/16) Installing libuuid (2.38-r1) [2023-06-29T09:43:32.022Z] (13/16) Installing libfdisk (2.38-r1) [2023-06-29T09:43:32.022Z] (14/16) Installing libmount (2.38-r1) [2023-06-29T09:43:32.296Z] (15/16) Installing libsmartcols (2.38-r1) [2023-06-29T09:43:32.296Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-06-29T09:43:32.296Z] Executing busybox-1.35.0-r17.trigger [2023-06-29T09:43:32.564Z] OK: 286 MiB in 90 packages [2023-06-29T09:43:33.973Z] Removing intermediate container e5dc97200419 [2023-06-29T09:43:33.973Z] ---> 3993e7858c5f [2023-06-29T09:43:33.973Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-06-29T09:43:33.973Z] ---> Running in 574686e9bffc [2023-06-29T09:43:35.385Z] Removing intermediate container 574686e9bffc [2023-06-29T09:43:35.385Z] ---> 8ad71ab06231 [2023-06-29T09:43:35.385Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-06-29T09:43:35.654Z] ---> 5330e88e647c [2023-06-29T09:43:35.654Z] Step 8/21 : COPY src /tmp/sdk/src [2023-06-29T09:43:36.622Z] ---> 184ed9adb386 [2023-06-29T09:43:36.622Z] Step 9/21 : COPY include /tmp/sdk/include [2023-06-29T09:43:36.889Z] ---> dfdda60ea9d5 [2023-06-29T09:43:36.889Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-06-29T09:43:37.471Z] ---> 974b7c77b24b [2023-06-29T09:43:37.471Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-06-29T09:43:37.739Z] ---> b4bd882c6ba5 [2023-06-29T09:43:37.739Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-06-29T09:43:38.325Z] ---> 26e70a85da16 [2023-06-29T09:43:38.325Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-06-29T09:43:38.325Z] ---> Running in 3a458883ce01 [2023-06-29T09:43:39.287Z] + CPPCHECK=false [2023-06-29T09:43:39.287Z] + DOCGEN=false [2023-06-29T09:43:39.287Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-06-29T09:43:39.287Z] + '[' 0 -gt 0 ] [2023-06-29T09:43:39.287Z] + readlink -f ./scripts/build.sh [2023-06-29T09:43:39.287Z] + dirname /tmp/sdk/scripts/build.sh [2023-06-29T09:43:39.287Z] + dirname /tmp/sdk/scripts [2023-06-29T09:43:39.287Z] + ROOT=/tmp/sdk [2023-06-29T09:43:39.287Z] + cd /tmp/sdk [2023-06-29T09:43:39.287Z] + mkdir -p /tmp/sdk/build/release [2023-06-29T09:43:39.287Z] + cd /tmp/sdk/build/release [2023-06-29T09:43:39.287Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-06-29T09:43:39.553Z] -- The C compiler identification is GNU 11.2.1 [2023-06-29T09:43:39.553Z] -- Detecting C compiler ABI info [2023-06-29T09:43:39.820Z] -- Detecting C compiler ABI info - done [2023-06-29T09:43:40.087Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-06-29T09:43:40.087Z] -- Detecting C compile features [2023-06-29T09:43:40.087Z] -- Detecting C compile features - done [2023-06-29T09:43:40.087Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-06-29T09:43:40.087Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-06-29T09:43:40.087Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-06-29T09:43:40.087Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-06-29T09:43:40.354Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-06-29T09:43:40.354Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-06-29T09:43:40.354Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-06-29T09:43:40.354Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-06-29T09:43:40.354Z] -- /opt/iotech/iot/1.5/include [2023-06-29T09:43:40.354Z] -- C SDK 0.0.0 for Linux [2023-06-29T09:43:40.354Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-06-29T09:43:40.620Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-06-29T09:43:40.620Z] -- Found Curses: /usr/lib/libcurses.so [2023-06-29T09:43:40.888Z] -- Configuring done [2023-06-29T09:43:41.156Z] -- Generating done [2023-06-29T09:43:41.156Z] -- Build files have been written to: /tmp/sdk/build/release [2023-06-29T09:43:41.156Z] + make all package [2023-06-29T09:43:41.156Z] + tee release.log [2023-06-29T09:43:41.422Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-06-29T09:43:42.382Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-06-29T09:43:43.342Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-06-29T09:43:43.926Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-06-29T09:43:44.885Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-06-29T09:43:45.468Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-06-29T09:43:48.059Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-06-29T09:43:49.015Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-06-29T09:43:49.015Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-06-29T09:43:49.975Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-06-29T09:43:52.549Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-06-29T09:43:52.816Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-06-29T09:43:53.775Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-06-29T09:43:54.731Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-06-29T09:43:55.314Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-06-29T09:43:56.269Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-06-29T09:43:56.536Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-06-29T09:43:59.111Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-06-29T09:43:59.377Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-06-29T09:43:59.961Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-06-29T09:44:01.366Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-06-29T09:44:06.696Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-06-29T09:44:07.278Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-06-29T09:44:07.860Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-06-29T09:44:08.441Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-06-29T09:44:08.708Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-06-29T09:44:10.647Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-06-29T09:44:13.231Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-06-29T09:44:13.231Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-06-29T09:44:14.637Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-06-29T09:44:14.906Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-06-29T09:44:18.246Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-06-29T09:44:19.201Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-06-29T09:44:19.466Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-06-29T09:44:20.049Z] [ 68%] Linking C shared library libcsdk.so [2023-06-29T09:44:20.049Z] [ 68%] Built target csdk [2023-06-29T09:44:20.312Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-06-29T09:44:21.268Z] [ 72%] Linking C executable template [2023-06-29T09:44:21.268Z] [ 72%] Built target template [2023-06-29T09:44:21.536Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-06-29T09:44:22.116Z] [ 76%] Linking C executable device-counter [2023-06-29T09:44:22.382Z] [ 76%] Built target device-counter [2023-06-29T09:44:22.382Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-06-29T09:44:22.968Z] [ 80%] Linking C executable device-random [2023-06-29T09:44:23.237Z] [ 80%] Built target device-random [2023-06-29T09:44:23.237Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-06-29T09:44:23.819Z] [ 84%] Linking C executable device-gyro [2023-06-29T09:44:24.086Z] [ 84%] Built target device-gyro [2023-06-29T09:44:24.086Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-06-29T09:44:24.668Z] [ 88%] Linking C executable device-bitfields [2023-06-29T09:44:24.935Z] [ 88%] Built target device-bitfields [2023-06-29T09:44:24.935Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-06-29T09:44:25.894Z] [ 92%] Linking C executable template-discovery [2023-06-29T09:44:26.160Z] [ 92%] Built target template-discovery [2023-06-29T09:44:26.160Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-06-29T09:44:27.117Z] [ 96%] Linking C executable device-file [2023-06-29T09:44:27.382Z] [ 96%] Built target device-file [2023-06-29T09:44:27.382Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-06-29T09:44:28.337Z] [100%] Linking C executable device-terminal [2023-06-29T09:44:28.337Z] [100%] Built target device-terminal [2023-06-29T09:44:28.337Z] Run CPack packaging tool... [2023-06-29T09:44:28.602Z] CPack: Create package using TGZ [2023-06-29T09:44:28.602Z] CPack: Install projects [2023-06-29T09:44:28.602Z] CPack: - Run preinstall target for: Csdk [2023-06-29T09:44:29.184Z] CPack: - Install project: Csdk [] [2023-06-29T09:44:29.184Z] CPack: Create package [2023-06-29T09:44:29.184Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-06-29T09:44:29.184Z] + '[' false '=' true ] [2023-06-29T09:44:29.184Z] + '[' false '=' true ] [2023-06-29T09:44:29.184Z] + mkdir -p /tmp/sdk/build/debug [2023-06-29T09:44:29.184Z] + cd /tmp/sdk/build/debug [2023-06-29T09:44:29.184Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-06-29T09:44:29.767Z] -- The C compiler identification is GNU 11.2.1 [2023-06-29T09:44:29.767Z] -- Detecting C compiler ABI info [2023-06-29T09:44:30.035Z] -- Detecting C compiler ABI info - done [2023-06-29T09:44:30.035Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-06-29T09:44:30.035Z] -- Detecting C compile features [2023-06-29T09:44:30.035Z] -- Detecting C compile features - done [2023-06-29T09:44:30.035Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-06-29T09:44:30.302Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-06-29T09:44:30.302Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-06-29T09:44:30.302Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-06-29T09:44:30.302Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-06-29T09:44:30.302Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-06-29T09:44:30.302Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-06-29T09:44:30.302Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-06-29T09:44:30.302Z] -- /opt/iotech/iot/1.5/include [2023-06-29T09:44:30.302Z] -- C SDK 0.0.0 for Linux [2023-06-29T09:44:30.302Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-06-29T09:44:30.568Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-06-29T09:44:30.835Z] -- Found Curses: /usr/lib/libcurses.so [2023-06-29T09:44:30.835Z] -- Configuring done [2023-06-29T09:44:31.103Z] -- Generating done [2023-06-29T09:44:31.103Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-06-29T09:44:31.103Z] + make [2023-06-29T09:44:31.103Z] + tee debug.log [2023-06-29T09:44:31.369Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-06-29T09:44:31.635Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-06-29T09:44:32.214Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-06-29T09:44:32.480Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-06-29T09:44:33.082Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-06-29T09:44:33.348Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-06-29T09:44:34.306Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-06-29T09:44:34.571Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-06-29T09:44:34.835Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-06-29T09:44:35.100Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-06-29T09:44:36.057Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-06-29T09:44:36.324Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-06-29T09:44:36.591Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-06-29T09:44:37.172Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-06-29T09:44:37.439Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-06-29T09:44:38.020Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-06-29T09:44:38.020Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-06-29T09:44:38.977Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-06-29T09:44:39.241Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-06-29T09:44:39.506Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-06-29T09:44:40.085Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-06-29T09:44:41.483Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-06-29T09:44:41.747Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-06-29T09:44:42.011Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-06-29T09:44:42.275Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-06-29T09:44:42.540Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-06-29T09:44:43.121Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-06-29T09:44:45.061Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-06-29T09:44:45.061Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-06-29T09:44:45.638Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-06-29T09:44:45.902Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-06-29T09:44:46.855Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-06-29T09:44:47.120Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-06-29T09:44:47.698Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-06-29T09:44:47.963Z] [ 68%] Linking C shared library libcsdk.so [2023-06-29T09:44:47.963Z] [ 68%] Built target csdk [2023-06-29T09:44:48.228Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-06-29T09:44:48.493Z] [ 72%] Linking C executable template [2023-06-29T09:44:48.842Z] [ 72%] Built target template [2023-06-29T09:44:48.842Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-06-29T09:44:49.115Z] [ 76%] Linking C executable device-counter [2023-06-29T09:44:49.386Z] [ 76%] Built target device-counter [2023-06-29T09:44:49.658Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-06-29T09:44:49.928Z] [ 80%] Linking C executable device-random [2023-06-29T09:44:50.198Z] [ 80%] Built target device-random [2023-06-29T09:44:50.198Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-06-29T09:44:50.470Z] [ 84%] Linking C executable device-gyro [2023-06-29T09:44:50.754Z] [ 84%] Built target device-gyro [2023-06-29T09:44:51.034Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-06-29T09:44:51.306Z] [ 88%] Linking C executable device-bitfields [2023-06-29T09:44:51.575Z] [ 88%] Built target device-bitfields [2023-06-29T09:44:51.575Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-06-29T09:44:52.166Z] [ 92%] Linking C executable template-discovery [2023-06-29T09:44:52.166Z] [ 92%] Built target template-discovery [2023-06-29T09:44:52.430Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-06-29T09:44:52.698Z] [ 96%] Linking C executable device-file [2023-06-29T09:44:52.965Z] [ 96%] Built target device-file [2023-06-29T09:44:52.965Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-06-29T09:44:53.549Z] [100%] Linking C executable device-terminal [2023-06-29T09:44:53.816Z] [100%] Built target device-terminal [2023-06-29T09:44:53.816Z] make: Entering directory '/tmp/sdk/build/release' [2023-06-29T09:44:53.816Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-06-29T09:44:53.816Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-06-29T09:44:53.816Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-06-29T09:44:53.816Z] [ 68%] Built target csdk [2023-06-29T09:44:53.816Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-06-29T09:44:53.816Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-06-29T09:44:54.083Z] [ 72%] Built target template [2023-06-29T09:44:54.083Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-06-29T09:44:54.083Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-06-29T09:44:54.083Z] [ 76%] Built target device-counter [2023-06-29T09:44:54.083Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-06-29T09:44:54.083Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-06-29T09:44:54.083Z] [ 80%] Built target device-random [2023-06-29T09:44:54.083Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-06-29T09:44:54.083Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-06-29T09:44:54.083Z] [ 84%] Built target device-gyro [2023-06-29T09:44:54.083Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-06-29T09:44:54.083Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-06-29T09:44:54.083Z] [ 88%] Built target device-bitfields [2023-06-29T09:44:54.083Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-06-29T09:44:54.083Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-06-29T09:44:54.083Z] [ 92%] Built target template-discovery [2023-06-29T09:44:54.083Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-06-29T09:44:54.083Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-06-29T09:44:54.348Z] [ 96%] Built target device-file [2023-06-29T09:44:54.348Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-06-29T09:44:54.348Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-06-29T09:44:54.348Z] [100%] Built target device-terminal [2023-06-29T09:44:54.348Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-06-29T09:44:54.348Z] Install the project... [2023-06-29T09:44:54.348Z] -- Install configuration: "Release" [2023-06-29T09:44:54.348Z] -- Installing: /usr/local/lib/libcsdk.so [2023-06-29T09:44:54.348Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-06-29T09:44:54.348Z] -- Installing: /usr/local/include [2023-06-29T09:44:54.348Z] -- Installing: /usr/local/include/devsdk [2023-06-29T09:44:54.348Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-06-29T09:44:54.348Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-06-29T09:44:54.348Z] -- Installing: /usr/local/include/edgex [2023-06-29T09:44:54.348Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-06-29T09:44:54.348Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-06-29T09:44:54.348Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-06-29T09:44:54.348Z] -- Installing: /usr/local/include/edgex/devices.h [2023-06-29T09:44:54.348Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-06-29T09:44:54.348Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-06-29T09:44:54.348Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-06-29T09:44:54.348Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-06-29T09:44:54.348Z] make: Leaving directory '/tmp/sdk/build/release' [2023-06-29T09:44:55.763Z] Removing intermediate container 3a458883ce01 [2023-06-29T09:44:55.763Z] ---> 13240172b43c [2023-06-29T09:44:55.763Z] Step 14/21 : FROM ${BASE} [2023-06-29T09:44:55.763Z] ---> 295cd00e64f4 [2023-06-29T09:44:55.763Z] Step 15/21 : LABEL maintainer="IOTech " [2023-06-29T09:44:55.763Z] ---> Running in a7bf2c0799f9 [2023-06-29T09:44:56.030Z] Removing intermediate container a7bf2c0799f9 [2023-06-29T09:44:56.030Z] ---> 9f2e99189353 [2023-06-29T09:44:56.030Z] 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-06-29T09:44:56.030Z] ---> Running in e1f328e3c6fc [2023-06-29T09:44:56.987Z] Connecting to iotech.jfrog.io (34.251.57.253:443) [2023-06-29T09:44:57.253Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-06-29T09:44:57.253Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-06-29T09:44:57.253Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-06-29T09:44:57.839Z] Removing intermediate container e1f328e3c6fc [2023-06-29T09:44:57.839Z] ---> 6c1cd56b3afb [2023-06-29T09:44:57.839Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-06-29T09:44:58.110Z] ---> Running in 76b58542c0d6 [2023-06-29T09:44:59.515Z] Removing intermediate container 76b58542c0d6 [2023-06-29T09:44:59.515Z] ---> 88ddaf5db97b [2023-06-29T09:44:59.515Z] 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-06-29T09:44:59.515Z] ---> Running in 4beb709ab0a4 [2023-06-29T09:45:00.473Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-06-29T09:45:00.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-06-29T09:45:01.322Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-06-29T09:45:01.908Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-06-29T09:45:01.908Z] (1/7) Installing curl (8.1.2-r0) [2023-06-29T09:45:01.908Z] (2/7) Installing hiredis (1.0.2-r0) [2023-06-29T09:45:01.908Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-06-29T09:45:01.908Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-06-29T09:45:02.861Z] (5/7) Installing libcbor (0.9.0-r1) [2023-06-29T09:45:02.861Z] (6/7) Installing libuuid (2.38-r1) [2023-06-29T09:45:02.861Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-06-29T09:45:03.818Z] Executing busybox-1.35.0-r17.trigger [2023-06-29T09:45:03.818Z] OK: 281 MiB in 83 packages [2023-06-29T09:45:04.792Z] Removing intermediate container 4beb709ab0a4 [2023-06-29T09:45:04.792Z] ---> 65691f60914d [2023-06-29T09:45:04.792Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-06-29T09:45:05.058Z] ---> 59d6338f4705 [2023-06-29T09:45:05.058Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-06-29T09:45:06.015Z] ---> 39488ce03ba8 [2023-06-29T09:45:06.015Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-06-29T09:45:06.280Z] ---> 70d3f4dc5fc8 [2023-06-29T09:45:06.547Z] Successfully built 70d3f4dc5fc8 [2023-06-29T09:45:06.547Z] 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-06-29T09:45:07.279Z] + docker inspect -f . ci-base-image-arm64 [2023-06-29T09:45:07.279Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T09:45:07.544Z] prd-ubuntu20.04-docker-arm64-4c-16g-164 does not seem to be running inside a container [2023-06-29T09:45:07.605Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** ci-base-image-arm64 cat [2023-06-29T09:45:08.749Z] $ docker top f712cf79c7407d7dc1827db394f769e714e51ba44b63a18e5d642eb742a5e835 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-29T09:45:09.601Z] + make test [2023-06-29T09:45:09.602Z] echo "make test" [2023-06-29T09:45:09.602Z] make test [Pipeline] } [2023-06-29T09:45:09.637Z] $ docker stop --time=1 f712cf79c7407d7dc1827db394f769e714e51ba44b63a18e5d642eb742a5e835 [2023-06-29T09:45:11.209Z] $ docker rm -f --volumes f712cf79c7407d7dc1827db394f769e714e51ba44b63a18e5d642eb742a5e835 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-29T09:45:11.978Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-06-29T09:45:12.309Z] + ls -al . [2023-06-29T09:45:12.309Z] total 208 [2023-06-29T09:45:12.309Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 09:42 . [2023-06-29T09:45:12.309Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 09:42 .. [2023-06-29T09:45:12.309Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 09:42 .git [2023-06-29T09:45:12.309Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 09:42 .github [2023-06-29T09:45:12.309Z] -rw-rw-r-- 1 jenkins jenkins 176 Jun 29 09:42 .gitignore [2023-06-29T09:45:12.309Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jun 29 09:42 Attribution.txt [2023-06-29T09:45:12.309Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jun 29 09:42 CHANGES [2023-06-29T09:45:12.309Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jun 29 09:42 Doxyfile [2023-06-29T09:45:12.309Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 09:42 GOVERNANCE.md [2023-06-29T09:45:12.309Z] -rw-rw-r-- 1 jenkins jenkins 784 Jun 29 09:42 Jenkinsfile [2023-06-29T09:45:12.309Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jun 29 09:42 LICENSE [2023-06-29T09:45:12.309Z] -rw-rw-r-- 1 jenkins jenkins 444 Jun 29 09:42 Makefile [2023-06-29T09:45:12.309Z] -rw-rw-r-- 1 jenkins jenkins 618 Jun 29 09:42 OWNERS.md [2023-06-29T09:45:12.309Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jun 29 09:42 README.IOT.md [2023-06-29T09:45:12.309Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jun 29 09:42 README.md [2023-06-29T09:45:12.309Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jun 29 09:42 README.v3.md [2023-06-29T09:45:12.309Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 09:40 VERSION [2023-06-29T09:45:12.309Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 09:42 docs [2023-06-29T09:45:12.309Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 09:42 include [2023-06-29T09:45:12.309Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 09:42 scripts [2023-06-29T09:45:12.309Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 09:42 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T09:45:12.723Z] + 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=3a12353c124c337378cc6f68d878f7c9e29e8eff --label arch=arm64 --label version=0.0.0 . [2023-06-29T09:45:12.991Z] Sending build context to Docker daemon 2.885MB [2023-06-29T09:45:12.992Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-06-29T09:45:12.992Z] Step 2/17 : FROM ${BASE} [2023-06-29T09:45:12.992Z] ---> 70d3f4dc5fc8 [2023-06-29T09:45:12.992Z] Step 3/17 : LABEL maintainer="IOTech " [2023-06-29T09:45:13.258Z] ---> Running in 2de79cf4906c [2023-06-29T09:45:13.524Z] Removing intermediate container 2de79cf4906c [2023-06-29T09:45:13.524Z] ---> 045487af3d2b [2023-06-29T09:45:13.524Z] 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-06-29T09:45:13.524Z] ---> Running in ac66c2a64f2d [2023-06-29T09:45:14.484Z] Connecting to iotech.jfrog.io (34.247.113.239:443) [2023-06-29T09:45:14.749Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-06-29T09:45:14.749Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-06-29T09:45:14.749Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-06-29T09:45:15.342Z] Removing intermediate container ac66c2a64f2d [2023-06-29T09:45:15.342Z] ---> 6b82feb66226 [2023-06-29T09:45:15.342Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-06-29T09:45:15.612Z] ---> Running in 4d24e4d0adeb [2023-06-29T09:45:17.027Z] Removing intermediate container 4d24e4d0adeb [2023-06-29T09:45:17.027Z] ---> 5ed62dde63a0 [2023-06-29T09:45:17.027Z] 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-06-29T09:45:17.295Z] ---> Running in dc4a18bb72cf [2023-06-29T09:45:18.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-06-29T09:45:18.530Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-06-29T09:45:18.796Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-06-29T09:45:19.748Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-06-29T09:45:19.748Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-06-29T09:45:19.748Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-06-29T09:45:19.748Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-06-29T09:45:20.322Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-06-29T09:45:20.586Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-06-29T09:45:20.586Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-06-29T09:45:20.586Z] (7/11) Installing libblkid (2.38-r1) [2023-06-29T09:45:20.586Z] (8/11) Installing libfdisk (2.38-r1) [2023-06-29T09:45:20.586Z] (9/11) Installing libmount (2.38-r1) [2023-06-29T09:45:20.586Z] (10/11) Installing libsmartcols (2.38-r1) [2023-06-29T09:45:20.586Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-06-29T09:45:20.586Z] Executing busybox-1.35.0-r17.trigger [2023-06-29T09:45:20.853Z] OK: 287 MiB in 92 packages [2023-06-29T09:45:21.811Z] Removing intermediate container dc4a18bb72cf [2023-06-29T09:45:21.811Z] ---> 24389ced3210 [2023-06-29T09:45:21.811Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-06-29T09:45:22.391Z] ---> c1eba029c0c1 [2023-06-29T09:45:22.391Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-06-29T09:45:22.973Z] ---> f1c978232596 [2023-06-29T09:45:22.973Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-06-29T09:45:23.555Z] ---> 1b608c40f5ec [2023-06-29T09:45:23.555Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-06-29T09:45:23.821Z] ---> 9acc86008ae8 [2023-06-29T09:45:23.821Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-06-29T09:45:24.399Z] ---> c4cf2fa78006 [2023-06-29T09:45:24.399Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-06-29T09:45:25.040Z] ---> c7237a97ec6a [2023-06-29T09:45:25.040Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-06-29T09:45:25.040Z] ---> Running in fb8c7c86220e [2023-06-29T09:45:25.306Z] Removing intermediate container fb8c7c86220e [2023-06-29T09:45:25.306Z] ---> 9e09d1a90e35 [2023-06-29T09:45:25.306Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-06-29T09:45:25.306Z] ---> Running in 827ea3259bac [2023-06-29T09:45:25.571Z] Removing intermediate container 827ea3259bac [2023-06-29T09:45:25.571Z] ---> 9bf5c7b52f25 [2023-06-29T09:45:25.571Z] Step 15/17 : LABEL arch=arm64 [2023-06-29T09:45:25.571Z] ---> Running in e93936437019 [2023-06-29T09:45:25.836Z] Removing intermediate container e93936437019 [2023-06-29T09:45:25.836Z] ---> a708b7cc9b67 [2023-06-29T09:45:25.836Z] Step 16/17 : LABEL git_sha=3a12353c124c337378cc6f68d878f7c9e29e8eff [2023-06-29T09:45:26.102Z] ---> Running in 6776b726a1b4 [2023-06-29T09:45:26.367Z] Removing intermediate container 6776b726a1b4 [2023-06-29T09:45:26.367Z] ---> a33c1a18a5bb [2023-06-29T09:45:26.367Z] Step 17/17 : LABEL version=0.0.0 [2023-06-29T09:45:26.367Z] ---> Running in ecb73e73e2df [2023-06-29T09:45:26.631Z] Removing intermediate container ecb73e73e2df [2023-06-29T09:45:26.631Z] ---> 243b3a20a34e [2023-06-29T09:45:26.631Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-06-29T09:45:26.631Z] Successfully built 243b3a20a34e [2023-06-29T09:45:26.631Z] 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-06-29T09:45:27.431Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-29T09:45:27.431Z] [2023-06-29T09:45:27.431Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T09:45:27.836Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-29T09:45:28.102Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-29T09:45:28.102Z] 8998bd30e6a1: Pulling fs layer [2023-06-29T09:45:28.102Z] 04944245beec: Pulling fs layer [2023-06-29T09:45:28.102Z] 699f458cf7ca: Pulling fs layer [2023-06-29T09:45:28.102Z] 765212b225bb: Pulling fs layer [2023-06-29T09:45:28.102Z] f23df028b6ca: Pulling fs layer [2023-06-29T09:45:28.102Z] d65c8cfc05b1: Pulling fs layer [2023-06-29T09:45:28.102Z] 2437ff75d9bd: Pulling fs layer [2023-06-29T09:45:28.102Z] f23df028b6ca: Waiting [2023-06-29T09:45:28.102Z] d65c8cfc05b1: Waiting [2023-06-29T09:45:28.102Z] 765212b225bb: Waiting [2023-06-29T09:45:28.102Z] 2437ff75d9bd: Waiting [2023-06-29T09:45:28.102Z] 04944245beec: Verifying Checksum [2023-06-29T09:45:28.102Z] 04944245beec: Download complete [2023-06-29T09:45:28.370Z] 765212b225bb: Verifying Checksum [2023-06-29T09:45:28.370Z] 765212b225bb: Download complete [2023-06-29T09:45:28.370Z] f23df028b6ca: Verifying Checksum [2023-06-29T09:45:28.370Z] f23df028b6ca: Download complete [2023-06-29T09:45:28.370Z] d65c8cfc05b1: Download complete [2023-06-29T09:45:28.370Z] 699f458cf7ca: Verifying Checksum [2023-06-29T09:45:28.370Z] 699f458cf7ca: Download complete [2023-06-29T09:45:28.949Z] 8998bd30e6a1: Download complete [2023-06-29T09:45:30.893Z] 2437ff75d9bd: Verifying Checksum [2023-06-29T09:45:30.893Z] 2437ff75d9bd: Download complete [2023-06-29T09:45:32.828Z] 8998bd30e6a1: Pull complete [2023-06-29T09:45:32.828Z] 04944245beec: Pull complete [2023-06-29T09:45:34.765Z] 699f458cf7ca: Pull complete [2023-06-29T09:45:34.765Z] 765212b225bb: Pull complete [2023-06-29T09:45:35.346Z] f23df028b6ca: Pull complete [2023-06-29T09:45:35.611Z] d65c8cfc05b1: Pull complete [2023-06-29T09:45:50.694Z] 2437ff75d9bd: Pull complete [2023-06-29T09:45:50.694Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-29T09:45:50.694Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-29T09:45:50.694Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T09:45:50.999Z] prd-ubuntu20.04-docker-arm64-4c-16g-164 does not seem to be running inside a container [2023-06-29T09:45:51.051Z] $ 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/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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-lftools-log-publisher:arm64 cat [2023-06-29T09:45:53.269Z] $ docker top 48fea5ef6c9d08af8372d4013bfc50946b3f25c8fbab94cf4611029e65d46d17 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-29T09:45:53.807Z] ---> job-cost.sh [2023-06-29T09:45:54.069Z] lf-activate-venv: SKIPPING [2023-06-29T09:45:54.069Z] INFO: No Stack... [2023-06-29T09:45:54.333Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-29T09:45:55.281Z] INFO: Archiving Costs [Pipeline] sh [2023-06-29T09:45:55.604Z] + cut -d, -f6 [2023-06-29T09:45:55.604Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [Pipeline] lock [2023-06-29T09:45:55.675Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-463-1-stack-cost] [2023-06-29T09:45:55.679Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-463-1-stack-cost] did not exist. Created. [2023-06-29T09:45:55.679Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-463-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-29T09:45:56.077Z] /w/workspace/device-sdk-c/1@tmp/durable-44c0ead1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-29T09:45:56.414Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-29T09:45:56.447Z] Warning: overwriting stash ‘stack-cost’ [2023-06-29T09:45:56.841Z] Stashed 1 file(s) [Pipeline] } [2023-06-29T09:45:56.857Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-463-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-29T09:45:56.971Z] $ docker stop --time=1 48fea5ef6c9d08af8372d4013bfc50946b3f25c8fbab94cf4611029e65d46d17 [2023-06-29T09:45:58.415Z] $ docker rm -f --volumes 48fea5ef6c9d08af8372d4013bfc50946b3f25c8fbab94cf4611029e65d46d17 [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-06-29T09:46:00.118Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-463/archives ] [2023-06-29T09:46:00.118Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-463/archives [2023-06-29T09:46:00.118Z] total 16 [2023-06-29T09:46:00.118Z] drwxr-xr-x 3 root root 4096 Jun 29 09:41 . [2023-06-29T09:46:00.118Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 09:41 .. [2023-06-29T09:46:00.118Z] drwxr-xr-x 2 root root 4096 Jun 29 09:41 cost [2023-06-29T09:46:00.118Z] -rw-r--r-- 1 root root 84 Jun 29 09:41 cost.csv [2023-06-29T09:46:00.118Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-463/archives [2023-06-29T09:46:00.118Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-463/archives [2023-06-29T09:46:00.118Z] total 16 [2023-06-29T09:46:00.118Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 09:41 . [2023-06-29T09:46:00.118Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 09:41 .. [2023-06-29T09:46:00.118Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 09:41 cost [2023-06-29T09:46:00.118Z] -rw-r--r-- 1 jenkins jenkins 84 Jun 29 09:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-29T09:46:00.441Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-29T09:46:01.370Z] ---> package-listing.sh [2023-06-29T09:46:01.370Z] ++ facter osfamily [2023-06-29T09:46:01.370Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-29T09:46:01.370Z] + OS_FAMILY=debian [2023-06-29T09:46:01.370Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-463 [2023-06-29T09:46:01.370Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-29T09:46:01.370Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-29T09:46:01.370Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-29T09:46:01.370Z] + PACKAGES=/tmp/packages_start.txt [2023-06-29T09:46:01.370Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-463 ']' [2023-06-29T09:46:01.370Z] + PACKAGES=/tmp/packages_end.txt [2023-06-29T09:46:01.370Z] + case "${OS_FAMILY}" in [2023-06-29T09:46:01.370Z] + dpkg -l [2023-06-29T09:46:01.370Z] + grep '^ii' [2023-06-29T09:46:01.370Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-29T09:46:01.370Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-29T09:46:01.370Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-29T09:46:01.630Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-463 ']' [2023-06-29T09:46:01.630Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-463/archives/ [2023-06-29T09:46:01.630Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-463/archives/ [Pipeline] echo [2023-06-29T09:46:01.664Z] 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-463/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-06-29T09:46:01.978Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T09:46:02.598Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-29T09:46:02.598Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T09:46:02.749Z] prd-ubuntu20.04-docker-8c-8g-163 does not seem to be running inside a container [2023-06-29T09:46:02.777Z] $ 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-463/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-463 -v /w/workspace/edgexfoundry_device-sdk-c_PR-463:/w/workspace/edgexfoundry_device-sdk-c_PR-463:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-463@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-463@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-29T09:46:02.991Z] $ docker top fa28ecdbf693d201c07a9b2be99fdfcb7839b51251ec020dfa1720bc3934ac5c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-29T09:46:03.391Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-29T09:46:03.700Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-29T09:46:04.008Z] + ls /var/log/sa-host [2023-06-29T09:46:04.009Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-29T09:46:04.224Z] provisioning config files... [2023-06-29T09:46:04.234Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-463@tmp/config12606822035154145169tmp [Pipeline] { [Pipeline] echo [2023-06-29T09:46:04.283Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-29T09:46:04.604Z] ---> create-netrc.sh [Pipeline] } [2023-06-29T09:46:04.643Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-29T09:46:05.047Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-29T09:46:05.076Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-29T09:46:05.389Z] ---> sudo-logs.sh [2023-06-29T09:46:05.389Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-29T09:46:05.466Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-29T09:46:05.780Z] ---> job-cost.sh [2023-06-29T09:46:05.780Z] lf-activate-venv: SKIPPING [2023-06-29T09:46:05.780Z] DEBUG: total: 0.2199999988079071 [2023-06-29T09:46:05.780Z] INFO: Retrieving Stack Cost... [2023-06-29T09:46:06.040Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-29T09:46:06.300Z] INFO: Archiving Costs [Pipeline] echo [2023-06-29T09:46:06.335Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-29T09:46:06.644Z] ---> logs-deploy.sh [2023-06-29T09:46:06.644Z] lf-activate-venv: SKIPPING [2023-06-29T09:46:06.644Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-463/1 [2023-06-29T09:46:06.644Z] INFO: archiving workspace using pattern(s): [2023-06-29T09:46:07.584Z] Archives upload complete. [2023-06-29T09:46:07.843Z] INFO: archiving logs to Nexus