Pull request #454 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 iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 327d507d784e0fc22922faefa320ff441dc2626f+5d59cb35b62932d64514d7317f29c1d7ee9592fa (d94c3ee7a200ea7d3a7730848c30aa868e310ba3) 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-ssh7180333210721790286.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh12664821273489129629.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-454/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-454/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15017626015681123383.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-454/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13475978079862329949.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh10942381024285016076.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-454/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-454/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh727467287916687690.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 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14672 in /w/workspace/edgexfoundry_device-sdk-c_PR-454 [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-454 # 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/454/head:refs/remotes/origin/PR-454 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5d59cb35b62932d64514d7317f29c1d7ee9592fa into PR head commit 327d507d784e0fc22922faefa320ff441dc2626f Merge succeeded, producing 327d507d784e0fc22922faefa320ff441dc2626f Checking out Revision 327d507d784e0fc22922faefa320ff441dc2626f (PR-454) > git config core.sparsecheckout # timeout=10 > git checkout -f 327d507d784e0fc22922faefa320ff441dc2626f # 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 5d59cb35b62932d64514d7317f29c1d7ee9592fa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 327d507d784e0fc22922faefa320ff441dc2626f # timeout=10 Commit message: "refactor: metadata updates via bus not rest" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-09T12:54:12.786Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-09T12:54:12.958Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-09T12:54:13.055Z] ========================================================= [2023-05-09T12:54:13.055Z] EdgeX Global Pipelines Version Info [2023-05-09T12:54:13.055Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-09T12:54:13.840Z] ------------------- [2023-05-09T12:54:13.840Z] stable info: [2023-05-09T12:54:13.840Z] ------------------- [2023-05-09T12:54:13.840Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-09T12:54:13.840Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-09T12:54:13.840Z] Message: update stable to v1.0.249 [2023-05-09T12:54:14.412Z] ------------------- [2023-05-09T12:54:14.412Z] experimental info: [2023-05-09T12:54:14.412Z] ------------------- [2023-05-09T12:54:14.412Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-09T12:54:14.412Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-09T12:54:14.412Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-09T12:54:14.739Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-05-09T12:54:14.776Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-05-09T12:54:14.814Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-09T12:54:14.850Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-09T12:54:14.886Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-09T12:54:14.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-05-09T12:54:14.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-05-09T12:54:14.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-09T12:54:15.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-09T12:54:15.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-05-09T12:54:15.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-09T12:54:15.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-09T12:54:15.196Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-09T12:54:15.232Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-09T12:54:15.272Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-09T12:54:15.313Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-09T12:54:15.355Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-09T12:54:15.397Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-454 [Pipeline] echo [2023-05-09T12:54:15.438Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-454 [Pipeline] echo [2023-05-09T12:54:15.481Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-454 [Pipeline] echo [2023-05-09T12:54:15.522Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 327d507d784e0fc22922faefa320ff441dc2626f [Pipeline] echo [2023-05-09T12:54:15.560Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 327d507 [Pipeline] echo [2023-05-09T12:54:15.603Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T12:54:15.712Z] provisioning config files... [2023-05-09T12:54:15.725Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-454@tmp/config16938236326773147184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T12:54:16.080Z] ---> docker-login.sh [2023-05-09T12:54:16.080Z] nexus3.edgexfoundry.org:10001 [2023-05-09T12:54:16.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T12:54:16.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T12:54:16.343Z] Configure a credential helper to remove this warning. See [2023-05-09T12:54:16.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T12:54:16.343Z] [2023-05-09T12:54:16.343Z] Login Succeeded [2023-05-09T12:54:16.343Z] nexus3.edgexfoundry.org:10002 [2023-05-09T12:54:16.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T12:54:16.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T12:54:16.343Z] Configure a credential helper to remove this warning. See [2023-05-09T12:54:16.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T12:54:16.343Z] [2023-05-09T12:54:16.343Z] Login Succeeded [2023-05-09T12:54:16.343Z] nexus3.edgexfoundry.org:10003 [2023-05-09T12:54:16.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T12:54:16.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T12:54:16.603Z] Configure a credential helper to remove this warning. See [2023-05-09T12:54:16.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T12:54:16.603Z] [2023-05-09T12:54:16.603Z] Login Succeeded [2023-05-09T12:54:16.603Z] nexus3.edgexfoundry.org:10004 [2023-05-09T12:54:16.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T12:54:16.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T12:54:16.603Z] Configure a credential helper to remove this warning. See [2023-05-09T12:54:16.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T12:54:16.603Z] [2023-05-09T12:54:16.603Z] Login Succeeded [2023-05-09T12:54:16.603Z] docker.io [2023-05-09T12:54:16.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T12:54:16.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T12:54:16.862Z] Configure a credential helper to remove this warning. See [2023-05-09T12:54:16.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T12:54:16.862Z] [2023-05-09T12:54:16.862Z] Login Succeeded [2023-05-09T12:54:16.862Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T12:54:16.894Z] 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-05-09T12:54:17.529Z] + git rev-list -1 --merges 327d507d784e0fc22922faefa320ff441dc2626f~1..327d507d784e0fc22922faefa320ff441dc2626f [Pipeline] echo [2023-05-09T12:54:17.587Z] -----------> git rev-list -1 --merges 327d507d784e0fc22922faefa320ff441dc2626f~1..327d507d784e0fc22922faefa320ff441dc2626f 327d507d784e0fc22922faefa320ff441dc2626f [false] [Pipeline] sh [2023-05-09T12:54:17.899Z] + git log --format=format:%s -1 327d507d784e0fc22922faefa320ff441dc2626f [Pipeline] echo [2023-05-09T12:54:17.936Z] ========================================================= [2023-05-09T12:54:17.936Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-09T12:54:17.936Z] ========================================================= 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-05-09T12:54:18.727Z] + git rev-list -1 --merges 327d507d784e0fc22922faefa320ff441dc2626f~1..327d507d784e0fc22922faefa320ff441dc2626f [Pipeline] echo [2023-05-09T12:54:18.758Z] -----------> git rev-list -1 --merges 327d507d784e0fc22922faefa320ff441dc2626f~1..327d507d784e0fc22922faefa320ff441dc2626f 327d507d784e0fc22922faefa320ff441dc2626f [false] [Pipeline] sh [2023-05-09T12:54:19.156Z] + git log --format=format:%s -1 327d507d784e0fc22922faefa320ff441dc2626f [Pipeline] echo [2023-05-09T12:54:19.192Z] ========================================================= [2023-05-09T12:54:19.192Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-09T12:54:19.192Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-05-09T12:54:19.639Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-09T12:54:19.639Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-09T12:54:19.639Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-09T12:54:19.639Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-09T12:54:19.639Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-09T12:54:19.639Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-09T12:54:19.639Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T12:54:20.068Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T12:54:20.069Z] [2023-05-09T12:54:20.069Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T12:54:20.442Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T12:54:20.442Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-09T12:54:20.442Z] b85a868b505f: Pulling fs layer [2023-05-09T12:54:20.442Z] e2be974225ed: Pulling fs layer [2023-05-09T12:54:20.442Z] 339a4e72a1f5: Pulling fs layer [2023-05-09T12:54:20.442Z] 988bab9f4d93: Pulling fs layer [2023-05-09T12:54:20.442Z] 1469e6f7b9e6: Pulling fs layer [2023-05-09T12:54:20.442Z] eaf3925da568: Pulling fs layer [2023-05-09T12:54:20.442Z] bab4dde63d76: Pulling fs layer [2023-05-09T12:54:20.442Z] bde34c3a00c8: Pulling fs layer [2023-05-09T12:54:20.442Z] b352a97aabf1: Pulling fs layer [2023-05-09T12:54:20.442Z] 4872d77fe225: Pulling fs layer [2023-05-09T12:54:20.442Z] 5851b861e8e6: Pulling fs layer [2023-05-09T12:54:20.442Z] 1469e6f7b9e6: Waiting [2023-05-09T12:54:20.442Z] 4872d77fe225: Waiting [2023-05-09T12:54:20.442Z] b352a97aabf1: Waiting [2023-05-09T12:54:20.442Z] eaf3925da568: Waiting [2023-05-09T12:54:20.442Z] 5851b861e8e6: Waiting [2023-05-09T12:54:20.442Z] bab4dde63d76: Waiting [2023-05-09T12:54:20.442Z] bde34c3a00c8: Waiting [2023-05-09T12:54:20.442Z] 988bab9f4d93: Waiting [2023-05-09T12:54:20.442Z] e2be974225ed: Verifying Checksum [2023-05-09T12:54:20.442Z] 988bab9f4d93: Verifying Checksum [2023-05-09T12:54:20.442Z] 988bab9f4d93: Download complete [2023-05-09T12:54:20.702Z] 1469e6f7b9e6: Verifying Checksum [2023-05-09T12:54:20.702Z] 1469e6f7b9e6: Download complete [2023-05-09T12:54:20.702Z] 339a4e72a1f5: Verifying Checksum [2023-05-09T12:54:20.702Z] 339a4e72a1f5: Download complete [2023-05-09T12:54:20.702Z] eaf3925da568: Verifying Checksum [2023-05-09T12:54:20.702Z] eaf3925da568: Download complete [2023-05-09T12:54:20.702Z] bde34c3a00c8: Verifying Checksum [2023-05-09T12:54:20.702Z] bde34c3a00c8: Download complete [2023-05-09T12:54:20.702Z] b352a97aabf1: Download complete [2023-05-09T12:54:20.702Z] 4872d77fe225: Verifying Checksum [2023-05-09T12:54:20.702Z] 4872d77fe225: Download complete [2023-05-09T12:54:20.702Z] 5851b861e8e6: Download complete [2023-05-09T12:54:20.702Z] b85a868b505f: Verifying Checksum [2023-05-09T12:54:20.702Z] b85a868b505f: Download complete [2023-05-09T12:54:20.962Z] bab4dde63d76: Verifying Checksum [2023-05-09T12:54:20.962Z] bab4dde63d76: Download complete [2023-05-09T12:54:21.895Z] b85a868b505f: Pull complete [2023-05-09T12:54:22.156Z] e2be974225ed: Pull complete [2023-05-09T12:54:22.722Z] 339a4e72a1f5: Pull complete [2023-05-09T12:54:22.722Z] 988bab9f4d93: Pull complete [2023-05-09T12:54:22.981Z] 1469e6f7b9e6: Pull complete [2023-05-09T12:54:22.981Z] eaf3925da568: Pull complete [2023-05-09T12:54:24.912Z] bab4dde63d76: Pull complete [2023-05-09T12:54:24.912Z] bde34c3a00c8: Pull complete [2023-05-09T12:54:24.912Z] b352a97aabf1: Pull complete [2023-05-09T12:54:24.912Z] 4872d77fe225: Pull complete [2023-05-09T12:54:24.912Z] 5851b861e8e6: Pull complete [2023-05-09T12:54:25.176Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-09T12:54:25.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T12:54:25.176Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T12:54:25.416Z] prd-ubuntu20.04-docker-8c-8g-14672 does not seem to be running inside a container [2023-05-09T12:54:25.436Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-454 -v /w/workspace/edgexfoundry_device-sdk-c_PR-454:/w/workspace/edgexfoundry_device-sdk-c_PR-454:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-454@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-454@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-09T12:54:28.069Z] $ docker top 4620b7e282f3a18bf35f93ceed6e0f5b069c5253a8e955a77af78d0801d47800 -eo pid,comm [2023-05-09T12:54:28.130Z] 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-05-09T12:54:28.130Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-09T12:54:28.261Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T12:54:28.261Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T12:54:28.377Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T12:54:28.374Z] $ docker exec 4620b7e282f3a18bf35f93ceed6e0f5b069c5253a8e955a77af78d0801d47800 ssh-agent [2023-05-09T12:54:28.483Z] SSH_AUTH_SOCK=/tmp/ssh-eg9ejI6iA8HQ/agent.33 [2023-05-09T12:54:28.483Z] SSH_AGENT_PID=39 [2023-05-09T12:54:28.489Z] Running ssh-add (command line suppressed) [2023-05-09T12:54:28.582Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-454@tmp/private_key_10694031212187363196.key (/w/workspace/edgexfoundry_device-sdk-c_PR-454@tmp/private_key_10694031212187363196.key) [2023-05-09T12:54:28.605Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T12:54:28.932Z] + git tag --points-at HEAD [Pipeline] } [2023-05-09T12:54:28.956Z] $ docker exec --env ******** --env ******** 4620b7e282f3a18bf35f93ceed6e0f5b069c5253a8e955a77af78d0801d47800 ssh-agent -k [2023-05-09T12:54:29.054Z] unset SSH_AUTH_SOCK; [2023-05-09T12:54:29.056Z] unset SSH_AGENT_PID; [2023-05-09T12:54:29.056Z] echo Agent pid 39 killed; [2023-05-09T12:54:29.068Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-09T12:54:29.170Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T12:54:29.170Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T12:54:29.281Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T12:54:29.279Z] $ docker exec 4620b7e282f3a18bf35f93ceed6e0f5b069c5253a8e955a77af78d0801d47800 ssh-agent [2023-05-09T12:54:29.397Z] SSH_AUTH_SOCK=/tmp/ssh-wxZjzwJywWpz/agent.71 [2023-05-09T12:54:29.397Z] SSH_AGENT_PID=77 [2023-05-09T12:54:29.402Z] Running ssh-add (command line suppressed) [2023-05-09T12:54:29.494Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-454@tmp/private_key_1100807218376408818.key (/w/workspace/edgexfoundry_device-sdk-c_PR-454@tmp/private_key_1100807218376408818.key) [2023-05-09T12:54:29.512Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T12:54:29.838Z] + git semver init [2023-05-09T12:54:30.100Z] 2023-05-09 12:54:29,977 [run_init] DEBUG init version:0.0.0 force:False [2023-05-09T12:54:30.100Z] 2023-05-09 12:54:29,978 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-454/.semver [2023-05-09T12:54:30.100Z] 2023-05-09 12:54:29,978 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-454/.semver [2023-05-09T12:54:30.100Z] 2023-05-09 12:54:29,978 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-454/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-454, universal_newlines=False, shell=None, istream=None) [2023-05-09T12:54:31.036Z] 2023-05-09 12:54:30,783 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-454/.git/info/exclude [2023-05-09T12:54:31.036Z] 2023-05-09 12:54:30,783 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-454/.semver/PR-454 with force:False [2023-05-09T12:54:31.036Z] 2023-05-09 12:54:30,783 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-454/.semver/PR-454 [2023-05-09T12:54:31.036Z] 2023-05-09 12:54:30,787 [execute] INFO git cat-file --batch-check [2023-05-09T12:54:31.036Z] 2023-05-09 12:54:30,788 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-454/.semver, universal_newlines=False, shell=None, istream=) [2023-05-09T12:54:31.036Z] 2023-05-09 12:54:30,794 [execute] INFO git cat-file --batch [2023-05-09T12:54:31.036Z] 2023-05-09 12:54:30,794 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-454/.semver, universal_newlines=False, shell=None, istream=) [2023-05-09T12:54:31.036Z] 2023-05-09 12:54:30,799 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-454/.semver/PR-454 [2023-05-09T12:54:31.036Z] 0.0.0 [Pipeline] } [2023-05-09T12:54:31.069Z] $ docker exec --env ******** --env ******** 4620b7e282f3a18bf35f93ceed6e0f5b069c5253a8e955a77af78d0801d47800 ssh-agent -k [2023-05-09T12:54:31.169Z] unset SSH_AUTH_SOCK; [2023-05-09T12:54:31.169Z] unset SSH_AGENT_PID; [2023-05-09T12:54:31.169Z] echo Agent pid 77 killed; [2023-05-09T12:54:31.182Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-09T12:54:31.596Z] + git semver [Pipeline] } [2023-05-09T12:54:31.876Z] $ docker stop --time=1 4620b7e282f3a18bf35f93ceed6e0f5b069c5253a8e955a77af78d0801d47800 [2023-05-09T12:54:33.185Z] $ docker rm -f --volumes 4620b7e282f3a18bf35f93ceed6e0f5b069c5253a8e955a77af78d0801d47800 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T12:54:33.595Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-09T12:54:33.868Z] Stashed 1 file(s) [Pipeline] echo [2023-05-09T12:54:33.884Z] [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-05-09T12:54:34.381Z] provisioning config files... [2023-05-09T12:54:34.391Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-454@tmp/config2256696356191380197tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T12:54:34.736Z] ---> docker-login.sh [2023-05-09T12:54:34.737Z] nexus3.edgexfoundry.org:10001 [2023-05-09T12:54:34.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T12:54:34.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T12:54:34.737Z] Configure a credential helper to remove this warning. See [2023-05-09T12:54:34.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T12:54:34.737Z] [2023-05-09T12:54:34.737Z] Login Succeeded [2023-05-09T12:54:34.737Z] nexus3.edgexfoundry.org:10002 [2023-05-09T12:54:34.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T12:54:34.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T12:54:34.737Z] Configure a credential helper to remove this warning. See [2023-05-09T12:54:34.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T12:54:34.737Z] [2023-05-09T12:54:34.737Z] Login Succeeded [2023-05-09T12:54:34.737Z] nexus3.edgexfoundry.org:10003 [2023-05-09T12:54:34.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T12:54:34.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T12:54:34.997Z] Configure a credential helper to remove this warning. See [2023-05-09T12:54:34.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T12:54:34.997Z] [2023-05-09T12:54:34.997Z] Login Succeeded [2023-05-09T12:54:34.997Z] nexus3.edgexfoundry.org:10004 [2023-05-09T12:54:34.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T12:54:34.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T12:54:34.997Z] Configure a credential helper to remove this warning. See [2023-05-09T12:54:34.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T12:54:34.997Z] [2023-05-09T12:54:34.997Z] Login Succeeded [2023-05-09T12:54:34.997Z] docker.io [2023-05-09T12:54:34.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T12:54:35.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T12:54:35.256Z] Configure a credential helper to remove this warning. See [2023-05-09T12:54:35.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T12:54:35.256Z] [2023-05-09T12:54:35.256Z] Login Succeeded [2023-05-09T12:54:35.256Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T12:54:35.292Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-09T12:54:35.480Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T12:54:35.510Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-05-09T12:54:35.550Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T12:54:35.590Z] ========================================================= [2023-05-09T12:54:35.590Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-05-09T12:54:35.590Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T12:54:36.011Z] + 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-05-09T12:54:36.011Z] Sending build context to Docker daemon 4.924MB [2023-05-09T12:54:36.011Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-05-09T12:54:36.011Z] Step 2/21 : FROM ${BASE} as builder [2023-05-09T12:54:36.011Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-05-09T12:54:36.011Z] 213ec9aee27d: Pulling fs layer [2023-05-09T12:54:36.011Z] 0f09ad1b1b37: Pulling fs layer [2023-05-09T12:54:36.270Z] 213ec9aee27d: Verifying Checksum [2023-05-09T12:54:36.270Z] 213ec9aee27d: Download complete [2023-05-09T12:54:36.270Z] 213ec9aee27d: Pull complete [2023-05-09T12:54:36.837Z] 0f09ad1b1b37: Download complete [2023-05-09T12:54:39.385Z] 0f09ad1b1b37: Pull complete [2023-05-09T12:54:39.385Z] Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 [2023-05-09T12:54:39.385Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-05-09T12:54:39.385Z] ---> b2bbfebb3566 [2023-05-09T12:54:39.385Z] 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-05-09T12:54:41.296Z] ---> Running in 2d8787176a58 [2023-05-09T12:54:41.555Z] Connecting to iotech.jfrog.io (52.208.52.101:443) [2023-05-09T12:54:41.815Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-09T12:54:41.815Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-09T12:54:41.815Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-09T12:54:42.074Z] Removing intermediate container 2d8787176a58 [2023-05-09T12:54:42.074Z] ---> e053ba4ae05c [2023-05-09T12:54:42.074Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-09T12:54:42.074Z] ---> Running in 41ea47a999d9 [2023-05-09T12:54:42.641Z] Removing intermediate container 41ea47a999d9 [2023-05-09T12:54:42.641Z] ---> 6a9937c22759 [2023-05-09T12:54:42.641Z] 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-05-09T12:54:42.641Z] ---> Running in 6cdc6694940e [2023-05-09T12:54:42.900Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-09T12:54:43.159Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-09T12:54:43.419Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-09T12:54:43.678Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-09T12:54:43.678Z] (1/14) Installing hiredis (1.0.2-r0) [2023-05-09T12:54:43.938Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-05-09T12:54:44.197Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-09T12:54:44.771Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-09T12:54:44.771Z] (5/14) Installing libcbor (0.9.0-r1) [2023-05-09T12:54:45.030Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-05-09T12:54:45.030Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-09T12:54:45.030Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-09T12:54:45.968Z] (9/14) Installing libblkid (2.38-r1) [2023-05-09T12:54:45.968Z] (10/14) Installing libuuid (2.38-r1) [2023-05-09T12:54:45.968Z] (11/14) Installing libfdisk (2.38-r1) [2023-05-09T12:54:45.968Z] (12/14) Installing libmount (2.38-r1) [2023-05-09T12:54:45.968Z] (13/14) Installing libsmartcols (2.38-r1) [2023-05-09T12:54:45.968Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-05-09T12:54:45.968Z] Executing busybox-1.35.0-r17.trigger [2023-05-09T12:54:45.968Z] OK: 280 MiB in 90 packages [2023-05-09T12:54:46.536Z] Removing intermediate container 6cdc6694940e [2023-05-09T12:54:46.536Z] ---> 3cefabf79b87 [2023-05-09T12:54:46.536Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-05-09T12:54:46.536Z] ---> Running in f755297d7898 [2023-05-09T12:54:47.103Z] Removing intermediate container f755297d7898 [2023-05-09T12:54:47.103Z] ---> 18b8c34b571e [2023-05-09T12:54:47.103Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-05-09T12:54:47.103Z] ---> f84c05c45b9d [2023-05-09T12:54:47.103Z] Step 8/21 : COPY src /tmp/sdk/src [2023-05-09T12:54:47.363Z] ---> 7129f9b9b5d3 [2023-05-09T12:54:47.363Z] Step 9/21 : COPY include /tmp/sdk/include [2023-05-09T12:54:47.624Z] ---> cf5a9221351d [2023-05-09T12:54:47.624Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-05-09T12:54:47.624Z] ---> 5251b0ecfb77 [2023-05-09T12:54:47.624Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-05-09T12:54:47.885Z] ---> 77fadc34b617 [2023-05-09T12:54:47.885Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-05-09T12:54:47.885Z] ---> 2968355bd7d7 [2023-05-09T12:54:47.885Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-05-09T12:54:47.885Z] ---> Running in 5cec3fa39c0b [2023-05-09T12:54:48.144Z] + CPPCHECK=false [2023-05-09T12:54:48.144Z] + DOCGEN=false [2023-05-09T12:54:48.144Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-05-09T12:54:48.144Z] + TOMLVER=SDK-0.2 [2023-05-09T12:54:48.144Z] + CUTILVER=1.4 [2023-05-09T12:54:48.144Z] + '[' 0 -gt 0 ] [2023-05-09T12:54:48.144Z] + readlink -f ./scripts/build.sh [2023-05-09T12:54:48.144Z] + dirname /tmp/sdk/scripts/build.sh [2023-05-09T12:54:48.144Z] + dirname /tmp/sdk/scripts [2023-05-09T12:54:48.144Z] + ROOT=/tmp/sdk [2023-05-09T12:54:48.144Z] + cd /tmp/sdk [2023-05-09T12:54:48.144Z] + '[' '!' -d deps ] [2023-05-09T12:54:48.144Z] + mkdir deps [2023-05-09T12:54:48.144Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-05-09T12:54:48.144Z] + tar -C deps -z -x -f - [2023-05-09T12:54:48.144Z] Connecting to github.com (140.82.114.4:443) [2023-05-09T12:54:48.403Z] Connecting to codeload.github.com (140.82.113.10:443) [2023-05-09T12:54:48.661Z] writing to stdout [2023-05-09T12:54:48.661Z] - 100% |********************************| 16451 0:00:00 ETA [2023-05-09T12:54:48.661Z] written to stdout [2023-05-09T12:54:48.661Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-05-09T12:54:48.661Z] + mkdir -p /tmp/sdk/build/release [2023-05-09T12:54:48.661Z] + cd /tmp/sdk/build/release [2023-05-09T12:54:48.661Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-05-09T12:54:48.661Z] -- The C compiler identification is GNU 11.2.1 [2023-05-09T12:54:48.661Z] -- Detecting C compiler ABI info [2023-05-09T12:54:48.661Z] -- Detecting C compiler ABI info - done [2023-05-09T12:54:48.661Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-09T12:54:48.661Z] -- Detecting C compile features [2023-05-09T12:54:48.661Z] -- Detecting C compile features - done [2023-05-09T12:54:48.661Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-09T12:54:48.919Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-05-09T12:54:48.919Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-09T12:54:48.919Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-09T12:54:48.919Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-09T12:54:48.919Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-09T12:54:48.919Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-09T12:54:48.919Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-09T12:54:48.919Z] -- /opt/iotech/iot/1.5/include [2023-05-09T12:54:48.919Z] -- C SDK 0.0.0 for Linux [2023-05-09T12:54:48.919Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-09T12:54:48.919Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-09T12:54:48.919Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-09T12:54:48.919Z] -- Configuring done [2023-05-09T12:54:48.919Z] -- Generating done [2023-05-09T12:54:48.919Z] -- Build files have been written to: /tmp/sdk/build/release [2023-05-09T12:54:48.919Z] + make all package [2023-05-09T12:54:48.919Z] + tee release.log [2023-05-09T12:54:49.181Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-09T12:54:49.181Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-09T12:54:49.214Z] Still waiting to schedule task [2023-05-09T12:54:49.214Z] ‘prd-centos7-blackbox-4c-2g-14349’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-09T12:54:49.214Z] ‘prd-centos7-blackbox-4c-2g-14350’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-09T12:54:49.214Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-14669’ is offline [2023-05-09T12:54:49.214Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-14671’ is offline [2023-05-09T12:54:49.443Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-09T12:54:49.443Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-09T12:54:49.709Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-09T12:54:49.709Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-09T12:54:50.277Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-09T12:54:50.277Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-09T12:54:50.536Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-09T12:54:50.536Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-09T12:54:51.104Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-09T12:54:51.104Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-09T12:54:51.104Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-09T12:54:51.362Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-09T12:54:51.362Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-09T12:54:51.622Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-09T12:54:51.622Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-09T12:54:52.216Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-09T12:54:52.216Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-09T12:54:52.216Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-09T12:54:52.474Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-09T12:54:53.412Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-09T12:54:53.412Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-09T12:54:53.672Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-09T12:54:53.672Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-09T12:54:53.672Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-09T12:54:53.930Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-09T12:54:54.498Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-09T12:54:54.498Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-09T12:54:54.498Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-09T12:54:54.756Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-09T12:54:55.326Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-05-09T12:54:55.896Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-09T12:54:56.155Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-09T12:54:56.155Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-09T12:54:56.155Z] [ 69%] Linking C shared library libcsdk.so [2023-05-09T12:54:56.416Z] [ 69%] Built target csdk [2023-05-09T12:54:56.416Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-09T12:54:56.416Z] [ 73%] Linking C executable template [2023-05-09T12:54:56.677Z] [ 73%] Built target template [2023-05-09T12:54:56.677Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-09T12:54:56.677Z] [ 76%] Linking C executable device-counter [2023-05-09T12:54:56.677Z] [ 76%] Built target device-counter [2023-05-09T12:54:56.677Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-09T12:54:56.938Z] [ 80%] Linking C executable device-random [2023-05-09T12:54:56.938Z] [ 80%] Built target device-random [2023-05-09T12:54:56.938Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-09T12:54:56.938Z] [ 84%] Linking C executable device-gyro [2023-05-09T12:54:57.197Z] [ 84%] Built target device-gyro [2023-05-09T12:54:57.197Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-09T12:54:57.197Z] [ 88%] Linking C executable device-bitfields [2023-05-09T12:54:57.197Z] [ 88%] Built target device-bitfields [2023-05-09T12:54:57.197Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-09T12:54:57.457Z] [ 92%] Linking C executable template-discovery [2023-05-09T12:54:57.457Z] [ 92%] Built target template-discovery [2023-05-09T12:54:57.457Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-09T12:54:57.716Z] [ 96%] Linking C executable device-file [2023-05-09T12:54:57.716Z] [ 96%] Built target device-file [2023-05-09T12:54:57.716Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-09T12:54:57.974Z] [100%] Linking C executable device-terminal [2023-05-09T12:54:57.974Z] [100%] Built target device-terminal [2023-05-09T12:54:57.974Z] Run CPack packaging tool... [2023-05-09T12:54:57.974Z] CPack: Create package using TGZ [2023-05-09T12:54:57.974Z] CPack: Install projects [2023-05-09T12:54:57.974Z] CPack: - Run preinstall target for: Csdk [2023-05-09T12:54:58.234Z] CPack: - Install project: Csdk [] [2023-05-09T12:54:58.234Z] CPack: Create package [2023-05-09T12:54:58.234Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-05-09T12:54:58.234Z] + '[' false '=' true ] [2023-05-09T12:54:58.234Z] + '[' false '=' true ] [2023-05-09T12:54:58.234Z] + mkdir -p /tmp/sdk/build/debug [2023-05-09T12:54:58.234Z] + cd /tmp/sdk/build/debug [2023-05-09T12:54:58.234Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-05-09T12:54:58.234Z] -- The C compiler identification is GNU 11.2.1 [2023-05-09T12:54:58.234Z] -- Detecting C compiler ABI info [2023-05-09T12:54:58.495Z] -- Detecting C compiler ABI info - done [2023-05-09T12:54:58.495Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-09T12:54:58.495Z] -- Detecting C compile features [2023-05-09T12:54:58.495Z] -- Detecting C compile features - done [2023-05-09T12:54:58.495Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-09T12:54:58.495Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-05-09T12:54:58.495Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-09T12:54:58.495Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-09T12:54:58.495Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-09T12:54:58.495Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-09T12:54:58.495Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-09T12:54:58.495Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-09T12:54:58.495Z] -- /opt/iotech/iot/1.5/include [2023-05-09T12:54:58.495Z] -- C SDK 0.0.0 for Linux [2023-05-09T12:54:58.495Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-09T12:54:58.495Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-09T12:54:58.495Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-09T12:54:58.495Z] -- Configuring done [2023-05-09T12:54:58.755Z] -- Generating done [2023-05-09T12:54:58.755Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-05-09T12:54:58.755Z] + make [2023-05-09T12:54:58.755Z] + tee debug.log [2023-05-09T12:54:58.755Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-09T12:54:58.755Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-09T12:54:58.755Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-09T12:54:59.014Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-09T12:54:59.014Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-09T12:54:59.014Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-09T12:54:59.275Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-09T12:54:59.275Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-09T12:54:59.275Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-09T12:54:59.536Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-09T12:54:59.536Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-09T12:54:59.796Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-09T12:54:59.796Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-09T12:54:59.796Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-09T12:55:00.055Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-09T12:55:00.055Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-09T12:55:00.055Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-09T12:55:00.315Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-09T12:55:00.315Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-09T12:55:00.315Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-09T12:55:00.574Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-09T12:55:00.574Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-09T12:55:00.834Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-09T12:55:00.834Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-09T12:55:00.834Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-09T12:55:00.834Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-09T12:55:01.092Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-09T12:55:01.353Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-09T12:55:01.353Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-09T12:55:01.353Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-09T12:55:01.612Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-09T12:55:01.612Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-05-09T12:55:01.870Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-09T12:55:01.870Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-09T12:55:02.129Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-09T12:55:02.129Z] [ 69%] Linking C shared library libcsdk.so [2023-05-09T12:55:02.129Z] [ 69%] Built target csdk [2023-05-09T12:55:02.129Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-09T12:55:02.129Z] [ 73%] Linking C executable template [2023-05-09T12:55:02.387Z] [ 73%] Built target template [2023-05-09T12:55:02.387Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-09T12:55:02.387Z] [ 76%] Linking C executable device-counter [2023-05-09T12:55:02.387Z] [ 76%] Built target device-counter [2023-05-09T12:55:02.387Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-09T12:55:02.387Z] [ 80%] Linking C executable device-random [2023-05-09T12:55:02.647Z] [ 80%] Built target device-random [2023-05-09T12:55:02.647Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-09T12:55:02.647Z] [ 84%] Linking C executable device-gyro [2023-05-09T12:55:02.647Z] [ 84%] Built target device-gyro [2023-05-09T12:55:02.647Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-09T12:55:02.647Z] [ 88%] Linking C executable device-bitfields [2023-05-09T12:55:02.906Z] [ 88%] Built target device-bitfields [2023-05-09T12:55:02.906Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-09T12:55:02.906Z] [ 92%] Linking C executable template-discovery [2023-05-09T12:55:02.906Z] [ 92%] Built target template-discovery [2023-05-09T12:55:02.906Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-09T12:55:03.165Z] [ 96%] Linking C executable device-file [2023-05-09T12:55:03.165Z] [ 96%] Built target device-file [2023-05-09T12:55:03.165Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-09T12:55:03.165Z] [100%] Linking C executable device-terminal [2023-05-09T12:55:03.424Z] [100%] Built target device-terminal [2023-05-09T12:55:03.424Z] make: Entering directory '/tmp/sdk/build/release' [2023-05-09T12:55:03.424Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-05-09T12:55:03.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T12:55:03.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T12:55:03.424Z] [ 69%] Built target csdk [2023-05-09T12:55:03.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T12:55:03.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T12:55:03.424Z] [ 73%] Built target template [2023-05-09T12:55:03.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T12:55:03.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T12:55:03.424Z] [ 76%] Built target device-counter [2023-05-09T12:55:03.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T12:55:03.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T12:55:03.424Z] [ 80%] Built target device-random [2023-05-09T12:55:03.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T12:55:03.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T12:55:03.424Z] [ 84%] Built target device-gyro [2023-05-09T12:55:03.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T12:55:03.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T12:55:03.424Z] [ 88%] Built target device-bitfields [2023-05-09T12:55:03.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T12:55:03.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T12:55:03.424Z] [ 92%] Built target template-discovery [2023-05-09T12:55:03.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T12:55:03.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T12:55:03.424Z] [ 96%] Built target device-file [2023-05-09T12:55:03.424Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T12:55:03.424Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T12:55:03.424Z] [100%] Built target device-terminal [2023-05-09T12:55:03.424Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T12:55:03.424Z] Install the project... [2023-05-09T12:55:03.424Z] -- Install configuration: "Release" [2023-05-09T12:55:03.424Z] -- Installing: /usr/local/lib/libcsdk.so [2023-05-09T12:55:03.424Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-05-09T12:55:03.424Z] -- Installing: /usr/local/include [2023-05-09T12:55:03.424Z] -- Installing: /usr/local/include/devsdk [2023-05-09T12:55:03.424Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-05-09T12:55:03.424Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-05-09T12:55:03.424Z] -- Installing: /usr/local/include/edgex [2023-05-09T12:55:03.424Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-05-09T12:55:03.424Z] -- Installing: /usr/local/include/edgex/devices.h [2023-05-09T12:55:03.424Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-05-09T12:55:03.424Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-05-09T12:55:03.424Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-05-09T12:55:03.424Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-05-09T12:55:03.424Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-05-09T12:55:03.424Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-05-09T12:55:03.424Z] make: Leaving directory '/tmp/sdk/build/release' [2023-05-09T12:55:04.361Z] Removing intermediate container 5cec3fa39c0b [2023-05-09T12:55:04.361Z] ---> 32bb6041413f [2023-05-09T12:55:04.361Z] Step 14/21 : FROM ${BASE} [2023-05-09T12:55:04.361Z] ---> b2bbfebb3566 [2023-05-09T12:55:04.361Z] Step 15/21 : LABEL maintainer="IOTech " [2023-05-09T12:55:04.361Z] ---> Running in eca2847bd025 [2023-05-09T12:55:04.361Z] Removing intermediate container eca2847bd025 [2023-05-09T12:55:04.361Z] ---> 28189e2c8b9a [2023-05-09T12:55:04.361Z] 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-05-09T12:55:04.361Z] ---> Running in 140d5bc56d8f [2023-05-09T12:55:04.620Z] Connecting to iotech.jfrog.io (52.214.31.35:443) [2023-05-09T12:55:04.880Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-09T12:55:04.880Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-09T12:55:04.880Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-09T12:55:05.138Z] Removing intermediate container 140d5bc56d8f [2023-05-09T12:55:05.138Z] ---> 4a9749aea1cb [2023-05-09T12:55:05.138Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-09T12:55:05.138Z] ---> Running in 16fda1c7834e [2023-05-09T12:55:05.709Z] Removing intermediate container 16fda1c7834e [2023-05-09T12:55:05.709Z] ---> d8d017ab5ce3 [2023-05-09T12:55:05.709Z] 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-05-09T12:55:05.709Z] ---> Running in ff112546d9b9 [2023-05-09T12:55:05.967Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-09T12:55:06.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-09T12:55:06.486Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-09T12:55:06.745Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-09T12:55:06.745Z] (1/7) Installing curl (8.0.1-r0) [2023-05-09T12:55:06.745Z] (2/7) Installing hiredis (1.0.2-r0) [2023-05-09T12:55:06.745Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-05-09T12:55:06.745Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-05-09T12:55:07.683Z] (5/7) Installing libcbor (0.9.0-r1) [2023-05-09T12:55:07.683Z] (6/7) Installing libuuid (2.38-r1) [2023-05-09T12:55:07.683Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-09T12:55:09.595Z] Executing busybox-1.35.0-r17.trigger [2023-05-09T12:55:09.595Z] OK: 275 MiB in 83 packages [2023-05-09T12:55:09.855Z] Removing intermediate container ff112546d9b9 [2023-05-09T12:55:09.855Z] ---> d7a1bf8b737f [2023-05-09T12:55:09.855Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-05-09T12:55:09.855Z] ---> 0002f8293341 [2023-05-09T12:55:09.855Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-05-09T12:55:10.114Z] ---> 2b823449e8c3 [2023-05-09T12:55:10.114Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-05-09T12:55:10.114Z] ---> fcec3aaca367 [2023-05-09T12:55:10.114Z] Successfully built fcec3aaca367 [2023-05-09T12:55:10.114Z] 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-05-09T12:55:10.833Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-09T12:55:10.833Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T12:55:10.979Z] prd-ubuntu20.04-docker-8c-8g-14672 does not seem to be running inside a container [2023-05-09T12:55:11.009Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-454 -v /w/workspace/edgexfoundry_device-sdk-c_PR-454:/w/workspace/edgexfoundry_device-sdk-c_PR-454:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-454@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-454@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-x86_64 cat [2023-05-09T12:55:11.316Z] $ docker top f83fc151b4f017d0544f1f4252fca2695cbf1034a2f9751e43f2fd01b091e2aa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T12:55:11.712Z] + make test [2023-05-09T12:55:11.712Z] echo "make test" [2023-05-09T12:55:11.712Z] make test [Pipeline] } [2023-05-09T12:55:11.745Z] $ docker stop --time=1 f83fc151b4f017d0544f1f4252fca2695cbf1034a2f9751e43f2fd01b091e2aa [2023-05-09T12:55:13.011Z] $ docker rm -f --volumes f83fc151b4f017d0544f1f4252fca2695cbf1034a2f9751e43f2fd01b091e2aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T12:55:13.799Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-09T12:55:14.112Z] + ls -al . [2023-05-09T12:55:14.112Z] total 212 [2023-05-09T12:55:14.112Z] drwxrwxr-x 9 jenkins jenkins 4096 May 9 12:54 . [2023-05-09T12:55:14.112Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 12:54 .. [2023-05-09T12:55:14.112Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 12:54 .git [2023-05-09T12:55:14.112Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 12:54 .github [2023-05-09T12:55:14.112Z] -rw-rw-r-- 1 jenkins jenkins 176 May 9 12:54 .gitignore [2023-05-09T12:55:14.112Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 12:54 .semver [2023-05-09T12:55:14.112Z] -rw-rw-r-- 1 jenkins jenkins 3104 May 9 12:54 Attribution.txt [2023-05-09T12:55:14.112Z] -rw-rw-r-- 1 jenkins jenkins 8743 May 9 12:54 CHANGES [2023-05-09T12:55:14.112Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 9 12:54 Doxyfile [2023-05-09T12:55:14.112Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 12:54 GOVERNANCE.md [2023-05-09T12:55:14.112Z] -rw-rw-r-- 1 jenkins jenkins 784 May 9 12:54 Jenkinsfile [2023-05-09T12:55:14.112Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 9 12:54 LICENSE [2023-05-09T12:55:14.112Z] -rw-rw-r-- 1 jenkins jenkins 444 May 9 12:54 Makefile [2023-05-09T12:55:14.112Z] -rw-rw-r-- 1 jenkins jenkins 618 May 9 12:54 OWNERS.md [2023-05-09T12:55:14.112Z] -rw-rw-r-- 1 jenkins jenkins 1651 May 9 12:54 README.IOT.md [2023-05-09T12:55:14.112Z] -rw-rw-r-- 1 jenkins jenkins 4215 May 9 12:54 README.md [2023-05-09T12:55:14.112Z] -rw-rw-r-- 1 jenkins jenkins 1245 May 9 12:54 README.v3.md [2023-05-09T12:55:14.112Z] -rw-rw-r-- 1 jenkins jenkins 5 May 9 12:54 VERSION [2023-05-09T12:55:14.112Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 12:54 docs [2023-05-09T12:55:14.112Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 12:54 include [2023-05-09T12:55:14.112Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 12:54 scripts [2023-05-09T12:55:14.112Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 12:54 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T12:55:14.518Z] + 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=327d507d784e0fc22922faefa320ff441dc2626f --label arch=amd64 --label version=0.0.0 . [2023-05-09T12:55:14.518Z] Sending build context to Docker daemon 4.924MB [2023-05-09T12:55:14.518Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-05-09T12:55:14.518Z] Step 2/17 : FROM ${BASE} [2023-05-09T12:55:14.518Z] ---> fcec3aaca367 [2023-05-09T12:55:14.518Z] Step 3/17 : LABEL maintainer="IOTech " [2023-05-09T12:55:14.518Z] ---> Running in 269f3b5701ae [2023-05-09T12:55:14.518Z] Removing intermediate container 269f3b5701ae [2023-05-09T12:55:14.518Z] ---> e5267b08cbcc [2023-05-09T12:55:14.518Z] 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-05-09T12:55:14.778Z] ---> Running in 2be3c0bba7c5 [2023-05-09T12:55:14.778Z] Connecting to iotech.jfrog.io (52.214.31.35:443) [2023-05-09T12:55:15.346Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-09T12:55:15.346Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-09T12:55:15.346Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-09T12:55:15.605Z] Removing intermediate container 2be3c0bba7c5 [2023-05-09T12:55:15.605Z] ---> 1e8edfd743bb [2023-05-09T12:55:15.605Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-09T12:55:15.605Z] ---> Running in db870b157aa4 [2023-05-09T12:55:16.172Z] Removing intermediate container db870b157aa4 [2023-05-09T12:55:16.172Z] ---> 86a7b2910be5 [2023-05-09T12:55:16.172Z] 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-05-09T12:55:16.172Z] ---> Running in b2ad3a1cb599 [2023-05-09T12:55:16.431Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-09T12:55:16.431Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-05-09T12:55:16.691Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-05-09T12:55:17.257Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-09T12:55:17.257Z] (1/9) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-09T12:55:17.823Z] (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-09T12:55:17.823Z] (3/9) Installing libcbor-dev (0.9.0-r1) [2023-05-09T12:55:17.823Z] (4/9) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-09T12:55:17.823Z] (5/9) Installing libblkid (2.38-r1) [2023-05-09T12:55:17.823Z] (6/9) Installing libfdisk (2.38-r1) [2023-05-09T12:55:17.823Z] (7/9) Installing libmount (2.38-r1) [2023-05-09T12:55:17.823Z] (8/9) Installing libsmartcols (2.38-r1) [2023-05-09T12:55:17.823Z] (9/9) Installing util-linux-dev (2.38-r1) [2023-05-09T12:55:17.823Z] Executing busybox-1.35.0-r17.trigger [2023-05-09T12:55:17.823Z] OK: 281 MiB in 92 packages [2023-05-09T12:55:18.398Z] Removing intermediate container b2ad3a1cb599 [2023-05-09T12:55:18.398Z] ---> 3aaa62e6f1a8 [2023-05-09T12:55:18.398Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-05-09T12:55:18.398Z] ---> 88a191962f6d [2023-05-09T12:55:18.398Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-05-09T12:55:18.656Z] ---> c3b985cd93de [2023-05-09T12:55:18.656Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-05-09T12:55:18.915Z] ---> 56d4cce8bbe0 [2023-05-09T12:55:18.915Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-05-09T12:55:18.915Z] ---> 204b606155c0 [2023-05-09T12:55:18.915Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-05-09T12:55:19.174Z] ---> fb32a4f5554b [2023-05-09T12:55:19.174Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-05-09T12:55:19.174Z] ---> 622b377fe637 [2023-05-09T12:55:19.174Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-05-09T12:55:19.174Z] ---> Running in 77c22f159ae2 [2023-05-09T12:55:19.433Z] Removing intermediate container 77c22f159ae2 [2023-05-09T12:55:19.433Z] ---> d8f15dd1f1e1 [2023-05-09T12:55:19.433Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-05-09T12:55:19.433Z] ---> Running in deb37f370b36 [2023-05-09T12:55:19.433Z] Removing intermediate container deb37f370b36 [2023-05-09T12:55:19.433Z] ---> 5b39be44cb01 [2023-05-09T12:55:19.433Z] Step 15/17 : LABEL arch=amd64 [2023-05-09T12:55:19.433Z] ---> Running in d13345440339 [2023-05-09T12:55:19.433Z] Removing intermediate container d13345440339 [2023-05-09T12:55:19.433Z] ---> bb50c73cd924 [2023-05-09T12:55:19.433Z] Step 16/17 : LABEL git_sha=327d507d784e0fc22922faefa320ff441dc2626f [2023-05-09T12:55:19.433Z] ---> Running in ac5d42afb571 [2023-05-09T12:55:19.691Z] Removing intermediate container ac5d42afb571 [2023-05-09T12:55:19.691Z] ---> 7b7c11810b5d [2023-05-09T12:55:19.691Z] Step 17/17 : LABEL version=0.0.0 [2023-05-09T12:55:19.691Z] ---> Running in cf04bc14e223 [2023-05-09T12:55:19.691Z] Removing intermediate container cf04bc14e223 [2023-05-09T12:55:19.691Z] ---> 78f7eb9f0bf7 [2023-05-09T12:55:19.691Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-05-09T12:55:19.691Z] Successfully built 78f7eb9f0bf7 [2023-05-09T12:55:19.691Z] 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-05-09T12:55:20.615Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T12:55:20.615Z] [2023-05-09T12:55:20.615Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T12:55:20.989Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T12:55:20.989Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-09T12:55:20.989Z] 5eb5b503b376: Pulling fs layer [2023-05-09T12:55:20.989Z] 5c69ac0246d0: Pulling fs layer [2023-05-09T12:55:20.989Z] ec43610c2a17: Pulling fs layer [2023-05-09T12:55:20.989Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-09T12:55:20.989Z] 33b1e0a273af: Pulling fs layer [2023-05-09T12:55:20.989Z] 5d3b04190fa2: Pulling fs layer [2023-05-09T12:55:20.989Z] 2f39f015ded8: Pulling fs layer [2023-05-09T12:55:20.989Z] 3a2ae6a8a46f: Waiting [2023-05-09T12:55:20.989Z] 5d3b04190fa2: Waiting [2023-05-09T12:55:20.989Z] 2f39f015ded8: Waiting [2023-05-09T12:55:20.989Z] 33b1e0a273af: Waiting [2023-05-09T12:55:20.989Z] 5c69ac0246d0: Verifying Checksum [2023-05-09T12:55:20.989Z] 5c69ac0246d0: Download complete [2023-05-09T12:55:20.989Z] 3a2ae6a8a46f: Download complete [2023-05-09T12:55:20.989Z] 33b1e0a273af: Verifying Checksum [2023-05-09T12:55:20.989Z] 33b1e0a273af: Download complete [2023-05-09T12:55:20.989Z] 5d3b04190fa2: Download complete [2023-05-09T12:55:20.989Z] ec43610c2a17: Verifying Checksum [2023-05-09T12:55:21.248Z] 5eb5b503b376: Verifying Checksum [2023-05-09T12:55:21.248Z] 5eb5b503b376: Download complete [2023-05-09T12:55:21.815Z] 2f39f015ded8: Verifying Checksum [2023-05-09T12:55:21.816Z] 2f39f015ded8: Download complete [2023-05-09T12:55:22.383Z] 5eb5b503b376: Pull complete [2023-05-09T12:55:22.383Z] 5c69ac0246d0: Pull complete [2023-05-09T12:55:22.952Z] ec43610c2a17: Pull complete [2023-05-09T12:55:22.952Z] 3a2ae6a8a46f: Pull complete [2023-05-09T12:55:23.212Z] 33b1e0a273af: Pull complete [2023-05-09T12:55:23.212Z] 5d3b04190fa2: Pull complete [2023-05-09T12:55:27.398Z] 2f39f015ded8: Pull complete [2023-05-09T12:55:27.398Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-09T12:55:27.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T12:55:27.398Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T12:55:27.622Z] prd-ubuntu20.04-docker-8c-8g-14672 does not seem to be running inside a container [2023-05-09T12:55:27.657Z] $ 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-454 -v /w/workspace/edgexfoundry_device-sdk-c_PR-454:/w/workspace/edgexfoundry_device-sdk-c_PR-454:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-454@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-454@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:latest cat [2023-05-09T12:55:31.948Z] $ docker top d158de4fa8178725352eb34c2f7b5273cf6592cf3f7ded0107e3c4c0951d0944 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T12:55:32.388Z] ---> job-cost.sh [2023-05-09T12:55:32.388Z] lf-activate-venv: SKIPPING [2023-05-09T12:55:32.388Z] INFO: No Stack... [2023-05-09T12:55:32.647Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-09T12:55:32.906Z] INFO: Archiving Costs [Pipeline] sh [2023-05-09T12:55:33.221Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-454/archives/cost.csv [2023-05-09T12:55:33.221Z] + cut -d, -f6 [Pipeline] lock [2023-05-09T12:55:33.262Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-454-1-stack-cost] [2023-05-09T12:55:33.268Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-454-1-stack-cost] did not exist. Created. [2023-05-09T12:55:33.268Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-454-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-09T12:55:33.744Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-09T12:55:33.806Z] Stashed 1 file(s) [Pipeline] } [2023-05-09T12:55:33.821Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-454-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-09T12:55:33.894Z] $ docker stop --time=1 d158de4fa8178725352eb34c2f7b5273cf6592cf3f7ded0107e3c4c0951d0944 [2023-05-09T12:55:35.047Z] $ docker rm -f --volumes d158de4fa8178725352eb34c2f7b5273cf6592cf3f7ded0107e3c4c0951d0944 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-09T12:56:47.279Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14673 in /w/workspace/edgexfoundry_device-sdk-c_PR-454 [Pipeline] { [Pipeline] ws [2023-05-09T12:56:47.332Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2023-05-09T12:56:47.420Z] Selected Git installation does not exist. Using Default [2023-05-09T12:56:47.420Z] The recommended git tool is: NONE [2023-05-09T12:56:52.756Z] using credential edgex-jenkins-ssh [2023-05-09T12:56:52.777Z] Cloning the remote Git repository [2023-05-09T12:56:52.818Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-05-09T12:56:52.910Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2023-05-09T12:56:53.042Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-05-09T12:56:53.042Z] > git --version # timeout=10 [2023-05-09T12:56:53.065Z] > git --version # 'git version 2.25.1' [2023-05-09T12:56:53.068Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T12:56:53.219Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-09T12:56:54.365Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-05-09T12:56:54.389Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-09T12:56:56.221Z] Merging remotes/origin/main commit 5d59cb35b62932d64514d7317f29c1d7ee9592fa into PR head commit 327d507d784e0fc22922faefa320ff441dc2626f [2023-05-09T12:56:55.561Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-05-09T12:56:55.608Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-05-09T12:56:55.609Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T12:56:55.630Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/454/head:refs/remotes/origin/PR-454 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-09T12:56:56.237Z] > git config core.sparsecheckout # timeout=10 [2023-05-09T12:56:56.574Z] Merge succeeded, producing 327d507d784e0fc22922faefa320ff441dc2626f [2023-05-09T12:56:56.575Z] Checking out Revision 327d507d784e0fc22922faefa320ff441dc2626f (PR-454) [2023-05-09T12:56:56.323Z] > git checkout -f 327d507d784e0fc22922faefa320ff441dc2626f # timeout=10 [2023-05-09T12:56:56.470Z] > git remote # timeout=10 [2023-05-09T12:56:56.490Z] > git config --get remote.origin.url # timeout=10 [2023-05-09T12:56:56.516Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T12:56:56.531Z] > git merge 5d59cb35b62932d64514d7317f29c1d7ee9592fa # timeout=10 [2023-05-09T12:56:56.556Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-09T12:56:56.580Z] > git config core.sparsecheckout # timeout=10 [2023-05-09T12:56:56.596Z] > git checkout -f 327d507d784e0fc22922faefa320ff441dc2626f # timeout=10 [2023-05-09T12:57:01.279Z] Commit message: "refactor: metadata updates via bus not rest" [2023-05-09T12:57:01.344Z] > git --version # timeout=10 [2023-05-09T12:57:01.357Z] > git --version # 'git version 2.25.1' [2023-05-09T12:57:01.378Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T12:57:02.676Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-09T12:57:02.676Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-09T12:57:02.676Z] Dload Upload Total Spent Left Speed [2023-05-09T12:57:02.676Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2023-05-09T12:57:03.314Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-09T12:57:03.662Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-09T12:57:03.662Z] + sudo tee /etc/docker/daemon.new [2023-05-09T12:57:03.662Z] { [2023-05-09T12:57:03.662Z] "registry-mirrors": [ [2023-05-09T12:57:03.662Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-09T12:57:03.662Z] ], [2023-05-09T12:57:03.662Z] "bip": "10.250.0.254/24", [2023-05-09T12:57:03.662Z] "hosts": [ [2023-05-09T12:57:03.662Z] "tcp://0.0.0.0:5555", [2023-05-09T12:57:03.662Z] "unix:///var/run/docker.sock" [2023-05-09T12:57:03.662Z] ], [2023-05-09T12:57:03.662Z] "mtu": 1458, [2023-05-09T12:57:03.662Z] "selinux-enabled": true, [2023-05-09T12:57:03.662Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-09T12:57:03.662Z] } [Pipeline] sh [2023-05-09T12:57:04.010Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-09T12:57:04.365Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T12:57:22.677Z] provisioning config files... [2023-05-09T12:57:22.705Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config1430322290718111058tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T12:57:23.089Z] ---> docker-login.sh [2023-05-09T12:57:23.089Z] nexus3.edgexfoundry.org:10001 [2023-05-09T12:57:23.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T12:57:23.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T12:57:23.627Z] Configure a credential helper to remove this warning. See [2023-05-09T12:57:23.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T12:57:23.627Z] [2023-05-09T12:57:23.627Z] Login Succeeded [2023-05-09T12:57:23.896Z] nexus3.edgexfoundry.org:10002 [2023-05-09T12:57:23.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T12:57:24.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T12:57:24.164Z] Configure a credential helper to remove this warning. See [2023-05-09T12:57:24.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T12:57:24.164Z] [2023-05-09T12:57:24.164Z] Login Succeeded [2023-05-09T12:57:24.164Z] nexus3.edgexfoundry.org:10003 [2023-05-09T12:57:24.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T12:57:24.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T12:57:24.433Z] Configure a credential helper to remove this warning. See [2023-05-09T12:57:24.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T12:57:24.433Z] [2023-05-09T12:57:24.433Z] Login Succeeded [2023-05-09T12:57:24.433Z] nexus3.edgexfoundry.org:10004 [2023-05-09T12:57:24.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T12:57:24.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T12:57:24.705Z] Configure a credential helper to remove this warning. See [2023-05-09T12:57:24.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T12:57:24.705Z] [2023-05-09T12:57:24.705Z] Login Succeeded [2023-05-09T12:57:24.705Z] docker.io [2023-05-09T12:57:24.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T12:57:25.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T12:57:25.241Z] Configure a credential helper to remove this warning. See [2023-05-09T12:57:25.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T12:57:25.241Z] [2023-05-09T12:57:25.241Z] Login Succeeded [2023-05-09T12:57:25.241Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T12:57:25.268Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-09T12:57:25.699Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T12:57:25.728Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-05-09T12:57:25.760Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T12:57:25.790Z] ========================================================= [2023-05-09T12:57:25.790Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-05-09T12:57:25.790Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T12:57:26.224Z] + 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-05-09T12:57:26.492Z] Sending build context to Docker daemon 3.007MB [2023-05-09T12:57:26.492Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-05-09T12:57:26.492Z] Step 2/21 : FROM ${BASE} as builder [2023-05-09T12:57:29.838Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-05-09T12:57:29.838Z] 9b18e9b68314: Pulling fs layer [2023-05-09T12:57:29.838Z] 1def92ead452: Pulling fs layer [2023-05-09T12:57:29.838Z] 9b18e9b68314: Download complete [2023-05-09T12:57:30.108Z] 9b18e9b68314: Pull complete [2023-05-09T12:57:31.524Z] 1def92ead452: Verifying Checksum [2023-05-09T12:57:31.524Z] 1def92ead452: Download complete [2023-05-09T12:57:39.801Z] 1def92ead452: Pull complete [2023-05-09T12:57:39.801Z] Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c [2023-05-09T12:57:39.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-05-09T12:57:39.801Z] ---> 9a9802766715 [2023-05-09T12:57:39.801Z] 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-05-09T12:57:40.394Z] ---> Running in af07ac4c08dd [2023-05-09T12:57:41.363Z] Connecting to iotech.jfrog.io (54.154.20.53:443) [2023-05-09T12:57:41.952Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-09T12:57:41.952Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-09T12:57:41.952Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-09T12:57:43.905Z] Removing intermediate container af07ac4c08dd [2023-05-09T12:57:43.905Z] ---> 31832234441d [2023-05-09T12:57:43.905Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-09T12:57:44.181Z] ---> Running in adc4a3bc853c [2023-05-09T12:57:46.149Z] Removing intermediate container adc4a3bc853c [2023-05-09T12:57:46.149Z] ---> c24cecb427f3 [2023-05-09T12:57:46.149Z] 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-05-09T12:57:46.149Z] ---> Running in 0e128c544fd2 [2023-05-09T12:57:46.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-09T12:57:47.005Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-09T12:57:47.593Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-09T12:57:48.560Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-09T12:57:48.560Z] (1/14) Installing hiredis (1.0.2-r0) [2023-05-09T12:57:48.827Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-05-09T12:57:48.827Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-09T12:57:49.785Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-09T12:57:49.785Z] (5/14) Installing libcbor (0.9.0-r1) [2023-05-09T12:57:50.051Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-05-09T12:57:50.051Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-09T12:57:50.051Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-09T12:57:51.011Z] (9/14) Installing libblkid (2.38-r1) [2023-05-09T12:57:51.011Z] (10/14) Installing libuuid (2.38-r1) [2023-05-09T12:57:51.011Z] (11/14) Installing libfdisk (2.38-r1) [2023-05-09T12:57:51.011Z] (12/14) Installing libmount (2.38-r1) [2023-05-09T12:57:51.282Z] (13/14) Installing libsmartcols (2.38-r1) [2023-05-09T12:57:51.282Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-05-09T12:57:51.282Z] Executing busybox-1.35.0-r17.trigger [2023-05-09T12:57:51.282Z] OK: 286 MiB in 90 packages [2023-05-09T12:57:52.701Z] Removing intermediate container 0e128c544fd2 [2023-05-09T12:57:52.701Z] ---> 592de29cb10f [2023-05-09T12:57:52.701Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-05-09T12:57:52.701Z] ---> Running in 1da02f684fcf [2023-05-09T12:57:54.132Z] Removing intermediate container 1da02f684fcf [2023-05-09T12:57:54.132Z] ---> cf947ee2a0e0 [2023-05-09T12:57:54.132Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-05-09T12:57:56.721Z] ---> bae53d172869 [2023-05-09T12:57:56.721Z] Step 8/21 : COPY src /tmp/sdk/src [2023-05-09T12:57:57.303Z] ---> 0693848af7d6 [2023-05-09T12:57:57.304Z] Step 9/21 : COPY include /tmp/sdk/include [2023-05-09T12:57:57.571Z] ---> 0346d971d6d8 [2023-05-09T12:57:57.571Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-05-09T12:57:58.156Z] ---> ee78372fec89 [2023-05-09T12:57:58.156Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-05-09T12:57:58.737Z] ---> 9189a695a6df [2023-05-09T12:57:58.737Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-05-09T12:57:59.017Z] ---> c687f0493e85 [2023-05-09T12:57:59.017Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-05-09T12:57:59.017Z] ---> Running in 4ddcd295565a [2023-05-09T12:57:59.982Z] + CPPCHECK=false [2023-05-09T12:57:59.982Z] + DOCGEN=false [2023-05-09T12:57:59.982Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-05-09T12:57:59.982Z] + TOMLVER=SDK-0.2 [2023-05-09T12:57:59.982Z] + CUTILVER=1.4 [2023-05-09T12:57:59.982Z] + '[' 0 -gt 0 ] [2023-05-09T12:57:59.982Z] + readlink -f ./scripts/build.sh [2023-05-09T12:57:59.982Z] + dirname /tmp/sdk/scripts/build.sh [2023-05-09T12:57:59.982Z] + dirname /tmp/sdk/scripts [2023-05-09T12:57:59.982Z] + ROOT=/tmp/sdk [2023-05-09T12:57:59.982Z] + cd /tmp/sdk [2023-05-09T12:57:59.982Z] + '[' '!' -d deps ] [2023-05-09T12:57:59.982Z] + mkdir deps [2023-05-09T12:57:59.982Z] + tar -C deps -z -x -f - [2023-05-09T12:57:59.982Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-05-09T12:57:59.982Z] Connecting to github.com (140.82.113.3:443) [2023-05-09T12:58:00.258Z] Connecting to codeload.github.com (140.82.113.10:443) [2023-05-09T12:58:00.527Z] writing to stdout [2023-05-09T12:58:00.527Z] - 100% |********************************| 16451 0:00:00 ETA [2023-05-09T12:58:00.527Z] written to stdout [2023-05-09T12:58:00.527Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-05-09T12:58:00.527Z] + mkdir -p /tmp/sdk/build/release [2023-05-09T12:58:00.527Z] + cd /tmp/sdk/build/release [2023-05-09T12:58:00.527Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-05-09T12:58:00.794Z] -- The C compiler identification is GNU 11.2.1 [2023-05-09T12:58:01.061Z] -- Detecting C compiler ABI info [2023-05-09T12:58:01.329Z] -- Detecting C compiler ABI info - done [2023-05-09T12:58:01.329Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-09T12:58:01.329Z] -- Detecting C compile features [2023-05-09T12:58:01.329Z] -- Detecting C compile features - done [2023-05-09T12:58:01.329Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-09T12:58:01.597Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-05-09T12:58:01.597Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-09T12:58:01.597Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-09T12:58:01.597Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-09T12:58:01.597Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-09T12:58:01.597Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-09T12:58:01.597Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-09T12:58:01.597Z] -- /opt/iotech/iot/1.5/include [2023-05-09T12:58:01.597Z] -- C SDK 0.0.0 for Linux [2023-05-09T12:58:01.597Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-09T12:58:02.180Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-09T12:58:02.180Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-09T12:58:02.447Z] -- Configuring done [2023-05-09T12:58:02.716Z] -- Generating done [2023-05-09T12:58:02.716Z] -- Build files have been written to: /tmp/sdk/build/release [2023-05-09T12:58:02.716Z] + + maketee all release.log package [2023-05-09T12:58:02.716Z] [2023-05-09T12:58:02.716Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-09T12:58:04.127Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-09T12:58:05.084Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-09T12:58:06.043Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-09T12:58:07.001Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-09T12:58:07.963Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-09T12:58:11.305Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-09T12:58:12.712Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-09T12:58:12.979Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-09T12:58:14.393Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-09T12:58:16.972Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-09T12:58:17.934Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-09T12:58:18.898Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-09T12:58:19.860Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-09T12:58:20.448Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-09T12:58:21.865Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-09T12:58:22.134Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-09T12:58:25.480Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-09T12:58:25.480Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-09T12:58:26.439Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-09T12:58:27.846Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-09T12:58:34.483Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-09T12:58:34.751Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-09T12:58:35.333Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-09T12:58:36.292Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-09T12:58:36.558Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-09T12:58:38.499Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-09T12:58:41.835Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-09T12:58:41.835Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-09T12:58:43.243Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-09T12:58:43.824Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-09T12:58:48.071Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-05-09T12:58:53.407Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-09T12:58:53.989Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-09T12:58:54.572Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-09T12:58:55.156Z] [ 69%] Linking C shared library libcsdk.so [2023-05-09T12:58:55.423Z] [ 69%] Built target csdk [2023-05-09T12:58:55.423Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-09T12:58:56.829Z] [ 73%] Linking C executable template [2023-05-09T12:58:57.096Z] [ 73%] Built target template [2023-05-09T12:58:57.096Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-09T12:58:57.682Z] [ 76%] Linking C executable device-counter [2023-05-09T12:58:57.947Z] [ 76%] Built target device-counter [2023-05-09T12:58:58.214Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-09T12:58:58.797Z] [ 80%] Linking C executable device-random [2023-05-09T12:58:59.064Z] [ 80%] Built target device-random [2023-05-09T12:58:59.064Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-09T12:58:59.647Z] [ 84%] Linking C executable device-gyro [2023-05-09T12:59:00.228Z] [ 84%] Built target device-gyro [2023-05-09T12:59:00.228Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-09T12:59:00.811Z] [ 88%] Linking C executable device-bitfields [2023-05-09T12:59:01.078Z] [ 88%] Built target device-bitfields [2023-05-09T12:59:01.345Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-09T12:59:02.307Z] [ 92%] Linking C executable template-discovery [2023-05-09T12:59:02.573Z] [ 92%] Built target template-discovery [2023-05-09T12:59:02.838Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-09T12:59:03.796Z] [ 96%] Linking C executable device-file [2023-05-09T12:59:04.064Z] [ 96%] Built target device-file [2023-05-09T12:59:04.064Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-09T12:59:05.028Z] [100%] Linking C executable device-terminal [2023-05-09T12:59:05.295Z] [100%] Built target device-terminal [2023-05-09T12:59:05.295Z] Run CPack packaging tool... [2023-05-09T12:59:05.295Z] CPack: Create package using TGZ [2023-05-09T12:59:05.295Z] CPack: Install projects [2023-05-09T12:59:05.295Z] CPack: - Run preinstall target for: Csdk [2023-05-09T12:59:06.256Z] CPack: - Install project: Csdk [] [2023-05-09T12:59:06.256Z] CPack: Create package [2023-05-09T12:59:06.256Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-05-09T12:59:06.256Z] + '[' false '=' true ] [2023-05-09T12:59:06.256Z] + '[' false '=' true ] [2023-05-09T12:59:06.256Z] + mkdir -p /tmp/sdk/build/debug [2023-05-09T12:59:06.256Z] + cd /tmp/sdk/build/debug [2023-05-09T12:59:06.256Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-05-09T12:59:06.526Z] -- The C compiler identification is GNU 11.2.1 [2023-05-09T12:59:06.526Z] -- Detecting C compiler ABI info [2023-05-09T12:59:07.112Z] -- Detecting C compiler ABI info - done [2023-05-09T12:59:07.112Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-05-09T12:59:07.112Z] -- Detecting C compile features [2023-05-09T12:59:07.112Z] -- Detecting C compile features - done [2023-05-09T12:59:07.112Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-05-09T12:59:07.379Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-05-09T12:59:07.379Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-05-09T12:59:07.379Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-05-09T12:59:07.379Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-05-09T12:59:07.379Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-05-09T12:59:07.379Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-05-09T12:59:07.379Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-05-09T12:59:07.379Z] -- /opt/iotech/iot/1.5/include [2023-05-09T12:59:07.379Z] -- C SDK 0.0.0 for Linux [2023-05-09T12:59:07.379Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-05-09T12:59:07.646Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-05-09T12:59:07.914Z] -- Found Curses: /usr/lib/libcurses.so [2023-05-09T12:59:07.914Z] -- Configuring done [2023-05-09T12:59:08.501Z] -- Generating done [2023-05-09T12:59:08.501Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-05-09T12:59:08.501Z] + + teemake debug.log [2023-05-09T12:59:08.501Z] [2023-05-09T12:59:08.501Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-05-09T12:59:09.083Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-05-09T12:59:09.665Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-05-09T12:59:09.932Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-05-09T12:59:10.519Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-05-09T12:59:11.100Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-05-09T12:59:12.059Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-05-09T12:59:12.646Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-05-09T12:59:12.916Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-05-09T12:59:13.501Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-05-09T12:59:14.463Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-05-09T12:59:15.049Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-05-09T12:59:15.630Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-05-09T12:59:16.215Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-05-09T12:59:16.484Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-05-09T12:59:17.070Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-05-09T12:59:17.338Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-05-09T12:59:18.751Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-05-09T12:59:18.751Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-05-09T12:59:19.020Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-05-09T12:59:19.980Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-05-09T12:59:21.388Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-05-09T12:59:21.972Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-05-09T12:59:22.240Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-05-09T12:59:22.824Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-05-09T12:59:23.092Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-05-09T12:59:23.677Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-05-09T12:59:26.265Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-05-09T12:59:26.533Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-05-09T12:59:27.119Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-05-09T12:59:27.386Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-05-09T12:59:28.799Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-05-09T12:59:29.759Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-05-09T12:59:30.343Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-05-09T12:59:30.611Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-05-09T12:59:31.195Z] [ 69%] Linking C shared library libcsdk.so [2023-05-09T12:59:31.463Z] [ 69%] Built target csdk [2023-05-09T12:59:31.463Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-05-09T12:59:32.051Z] [ 73%] Linking C executable template [2023-05-09T12:59:32.321Z] [ 73%] Built target template [2023-05-09T12:59:32.321Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-05-09T12:59:32.906Z] [ 76%] Linking C executable device-counter [2023-05-09T12:59:33.175Z] [ 76%] Built target device-counter [2023-05-09T12:59:33.175Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-05-09T12:59:33.760Z] [ 80%] Linking C executable device-random [2023-05-09T12:59:34.030Z] [ 80%] Built target device-random [2023-05-09T12:59:34.030Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-05-09T12:59:34.614Z] [ 84%] Linking C executable device-gyro [2023-05-09T12:59:34.882Z] [ 84%] Built target device-gyro [2023-05-09T12:59:34.882Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-05-09T12:59:35.466Z] [ 88%] Linking C executable device-bitfields [2023-05-09T12:59:35.734Z] [ 88%] Built target device-bitfields [2023-05-09T12:59:35.734Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-05-09T12:59:36.318Z] [ 92%] Linking C executable template-discovery [2023-05-09T12:59:36.584Z] [ 92%] Built target template-discovery [2023-05-09T12:59:36.584Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-05-09T12:59:37.167Z] [ 96%] Linking C executable device-file [2023-05-09T12:59:37.433Z] [ 96%] Built target device-file [2023-05-09T12:59:37.433Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-05-09T12:59:38.017Z] [100%] Linking C executable device-terminal [2023-05-09T12:59:38.284Z] [100%] Built target device-terminal [2023-05-09T12:59:38.284Z] make: Entering directory '/tmp/sdk/build/release' [2023-05-09T12:59:38.552Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-05-09T12:59:38.552Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T12:59:38.552Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T12:59:38.552Z] [ 69%] Built target csdk [2023-05-09T12:59:38.552Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T12:59:38.552Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T12:59:38.552Z] [ 73%] Built target template [2023-05-09T12:59:38.552Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T12:59:38.552Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T12:59:38.820Z] [ 76%] Built target device-counter [2023-05-09T12:59:38.820Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T12:59:38.820Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T12:59:38.820Z] [ 80%] Built target device-random [2023-05-09T12:59:38.820Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T12:59:38.820Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T12:59:38.820Z] [ 84%] Built target device-gyro [2023-05-09T12:59:38.820Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T12:59:38.820Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T12:59:38.820Z] [ 88%] Built target device-bitfields [2023-05-09T12:59:38.820Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T12:59:38.820Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T12:59:38.820Z] [ 92%] Built target template-discovery [2023-05-09T12:59:39.088Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T12:59:39.088Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T12:59:39.088Z] [ 96%] Built target device-file [2023-05-09T12:59:39.088Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-05-09T12:59:39.088Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T12:59:39.088Z] [100%] Built target device-terminal [2023-05-09T12:59:39.088Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-05-09T12:59:39.088Z] Install the project... [2023-05-09T12:59:39.088Z] -- Install configuration: "Release" [2023-05-09T12:59:39.088Z] -- Installing: /usr/local/lib/libcsdk.so [2023-05-09T12:59:39.088Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-05-09T12:59:39.088Z] -- Installing: /usr/local/include [2023-05-09T12:59:39.088Z] -- Installing: /usr/local/include/devsdk [2023-05-09T12:59:39.088Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-05-09T12:59:39.088Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-05-09T12:59:39.088Z] -- Installing: /usr/local/include/edgex [2023-05-09T12:59:39.088Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-05-09T12:59:39.088Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-05-09T12:59:39.088Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-05-09T12:59:39.088Z] -- Installing: /usr/local/include/edgex/devices.h [2023-05-09T12:59:39.088Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-05-09T12:59:39.088Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-05-09T12:59:39.088Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-05-09T12:59:39.088Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-05-09T12:59:39.088Z] make: Leaving directory '/tmp/sdk/build/release' [2023-05-09T12:59:41.037Z] Removing intermediate container 4ddcd295565a [2023-05-09T12:59:41.037Z] ---> 1c8ef54a4ba9 [2023-05-09T12:59:41.037Z] Step 14/21 : FROM ${BASE} [2023-05-09T12:59:41.037Z] ---> 9a9802766715 [2023-05-09T12:59:41.037Z] Step 15/21 : LABEL maintainer="IOTech " [2023-05-09T12:59:41.037Z] ---> Running in 1a2613a25242 [2023-05-09T12:59:41.037Z] Removing intermediate container 1a2613a25242 [2023-05-09T12:59:41.037Z] ---> 726ec8d03b11 [2023-05-09T12:59:41.037Z] 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-05-09T12:59:41.309Z] ---> Running in 1bcadfc0acc7 [2023-05-09T12:59:42.276Z] Connecting to iotech.jfrog.io (79.125.13.46:443) [2023-05-09T12:59:42.545Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-09T12:59:42.545Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-09T12:59:42.545Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-09T12:59:45.142Z] Removing intermediate container 1bcadfc0acc7 [2023-05-09T12:59:45.142Z] ---> 1db996bacb24 [2023-05-09T12:59:45.142Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-09T12:59:45.142Z] ---> Running in ade3b5d9013f [2023-05-09T12:59:46.554Z] Removing intermediate container ade3b5d9013f [2023-05-09T12:59:46.554Z] ---> 320b56e919b9 [2023-05-09T12:59:46.554Z] 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-05-09T12:59:46.554Z] ---> Running in f6ac055c3150 [2023-05-09T12:59:47.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-09T12:59:47.783Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-09T12:59:48.451Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-09T12:59:49.428Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-09T12:59:49.428Z] (1/7) Installing curl (8.0.1-r0) [2023-05-09T12:59:49.428Z] (2/7) Installing hiredis (1.0.2-r0) [2023-05-09T12:59:49.428Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-05-09T12:59:49.428Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-05-09T12:59:50.416Z] (5/7) Installing libcbor (0.9.0-r1) [2023-05-09T12:59:50.416Z] (6/7) Installing libuuid (2.38-r1) [2023-05-09T12:59:50.416Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-05-09T12:59:51.388Z] Executing busybox-1.35.0-r17.trigger [2023-05-09T12:59:51.388Z] OK: 281 MiB in 83 packages [2023-05-09T12:59:52.400Z] Removing intermediate container f6ac055c3150 [2023-05-09T12:59:52.400Z] ---> a352c4ebc698 [2023-05-09T12:59:52.400Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-05-09T12:59:52.988Z] ---> 5c2c05e9c5bf [2023-05-09T12:59:52.988Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-05-09T12:59:53.573Z] ---> d5c7694a311a [2023-05-09T12:59:53.573Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-05-09T12:59:54.158Z] ---> e5ea5529c644 [2023-05-09T12:59:54.158Z] Successfully built e5ea5529c644 [2023-05-09T12:59:54.158Z] 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-05-09T12:59:54.892Z] + docker inspect -f . ci-base-image-arm64 [2023-05-09T12:59:54.892Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T12:59:55.178Z] prd-ubuntu20.04-docker-arm64-4c-16g-14673 does not seem to be running inside a container [2023-05-09T12:59:55.233Z] $ 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-05-09T12:59:59.241Z] $ docker top 7762d247ce7ba699cb9255e9e67b04d80f77b4a6e5c1258ea7747fb3767c123e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T13:00:00.109Z] + make test [2023-05-09T13:00:00.109Z] echo "make test" [2023-05-09T13:00:00.109Z] make test [Pipeline] } [2023-05-09T13:00:00.138Z] $ docker stop --time=1 7762d247ce7ba699cb9255e9e67b04d80f77b4a6e5c1258ea7747fb3767c123e [2023-05-09T13:00:01.738Z] $ docker rm -f --volumes 7762d247ce7ba699cb9255e9e67b04d80f77b4a6e5c1258ea7747fb3767c123e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T13:00:02.522Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-09T13:00:02.854Z] + ls -al . [2023-05-09T13:00:02.854Z] total 208 [2023-05-09T13:00:02.854Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 12:56 . [2023-05-09T13:00:02.854Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 12:56 .. [2023-05-09T13:00:02.854Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 12:56 .git [2023-05-09T13:00:02.854Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 12:56 .github [2023-05-09T13:00:02.854Z] -rw-rw-r-- 1 jenkins jenkins 176 May 9 12:56 .gitignore [2023-05-09T13:00:02.854Z] -rw-rw-r-- 1 jenkins jenkins 3104 May 9 12:56 Attribution.txt [2023-05-09T13:00:02.854Z] -rw-rw-r-- 1 jenkins jenkins 8743 May 9 12:56 CHANGES [2023-05-09T13:00:02.854Z] -rw-rw-r-- 1 jenkins jenkins 108574 May 9 12:56 Doxyfile [2023-05-09T13:00:02.854Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 12:56 GOVERNANCE.md [2023-05-09T13:00:02.854Z] -rw-rw-r-- 1 jenkins jenkins 784 May 9 12:56 Jenkinsfile [2023-05-09T13:00:02.854Z] -rw-rw-r-- 1 jenkins jenkins 10174 May 9 12:56 LICENSE [2023-05-09T13:00:02.854Z] -rw-rw-r-- 1 jenkins jenkins 444 May 9 12:56 Makefile [2023-05-09T13:00:02.854Z] -rw-rw-r-- 1 jenkins jenkins 618 May 9 12:56 OWNERS.md [2023-05-09T13:00:02.854Z] -rw-rw-r-- 1 jenkins jenkins 1651 May 9 12:56 README.IOT.md [2023-05-09T13:00:02.854Z] -rw-rw-r-- 1 jenkins jenkins 4215 May 9 12:56 README.md [2023-05-09T13:00:02.854Z] -rw-rw-r-- 1 jenkins jenkins 1245 May 9 12:56 README.v3.md [2023-05-09T13:00:02.854Z] -rw-rw-r-- 1 jenkins jenkins 5 May 9 12:54 VERSION [2023-05-09T13:00:02.854Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 12:56 docs [2023-05-09T13:00:02.854Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 12:56 include [2023-05-09T13:00:02.854Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 12:56 scripts [2023-05-09T13:00:02.854Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 12:56 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T13:00:03.270Z] + 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=327d507d784e0fc22922faefa320ff441dc2626f --label arch=arm64 --label version=0.0.0 . [2023-05-09T13:00:03.535Z] Sending build context to Docker daemon 3.007MB [2023-05-09T13:00:03.535Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-05-09T13:00:03.535Z] Step 2/17 : FROM ${BASE} [2023-05-09T13:00:03.535Z] ---> e5ea5529c644 [2023-05-09T13:00:03.535Z] Step 3/17 : LABEL maintainer="IOTech " [2023-05-09T13:00:03.801Z] ---> Running in d0fb2f3bf090 [2023-05-09T13:00:04.067Z] Removing intermediate container d0fb2f3bf090 [2023-05-09T13:00:04.067Z] ---> 3bcc13ab400d [2023-05-09T13:00:04.067Z] 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-05-09T13:00:04.067Z] ---> Running in 108d083a6583 [2023-05-09T13:00:05.023Z] Connecting to iotech.jfrog.io (52.215.121.178:443) [2023-05-09T13:00:05.288Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-05-09T13:00:05.288Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-05-09T13:00:05.288Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-05-09T13:00:06.250Z] Removing intermediate container 108d083a6583 [2023-05-09T13:00:06.250Z] ---> 5095216e3178 [2023-05-09T13:00:06.250Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-05-09T13:00:06.250Z] ---> Running in d9ca2d1695b3 [2023-05-09T13:00:07.667Z] Removing intermediate container d9ca2d1695b3 [2023-05-09T13:00:07.667Z] ---> 341089c421f0 [2023-05-09T13:00:07.667Z] 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-05-09T13:00:07.667Z] ---> Running in 6ebfdbf566cf [2023-05-09T13:00:08.628Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-09T13:00:08.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-05-09T13:00:09.478Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-05-09T13:00:10.067Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-05-09T13:00:10.332Z] (1/9) Installing iotech-iot-1.5 (1.5.0-r0) [2023-05-09T13:00:10.598Z] (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-05-09T13:00:10.870Z] (3/9) Installing libcbor-dev (0.9.0-r1) [2023-05-09T13:00:10.870Z] (4/9) Installing ncurses-dev (6.3_p20220521-r0) [2023-05-09T13:00:10.870Z] (5/9) Installing libblkid (2.38-r1) [2023-05-09T13:00:10.870Z] (6/9) Installing libfdisk (2.38-r1) [2023-05-09T13:00:10.870Z] (7/9) Installing libmount (2.38-r1) [2023-05-09T13:00:10.870Z] (8/9) Installing libsmartcols (2.38-r1) [2023-05-09T13:00:10.870Z] (9/9) Installing util-linux-dev (2.38-r1) [2023-05-09T13:00:10.870Z] Executing busybox-1.35.0-r17.trigger [2023-05-09T13:00:10.870Z] OK: 287 MiB in 92 packages [2023-05-09T13:00:13.456Z] Removing intermediate container 6ebfdbf566cf [2023-05-09T13:00:13.456Z] ---> 8725c6ae9ae5 [2023-05-09T13:00:13.456Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-05-09T13:00:13.456Z] ---> 8ba1747b87c2 [2023-05-09T13:00:13.456Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-05-09T13:00:14.051Z] ---> a230922c59f0 [2023-05-09T13:00:14.051Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-05-09T13:00:14.635Z] ---> 76fda661fd40 [2023-05-09T13:00:14.635Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-05-09T13:00:15.222Z] ---> 27e121644688 [2023-05-09T13:00:15.222Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-05-09T13:00:15.816Z] ---> aa60635f6359 [2023-05-09T13:00:15.816Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-05-09T13:00:16.083Z] ---> 427978b3b724 [2023-05-09T13:00:16.083Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-05-09T13:00:16.349Z] ---> Running in bc0e6120797e [2023-05-09T13:00:16.617Z] Removing intermediate container bc0e6120797e [2023-05-09T13:00:16.617Z] ---> 5b710088dade [2023-05-09T13:00:16.617Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-05-09T13:00:16.617Z] ---> Running in aa6b9af31227 [2023-05-09T13:00:16.885Z] Removing intermediate container aa6b9af31227 [2023-05-09T13:00:16.885Z] ---> 0d141286ebb3 [2023-05-09T13:00:16.885Z] Step 15/17 : LABEL arch=arm64 [2023-05-09T13:00:17.153Z] ---> Running in 38e2b034e6c7 [2023-05-09T13:00:17.421Z] Removing intermediate container 38e2b034e6c7 [2023-05-09T13:00:17.421Z] ---> c9702fe42dcf [2023-05-09T13:00:17.421Z] Step 16/17 : LABEL git_sha=327d507d784e0fc22922faefa320ff441dc2626f [2023-05-09T13:00:17.421Z] ---> Running in 67c311fdf8be [2023-05-09T13:00:17.687Z] Removing intermediate container 67c311fdf8be [2023-05-09T13:00:17.687Z] ---> cc615a5ba2e8 [2023-05-09T13:00:17.687Z] Step 17/17 : LABEL version=0.0.0 [2023-05-09T13:00:17.955Z] ---> Running in f75d02ab3288 [2023-05-09T13:00:18.230Z] Removing intermediate container f75d02ab3288 [2023-05-09T13:00:18.230Z] ---> 4e6f4f6181dd [2023-05-09T13:00:18.230Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-05-09T13:00:18.230Z] Successfully built 4e6f4f6181dd [2023-05-09T13:00:18.230Z] 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-05-09T13:00:19.061Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T13:00:19.061Z] [2023-05-09T13:00:19.061Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T13:00:19.466Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T13:00:19.467Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-09T13:00:19.467Z] 8998bd30e6a1: Pulling fs layer [2023-05-09T13:00:19.467Z] 04944245beec: Pulling fs layer [2023-05-09T13:00:19.467Z] 699f458cf7ca: Pulling fs layer [2023-05-09T13:00:19.467Z] 765212b225bb: Pulling fs layer [2023-05-09T13:00:19.467Z] f23df028b6ca: Pulling fs layer [2023-05-09T13:00:19.467Z] d65c8cfc05b1: Pulling fs layer [2023-05-09T13:00:19.467Z] 2437ff75d9bd: Pulling fs layer [2023-05-09T13:00:19.467Z] 765212b225bb: Waiting [2023-05-09T13:00:19.467Z] f23df028b6ca: Waiting [2023-05-09T13:00:19.467Z] d65c8cfc05b1: Waiting [2023-05-09T13:00:19.467Z] 2437ff75d9bd: Waiting [2023-05-09T13:00:19.737Z] 04944245beec: Verifying Checksum [2023-05-09T13:00:19.737Z] 04944245beec: Download complete [2023-05-09T13:00:19.737Z] 765212b225bb: Verifying Checksum [2023-05-09T13:00:19.737Z] 765212b225bb: Download complete [2023-05-09T13:00:19.737Z] f23df028b6ca: Verifying Checksum [2023-05-09T13:00:19.737Z] f23df028b6ca: Download complete [2023-05-09T13:00:19.737Z] d65c8cfc05b1: Verifying Checksum [2023-05-09T13:00:19.737Z] d65c8cfc05b1: Download complete [2023-05-09T13:00:19.737Z] 699f458cf7ca: Verifying Checksum [2023-05-09T13:00:19.737Z] 699f458cf7ca: Download complete [2023-05-09T13:00:20.323Z] 8998bd30e6a1: Verifying Checksum [2023-05-09T13:00:20.323Z] 8998bd30e6a1: Download complete [2023-05-09T13:00:22.904Z] 2437ff75d9bd: Verifying Checksum [2023-05-09T13:00:22.904Z] 2437ff75d9bd: Download complete [2023-05-09T13:00:24.320Z] 8998bd30e6a1: Pull complete [2023-05-09T13:00:26.274Z] 04944245beec: Pull complete [2023-05-09T13:00:27.684Z] 699f458cf7ca: Pull complete [2023-05-09T13:00:27.953Z] 765212b225bb: Pull complete [2023-05-09T13:00:28.914Z] f23df028b6ca: Pull complete [2023-05-09T13:00:28.914Z] d65c8cfc05b1: Pull complete [2023-05-09T13:00:43.929Z] 2437ff75d9bd: Pull complete [2023-05-09T13:00:43.929Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-09T13:00:43.929Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T13:00:43.929Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T13:00:44.263Z] prd-ubuntu20.04-docker-arm64-4c-16g-14673 does not seem to be running inside a container [2023-05-09T13:00:44.320Z] $ 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-05-09T13:00:46.737Z] $ docker top 878114fec09f60b1924126c6fb946ab15f58d48372c754168e089adc76556e3b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T13:00:47.628Z] ---> job-cost.sh [2023-05-09T13:00:47.628Z] lf-activate-venv: SKIPPING [2023-05-09T13:00:47.628Z] INFO: No Stack... [2023-05-09T13:00:47.895Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-09T13:00:48.860Z] INFO: Archiving Costs [Pipeline] sh [2023-05-09T13:00:49.204Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2023-05-09T13:00:49.205Z] + cut -d, -f6 [Pipeline] lock [2023-05-09T13:00:49.540Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-454-1-stack-cost] [2023-05-09T13:00:49.545Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-454-1-stack-cost] did not exist. Created. [2023-05-09T13:00:49.545Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-454-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-09T13:00:49.956Z] /w/workspace/device-sdk-c/1@tmp/durable-a67dea11/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-09T13:00:50.306Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-09T13:00:50.342Z] Warning: overwriting stash ‘stack-cost’ [2023-05-09T13:00:51.015Z] Stashed 1 file(s) [Pipeline] } [2023-05-09T13:00:51.030Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-454-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-09T13:00:51.094Z] $ docker stop --time=1 878114fec09f60b1924126c6fb946ab15f58d48372c754168e089adc76556e3b [2023-05-09T13:00:53.662Z] $ docker rm -f --volumes 878114fec09f60b1924126c6fb946ab15f58d48372c754168e089adc76556e3b [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-05-09T13:00:55.275Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-454/archives ] [2023-05-09T13:00:55.275Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-454/archives [2023-05-09T13:00:55.275Z] total 16 [2023-05-09T13:00:55.275Z] drwxr-xr-x 3 root root 4096 May 9 12:55 . [2023-05-09T13:00:55.275Z] drwxrwxr-x 10 jenkins jenkins 4096 May 9 12:55 .. [2023-05-09T13:00:55.275Z] drwxr-xr-x 2 root root 4096 May 9 12:55 cost [2023-05-09T13:00:55.275Z] -rw-r--r-- 1 root root 84 May 9 12:55 cost.csv [2023-05-09T13:00:55.275Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-454/archives [2023-05-09T13:00:55.275Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-454/archives [2023-05-09T13:00:55.275Z] total 16 [2023-05-09T13:00:55.275Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 12:55 . [2023-05-09T13:00:55.275Z] drwxrwxr-x 10 jenkins jenkins 4096 May 9 12:55 .. [2023-05-09T13:00:55.275Z] drwxr-xr-x 2 jenkins jenkins 4096 May 9 12:55 cost [2023-05-09T13:00:55.275Z] -rw-r--r-- 1 jenkins jenkins 84 May 9 12:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-09T13:00:55.609Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T13:00:56.501Z] ---> package-listing.sh [2023-05-09T13:00:56.501Z] ++ facter osfamily [2023-05-09T13:00:56.501Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-09T13:00:56.761Z] + OS_FAMILY=debian [2023-05-09T13:00:56.761Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-454 [2023-05-09T13:00:56.761Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-09T13:00:56.761Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-09T13:00:56.761Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-09T13:00:56.761Z] + PACKAGES=/tmp/packages_start.txt [2023-05-09T13:00:56.761Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-454 ']' [2023-05-09T13:00:56.761Z] + PACKAGES=/tmp/packages_end.txt [2023-05-09T13:00:56.761Z] + case "${OS_FAMILY}" in [2023-05-09T13:00:56.761Z] + dpkg -l [2023-05-09T13:00:56.761Z] + grep '^ii' [2023-05-09T13:00:56.761Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-09T13:00:56.761Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-09T13:00:56.761Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-09T13:00:56.761Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-454 ']' [2023-05-09T13:00:56.761Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-454/archives/ [2023-05-09T13:00:56.761Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-454/archives/ [Pipeline] echo [2023-05-09T13:00:56.795Z] 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-454/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-09T13:00:57.087Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T13:00:57.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T13:00:57.713Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T13:00:57.856Z] prd-ubuntu20.04-docker-8c-8g-14672 does not seem to be running inside a container [2023-05-09T13:00:57.891Z] $ 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-454/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-454 -v /w/workspace/edgexfoundry_device-sdk-c_PR-454:/w/workspace/edgexfoundry_device-sdk-c_PR-454:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-454@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-454@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-05-09T13:00:58.142Z] $ docker top 533bdd30189b3e57e40ff56f0929478171183bf6c2017f87dcf00c00e88db096 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T13:00:58.518Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-09T13:00:58.834Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-09T13:00:59.140Z] + ls /var/log/sa-host [2023-05-09T13:00:59.140Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T13:00:59.279Z] provisioning config files... [2023-05-09T13:00:59.288Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-454@tmp/config15476835530982052064tmp [Pipeline] { [Pipeline] echo [2023-05-09T13:00:59.337Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T13:00:59.651Z] ---> create-netrc.sh [Pipeline] } [2023-05-09T13:00:59.682Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-09T13:01:00.079Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-09T13:01:00.112Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T13:01:00.428Z] ---> sudo-logs.sh [2023-05-09T13:01:00.428Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-09T13:01:00.570Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T13:01:00.881Z] ---> job-cost.sh [2023-05-09T13:01:00.881Z] lf-activate-venv: SKIPPING [2023-05-09T13:01:00.881Z] DEBUG: total: 0.2199999988079071 [2023-05-09T13:01:00.881Z] INFO: Retrieving Stack Cost... [2023-05-09T13:01:01.453Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-09T13:01:01.714Z] INFO: Archiving Costs [Pipeline] echo [2023-05-09T13:01:01.748Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T13:01:02.061Z] ---> logs-deploy.sh [2023-05-09T13:01:02.061Z] lf-activate-venv: SKIPPING [2023-05-09T13:01:02.061Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-454/1 [2023-05-09T13:01:02.061Z] INFO: archiving workspace using pattern(s): [2023-05-09T13:01:02.999Z] Archives upload complete. [2023-05-09T13:01:02.999Z] INFO: archiving logs to Nexus [2023-05-09T13:01:03.567Z] ---> uname -a: [2023-05-09T13:01:03.567Z] Linux prd-ubuntu20-04-docker-8c-8g-14672 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-05-09T13:01:03.567Z] [2023-05-09T13:01:03.567Z] [2023-05-09T13:01:03.567Z] ---> lscpu: [2023-05-09T13:01:03.567Z] Architecture: x86_64 [2023-05-09T13:01:03.567Z] CPU op-mode(s): 32-bit, 64-bit [2023-05-09T13:01:03.567Z] Byte Order: Little Endian [2023-05-09T13:01:03.567Z] Address sizes: 40 bits physical, 48 bits virtual [2023-05-09T13:01:03.567Z] CPU(s): 8 [2023-05-09T13:01:03.567Z] On-line CPU(s) list: 0-7 [2023-05-09T13:01:03.567Z] Thread(s) per core: 1 [2023-05-09T13:01:03.567Z] Core(s) per socket: 1 [2023-05-09T13:01:03.567Z] Socket(s): 8 [2023-05-09T13:01:03.567Z] NUMA node(s): 1 [2023-05-09T13:01:03.567Z] Vendor ID: AuthenticAMD [2023-05-09T13:01:03.567Z] CPU family: 23 [2023-05-09T13:01:03.567Z] Model: 49 [2023-05-09T13:01:03.567Z] Model name: AMD EPYC-Rome Processor [2023-05-09T13:01:03.567Z] Stepping: 0 [2023-05-09T13:01:03.567Z] CPU MHz: 2799.998 [2023-05-09T13:01:03.567Z] BogoMIPS: 5599.99 [2023-05-09T13:01:03.567Z] Virtualization: AMD-V [2023-05-09T13:01:03.567Z] Hypervisor vendor: KVM [2023-05-09T13:01:03.567Z] Virtualization type: full [2023-05-09T13:01:03.567Z] L1d cache: 256 KiB [2023-05-09T13:01:03.567Z] L1i cache: 256 KiB [2023-05-09T13:01:03.567Z] L2 cache: 4 MiB [2023-05-09T13:01:03.567Z] L3 cache: 128 MiB [2023-05-09T13:01:03.567Z] NUMA node0 CPU(s): 0-7 [2023-05-09T13:01:03.567Z] Vulnerability Itlb multihit: Not affected [2023-05-09T13:01:03.567Z] Vulnerability L1tf: Not affected [2023-05-09T13:01:03.567Z] Vulnerability Mds: Not affected [2023-05-09T13:01:03.567Z] Vulnerability Meltdown: Not affected [2023-05-09T13:01:03.567Z] Vulnerability Mmio stale data: Not affected [2023-05-09T13:01:03.567Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-05-09T13:01:03.567Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-05-09T13:01:03.567Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-05-09T13:01:03.567Z] Vulnerability Srbds: Not affected [2023-05-09T13:01:03.567Z] Vulnerability Tsx async abort: Not affected [2023-05-09T13:01:03.567Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-05-09T13:01:03.567Z] [2023-05-09T13:01:03.567Z] [2023-05-09T13:01:03.567Z] ---> nproc: [2023-05-09T13:01:03.567Z] 8 [2023-05-09T13:01:03.567Z] [2023-05-09T13:01:03.567Z]