Pull request #480 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 34c657e38ec517a99e13edaa49f10ff67381ac75+3bd72eafd135fc13cc0388e2e4a2395f7020de89 (f608d06c6a25248841144aea7f3373ba675d6f3f) 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-ssh15332404360535712471.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh1931792219582237876.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-480/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-480/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3120473880565977837.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-480/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4882932944810432964.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh10859701530975247932.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-480/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-480/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10832302213553984189.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4876 in /w/workspace/edgexfoundry_device-sdk-c_PR-480 [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-480 # 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/480/head:refs/remotes/origin/PR-480 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3bd72eafd135fc13cc0388e2e4a2395f7020de89 into PR head commit 34c657e38ec517a99e13edaa49f10ff67381ac75 Merge succeeded, producing 34c657e38ec517a99e13edaa49f10ff67381ac75 Checking out Revision 34c657e38ec517a99e13edaa49f10ff67381ac75 (PR-480) > git config core.sparsecheckout # timeout=10 > git checkout -f 34c657e38ec517a99e13edaa49f10ff67381ac75 # 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 3bd72eafd135fc13cc0388e2e4a2395f7020de89 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 34c657e38ec517a99e13edaa49f10ff67381ac75 # timeout=10 Commit message: "fix: support for any JSON data type in device command value" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-30T09:37:58.848Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-30T09:37:59.005Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-30T09:37:59.094Z] ========================================================= [2023-08-30T09:37:59.095Z] EdgeX Global Pipelines Version Info [2023-08-30T09:37:59.095Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-30T09:37:59.851Z] ------------------- [2023-08-30T09:37:59.852Z] stable info: [2023-08-30T09:37:59.852Z] ------------------- [2023-08-30T09:37:59.852Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-30T09:37:59.852Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-30T09:37:59.852Z] Message: update stable to v1.0.253 [2023-08-30T09:38:00.423Z] ------------------- [2023-08-30T09:38:00.423Z] experimental info: [2023-08-30T09:38:00.423Z] ------------------- [2023-08-30T09:38:00.423Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-30T09:38:00.423Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-30T09:38:00.423Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-30T09:38:00.702Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-08-30T09:38:00.740Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-08-30T09:38:00.769Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-30T09:38:00.801Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-30T09:38:00.837Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-30T09:38:00.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-08-30T09:38:00.906Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-08-30T09:38:00.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-30T09:38:00.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-30T09:38:01.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-08-30T09:38:01.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-30T09:38:01.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-30T09:38:01.162Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-30T09:38:01.200Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-30T09:38:01.245Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-30T09:38:01.283Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-30T09:38:01.318Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-30T09:38:01.355Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-480 [Pipeline] echo [2023-08-30T09:38:01.392Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-480 [Pipeline] echo [2023-08-30T09:38:01.429Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-480 [Pipeline] echo [2023-08-30T09:38:01.465Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 34c657e38ec517a99e13edaa49f10ff67381ac75 [Pipeline] echo [2023-08-30T09:38:01.503Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 34c657e [Pipeline] echo [2023-08-30T09:38:01.545Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-30T09:38:01.651Z] provisioning config files... [2023-08-30T09:38:01.663Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-480@tmp/config17563579346135487161tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T09:38:02.001Z] ---> docker-login.sh [2023-08-30T09:38:02.001Z] nexus3.edgexfoundry.org:10001 [2023-08-30T09:38:02.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T09:38:02.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T09:38:02.262Z] Configure a credential helper to remove this warning. See [2023-08-30T09:38:02.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T09:38:02.262Z] [2023-08-30T09:38:02.262Z] Login Succeeded [2023-08-30T09:38:02.262Z] nexus3.edgexfoundry.org:10002 [2023-08-30T09:38:02.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T09:38:02.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T09:38:02.523Z] Configure a credential helper to remove this warning. See [2023-08-30T09:38:02.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T09:38:02.523Z] [2023-08-30T09:38:02.523Z] Login Succeeded [2023-08-30T09:38:02.523Z] nexus3.edgexfoundry.org:10003 [2023-08-30T09:38:02.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T09:38:02.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T09:38:02.523Z] Configure a credential helper to remove this warning. See [2023-08-30T09:38:02.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T09:38:02.523Z] [2023-08-30T09:38:02.523Z] Login Succeeded [2023-08-30T09:38:02.523Z] nexus3.edgexfoundry.org:10004 [2023-08-30T09:38:02.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T09:38:02.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T09:38:02.783Z] Configure a credential helper to remove this warning. See [2023-08-30T09:38:02.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T09:38:02.783Z] [2023-08-30T09:38:02.783Z] Login Succeeded [2023-08-30T09:38:02.783Z] docker.io [2023-08-30T09:38:02.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T09:38:03.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T09:38:03.044Z] Configure a credential helper to remove this warning. See [2023-08-30T09:38:03.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T09:38:03.044Z] [2023-08-30T09:38:03.044Z] Login Succeeded [2023-08-30T09:38:03.044Z] ---> docker-login.sh ends [Pipeline] } [2023-08-30T09:38:03.077Z] 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-08-30T09:38:03.681Z] + git rev-list -1 --merges 34c657e38ec517a99e13edaa49f10ff67381ac75~1..34c657e38ec517a99e13edaa49f10ff67381ac75 [Pipeline] echo [2023-08-30T09:38:03.749Z] -----------> git rev-list -1 --merges 34c657e38ec517a99e13edaa49f10ff67381ac75~1..34c657e38ec517a99e13edaa49f10ff67381ac75 34c657e38ec517a99e13edaa49f10ff67381ac75 [false] [Pipeline] sh [2023-08-30T09:38:04.055Z] + git log --format=format:%s -1 34c657e38ec517a99e13edaa49f10ff67381ac75 [Pipeline] echo [2023-08-30T09:38:04.090Z] ========================================================= [2023-08-30T09:38:04.090Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-30T09:38:04.090Z] ========================================================= 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-08-30T09:38:04.919Z] + git rev-list -1 --merges 34c657e38ec517a99e13edaa49f10ff67381ac75~1..34c657e38ec517a99e13edaa49f10ff67381ac75 [Pipeline] echo [2023-08-30T09:38:04.947Z] -----------> git rev-list -1 --merges 34c657e38ec517a99e13edaa49f10ff67381ac75~1..34c657e38ec517a99e13edaa49f10ff67381ac75 34c657e38ec517a99e13edaa49f10ff67381ac75 [false] [Pipeline] sh [2023-08-30T09:38:05.252Z] + git log --format=format:%s -1 34c657e38ec517a99e13edaa49f10ff67381ac75 [Pipeline] echo [2023-08-30T09:38:05.287Z] ========================================================= [2023-08-30T09:38:05.287Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-30T09:38:05.287Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-08-30T09:38:05.790Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-30T09:38:05.790Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-30T09:38:05.790Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-30T09:38:05.790Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-30T09:38:05.790Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-30T09:38:05.790Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-30T09:38:05.790Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T09:38:06.292Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-30T09:38:06.292Z] [2023-08-30T09:38:06.292Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T09:38:06.676Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-30T09:38:06.676Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-30T09:38:06.676Z] b85a868b505f: Pulling fs layer [2023-08-30T09:38:06.676Z] e2be974225ed: Pulling fs layer [2023-08-30T09:38:06.676Z] 339a4e72a1f5: Pulling fs layer [2023-08-30T09:38:06.676Z] 988bab9f4d93: Pulling fs layer [2023-08-30T09:38:06.676Z] 1469e6f7b9e6: Pulling fs layer [2023-08-30T09:38:06.676Z] eaf3925da568: Pulling fs layer [2023-08-30T09:38:06.676Z] bab4dde63d76: Pulling fs layer [2023-08-30T09:38:06.676Z] bde34c3a00c8: Pulling fs layer [2023-08-30T09:38:06.676Z] b352a97aabf1: Pulling fs layer [2023-08-30T09:38:06.676Z] 4872d77fe225: Pulling fs layer [2023-08-30T09:38:06.676Z] 5851b861e8e6: Pulling fs layer [2023-08-30T09:38:06.676Z] 1469e6f7b9e6: Waiting [2023-08-30T09:38:06.676Z] eaf3925da568: Waiting [2023-08-30T09:38:06.676Z] bab4dde63d76: Waiting [2023-08-30T09:38:06.676Z] 4872d77fe225: Waiting [2023-08-30T09:38:06.676Z] 5851b861e8e6: Waiting [2023-08-30T09:38:06.676Z] bde34c3a00c8: Waiting [2023-08-30T09:38:06.676Z] b352a97aabf1: Waiting [2023-08-30T09:38:06.676Z] 988bab9f4d93: Waiting [2023-08-30T09:38:06.676Z] e2be974225ed: Download complete [2023-08-30T09:38:06.676Z] 988bab9f4d93: Verifying Checksum [2023-08-30T09:38:06.676Z] 988bab9f4d93: Download complete [2023-08-30T09:38:06.676Z] 1469e6f7b9e6: Verifying Checksum [2023-08-30T09:38:06.676Z] 1469e6f7b9e6: Download complete [2023-08-30T09:38:06.940Z] 339a4e72a1f5: Verifying Checksum [2023-08-30T09:38:06.940Z] 339a4e72a1f5: Download complete [2023-08-30T09:38:06.940Z] bde34c3a00c8: Download complete [2023-08-30T09:38:06.940Z] b352a97aabf1: Download complete [2023-08-30T09:38:06.940Z] 4872d77fe225: Verifying Checksum [2023-08-30T09:38:06.940Z] 4872d77fe225: Download complete [2023-08-30T09:38:06.940Z] 5851b861e8e6: Verifying Checksum [2023-08-30T09:38:06.940Z] 5851b861e8e6: Download complete [2023-08-30T09:38:06.940Z] b85a868b505f: Verifying Checksum [2023-08-30T09:38:06.940Z] b85a868b505f: Download complete [2023-08-30T09:38:07.200Z] bab4dde63d76: Download complete [2023-08-30T09:38:08.584Z] b85a868b505f: Pull complete [2023-08-30T09:38:08.584Z] e2be974225ed: Pull complete [2023-08-30T09:38:08.844Z] 339a4e72a1f5: Pull complete [2023-08-30T09:38:08.844Z] 988bab9f4d93: Pull complete [2023-08-30T09:38:09.414Z] 1469e6f7b9e6: Pull complete [2023-08-30T09:38:09.414Z] eaf3925da568: Pull complete [2023-08-30T09:38:11.315Z] bab4dde63d76: Pull complete [2023-08-30T09:38:11.315Z] bde34c3a00c8: Pull complete [2023-08-30T09:38:11.315Z] b352a97aabf1: Pull complete [2023-08-30T09:38:11.315Z] 4872d77fe225: Pull complete [2023-08-30T09:38:11.315Z] 5851b861e8e6: Pull complete [2023-08-30T09:38:11.315Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-30T09:38:11.315Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-30T09:38:11.315Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T09:38:11.531Z] prd-ubuntu20.04-docker-8c-8g-4876 does not seem to be running inside a container [2023-08-30T09:38:11.563Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-480 -v /w/workspace/edgexfoundry_device-sdk-c_PR-480:/w/workspace/edgexfoundry_device-sdk-c_PR-480:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-480@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-480@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-08-30T09:38:15.397Z] $ docker top 424c28504b0bbf3bd16ddc327fbeae1a818215e609feef91fe2678b10847e9a6 -eo pid,comm [2023-08-30T09:38:15.446Z] 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-08-30T09:38:15.446Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-30T09:38:15.568Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-30T09:38:15.568Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-30T09:38:15.674Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-30T09:38:15.680Z] $ docker exec 424c28504b0bbf3bd16ddc327fbeae1a818215e609feef91fe2678b10847e9a6 ssh-agent [2023-08-30T09:38:15.790Z] SSH_AUTH_SOCK=/tmp/ssh-COPWtljJvL4a/agent.32 [2023-08-30T09:38:15.790Z] SSH_AGENT_PID=38 [2023-08-30T09:38:15.796Z] Running ssh-add (command line suppressed) [2023-08-30T09:38:15.901Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-480@tmp/private_key_15406834060061343644.key (/w/workspace/edgexfoundry_device-sdk-c_PR-480@tmp/private_key_15406834060061343644.key) [2023-08-30T09:38:15.914Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-30T09:38:16.243Z] + git tag --points-at HEAD [Pipeline] } [2023-08-30T09:38:16.274Z] $ docker exec --env ******** --env ******** 424c28504b0bbf3bd16ddc327fbeae1a818215e609feef91fe2678b10847e9a6 ssh-agent -k [2023-08-30T09:38:16.375Z] unset SSH_AUTH_SOCK; [2023-08-30T09:38:16.376Z] unset SSH_AGENT_PID; [2023-08-30T09:38:16.376Z] echo Agent pid 38 killed; [2023-08-30T09:38:16.384Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-30T09:38:16.474Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-30T09:38:16.474Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-30T09:38:16.578Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-30T09:38:16.584Z] $ docker exec 424c28504b0bbf3bd16ddc327fbeae1a818215e609feef91fe2678b10847e9a6 ssh-agent [2023-08-30T09:38:16.675Z] SSH_AUTH_SOCK=/tmp/ssh-IwEuYjQsemzk/agent.70 [2023-08-30T09:38:16.675Z] SSH_AGENT_PID=76 [2023-08-30T09:38:16.679Z] Running ssh-add (command line suppressed) [2023-08-30T09:38:16.777Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-480@tmp/private_key_13399782660013593556.key (/w/workspace/edgexfoundry_device-sdk-c_PR-480@tmp/private_key_13399782660013593556.key) [2023-08-30T09:38:16.788Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-30T09:38:17.114Z] + git semver init [2023-08-30T09:38:17.373Z] 2023-08-30 09:38:17,308 [run_init] DEBUG init version:0.0.0 force:False [2023-08-30T09:38:17.373Z] 2023-08-30 09:38:17,309 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-480/.semver [2023-08-30T09:38:17.373Z] 2023-08-30 09:38:17,309 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-480/.semver [2023-08-30T09:38:17.373Z] 2023-08-30 09:38:17,309 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-480/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-480, universal_newlines=False, shell=None, istream=None) [2023-08-30T09:38:18.311Z] 2023-08-30 09:38:18,160 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-480/.git/info/exclude [2023-08-30T09:38:18.311Z] 2023-08-30 09:38:18,161 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-480/.semver/PR-480 with force:False [2023-08-30T09:38:18.311Z] 2023-08-30 09:38:18,161 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-480/.semver/PR-480 [2023-08-30T09:38:18.312Z] 2023-08-30 09:38:18,165 [execute] INFO git cat-file --batch-check [2023-08-30T09:38:18.312Z] 2023-08-30 09:38:18,165 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-480/.semver, universal_newlines=False, shell=None, istream=) [2023-08-30T09:38:18.312Z] 2023-08-30 09:38:18,171 [execute] INFO git cat-file --batch [2023-08-30T09:38:18.312Z] 2023-08-30 09:38:18,171 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-480/.semver, universal_newlines=False, shell=None, istream=) [2023-08-30T09:38:18.312Z] 2023-08-30 09:38:18,177 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-480/.semver/PR-480 [2023-08-30T09:38:18.312Z] 0.0.0 [Pipeline] } [2023-08-30T09:38:18.339Z] $ docker exec --env ******** --env ******** 424c28504b0bbf3bd16ddc327fbeae1a818215e609feef91fe2678b10847e9a6 ssh-agent -k [2023-08-30T09:38:18.436Z] unset SSH_AUTH_SOCK; [2023-08-30T09:38:18.437Z] unset SSH_AGENT_PID; [2023-08-30T09:38:18.437Z] echo Agent pid 76 killed; [2023-08-30T09:38:18.444Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-30T09:38:18.864Z] + git semver [Pipeline] } [2023-08-30T09:38:19.151Z] $ docker stop --time=1 424c28504b0bbf3bd16ddc327fbeae1a818215e609feef91fe2678b10847e9a6 [2023-08-30T09:38:20.476Z] $ docker rm -f --volumes 424c28504b0bbf3bd16ddc327fbeae1a818215e609feef91fe2678b10847e9a6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-30T09:38:20.873Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-30T09:38:21.144Z] Stashed 1 file(s) [Pipeline] echo [2023-08-30T09:38:21.161Z] [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-08-30T09:38:21.719Z] provisioning config files... [2023-08-30T09:38:21.729Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-480@tmp/config8520810550743338701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T09:38:22.076Z] ---> docker-login.sh [2023-08-30T09:38:22.076Z] nexus3.edgexfoundry.org:10001 [2023-08-30T09:38:22.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T09:38:22.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T09:38:22.076Z] Configure a credential helper to remove this warning. See [2023-08-30T09:38:22.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T09:38:22.076Z] [2023-08-30T09:38:22.076Z] Login Succeeded [2023-08-30T09:38:22.076Z] nexus3.edgexfoundry.org:10002 [2023-08-30T09:38:22.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T09:38:22.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T09:38:22.077Z] Configure a credential helper to remove this warning. See [2023-08-30T09:38:22.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T09:38:22.077Z] [2023-08-30T09:38:22.077Z] Login Succeeded [2023-08-30T09:38:22.077Z] nexus3.edgexfoundry.org:10003 [2023-08-30T09:38:22.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T09:38:22.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T09:38:22.337Z] Configure a credential helper to remove this warning. See [2023-08-30T09:38:22.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T09:38:22.337Z] [2023-08-30T09:38:22.337Z] Login Succeeded [2023-08-30T09:38:22.337Z] nexus3.edgexfoundry.org:10004 [2023-08-30T09:38:22.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T09:38:22.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T09:38:22.337Z] Configure a credential helper to remove this warning. See [2023-08-30T09:38:22.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T09:38:22.337Z] [2023-08-30T09:38:22.337Z] Login Succeeded [2023-08-30T09:38:22.337Z] docker.io [2023-08-30T09:38:22.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T09:38:22.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T09:38:22.596Z] Configure a credential helper to remove this warning. See [2023-08-30T09:38:22.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T09:38:22.596Z] [2023-08-30T09:38:22.596Z] Login Succeeded [2023-08-30T09:38:22.596Z] ---> docker-login.sh ends [Pipeline] } [2023-08-30T09:38:22.625Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-30T09:38:22.821Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T09:38:22.852Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-08-30T09:38:22.887Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T09:38:22.918Z] ========================================================= [2023-08-30T09:38:22.918Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-08-30T09:38:22.918Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T09:38:23.339Z] + 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-08-30T09:38:23.339Z] Sending build context to Docker daemon 4.902MB [2023-08-30T09:38:23.339Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-08-30T09:38:23.339Z] Step 2/21 : FROM ${BASE} as builder [2023-08-30T09:38:23.339Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-08-30T09:38:23.339Z] 91d30c5bc195: Pulling fs layer [2023-08-30T09:38:23.339Z] 316e5a4585fb: Pulling fs layer [2023-08-30T09:38:23.598Z] 91d30c5bc195: Verifying Checksum [2023-08-30T09:38:23.598Z] 91d30c5bc195: Download complete [2023-08-30T09:38:23.598Z] 91d30c5bc195: Pull complete [2023-08-30T09:38:24.166Z] 316e5a4585fb: Download complete [2023-08-30T09:38:26.696Z] 316e5a4585fb: Pull complete [2023-08-30T09:38:26.696Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-08-30T09:38:26.696Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-08-30T09:38:26.696Z] ---> e83ffa357ff4 [2023-08-30T09:38:26.696Z] 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-08-30T09:38:29.232Z] ---> Running in f1ef665eae00 [2023-08-30T09:38:29.232Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-08-30T09:38:29.798Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-30T09:38:29.798Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-30T09:38:29.798Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-30T09:38:30.057Z] Removing intermediate container f1ef665eae00 [2023-08-30T09:38:30.057Z] ---> ec3e86b62689 [2023-08-30T09:38:30.057Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-30T09:38:30.057Z] ---> Running in c9cc18d823dd [2023-08-30T09:38:30.631Z] Removing intermediate container c9cc18d823dd [2023-08-30T09:38:30.631Z] ---> aa9493593fc5 [2023-08-30T09:38:30.631Z] 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-08-30T09:38:30.631Z] ---> Running in e3e9f47eb053 [2023-08-30T09:38:30.890Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-30T09:38:31.149Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-08-30T09:38:31.149Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-30T09:38:31.717Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-30T09:38:31.717Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-30T09:38:31.717Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-30T09:38:31.717Z] (3/16) Installing hiredis (1.0.2-r0) [2023-08-30T09:38:31.717Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-08-30T09:38:31.717Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-30T09:38:32.656Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-30T09:38:32.656Z] (7/16) Installing libcbor (0.9.0-r1) [2023-08-30T09:38:32.656Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-08-30T09:38:32.656Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-30T09:38:32.656Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-30T09:38:33.225Z] (11/16) Installing libblkid (2.38-r1) [2023-08-30T09:38:33.226Z] (12/16) Installing libuuid (2.38-r1) [2023-08-30T09:38:33.226Z] (13/16) Installing libfdisk (2.38-r1) [2023-08-30T09:38:33.226Z] (14/16) Installing libmount (2.38-r1) [2023-08-30T09:38:33.226Z] (15/16) Installing libsmartcols (2.38-r1) [2023-08-30T09:38:33.226Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-08-30T09:38:33.226Z] Executing busybox-1.35.0-r17.trigger [2023-08-30T09:38:33.485Z] OK: 280 MiB in 90 packages [2023-08-30T09:38:34.066Z] Removing intermediate container e3e9f47eb053 [2023-08-30T09:38:34.066Z] ---> d384bd5ea5af [2023-08-30T09:38:34.066Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-08-30T09:38:34.066Z] ---> Running in 48497889b38f [2023-08-30T09:38:34.637Z] Removing intermediate container 48497889b38f [2023-08-30T09:38:34.637Z] ---> 486f8f2abee0 [2023-08-30T09:38:34.637Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-08-30T09:38:34.637Z] ---> 25dfe93c2df5 [2023-08-30T09:38:34.637Z] Step 8/21 : COPY src /tmp/sdk/src [2023-08-30T09:38:34.897Z] ---> b16d170682fb [2023-08-30T09:38:34.897Z] Step 9/21 : COPY include /tmp/sdk/include [2023-08-30T09:38:35.156Z] ---> 1c3463c0ffeb [2023-08-30T09:38:35.156Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-08-30T09:38:35.156Z] ---> 1f44413df9d6 [2023-08-30T09:38:35.156Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-08-30T09:38:35.415Z] ---> 31c178e4197c [2023-08-30T09:38:35.415Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-08-30T09:38:35.415Z] ---> d73162c00f8b [2023-08-30T09:38:35.415Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-08-30T09:38:35.415Z] ---> Running in 4d1e45f3b9fd [2023-08-30T09:38:35.674Z] + CPPCHECK=false [2023-08-30T09:38:35.674Z] + DOCGEN=false [2023-08-30T09:38:35.674Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-08-30T09:38:35.674Z] + '[' 0 -gt 0 ] [2023-08-30T09:38:35.674Z] + readlink -f ./scripts/build.sh [2023-08-30T09:38:35.674Z] + dirname /tmp/sdk/scripts/build.sh [2023-08-30T09:38:35.674Z] + dirname /tmp/sdk/scripts [2023-08-30T09:38:35.674Z] + ROOT=/tmp/sdk [2023-08-30T09:38:35.674Z] + cd /tmp/sdk [2023-08-30T09:38:35.674Z] + mkdir -p /tmp/sdk/build/release [2023-08-30T09:38:35.674Z] + cd /tmp/sdk/build/release [2023-08-30T09:38:35.674Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-08-30T09:38:35.933Z] -- The C compiler identification is GNU 11.2.1 [2023-08-30T09:38:35.933Z] -- Detecting C compiler ABI info [2023-08-30T09:38:35.933Z] -- Detecting C compiler ABI info - done [2023-08-30T09:38:35.933Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-30T09:38:35.933Z] -- Detecting C compile features [2023-08-30T09:38:35.933Z] -- Detecting C compile features - done [2023-08-30T09:38:35.933Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-30T09:38:35.933Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-30T09:38:35.933Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-30T09:38:35.933Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-30T09:38:35.933Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-30T09:38:35.933Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-30T09:38:35.933Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-30T09:38:35.933Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-30T09:38:35.933Z] -- /opt/iotech/iot/1.5/include [2023-08-30T09:38:35.933Z] -- C SDK 0.0.0 for Linux [2023-08-30T09:38:35.933Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-30T09:38:36.192Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-30T09:38:36.192Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-30T09:38:36.192Z] -- Configuring done [2023-08-30T09:38:36.192Z] -- Generating done [2023-08-30T09:38:36.192Z] -- Build files have been written to: /tmp/sdk/build/release [2023-08-30T09:38:36.192Z] + make all package [2023-08-30T09:38:36.192Z] + tee release.log [2023-08-30T09:38:36.192Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-30T09:38:36.451Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-08-30T09:38:36.451Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-08-30T09:38:36.523Z] Still waiting to schedule task [2023-08-30T09:38:36.523Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-30T09:38:36.709Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-08-30T09:38:36.968Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-08-30T09:38:36.968Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-08-30T09:38:37.226Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-08-30T09:38:37.484Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-08-30T09:38:37.484Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-08-30T09:38:37.742Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-08-30T09:38:38.001Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-08-30T09:38:38.260Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-08-30T09:38:38.260Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-08-30T09:38:38.519Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-08-30T09:38:38.519Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-08-30T09:38:38.778Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-08-30T09:38:38.778Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-08-30T09:38:39.037Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-08-30T09:38:39.296Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-08-30T09:38:39.296Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-08-30T09:38:39.554Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-08-30T09:38:40.490Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-08-30T09:38:40.490Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-08-30T09:38:40.748Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-08-30T09:38:40.748Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-08-30T09:38:40.748Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-08-30T09:38:41.007Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-08-30T09:38:41.574Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-08-30T09:38:41.574Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-08-30T09:38:41.833Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-08-30T09:38:41.833Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-08-30T09:38:42.401Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-08-30T09:38:42.401Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-08-30T09:38:42.401Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-08-30T09:38:42.664Z] [ 68%] Linking C shared library libcsdk.so [2023-08-30T09:38:42.664Z] [ 68%] Built target csdk [2023-08-30T09:38:42.664Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-08-30T09:38:42.922Z] [ 72%] Linking C executable template [2023-08-30T09:38:42.922Z] [ 72%] Built target template [2023-08-30T09:38:42.922Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-08-30T09:38:42.922Z] [ 76%] Linking C executable device-counter [2023-08-30T09:38:43.181Z] [ 76%] Built target device-counter [2023-08-30T09:38:43.181Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-08-30T09:38:43.181Z] [ 80%] Linking C executable device-random [2023-08-30T09:38:43.181Z] [ 80%] Built target device-random [2023-08-30T09:38:43.181Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-08-30T09:38:43.439Z] [ 84%] Linking C executable device-gyro [2023-08-30T09:38:43.439Z] [ 84%] Built target device-gyro [2023-08-30T09:38:43.439Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-08-30T09:38:43.439Z] [ 88%] Linking C executable device-bitfields [2023-08-30T09:38:43.697Z] [ 88%] Built target device-bitfields [2023-08-30T09:38:43.697Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-08-30T09:38:43.697Z] [ 92%] Linking C executable template-discovery [2023-08-30T09:38:43.698Z] [ 92%] Built target template-discovery [2023-08-30T09:38:43.957Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-08-30T09:38:43.957Z] [ 96%] Linking C executable device-file [2023-08-30T09:38:43.957Z] [ 96%] Built target device-file [2023-08-30T09:38:43.957Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-08-30T09:38:44.216Z] [100%] Linking C executable device-terminal [2023-08-30T09:38:44.216Z] [100%] Built target device-terminal [2023-08-30T09:38:44.216Z] Run CPack packaging tool... [2023-08-30T09:38:44.216Z] CPack: Create package using TGZ [2023-08-30T09:38:44.216Z] CPack: Install projects [2023-08-30T09:38:44.216Z] CPack: - Run preinstall target for: Csdk [2023-08-30T09:38:44.475Z] CPack: - Install project: Csdk [] [2023-08-30T09:38:44.475Z] CPack: Create package [2023-08-30T09:38:44.475Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-08-30T09:38:44.475Z] + '[' false '=' true ] [2023-08-30T09:38:44.475Z] + '[' false '=' true ] [2023-08-30T09:38:44.475Z] + mkdir -p /tmp/sdk/build/debug [2023-08-30T09:38:44.475Z] + cd /tmp/sdk/build/debug [2023-08-30T09:38:44.475Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-08-30T09:38:44.475Z] -- The C compiler identification is GNU 11.2.1 [2023-08-30T09:38:44.475Z] -- Detecting C compiler ABI info [2023-08-30T09:38:44.734Z] -- Detecting C compiler ABI info - done [2023-08-30T09:38:44.734Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-30T09:38:44.734Z] -- Detecting C compile features [2023-08-30T09:38:44.734Z] -- Detecting C compile features - done [2023-08-30T09:38:44.734Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-30T09:38:44.734Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-30T09:38:44.734Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-30T09:38:44.734Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-30T09:38:44.734Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-30T09:38:44.734Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-30T09:38:44.734Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-30T09:38:44.734Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-30T09:38:44.734Z] -- /opt/iotech/iot/1.5/include [2023-08-30T09:38:44.734Z] -- C SDK 0.0.0 for Linux [2023-08-30T09:38:44.734Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-30T09:38:44.734Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-30T09:38:44.734Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-30T09:38:44.992Z] -- Configuring done [2023-08-30T09:38:44.992Z] -- Generating done [2023-08-30T09:38:44.992Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-08-30T09:38:44.992Z] + make [2023-08-30T09:38:44.992Z] + tee debug.log [2023-08-30T09:38:44.992Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-30T09:38:44.992Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-08-30T09:38:44.992Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-08-30T09:38:45.250Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-08-30T09:38:45.250Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-08-30T09:38:45.250Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-08-30T09:38:45.509Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-08-30T09:38:45.509Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-08-30T09:38:45.509Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-08-30T09:38:45.768Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-08-30T09:38:45.768Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-08-30T09:38:46.030Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-08-30T09:38:46.030Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-08-30T09:38:46.030Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-08-30T09:38:46.289Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-08-30T09:38:46.289Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-08-30T09:38:46.289Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-08-30T09:38:46.549Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-08-30T09:38:46.549Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-08-30T09:38:46.549Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-08-30T09:38:46.808Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-08-30T09:38:46.808Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-08-30T09:38:47.068Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-08-30T09:38:47.068Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-08-30T09:38:47.068Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-08-30T09:38:47.068Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-08-30T09:38:47.328Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-08-30T09:38:47.588Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-08-30T09:38:47.588Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-08-30T09:38:47.588Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-08-30T09:38:47.847Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-08-30T09:38:47.847Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-08-30T09:38:48.107Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-08-30T09:38:48.107Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-08-30T09:38:48.107Z] [ 68%] Linking C shared library libcsdk.so [2023-08-30T09:38:48.107Z] [ 68%] Built target csdk [2023-08-30T09:38:48.107Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-08-30T09:38:48.367Z] [ 72%] Linking C executable template [2023-08-30T09:38:48.367Z] [ 72%] Built target template [2023-08-30T09:38:48.367Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-08-30T09:38:48.367Z] [ 76%] Linking C executable device-counter [2023-08-30T09:38:48.626Z] [ 76%] Built target device-counter [2023-08-30T09:38:48.626Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-08-30T09:38:48.626Z] [ 80%] Linking C executable device-random [2023-08-30T09:38:48.626Z] [ 80%] Built target device-random [2023-08-30T09:38:48.626Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-08-30T09:38:48.626Z] [ 84%] Linking C executable device-gyro [2023-08-30T09:38:48.886Z] [ 84%] Built target device-gyro [2023-08-30T09:38:48.886Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-08-30T09:38:48.886Z] [ 88%] Linking C executable device-bitfields [2023-08-30T09:38:48.886Z] [ 88%] Built target device-bitfields [2023-08-30T09:38:48.886Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-08-30T09:38:49.147Z] [ 92%] Linking C executable template-discovery [2023-08-30T09:38:49.147Z] [ 92%] Built target template-discovery [2023-08-30T09:38:49.147Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-08-30T09:38:49.147Z] [ 96%] Linking C executable device-file [2023-08-30T09:38:49.147Z] [ 96%] Built target device-file [2023-08-30T09:38:49.407Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-08-30T09:38:49.407Z] [100%] Linking C executable device-terminal [2023-08-30T09:38:49.407Z] [100%] Built target device-terminal [2023-08-30T09:38:49.407Z] make: Entering directory '/tmp/sdk/build/release' [2023-08-30T09:38:49.407Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-08-30T09:38:49.407Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-30T09:38:49.407Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-30T09:38:49.407Z] [ 68%] Built target csdk [2023-08-30T09:38:49.407Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-30T09:38:49.407Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-30T09:38:49.407Z] [ 72%] Built target template [2023-08-30T09:38:49.407Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-30T09:38:49.407Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-30T09:38:49.667Z] [ 76%] Built target device-counter [2023-08-30T09:38:49.667Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-30T09:38:49.667Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-30T09:38:49.667Z] [ 80%] Built target device-random [2023-08-30T09:38:49.667Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-30T09:38:49.667Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-30T09:38:49.667Z] [ 84%] Built target device-gyro [2023-08-30T09:38:49.667Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-30T09:38:49.667Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-30T09:38:49.667Z] [ 88%] Built target device-bitfields [2023-08-30T09:38:49.667Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-30T09:38:49.667Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-30T09:38:49.667Z] [ 92%] Built target template-discovery [2023-08-30T09:38:49.667Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-30T09:38:49.667Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-30T09:38:49.667Z] [ 96%] Built target device-file [2023-08-30T09:38:49.667Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-30T09:38:49.667Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-30T09:38:49.667Z] [100%] Built target device-terminal [2023-08-30T09:38:49.667Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-08-30T09:38:49.667Z] Install the project... [2023-08-30T09:38:49.667Z] -- Install configuration: "Release" [2023-08-30T09:38:49.667Z] -- Installing: /usr/local/lib/libcsdk.so [2023-08-30T09:38:49.667Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-08-30T09:38:49.667Z] -- Installing: /usr/local/include [2023-08-30T09:38:49.667Z] -- Installing: /usr/local/include/devsdk [2023-08-30T09:38:49.667Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-08-30T09:38:49.667Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-08-30T09:38:49.667Z] -- Installing: /usr/local/include/edgex [2023-08-30T09:38:49.667Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-08-30T09:38:49.667Z] -- Installing: /usr/local/include/edgex/devices.h [2023-08-30T09:38:49.667Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-08-30T09:38:49.667Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-08-30T09:38:49.667Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-08-30T09:38:49.667Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-08-30T09:38:49.667Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-08-30T09:38:49.667Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-08-30T09:38:49.667Z] make: Leaving directory '/tmp/sdk/build/release' [2023-08-30T09:38:50.604Z] Removing intermediate container 4d1e45f3b9fd [2023-08-30T09:38:50.604Z] ---> b7b176f229c0 [2023-08-30T09:38:50.604Z] Step 14/21 : FROM ${BASE} [2023-08-30T09:38:50.604Z] ---> e83ffa357ff4 [2023-08-30T09:38:50.604Z] Step 15/21 : LABEL maintainer="IOTech " [2023-08-30T09:38:50.604Z] ---> Running in 8ce07a3ccc87 [2023-08-30T09:38:50.604Z] Removing intermediate container 8ce07a3ccc87 [2023-08-30T09:38:50.604Z] ---> 7c07ee97ad1b [2023-08-30T09:38:50.604Z] 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-08-30T09:38:50.604Z] ---> Running in b05f16fcecbe [2023-08-30T09:38:50.863Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-08-30T09:38:51.122Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-30T09:38:51.122Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-30T09:38:51.122Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-30T09:38:51.382Z] Removing intermediate container b05f16fcecbe [2023-08-30T09:38:51.382Z] ---> e6a3a24ecb88 [2023-08-30T09:38:51.382Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-30T09:38:51.641Z] ---> Running in 5effe21a6de8 [2023-08-30T09:38:52.208Z] Removing intermediate container 5effe21a6de8 [2023-08-30T09:38:52.208Z] ---> 15925a4a969a [2023-08-30T09:38:52.208Z] 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-08-30T09:38:52.208Z] ---> Running in c54e3f648bcd [2023-08-30T09:38:52.208Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-30T09:38:52.469Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-08-30T09:38:52.728Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-30T09:38:53.297Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-30T09:38:53.297Z] (1/7) Installing curl (8.2.1-r0) [2023-08-30T09:38:53.297Z] (2/7) Installing hiredis (1.0.2-r0) [2023-08-30T09:38:53.297Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-08-30T09:38:53.297Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-08-30T09:38:53.865Z] (5/7) Installing libcbor (0.9.0-r1) [2023-08-30T09:38:53.865Z] (6/7) Installing libuuid (2.38-r1) [2023-08-30T09:38:53.865Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-30T09:38:54.802Z] Executing busybox-1.35.0-r17.trigger [2023-08-30T09:38:54.802Z] OK: 276 MiB in 83 packages [2023-08-30T09:38:55.060Z] Removing intermediate container c54e3f648bcd [2023-08-30T09:38:55.060Z] ---> 90fe0a5dc49c [2023-08-30T09:38:55.060Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-08-30T09:38:55.319Z] ---> fc272424c1e7 [2023-08-30T09:38:55.319Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-08-30T09:38:55.319Z] ---> baffdad8353c [2023-08-30T09:38:55.319Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-08-30T09:38:55.578Z] ---> 085ffead6540 [2023-08-30T09:38:55.578Z] Successfully built 085ffead6540 [2023-08-30T09:38:55.578Z] 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-08-30T09:38:56.302Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-30T09:38:56.302Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T09:38:56.451Z] prd-ubuntu20.04-docker-8c-8g-4876 does not seem to be running inside a container [2023-08-30T09:38:56.483Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-480 -v /w/workspace/edgexfoundry_device-sdk-c_PR-480:/w/workspace/edgexfoundry_device-sdk-c_PR-480:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-480@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-480@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-08-30T09:38:56.777Z] $ docker top 5934d1d4f5b1304ba8b591b37ba32e825b7b8c482d9564f915e97d4ccf4079a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T09:38:57.163Z] + make test [2023-08-30T09:38:57.163Z] echo "make test" [2023-08-30T09:38:57.163Z] make test [Pipeline] } [2023-08-30T09:38:57.191Z] $ docker stop --time=1 5934d1d4f5b1304ba8b591b37ba32e825b7b8c482d9564f915e97d4ccf4079a4 [2023-08-30T09:38:58.420Z] $ docker rm -f --volumes 5934d1d4f5b1304ba8b591b37ba32e825b7b8c482d9564f915e97d4ccf4079a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-30T09:38:59.302Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-30T09:38:59.609Z] + ls -al . [2023-08-30T09:38:59.610Z] total 212 [2023-08-30T09:38:59.610Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 30 09:38 . [2023-08-30T09:38:59.610Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 09:37 .. [2023-08-30T09:38:59.610Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 09:38 .git [2023-08-30T09:38:59.610Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 09:37 .github [2023-08-30T09:38:59.610Z] -rw-rw-r-- 1 jenkins jenkins 176 Aug 30 09:37 .gitignore [2023-08-30T09:38:59.610Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 09:38 .semver [2023-08-30T09:38:59.610Z] -rw-rw-r-- 1 jenkins jenkins 2908 Aug 30 09:37 Attribution.txt [2023-08-30T09:38:59.610Z] -rw-rw-r-- 1 jenkins jenkins 9802 Aug 30 09:37 CHANGES [2023-08-30T09:38:59.610Z] -rw-rw-r-- 1 jenkins jenkins 108574 Aug 30 09:37 Doxyfile [2023-08-30T09:38:59.610Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 09:37 GOVERNANCE.md [2023-08-30T09:38:59.610Z] -rw-rw-r-- 1 jenkins jenkins 784 Aug 30 09:37 Jenkinsfile [2023-08-30T09:38:59.610Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 30 09:37 LICENSE [2023-08-30T09:38:59.610Z] -rw-rw-r-- 1 jenkins jenkins 444 Aug 30 09:37 Makefile [2023-08-30T09:38:59.610Z] -rw-rw-r-- 1 jenkins jenkins 618 Aug 30 09:37 OWNERS.md [2023-08-30T09:38:59.610Z] -rw-rw-r-- 1 jenkins jenkins 1651 Aug 30 09:37 README.IOT.md [2023-08-30T09:38:59.610Z] -rw-rw-r-- 1 jenkins jenkins 4215 Aug 30 09:37 README.md [2023-08-30T09:38:59.610Z] -rw-rw-r-- 1 jenkins jenkins 1245 Aug 30 09:37 README.v3.md [2023-08-30T09:38:59.610Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 09:38 VERSION [2023-08-30T09:38:59.610Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 09:37 docs [2023-08-30T09:38:59.610Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 09:37 include [2023-08-30T09:38:59.610Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 09:37 scripts [2023-08-30T09:38:59.610Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 09:37 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T09:39:00.005Z] + 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=34c657e38ec517a99e13edaa49f10ff67381ac75 --label arch=amd64 --label version=0.0.0 . [2023-08-30T09:39:00.005Z] Sending build context to Docker daemon 4.902MB [2023-08-30T09:39:00.005Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-08-30T09:39:00.005Z] Step 2/17 : FROM ${BASE} [2023-08-30T09:39:00.005Z] ---> 085ffead6540 [2023-08-30T09:39:00.005Z] Step 3/17 : LABEL maintainer="IOTech " [2023-08-30T09:39:00.005Z] ---> Running in 83b826710467 [2023-08-30T09:39:00.263Z] Removing intermediate container 83b826710467 [2023-08-30T09:39:00.263Z] ---> 609a34d5e15c [2023-08-30T09:39:00.263Z] 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-08-30T09:39:00.263Z] ---> Running in 5f450a1a6b2e [2023-08-30T09:39:00.522Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-08-30T09:39:00.781Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-30T09:39:00.781Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-30T09:39:00.781Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-30T09:39:01.038Z] Removing intermediate container 5f450a1a6b2e [2023-08-30T09:39:01.038Z] ---> 039fc1efd243 [2023-08-30T09:39:01.038Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-30T09:39:01.038Z] ---> Running in 5bb90fc55b44 [2023-08-30T09:39:01.605Z] Removing intermediate container 5bb90fc55b44 [2023-08-30T09:39:01.605Z] ---> 743163bb21e3 [2023-08-30T09:39:01.605Z] 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-08-30T09:39:01.605Z] ---> Running in 2ad6c541170f [2023-08-30T09:39:01.864Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-30T09:39:01.864Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-08-30T09:39:02.123Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-08-30T09:39:02.690Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-30T09:39:02.690Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-30T09:39:02.690Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-30T09:39:02.690Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-30T09:39:03.257Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-30T09:39:03.257Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-08-30T09:39:03.257Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-30T09:39:03.257Z] (7/11) Installing libblkid (2.38-r1) [2023-08-30T09:39:03.257Z] (8/11) Installing libfdisk (2.38-r1) [2023-08-30T09:39:03.257Z] (9/11) Installing libmount (2.38-r1) [2023-08-30T09:39:03.257Z] (10/11) Installing libsmartcols (2.38-r1) [2023-08-30T09:39:03.257Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-08-30T09:39:03.257Z] Executing busybox-1.35.0-r17.trigger [2023-08-30T09:39:03.605Z] OK: 281 MiB in 92 packages [2023-08-30T09:39:04.175Z] Removing intermediate container 2ad6c541170f [2023-08-30T09:39:04.175Z] ---> 8d2d737b5629 [2023-08-30T09:39:04.175Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-08-30T09:39:04.175Z] ---> 95a6c4aff369 [2023-08-30T09:39:04.175Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-08-30T09:39:04.435Z] ---> 96140ee942ad [2023-08-30T09:39:04.435Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-08-30T09:39:04.435Z] ---> 4d04b208dcf4 [2023-08-30T09:39:04.435Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-08-30T09:39:04.693Z] ---> b9892f10a09e [2023-08-30T09:39:04.693Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-08-30T09:39:04.693Z] ---> 528f91c1fd8e [2023-08-30T09:39:04.693Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-08-30T09:39:04.953Z] ---> 8027dea5039d [2023-08-30T09:39:04.953Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-08-30T09:39:04.953Z] ---> Running in 17301689ac71 [2023-08-30T09:39:04.953Z] Removing intermediate container 17301689ac71 [2023-08-30T09:39:04.953Z] ---> e79833dccd07 [2023-08-30T09:39:04.953Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-08-30T09:39:04.953Z] ---> Running in c481d6a515e2 [2023-08-30T09:39:04.953Z] Removing intermediate container c481d6a515e2 [2023-08-30T09:39:04.953Z] ---> 25183ce8a78d [2023-08-30T09:39:04.953Z] Step 15/17 : LABEL arch=amd64 [2023-08-30T09:39:04.953Z] ---> Running in c2e5fede1163 [2023-08-30T09:39:04.953Z] Removing intermediate container c2e5fede1163 [2023-08-30T09:39:04.953Z] ---> 66b13b52461f [2023-08-30T09:39:04.953Z] Step 16/17 : LABEL git_sha=34c657e38ec517a99e13edaa49f10ff67381ac75 [2023-08-30T09:39:05.211Z] ---> Running in 78e54bcb9ca8 [2023-08-30T09:39:05.211Z] Removing intermediate container 78e54bcb9ca8 [2023-08-30T09:39:05.211Z] ---> 96b308d6c1fa [2023-08-30T09:39:05.211Z] Step 17/17 : LABEL version=0.0.0 [2023-08-30T09:39:05.211Z] ---> Running in 6de879564dd6 [2023-08-30T09:39:05.211Z] Removing intermediate container 6de879564dd6 [2023-08-30T09:39:05.211Z] ---> cc8a90556ec4 [2023-08-30T09:39:05.211Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-08-30T09:39:05.211Z] Successfully built cc8a90556ec4 [2023-08-30T09:39:05.211Z] 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-08-30T09:39:06.184Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-30T09:39:06.184Z] [2023-08-30T09:39:06.184Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T09:39:06.567Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-30T09:39:06.567Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-30T09:39:06.567Z] 5eb5b503b376: Pulling fs layer [2023-08-30T09:39:06.567Z] 5c69ac0246d0: Pulling fs layer [2023-08-30T09:39:06.567Z] ec43610c2a17: Pulling fs layer [2023-08-30T09:39:06.567Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-30T09:39:06.567Z] 33b1e0a273af: Pulling fs layer [2023-08-30T09:39:06.567Z] 5d3b04190fa2: Pulling fs layer [2023-08-30T09:39:06.567Z] 2f39f015ded8: Pulling fs layer [2023-08-30T09:39:06.567Z] 3a2ae6a8a46f: Waiting [2023-08-30T09:39:06.567Z] 33b1e0a273af: Waiting [2023-08-30T09:39:06.567Z] 5d3b04190fa2: Waiting [2023-08-30T09:39:06.567Z] 2f39f015ded8: Waiting [2023-08-30T09:39:06.567Z] 5c69ac0246d0: Verifying Checksum [2023-08-30T09:39:06.567Z] 5c69ac0246d0: Download complete [2023-08-30T09:39:06.567Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-30T09:39:06.567Z] 3a2ae6a8a46f: Download complete [2023-08-30T09:39:06.567Z] 33b1e0a273af: Verifying Checksum [2023-08-30T09:39:06.567Z] 33b1e0a273af: Download complete [2023-08-30T09:39:06.567Z] ec43610c2a17: Verifying Checksum [2023-08-30T09:39:06.567Z] ec43610c2a17: Download complete [2023-08-30T09:39:06.567Z] 5d3b04190fa2: Verifying Checksum [2023-08-30T09:39:06.567Z] 5d3b04190fa2: Download complete [2023-08-30T09:39:06.825Z] 5eb5b503b376: Verifying Checksum [2023-08-30T09:39:06.825Z] 5eb5b503b376: Download complete [2023-08-30T09:39:07.390Z] 2f39f015ded8: Verifying Checksum [2023-08-30T09:39:07.390Z] 2f39f015ded8: Download complete [2023-08-30T09:39:07.954Z] 5eb5b503b376: Pull complete [2023-08-30T09:39:08.212Z] 5c69ac0246d0: Pull complete [2023-08-30T09:39:08.470Z] ec43610c2a17: Pull complete [2023-08-30T09:39:08.727Z] 3a2ae6a8a46f: Pull complete [2023-08-30T09:39:08.728Z] 33b1e0a273af: Pull complete [2023-08-30T09:39:08.986Z] 5d3b04190fa2: Pull complete [2023-08-30T09:39:13.168Z] 2f39f015ded8: Pull complete [2023-08-30T09:39:13.168Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-30T09:39:13.168Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-30T09:39:13.168Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T09:39:13.375Z] prd-ubuntu20.04-docker-8c-8g-4876 does not seem to be running inside a container [2023-08-30T09:39:13.402Z] $ 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-480 -v /w/workspace/edgexfoundry_device-sdk-c_PR-480:/w/workspace/edgexfoundry_device-sdk-c_PR-480:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-480@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-480@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-08-30T09:39:19.154Z] $ docker top c481be7ee23c94e0d347c80180de23de029f596cbaee39006a368d224a3887df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T09:39:19.613Z] ---> job-cost.sh [2023-08-30T09:39:19.613Z] lf-activate-venv: SKIPPING [2023-08-30T09:39:19.613Z] INFO: No Stack... [2023-08-30T09:39:19.873Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-30T09:39:20.132Z] INFO: Archiving Costs [Pipeline] sh [2023-08-30T09:39:20.443Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-480/archives/cost.csv [2023-08-30T09:39:20.443Z] + cut -d, -f6 [Pipeline] lock [2023-08-30T09:39:20.481Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-480-1-stack-cost] [2023-08-30T09:39:20.486Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-480-1-stack-cost] did not exist. Created. [2023-08-30T09:39:20.486Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-480-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-30T09:39:20.874Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-30T09:39:20.939Z] Stashed 1 file(s) [Pipeline] } [2023-08-30T09:39:20.953Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-480-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-30T09:39:21.023Z] $ docker stop --time=1 c481be7ee23c94e0d347c80180de23de029f596cbaee39006a368d224a3887df [2023-08-30T09:39:22.166Z] $ docker rm -f --volumes c481be7ee23c94e0d347c80180de23de029f596cbaee39006a368d224a3887df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-30T09:40:02.417Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4877 in /w/workspace/edgexfoundry_device-sdk-c_PR-480 [Pipeline] { [Pipeline] ws [2023-08-30T09:40:02.472Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2023-08-30T09:40:02.554Z] Selected Git installation does not exist. Using Default [2023-08-30T09:40:02.554Z] The recommended git tool is: NONE [2023-08-30T09:40:07.514Z] using credential edgex-jenkins-ssh [2023-08-30T09:40:07.530Z] Cloning the remote Git repository [2023-08-30T09:40:07.573Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-08-30T09:40:07.661Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2023-08-30T09:40:07.797Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-08-30T09:40:07.798Z] > git --version # timeout=10 [2023-08-30T09:40:07.822Z] > git --version # 'git version 2.25.1' [2023-08-30T09:40:07.824Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-30T09:40:07.974Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-30T09:40:13.499Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-08-30T09:40:13.519Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-30T09:40:14.934Z] Merging remotes/origin/main commit 3bd72eafd135fc13cc0388e2e4a2395f7020de89 into PR head commit 34c657e38ec517a99e13edaa49f10ff67381ac75 [2023-08-30T09:40:15.245Z] Merge succeeded, producing 34c657e38ec517a99e13edaa49f10ff67381ac75 [2023-08-30T09:40:15.245Z] Checking out Revision 34c657e38ec517a99e13edaa49f10ff67381ac75 (PR-480) [2023-08-30T09:40:14.314Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-08-30T09:40:14.353Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-08-30T09:40:14.354Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-30T09:40:14.369Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/480/head:refs/remotes/origin/PR-480 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-30T09:40:14.954Z] > git config core.sparsecheckout # timeout=10 [2023-08-30T09:40:15.039Z] > git checkout -f 34c657e38ec517a99e13edaa49f10ff67381ac75 # timeout=10 [2023-08-30T09:40:15.158Z] > git remote # timeout=10 [2023-08-30T09:40:15.175Z] > git config --get remote.origin.url # timeout=10 [2023-08-30T09:40:15.192Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-30T09:40:15.206Z] > git merge 3bd72eafd135fc13cc0388e2e4a2395f7020de89 # timeout=10 [2023-08-30T09:40:15.229Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-30T09:40:15.253Z] > git config core.sparsecheckout # timeout=10 [2023-08-30T09:40:15.266Z] > git checkout -f 34c657e38ec517a99e13edaa49f10ff67381ac75 # timeout=10 [2023-08-30T09:40:18.767Z] Commit message: "fix: support for any JSON data type in device command value" [2023-08-30T09:40:18.815Z] > git --version # timeout=10 [2023-08-30T09:40:18.826Z] > git --version # 'git version 2.25.1' [2023-08-30T09:40:18.845Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-30T09:40:20.170Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-30T09:40:20.170Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-30T09:40:20.170Z] Dload Upload Total Spent Left Speed [2023-08-30T09:40:20.170Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh [2023-08-30T09:40:20.823Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-30T09:40:21.165Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2023-08-30T09:40:21.165Z] sudo tee /etc/docker/daemon.new [2023-08-30T09:40:21.165Z] { [2023-08-30T09:40:21.165Z] "registry-mirrors": [ [2023-08-30T09:40:21.165Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-30T09:40:21.165Z] ], [2023-08-30T09:40:21.165Z] "bip": "10.250.0.254/24", [2023-08-30T09:40:21.166Z] "hosts": [ [2023-08-30T09:40:21.166Z] "tcp://0.0.0.0:5555", [2023-08-30T09:40:21.166Z] "unix:///var/run/docker.sock" [2023-08-30T09:40:21.166Z] ], [2023-08-30T09:40:21.166Z] "mtu": 1458, [2023-08-30T09:40:21.166Z] "selinux-enabled": true, [2023-08-30T09:40:21.166Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-30T09:40:21.166Z] } [Pipeline] sh [2023-08-30T09:40:21.504Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-30T09:40:21.846Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-30T09:40:44.007Z] provisioning config files... [2023-08-30T09:40:44.032Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config5411440727819135839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T09:40:44.411Z] ---> docker-login.sh [2023-08-30T09:40:44.411Z] nexus3.edgexfoundry.org:10001 [2023-08-30T09:40:44.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T09:40:44.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T09:40:44.953Z] Configure a credential helper to remove this warning. See [2023-08-30T09:40:44.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T09:40:44.953Z] [2023-08-30T09:40:44.953Z] Login Succeeded [2023-08-30T09:40:44.953Z] nexus3.edgexfoundry.org:10002 [2023-08-30T09:40:45.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T09:40:45.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T09:40:45.500Z] Configure a credential helper to remove this warning. See [2023-08-30T09:40:45.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T09:40:45.500Z] [2023-08-30T09:40:45.500Z] Login Succeeded [2023-08-30T09:40:45.500Z] nexus3.edgexfoundry.org:10003 [2023-08-30T09:40:45.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T09:40:45.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T09:40:45.773Z] Configure a credential helper to remove this warning. See [2023-08-30T09:40:45.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T09:40:45.773Z] [2023-08-30T09:40:45.773Z] Login Succeeded [2023-08-30T09:40:45.773Z] nexus3.edgexfoundry.org:10004 [2023-08-30T09:40:46.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T09:40:46.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T09:40:46.043Z] Configure a credential helper to remove this warning. See [2023-08-30T09:40:46.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T09:40:46.043Z] [2023-08-30T09:40:46.043Z] Login Succeeded [2023-08-30T09:40:46.043Z] docker.io [2023-08-30T09:40:46.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T09:40:46.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T09:40:46.577Z] Configure a credential helper to remove this warning. See [2023-08-30T09:40:46.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T09:40:46.577Z] [2023-08-30T09:40:46.577Z] Login Succeeded [2023-08-30T09:40:46.577Z] ---> docker-login.sh ends [Pipeline] } [2023-08-30T09:40:46.605Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-30T09:40:46.957Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T09:40:46.984Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-08-30T09:40:47.015Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T09:40:47.047Z] ========================================================= [2023-08-30T09:40:47.048Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-08-30T09:40:47.048Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T09:40:47.497Z] + 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-08-30T09:40:47.767Z] Sending build context to Docker daemon 2.931MB [2023-08-30T09:40:47.767Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-08-30T09:40:47.767Z] Step 2/21 : FROM ${BASE} as builder [2023-08-30T09:40:48.037Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-08-30T09:40:48.037Z] 547446be3368: Pulling fs layer [2023-08-30T09:40:48.037Z] 76bd08e1cacc: Pulling fs layer [2023-08-30T09:40:48.037Z] 547446be3368: Verifying Checksum [2023-08-30T09:40:48.037Z] 547446be3368: Download complete [2023-08-30T09:40:48.643Z] 547446be3368: Pull complete [2023-08-30T09:40:50.069Z] 76bd08e1cacc: Download complete [2023-08-30T09:40:58.325Z] 76bd08e1cacc: Pull complete [2023-08-30T09:40:58.325Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-08-30T09:40:58.325Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-08-30T09:40:58.325Z] ---> 295cd00e64f4 [2023-08-30T09:40:58.325Z] 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-08-30T09:40:59.287Z] ---> Running in a2da20507bfd [2023-08-30T09:41:00.250Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-08-30T09:41:00.517Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-30T09:41:00.517Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-30T09:41:00.517Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-30T09:41:01.103Z] Removing intermediate container a2da20507bfd [2023-08-30T09:41:01.103Z] ---> 5b0ba32781a1 [2023-08-30T09:41:01.103Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-30T09:41:01.373Z] ---> Running in 9c783df2238a [2023-08-30T09:41:02.798Z] Removing intermediate container 9c783df2238a [2023-08-30T09:41:02.798Z] ---> d86852c15208 [2023-08-30T09:41:02.798Z] 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-08-30T09:41:02.798Z] ---> Running in be91d0ef67f8 [2023-08-30T09:41:03.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-30T09:41:04.028Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-08-30T09:41:04.630Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-30T09:41:05.586Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-30T09:41:05.586Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-30T09:41:05.586Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-30T09:41:05.586Z] (3/16) Installing hiredis (1.0.2-r0) [2023-08-30T09:41:05.586Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-08-30T09:41:05.586Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-30T09:41:06.541Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-30T09:41:06.541Z] (7/16) Installing libcbor (0.9.0-r1) [2023-08-30T09:41:06.541Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-08-30T09:41:06.541Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-30T09:41:06.541Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-30T09:41:07.495Z] (11/16) Installing libblkid (2.38-r1) [2023-08-30T09:41:07.495Z] (12/16) Installing libuuid (2.38-r1) [2023-08-30T09:41:07.495Z] (13/16) Installing libfdisk (2.38-r1) [2023-08-30T09:41:07.495Z] (14/16) Installing libmount (2.38-r1) [2023-08-30T09:41:07.495Z] (15/16) Installing libsmartcols (2.38-r1) [2023-08-30T09:41:07.761Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-08-30T09:41:08.047Z] Executing busybox-1.35.0-r17.trigger [2023-08-30T09:41:08.047Z] OK: 286 MiB in 90 packages [2023-08-30T09:41:09.458Z] Removing intermediate container be91d0ef67f8 [2023-08-30T09:41:09.458Z] ---> 04c2f3db7aa0 [2023-08-30T09:41:09.458Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-08-30T09:41:09.458Z] ---> Running in cb4b90169141 [2023-08-30T09:41:10.875Z] Removing intermediate container cb4b90169141 [2023-08-30T09:41:10.875Z] ---> 55bd3011e9d5 [2023-08-30T09:41:10.875Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-08-30T09:41:11.467Z] ---> 6d2d139b497c [2023-08-30T09:41:11.467Z] Step 8/21 : COPY src /tmp/sdk/src [2023-08-30T09:41:12.054Z] ---> 453c7bad9f7b [2023-08-30T09:41:12.054Z] Step 9/21 : COPY include /tmp/sdk/include [2023-08-30T09:41:12.638Z] ---> 68f9a769351a [2023-08-30T09:41:12.638Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-08-30T09:41:13.220Z] ---> 63e301c2c9ea [2023-08-30T09:41:13.220Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-08-30T09:41:13.487Z] ---> 3200d6810490 [2023-08-30T09:41:13.487Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-08-30T09:41:14.073Z] ---> 1287aad7cfc5 [2023-08-30T09:41:14.073Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-08-30T09:41:14.073Z] ---> Running in 84541100bcc4 [2023-08-30T09:41:15.035Z] + CPPCHECK=false [2023-08-30T09:41:15.035Z] + DOCGEN=false [2023-08-30T09:41:15.035Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-08-30T09:41:15.035Z] + '[' 0 -gt 0 ] [2023-08-30T09:41:15.035Z] + readlink -f ./scripts/build.sh [2023-08-30T09:41:15.035Z] + dirname /tmp/sdk/scripts/build.sh [2023-08-30T09:41:15.035Z] + dirname /tmp/sdk/scripts [2023-08-30T09:41:15.035Z] + ROOT=/tmp/sdk [2023-08-30T09:41:15.035Z] + cd /tmp/sdk [2023-08-30T09:41:15.035Z] + mkdir -p /tmp/sdk/build/release [2023-08-30T09:41:15.035Z] + cd /tmp/sdk/build/release [2023-08-30T09:41:15.035Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-08-30T09:41:15.303Z] -- The C compiler identification is GNU 11.2.1 [2023-08-30T09:41:15.303Z] -- Detecting C compiler ABI info [2023-08-30T09:41:15.570Z] -- Detecting C compiler ABI info - done [2023-08-30T09:41:15.835Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-30T09:41:15.836Z] -- Detecting C compile features [2023-08-30T09:41:15.836Z] -- Detecting C compile features - done [2023-08-30T09:41:15.836Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-30T09:41:16.103Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-30T09:41:16.103Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-30T09:41:16.103Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-30T09:41:16.103Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-30T09:41:16.103Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-30T09:41:16.103Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-30T09:41:16.103Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-30T09:41:16.103Z] -- /opt/iotech/iot/1.5/include [2023-08-30T09:41:16.103Z] -- C SDK 0.0.0 for Linux [2023-08-30T09:41:16.103Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-30T09:41:16.370Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-30T09:41:16.636Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-30T09:41:16.636Z] -- Configuring done [2023-08-30T09:41:16.904Z] -- Generating done [2023-08-30T09:41:16.904Z] -- Build files have been written to: /tmp/sdk/build/release [2023-08-30T09:41:16.904Z] + make all package [2023-08-30T09:41:16.904Z] + tee release.log [2023-08-30T09:41:17.172Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-30T09:41:18.133Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-08-30T09:41:19.093Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-08-30T09:41:19.710Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-08-30T09:41:20.670Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-08-30T09:41:21.252Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-08-30T09:41:23.826Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-08-30T09:41:24.781Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-08-30T09:41:25.048Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-08-30T09:41:26.010Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-08-30T09:41:28.584Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-08-30T09:41:28.852Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-08-30T09:41:29.806Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-08-30T09:41:30.765Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-08-30T09:41:31.031Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-08-30T09:41:32.437Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-08-30T09:41:32.704Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-08-30T09:41:35.282Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-08-30T09:41:35.548Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-08-30T09:41:36.130Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-08-30T09:41:37.534Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-08-30T09:41:42.864Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-08-30T09:41:43.821Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-08-30T09:41:44.087Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-08-30T09:41:44.668Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-08-30T09:41:44.936Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-08-30T09:41:46.874Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-08-30T09:41:49.450Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-08-30T09:41:49.717Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-08-30T09:41:50.674Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-08-30T09:41:51.632Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-08-30T09:41:54.975Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-08-30T09:41:55.556Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-08-30T09:41:55.825Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-08-30T09:41:56.407Z] [ 68%] Linking C shared library libcsdk.so [2023-08-30T09:41:56.673Z] [ 68%] Built target csdk [2023-08-30T09:41:56.673Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-08-30T09:41:57.629Z] [ 72%] Linking C executable template [2023-08-30T09:41:57.896Z] [ 72%] Built target template [2023-08-30T09:41:57.896Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-08-30T09:41:58.478Z] [ 76%] Linking C executable device-counter [2023-08-30T09:41:58.745Z] [ 76%] Built target device-counter [2023-08-30T09:41:58.745Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-08-30T09:41:59.326Z] [ 80%] Linking C executable device-random [2023-08-30T09:41:59.592Z] [ 80%] Built target device-random [2023-08-30T09:41:59.858Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-08-30T09:42:00.441Z] [ 84%] Linking C executable device-gyro [2023-08-30T09:42:00.707Z] [ 84%] Built target device-gyro [2023-08-30T09:42:00.707Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-08-30T09:42:01.287Z] [ 88%] Linking C executable device-bitfields [2023-08-30T09:42:01.553Z] [ 88%] Built target device-bitfields [2023-08-30T09:42:01.553Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-08-30T09:42:02.510Z] [ 92%] Linking C executable template-discovery [2023-08-30T09:42:02.776Z] [ 92%] Built target template-discovery [2023-08-30T09:42:02.776Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-08-30T09:42:03.732Z] [ 96%] Linking C executable device-file [2023-08-30T09:42:03.998Z] [ 96%] Built target device-file [2023-08-30T09:42:03.998Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-08-30T09:42:04.580Z] [100%] Linking C executable device-terminal [2023-08-30T09:42:04.845Z] [100%] Built target device-terminal [2023-08-30T09:42:05.111Z] Run CPack packaging tool... [2023-08-30T09:42:05.111Z] CPack: Create package using TGZ [2023-08-30T09:42:05.111Z] CPack: Install projects [2023-08-30T09:42:05.111Z] CPack: - Run preinstall target for: Csdk [2023-08-30T09:42:05.690Z] CPack: - Install project: Csdk [] [2023-08-30T09:42:05.691Z] CPack: Create package [2023-08-30T09:42:05.956Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-08-30T09:42:05.956Z] + '[' false '=' true ] [2023-08-30T09:42:05.956Z] + '[' false '=' true ] [2023-08-30T09:42:05.956Z] + mkdir -p /tmp/sdk/build/debug [2023-08-30T09:42:05.956Z] + cd /tmp/sdk/build/debug [2023-08-30T09:42:05.956Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-08-30T09:42:06.222Z] -- The C compiler identification is GNU 11.2.1 [2023-08-30T09:42:06.222Z] -- Detecting C compiler ABI info [2023-08-30T09:42:06.490Z] -- Detecting C compiler ABI info - done [2023-08-30T09:42:06.490Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-08-30T09:42:06.490Z] -- Detecting C compile features [2023-08-30T09:42:06.490Z] -- Detecting C compile features - done [2023-08-30T09:42:06.757Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-08-30T09:42:06.757Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-08-30T09:42:06.757Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-08-30T09:42:06.757Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-08-30T09:42:06.757Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-08-30T09:42:06.757Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-08-30T09:42:06.757Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-08-30T09:42:07.027Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-08-30T09:42:07.027Z] -- /opt/iotech/iot/1.5/include [2023-08-30T09:42:07.027Z] -- C SDK 0.0.0 for Linux [2023-08-30T09:42:07.027Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-08-30T09:42:07.293Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-08-30T09:42:07.293Z] -- Found Curses: /usr/lib/libcurses.so [2023-08-30T09:42:07.558Z] -- Configuring done [2023-08-30T09:42:07.825Z] -- Generating done [2023-08-30T09:42:07.825Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-08-30T09:42:07.825Z] + make [2023-08-30T09:42:07.825Z] + tee debug.log [2023-08-30T09:42:07.825Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-08-30T09:42:08.407Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-08-30T09:42:08.674Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-08-30T09:42:09.256Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-08-30T09:42:09.522Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-08-30T09:42:10.104Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-08-30T09:42:10.686Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-08-30T09:42:11.268Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-08-30T09:42:11.268Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-08-30T09:42:11.851Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-08-30T09:42:12.446Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-08-30T09:42:13.028Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-08-30T09:42:13.297Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-08-30T09:42:13.881Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-08-30T09:42:14.150Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-08-30T09:42:14.733Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-08-30T09:42:14.733Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-08-30T09:42:15.696Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-08-30T09:42:15.963Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-08-30T09:42:16.230Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-08-30T09:42:16.811Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-08-30T09:42:18.216Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-08-30T09:42:18.482Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-08-30T09:42:18.754Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-08-30T09:42:19.345Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-08-30T09:42:19.615Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-08-30T09:42:20.206Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-08-30T09:42:22.176Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-08-30T09:42:22.176Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-08-30T09:42:22.765Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-08-30T09:42:23.031Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-08-30T09:42:23.988Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-08-30T09:42:24.254Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-08-30T09:42:24.837Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-08-30T09:42:25.105Z] [ 68%] Linking C shared library libcsdk.so [2023-08-30T09:42:25.105Z] [ 68%] Built target csdk [2023-08-30T09:42:25.373Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-08-30T09:42:25.640Z] [ 72%] Linking C executable template [2023-08-30T09:42:25.905Z] [ 72%] Built target template [2023-08-30T09:42:25.905Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-08-30T09:42:26.488Z] [ 76%] Linking C executable device-counter [2023-08-30T09:42:26.488Z] [ 76%] Built target device-counter [2023-08-30T09:42:26.754Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-08-30T09:42:27.021Z] [ 80%] Linking C executable device-random [2023-08-30T09:42:27.287Z] [ 80%] Built target device-random [2023-08-30T09:42:27.287Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-08-30T09:42:27.553Z] [ 84%] Linking C executable device-gyro [2023-08-30T09:42:27.823Z] [ 84%] Built target device-gyro [2023-08-30T09:42:27.823Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-08-30T09:42:28.408Z] [ 88%] Linking C executable device-bitfields [2023-08-30T09:42:28.408Z] [ 88%] Built target device-bitfields [2023-08-30T09:42:28.674Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-08-30T09:42:28.939Z] [ 92%] Linking C executable template-discovery [2023-08-30T09:42:29.204Z] [ 92%] Built target template-discovery [2023-08-30T09:42:29.205Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-08-30T09:42:29.785Z] [ 96%] Linking C executable device-file [2023-08-30T09:42:30.052Z] [ 96%] Built target device-file [2023-08-30T09:42:30.052Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-08-30T09:42:30.634Z] [100%] Linking C executable device-terminal [2023-08-30T09:42:30.634Z] [100%] Built target device-terminal [2023-08-30T09:42:30.899Z] make: Entering directory '/tmp/sdk/build/release' [2023-08-30T09:42:30.899Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-08-30T09:42:30.899Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-30T09:42:30.899Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-30T09:42:30.899Z] [ 68%] Built target csdk [2023-08-30T09:42:30.899Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-30T09:42:30.899Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-30T09:42:30.899Z] [ 72%] Built target template [2023-08-30T09:42:30.899Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-30T09:42:30.899Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-30T09:42:30.900Z] [ 76%] Built target device-counter [2023-08-30T09:42:30.900Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-30T09:42:31.165Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-30T09:42:31.165Z] [ 80%] Built target device-random [2023-08-30T09:42:31.165Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-30T09:42:31.165Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-30T09:42:31.165Z] [ 84%] Built target device-gyro [2023-08-30T09:42:31.165Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-30T09:42:31.165Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-30T09:42:31.165Z] [ 88%] Built target device-bitfields [2023-08-30T09:42:31.165Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-30T09:42:31.165Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-30T09:42:31.165Z] [ 92%] Built target template-discovery [2023-08-30T09:42:31.165Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-30T09:42:31.165Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-30T09:42:31.165Z] [ 96%] Built target device-file [2023-08-30T09:42:31.165Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-08-30T09:42:31.165Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-08-30T09:42:31.433Z] [100%] Built target device-terminal [2023-08-30T09:42:31.433Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-08-30T09:42:31.433Z] Install the project... [2023-08-30T09:42:31.433Z] -- Install configuration: "Release" [2023-08-30T09:42:31.433Z] -- Installing: /usr/local/lib/libcsdk.so [2023-08-30T09:42:31.433Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-08-30T09:42:31.433Z] -- Installing: /usr/local/include [2023-08-30T09:42:31.433Z] -- Installing: /usr/local/include/devsdk [2023-08-30T09:42:31.433Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-08-30T09:42:31.433Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-08-30T09:42:31.433Z] -- Installing: /usr/local/include/edgex [2023-08-30T09:42:31.433Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-08-30T09:42:31.433Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-08-30T09:42:31.433Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-08-30T09:42:31.433Z] -- Installing: /usr/local/include/edgex/devices.h [2023-08-30T09:42:31.433Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-08-30T09:42:31.433Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-08-30T09:42:31.433Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-08-30T09:42:31.433Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-08-30T09:42:31.433Z] make: Leaving directory '/tmp/sdk/build/release' [2023-08-30T09:42:32.849Z] Removing intermediate container 84541100bcc4 [2023-08-30T09:42:32.849Z] ---> 48416de4d7cb [2023-08-30T09:42:32.849Z] Step 14/21 : FROM ${BASE} [2023-08-30T09:42:32.849Z] ---> 295cd00e64f4 [2023-08-30T09:42:32.849Z] Step 15/21 : LABEL maintainer="IOTech " [2023-08-30T09:42:32.849Z] ---> Running in e26adde58d39 [2023-08-30T09:42:32.849Z] Removing intermediate container e26adde58d39 [2023-08-30T09:42:32.849Z] ---> 9a45170ce84e [2023-08-30T09:42:32.850Z] 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-08-30T09:42:33.118Z] ---> Running in 9650a4cac523 [2023-08-30T09:42:34.075Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-08-30T09:42:34.352Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-30T09:42:34.352Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-30T09:42:34.352Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-30T09:42:34.937Z] Removing intermediate container 9650a4cac523 [2023-08-30T09:42:34.937Z] ---> cbaa38c4287a [2023-08-30T09:42:34.937Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-30T09:42:34.937Z] ---> Running in 8216e600fbbf [2023-08-30T09:42:36.876Z] Removing intermediate container 8216e600fbbf [2023-08-30T09:42:36.876Z] ---> 0a76e26d8e5d [2023-08-30T09:42:36.876Z] 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-08-30T09:42:36.876Z] ---> Running in 989ff304cb17 [2023-08-30T09:42:37.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-30T09:42:37.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-08-30T09:42:38.302Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-30T09:42:39.258Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-30T09:42:39.258Z] (1/7) Installing curl (8.2.1-r0) [2023-08-30T09:42:39.258Z] (2/7) Installing hiredis (1.0.2-r0) [2023-08-30T09:42:39.258Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-08-30T09:42:39.258Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-08-30T09:42:40.213Z] (5/7) Installing libcbor (0.9.0-r1) [2023-08-30T09:42:40.213Z] (6/7) Installing libuuid (2.38-r1) [2023-08-30T09:42:40.213Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-08-30T09:42:40.795Z] Executing busybox-1.35.0-r17.trigger [2023-08-30T09:42:40.795Z] OK: 281 MiB in 83 packages [2023-08-30T09:42:42.200Z] Removing intermediate container 989ff304cb17 [2023-08-30T09:42:42.200Z] ---> fb194150370f [2023-08-30T09:42:42.200Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-08-30T09:42:42.467Z] ---> 37d12cf0c259 [2023-08-30T09:42:42.467Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-08-30T09:42:43.049Z] ---> b15186ffc8b9 [2023-08-30T09:42:43.050Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-08-30T09:42:43.316Z] ---> 6803fa35f1c2 [2023-08-30T09:42:43.581Z] Successfully built 6803fa35f1c2 [2023-08-30T09:42:43.581Z] 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-08-30T09:42:44.312Z] + docker inspect -f . ci-base-image-arm64 [2023-08-30T09:42:44.312Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T09:42:44.591Z] prd-ubuntu20.04-docker-arm64-4c-16g-4877 does not seem to be running inside a container [2023-08-30T09:42:44.647Z] $ 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-08-30T09:42:45.754Z] $ docker top 37ceea9cbc3c734f14953c4936483c4ef364c6d115bcbdbacca0c57243b3bf0d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T09:42:46.632Z] + make test [2023-08-30T09:42:46.632Z] echo "make test" [2023-08-30T09:42:46.632Z] make test [Pipeline] } [2023-08-30T09:42:46.674Z] $ docker stop --time=1 37ceea9cbc3c734f14953c4936483c4ef364c6d115bcbdbacca0c57243b3bf0d [2023-08-30T09:42:48.321Z] $ docker rm -f --volumes 37ceea9cbc3c734f14953c4936483c4ef364c6d115bcbdbacca0c57243b3bf0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-30T09:42:49.096Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-30T09:42:49.426Z] + ls -al . [2023-08-30T09:42:49.426Z] total 208 [2023-08-30T09:42:49.426Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 09:40 . [2023-08-30T09:42:49.426Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 09:40 .. [2023-08-30T09:42:49.426Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 09:40 .git [2023-08-30T09:42:49.426Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 09:40 .github [2023-08-30T09:42:49.426Z] -rw-rw-r-- 1 jenkins jenkins 176 Aug 30 09:40 .gitignore [2023-08-30T09:42:49.426Z] -rw-rw-r-- 1 jenkins jenkins 2908 Aug 30 09:40 Attribution.txt [2023-08-30T09:42:49.426Z] -rw-rw-r-- 1 jenkins jenkins 9802 Aug 30 09:40 CHANGES [2023-08-30T09:42:49.426Z] -rw-rw-r-- 1 jenkins jenkins 108574 Aug 30 09:40 Doxyfile [2023-08-30T09:42:49.426Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 09:40 GOVERNANCE.md [2023-08-30T09:42:49.426Z] -rw-rw-r-- 1 jenkins jenkins 784 Aug 30 09:40 Jenkinsfile [2023-08-30T09:42:49.426Z] -rw-rw-r-- 1 jenkins jenkins 10174 Aug 30 09:40 LICENSE [2023-08-30T09:42:49.426Z] -rw-rw-r-- 1 jenkins jenkins 444 Aug 30 09:40 Makefile [2023-08-30T09:42:49.426Z] -rw-rw-r-- 1 jenkins jenkins 618 Aug 30 09:40 OWNERS.md [2023-08-30T09:42:49.426Z] -rw-rw-r-- 1 jenkins jenkins 1651 Aug 30 09:40 README.IOT.md [2023-08-30T09:42:49.426Z] -rw-rw-r-- 1 jenkins jenkins 4215 Aug 30 09:40 README.md [2023-08-30T09:42:49.426Z] -rw-rw-r-- 1 jenkins jenkins 1245 Aug 30 09:40 README.v3.md [2023-08-30T09:42:49.426Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 30 09:38 VERSION [2023-08-30T09:42:49.426Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 09:40 docs [2023-08-30T09:42:49.426Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 09:40 include [2023-08-30T09:42:49.426Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 09:40 scripts [2023-08-30T09:42:49.426Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 09:40 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T09:42:49.846Z] + 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=34c657e38ec517a99e13edaa49f10ff67381ac75 --label arch=arm64 --label version=0.0.0 . [2023-08-30T09:42:50.113Z] Sending build context to Docker daemon 2.931MB [2023-08-30T09:42:50.113Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-08-30T09:42:50.113Z] Step 2/17 : FROM ${BASE} [2023-08-30T09:42:50.113Z] ---> 6803fa35f1c2 [2023-08-30T09:42:50.113Z] Step 3/17 : LABEL maintainer="IOTech " [2023-08-30T09:42:50.379Z] ---> Running in 372006fb0ebd [2023-08-30T09:42:50.647Z] Removing intermediate container 372006fb0ebd [2023-08-30T09:42:50.647Z] ---> 8679761559b9 [2023-08-30T09:42:50.647Z] 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-08-30T09:42:50.647Z] ---> Running in 5454222aa777 [2023-08-30T09:42:51.604Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-08-30T09:42:51.870Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-08-30T09:42:51.870Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-08-30T09:42:51.870Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-08-30T09:42:54.441Z] Removing intermediate container 5454222aa777 [2023-08-30T09:42:54.441Z] ---> d37600065e97 [2023-08-30T09:42:54.441Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-08-30T09:42:54.441Z] ---> Running in 8b0f5d31fd0a [2023-08-30T09:42:56.380Z] Removing intermediate container 8b0f5d31fd0a [2023-08-30T09:42:56.380Z] ---> e512ac4113dc [2023-08-30T09:42:56.380Z] 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-08-30T09:42:56.380Z] ---> Running in 0fe8b54f969b [2023-08-30T09:42:56.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-30T09:42:57.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-08-30T09:42:57.805Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-08-30T09:42:58.754Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-08-30T09:42:58.754Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-30T09:42:58.754Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-08-30T09:42:58.754Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-08-30T09:42:59.328Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-08-30T09:42:59.591Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-08-30T09:42:59.591Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-08-30T09:42:59.591Z] (7/11) Installing libblkid (2.38-r1) [2023-08-30T09:42:59.591Z] (8/11) Installing libfdisk (2.38-r1) [2023-08-30T09:42:59.591Z] (9/11) Installing libmount (2.38-r1) [2023-08-30T09:42:59.591Z] (10/11) Installing libsmartcols (2.38-r1) [2023-08-30T09:42:59.591Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-08-30T09:42:59.591Z] Executing busybox-1.35.0-r17.trigger [2023-08-30T09:42:59.859Z] OK: 287 MiB in 92 packages [2023-08-30T09:43:00.816Z] Removing intermediate container 0fe8b54f969b [2023-08-30T09:43:00.816Z] ---> dcd1eec1133e [2023-08-30T09:43:00.816Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-08-30T09:43:01.404Z] ---> 6c72010bf34d [2023-08-30T09:43:01.404Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-08-30T09:43:01.989Z] ---> 16fba3529d1a [2023-08-30T09:43:01.989Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-08-30T09:43:02.572Z] ---> 1f24ac127f9b [2023-08-30T09:43:02.572Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-08-30T09:43:03.156Z] ---> d936ead67e87 [2023-08-30T09:43:03.156Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-08-30T09:43:03.421Z] ---> 2989134675ef [2023-08-30T09:43:03.421Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-08-30T09:43:04.003Z] ---> c43fda07dd7a [2023-08-30T09:43:04.004Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-08-30T09:43:04.004Z] ---> Running in da6302697f73 [2023-08-30T09:43:04.269Z] Removing intermediate container da6302697f73 [2023-08-30T09:43:04.269Z] ---> 01a1f4ee86ec [2023-08-30T09:43:04.269Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-08-30T09:43:04.536Z] ---> Running in 0344dc0e4b95 [2023-08-30T09:43:04.803Z] Removing intermediate container 0344dc0e4b95 [2023-08-30T09:43:04.803Z] ---> 06a102d66ccb [2023-08-30T09:43:04.803Z] Step 15/17 : LABEL arch=arm64 [2023-08-30T09:43:04.803Z] ---> Running in 1b5b83081d75 [2023-08-30T09:43:05.075Z] Removing intermediate container 1b5b83081d75 [2023-08-30T09:43:05.075Z] ---> baec49e13808 [2023-08-30T09:43:05.075Z] Step 16/17 : LABEL git_sha=34c657e38ec517a99e13edaa49f10ff67381ac75 [2023-08-30T09:43:05.075Z] ---> Running in d50113919a9e [2023-08-30T09:43:05.340Z] Removing intermediate container d50113919a9e [2023-08-30T09:43:05.340Z] ---> 881bbbc0f03f [2023-08-30T09:43:05.340Z] Step 17/17 : LABEL version=0.0.0 [2023-08-30T09:43:05.612Z] ---> Running in db6b793abd8e [2023-08-30T09:43:05.878Z] Removing intermediate container db6b793abd8e [2023-08-30T09:43:05.878Z] ---> 768edad3e5cb [2023-08-30T09:43:05.878Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-08-30T09:43:05.878Z] Successfully built 768edad3e5cb [2023-08-30T09:43:05.878Z] 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-08-30T09:43:06.645Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-30T09:43:06.645Z] [2023-08-30T09:43:06.645Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T09:43:07.040Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-30T09:43:07.307Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-30T09:43:07.307Z] 8998bd30e6a1: Pulling fs layer [2023-08-30T09:43:07.307Z] 04944245beec: Pulling fs layer [2023-08-30T09:43:07.307Z] 699f458cf7ca: Pulling fs layer [2023-08-30T09:43:07.307Z] 765212b225bb: Pulling fs layer [2023-08-30T09:43:07.307Z] f23df028b6ca: Pulling fs layer [2023-08-30T09:43:07.307Z] d65c8cfc05b1: Pulling fs layer [2023-08-30T09:43:07.307Z] 2437ff75d9bd: Pulling fs layer [2023-08-30T09:43:07.307Z] f23df028b6ca: Waiting [2023-08-30T09:43:07.307Z] d65c8cfc05b1: Waiting [2023-08-30T09:43:07.307Z] 2437ff75d9bd: Waiting [2023-08-30T09:43:07.307Z] 765212b225bb: Waiting [2023-08-30T09:43:07.307Z] 04944245beec: Verifying Checksum [2023-08-30T09:43:07.307Z] 04944245beec: Download complete [2023-08-30T09:43:07.307Z] 765212b225bb: Verifying Checksum [2023-08-30T09:43:07.307Z] 765212b225bb: Download complete [2023-08-30T09:43:07.307Z] f23df028b6ca: Verifying Checksum [2023-08-30T09:43:07.307Z] f23df028b6ca: Download complete [2023-08-30T09:43:07.307Z] d65c8cfc05b1: Verifying Checksum [2023-08-30T09:43:07.307Z] d65c8cfc05b1: Download complete [2023-08-30T09:43:07.574Z] 699f458cf7ca: Verifying Checksum [2023-08-30T09:43:07.574Z] 699f458cf7ca: Download complete [2023-08-30T09:43:07.838Z] 8998bd30e6a1: Download complete [2023-08-30T09:43:10.408Z] 2437ff75d9bd: Download complete [2023-08-30T09:43:11.812Z] 8998bd30e6a1: Pull complete [2023-08-30T09:43:12.078Z] 04944245beec: Pull complete [2023-08-30T09:43:13.479Z] 699f458cf7ca: Pull complete [2023-08-30T09:43:13.743Z] 765212b225bb: Pull complete [2023-08-30T09:43:14.325Z] f23df028b6ca: Pull complete [2023-08-30T09:43:14.591Z] d65c8cfc05b1: Pull complete [2023-08-30T09:43:29.561Z] 2437ff75d9bd: Pull complete [2023-08-30T09:43:29.561Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-30T09:43:29.561Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-30T09:43:29.561Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T09:43:29.858Z] prd-ubuntu20.04-docker-arm64-4c-16g-4877 does not seem to be running inside a container [2023-08-30T09:43:29.914Z] $ 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-08-30T09:43:32.384Z] $ docker top 7890b969ad9119724dfe8dddec6ed5a957096d7822c65bd476adbddf672d0441 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T09:43:32.956Z] ---> job-cost.sh [2023-08-30T09:43:33.224Z] lf-activate-venv: SKIPPING [2023-08-30T09:43:33.224Z] INFO: No Stack... [2023-08-30T09:43:33.488Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-30T09:43:34.449Z] INFO: Archiving Costs [Pipeline] sh [2023-08-30T09:43:34.788Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv+ [2023-08-30T09:43:34.789Z] cut -d, -f6 [Pipeline] lock [2023-08-30T09:43:34.935Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-480-1-stack-cost] [2023-08-30T09:43:34.940Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-480-1-stack-cost] did not exist. Created. [2023-08-30T09:43:34.940Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-480-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-30T09:43:35.358Z] /w/workspace/device-sdk-c/1@tmp/durable-863c4c18/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-30T09:43:35.717Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-30T09:43:35.762Z] Warning: overwriting stash ‘stack-cost’ [2023-08-30T09:43:36.214Z] Stashed 1 file(s) [Pipeline] } [2023-08-30T09:43:36.228Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-480-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-30T09:43:36.302Z] $ docker stop --time=1 7890b969ad9119724dfe8dddec6ed5a957096d7822c65bd476adbddf672d0441 [2023-08-30T09:43:37.760Z] $ docker rm -f --volumes 7890b969ad9119724dfe8dddec6ed5a957096d7822c65bd476adbddf672d0441 [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-08-30T09:43:39.503Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-480/archives ] [2023-08-30T09:43:39.504Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-480/archives [2023-08-30T09:43:39.504Z] total 16 [2023-08-30T09:43:39.504Z] drwxr-xr-x 3 root root 4096 Aug 30 09:39 . [2023-08-30T09:43:39.504Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 30 09:39 .. [2023-08-30T09:43:39.504Z] drwxr-xr-x 2 root root 4096 Aug 30 09:39 cost [2023-08-30T09:43:39.504Z] -rw-r--r-- 1 root root 84 Aug 30 09:39 cost.csv [2023-08-30T09:43:39.504Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-480/archives [2023-08-30T09:43:39.504Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-480/archives [2023-08-30T09:43:39.504Z] total 16 [2023-08-30T09:43:39.504Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 09:39 . [2023-08-30T09:43:39.504Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 30 09:39 .. [2023-08-30T09:43:39.504Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 09:39 cost [2023-08-30T09:43:39.504Z] -rw-r--r-- 1 jenkins jenkins 84 Aug 30 09:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-30T09:43:39.828Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T09:43:40.716Z] ---> package-listing.sh [2023-08-30T09:43:40.716Z] ++ facter osfamily [2023-08-30T09:43:40.716Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-30T09:43:40.977Z] + OS_FAMILY=debian [2023-08-30T09:43:40.977Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-480 [2023-08-30T09:43:40.977Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-30T09:43:40.977Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-30T09:43:40.977Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-30T09:43:40.977Z] + PACKAGES=/tmp/packages_start.txt [2023-08-30T09:43:40.977Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-480 ']' [2023-08-30T09:43:40.977Z] + PACKAGES=/tmp/packages_end.txt [2023-08-30T09:43:40.977Z] + case "${OS_FAMILY}" in [2023-08-30T09:43:40.977Z] + dpkg -l [2023-08-30T09:43:40.977Z] + grep '^ii' [2023-08-30T09:43:40.977Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-30T09:43:40.977Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-30T09:43:40.977Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-30T09:43:40.977Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-480 ']' [2023-08-30T09:43:40.977Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-480/archives/ [2023-08-30T09:43:40.977Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-480/archives/ [Pipeline] echo [2023-08-30T09:43:41.010Z] 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-480/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-30T09:43:41.302Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T09:43:41.927Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-30T09:43:41.927Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T09:43:42.087Z] prd-ubuntu20.04-docker-8c-8g-4876 does not seem to be running inside a container [2023-08-30T09:43:42.122Z] $ 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-480/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-480 -v /w/workspace/edgexfoundry_device-sdk-c_PR-480:/w/workspace/edgexfoundry_device-sdk-c_PR-480:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-480@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-480@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-08-30T09:43:42.302Z] $ docker top 678837dad2421a162256bab20b1a0a88f188f676cb4d9285ea38e8e480da1af6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T09:43:42.685Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-30T09:43:42.993Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-30T09:43:43.295Z] + ls /var/log/sa-host [2023-08-30T09:43:43.295Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-30T09:43:43.518Z] provisioning config files... [2023-08-30T09:43:43.526Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-480@tmp/config17244667308706085007tmp [Pipeline] { [Pipeline] echo [2023-08-30T09:43:43.579Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T09:43:43.901Z] ---> create-netrc.sh [Pipeline] } [2023-08-30T09:43:43.927Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-30T09:43:44.327Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-30T09:43:44.360Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T09:43:44.671Z] ---> sudo-logs.sh [2023-08-30T09:43:44.671Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-30T09:43:44.755Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T09:43:45.068Z] ---> job-cost.sh [2023-08-30T09:43:45.068Z] lf-activate-venv: SKIPPING [2023-08-30T09:43:45.068Z] DEBUG: total: 0.2199999988079071 [2023-08-30T09:43:45.068Z] INFO: Retrieving Stack Cost... [2023-08-30T09:43:45.328Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-30T09:43:45.588Z] INFO: Archiving Costs [Pipeline] echo [2023-08-30T09:43:45.622Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T09:43:45.935Z] ---> logs-deploy.sh [2023-08-30T09:43:45.935Z] lf-activate-venv: SKIPPING [2023-08-30T09:43:45.935Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-480/1 [2023-08-30T09:43:45.935Z] INFO: archiving workspace using pattern(s): [2023-08-30T09:43:46.875Z] Archives upload complete. [2023-08-30T09:43:47.135Z] INFO: archiving logs to Nexus