Pull request #440 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from eafbf3d9695056fdb220afb931551b369a5eea4e+60c720530b7232d7be6f88f4d69bf42c6efbb654 (35cb257e3246a15cabdbc2e2ba9da1f33213c4ee) 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-ssh1140964129851169035.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh6651485126693500476.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-440/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-440/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17308634552646199815.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16895145634867773727.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-440/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-440/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7145472677327796368.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4876 in /w/workspace/edgexfoundry_device-sdk-c_PR-440 [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-440 # 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/440/head:refs/remotes/origin/PR-440 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 60c720530b7232d7be6f88f4d69bf42c6efbb654 into PR head commit eafbf3d9695056fdb220afb931551b369a5eea4e Merge succeeded, producing eafbf3d9695056fdb220afb931551b369a5eea4e Checking out Revision eafbf3d9695056fdb220afb931551b369a5eea4e (PR-440) > git config core.sparsecheckout # timeout=10 > git checkout -f eafbf3d9695056fdb220afb931551b369a5eea4e # 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 60c720530b7232d7be6f88f4d69bf42c6efbb654 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eafbf3d9695056fdb220afb931551b369a5eea4e # timeout=10 Commit message: "refactor!: remove legacy metrics api, event publishing to core-data BREAKING CHANGE: Removed the Device.UseMessageBus config and the code for sending event via core-data REST client (MessageBus is always enabled in 3.0 for sending events) BREAKING CHANGE: v2 metrics endpoint is removed for all services" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-07T11:15:23.733Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-07T11:15:23.789Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-07T11:15:23.809Z] ========================================================= [2023-02-07T11:15:23.809Z] EdgeX Global Pipelines Version Info [2023-02-07T11:15:23.809Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 781a83bb215fc71b9bcc05bb52c52acb39bd2040 # timeout=10 [2023-02-07T11:15:24.896Z] ------------------- [2023-02-07T11:15:24.896Z] stable info: [2023-02-07T11:15:24.896Z] ------------------- [2023-02-07T11:15:24.896Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-07T11:15:24.896Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-07T11:15:24.896Z] Message: update stable to v1.0.244 [2023-02-07T11:15:25.465Z] ------------------- [2023-02-07T11:15:25.465Z] experimental info: [2023-02-07T11:15:25.465Z] ------------------- [2023-02-07T11:15:25.465Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-07T11:15:25.465Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-07T11:15:25.465Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-07T11:15:25.623Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-02-07T11:15:25.640Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-02-07T11:15:25.651Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-07T11:15:25.662Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-07T11:15:25.675Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-07T11:15:25.686Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-02-07T11:15:25.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-02-07T11:15:25.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-07T11:15:25.729Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-07T11:15:25.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-02-07T11:15:25.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-07T11:15:25.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-07T11:15:25.778Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-07T11:15:25.791Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-07T11:15:25.804Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-07T11:15:25.815Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-07T11:15:25.828Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-07T11:15:25.841Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-440 [Pipeline] echo [2023-02-07T11:15:25.856Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-440 [Pipeline] echo [2023-02-07T11:15:25.869Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-440 [Pipeline] echo [2023-02-07T11:15:25.882Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eafbf3d9695056fdb220afb931551b369a5eea4e [Pipeline] echo [2023-02-07T11:15:25.895Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eafbf3d [Pipeline] echo [2023-02-07T11:15:25.909Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T11:15:25.954Z] provisioning config files... [2023-02-07T11:15:25.967Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/config14648790052049241956tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T11:15:26.271Z] ---> docker-login.sh [2023-02-07T11:15:26.271Z] nexus3.edgexfoundry.org:10001 [2023-02-07T11:15:26.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T11:15:26.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T11:15:26.790Z] Configure a credential helper to remove this warning. See [2023-02-07T11:15:26.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T11:15:26.790Z] [2023-02-07T11:15:26.790Z] Login Succeeded [2023-02-07T11:15:26.790Z] nexus3.edgexfoundry.org:10002 [2023-02-07T11:15:26.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T11:15:27.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T11:15:27.051Z] Configure a credential helper to remove this warning. See [2023-02-07T11:15:27.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T11:15:27.051Z] [2023-02-07T11:15:27.051Z] Login Succeeded [2023-02-07T11:15:27.051Z] nexus3.edgexfoundry.org:10003 [2023-02-07T11:15:27.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T11:15:27.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T11:15:27.051Z] Configure a credential helper to remove this warning. See [2023-02-07T11:15:27.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T11:15:27.051Z] [2023-02-07T11:15:27.051Z] Login Succeeded [2023-02-07T11:15:27.051Z] nexus3.edgexfoundry.org:10004 [2023-02-07T11:15:27.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T11:15:27.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T11:15:27.311Z] Configure a credential helper to remove this warning. See [2023-02-07T11:15:27.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T11:15:27.311Z] [2023-02-07T11:15:27.311Z] Login Succeeded [2023-02-07T11:15:27.311Z] docker.io [2023-02-07T11:15:27.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T11:15:27.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T11:15:27.568Z] Configure a credential helper to remove this warning. See [2023-02-07T11:15:27.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T11:15:27.568Z] [2023-02-07T11:15:27.568Z] Login Succeeded [2023-02-07T11:15:27.568Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T11:15:27.575Z] 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-02-07T11:15:27.949Z] + git rev-list -1 --merges eafbf3d9695056fdb220afb931551b369a5eea4e~1..eafbf3d9695056fdb220afb931551b369a5eea4e [Pipeline] echo [2023-02-07T11:15:27.999Z] -----------> git rev-list -1 --merges eafbf3d9695056fdb220afb931551b369a5eea4e~1..eafbf3d9695056fdb220afb931551b369a5eea4e eafbf3d9695056fdb220afb931551b369a5eea4e [false] [Pipeline] sh [2023-02-07T11:15:28.286Z] + git log --format=format:%s -1 eafbf3d9695056fdb220afb931551b369a5eea4e [Pipeline] echo [2023-02-07T11:15:28.303Z] ========================================================= [2023-02-07T11:15:28.303Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-07T11:15:28.303Z] ========================================================= 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-02-07T11:15:28.691Z] + git rev-list -1 --merges eafbf3d9695056fdb220afb931551b369a5eea4e~1..eafbf3d9695056fdb220afb931551b369a5eea4e [Pipeline] echo [2023-02-07T11:15:28.705Z] -----------> git rev-list -1 --merges eafbf3d9695056fdb220afb931551b369a5eea4e~1..eafbf3d9695056fdb220afb931551b369a5eea4e eafbf3d9695056fdb220afb931551b369a5eea4e [false] [Pipeline] sh [2023-02-07T11:15:28.993Z] + git log --format=format:%s -1 eafbf3d9695056fdb220afb931551b369a5eea4e [Pipeline] echo [2023-02-07T11:15:29.007Z] ========================================================= [2023-02-07T11:15:29.007Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-07T11:15:29.007Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-02-07T11:15:29.419Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-07T11:15:29.419Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-07T11:15:29.419Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-07T11:15:29.419Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-07T11:15:29.419Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-07T11:15:29.419Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-07T11:15:29.419Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T11:15:29.757Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T11:15:29.757Z] [2023-02-07T11:15:29.757Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T11:15:30.057Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T11:15:30.057Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-07T11:15:30.057Z] b85a868b505f: Pulling fs layer [2023-02-07T11:15:30.057Z] e2be974225ed: Pulling fs layer [2023-02-07T11:15:30.057Z] 339a4e72a1f5: Pulling fs layer [2023-02-07T11:15:30.057Z] 988bab9f4d93: Pulling fs layer [2023-02-07T11:15:30.057Z] 1469e6f7b9e6: Pulling fs layer [2023-02-07T11:15:30.057Z] eaf3925da568: Pulling fs layer [2023-02-07T11:15:30.057Z] bab4dde63d76: Pulling fs layer [2023-02-07T11:15:30.057Z] bde34c3a00c8: Pulling fs layer [2023-02-07T11:15:30.057Z] b352a97aabf1: Pulling fs layer [2023-02-07T11:15:30.057Z] 4872d77fe225: Pulling fs layer [2023-02-07T11:15:30.057Z] 5851b861e8e6: Pulling fs layer [2023-02-07T11:15:30.057Z] 4872d77fe225: Waiting [2023-02-07T11:15:30.057Z] b352a97aabf1: Waiting [2023-02-07T11:15:30.057Z] bde34c3a00c8: Waiting [2023-02-07T11:15:30.057Z] 1469e6f7b9e6: Waiting [2023-02-07T11:15:30.057Z] bab4dde63d76: Waiting [2023-02-07T11:15:30.057Z] 5851b861e8e6: Waiting [2023-02-07T11:15:30.057Z] eaf3925da568: Waiting [2023-02-07T11:15:30.057Z] 988bab9f4d93: Waiting [2023-02-07T11:15:30.319Z] e2be974225ed: Download complete [2023-02-07T11:15:30.319Z] 988bab9f4d93: Verifying Checksum [2023-02-07T11:15:30.319Z] 988bab9f4d93: Download complete [2023-02-07T11:15:30.319Z] 1469e6f7b9e6: Verifying Checksum [2023-02-07T11:15:30.319Z] 1469e6f7b9e6: Download complete [2023-02-07T11:15:30.319Z] eaf3925da568: Verifying Checksum [2023-02-07T11:15:30.319Z] eaf3925da568: Download complete [2023-02-07T11:15:30.592Z] 339a4e72a1f5: Verifying Checksum [2023-02-07T11:15:30.592Z] 339a4e72a1f5: Download complete [2023-02-07T11:15:30.592Z] bde34c3a00c8: Download complete [2023-02-07T11:15:30.592Z] b352a97aabf1: Download complete [2023-02-07T11:15:30.592Z] 4872d77fe225: Download complete [2023-02-07T11:15:30.854Z] 5851b861e8e6: Verifying Checksum [2023-02-07T11:15:30.854Z] 5851b861e8e6: Download complete [2023-02-07T11:15:30.854Z] b85a868b505f: Download complete [2023-02-07T11:15:31.113Z] bab4dde63d76: Verifying Checksum [2023-02-07T11:15:31.113Z] bab4dde63d76: Download complete [2023-02-07T11:15:32.048Z] b85a868b505f: Pull complete [2023-02-07T11:15:32.048Z] e2be974225ed: Pull complete [2023-02-07T11:15:32.617Z] 339a4e72a1f5: Pull complete [2023-02-07T11:15:32.879Z] 988bab9f4d93: Pull complete [2023-02-07T11:15:33.138Z] 1469e6f7b9e6: Pull complete [2023-02-07T11:15:33.138Z] eaf3925da568: Pull complete [2023-02-07T11:15:35.048Z] bab4dde63d76: Pull complete [2023-02-07T11:15:35.048Z] bde34c3a00c8: Pull complete [2023-02-07T11:15:35.048Z] b352a97aabf1: Pull complete [2023-02-07T11:15:35.307Z] 4872d77fe225: Pull complete [2023-02-07T11:15:35.307Z] 5851b861e8e6: Pull complete [2023-02-07T11:15:35.307Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-07T11:15:35.307Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T11:15:35.307Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T11:15:35.390Z] prd-ubuntu20.04-docker-8c-8g-4876 does not seem to be running inside a container [2023-02-07T11:15:35.420Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-440 -v /w/workspace/edgexfoundry_device-sdk-c_PR-440:/w/workspace/edgexfoundry_device-sdk-c_PR-440:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-07T11:15:41.114Z] $ docker top d039590542611442f3258a0c1ed0ec02db4ac1f60f5ca881191ccd92a1bfee0e -eo pid,comm [2023-02-07T11:15:41.170Z] 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-02-07T11:15:41.170Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-07T11:15:41.210Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T11:15:41.210Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T11:15:41.325Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T11:15:41.328Z] $ docker exec d039590542611442f3258a0c1ed0ec02db4ac1f60f5ca881191ccd92a1bfee0e ssh-agent [2023-02-07T11:15:41.443Z] SSH_AUTH_SOCK=/tmp/ssh-fpAyZJz8iIh9/agent.33 [2023-02-07T11:15:41.443Z] SSH_AGENT_PID=39 [2023-02-07T11:15:41.448Z] Running ssh-add (command line suppressed) [2023-02-07T11:15:41.549Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/private_key_15309469616035878815.key (/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/private_key_15309469616035878815.key) [2023-02-07T11:15:41.562Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T11:15:41.852Z] + git tag --points-at HEAD [Pipeline] } [2023-02-07T11:15:41.862Z] $ docker exec --env ******** --env ******** d039590542611442f3258a0c1ed0ec02db4ac1f60f5ca881191ccd92a1bfee0e ssh-agent -k [2023-02-07T11:15:41.959Z] unset SSH_AUTH_SOCK; [2023-02-07T11:15:41.959Z] unset SSH_AGENT_PID; [2023-02-07T11:15:41.960Z] echo Agent pid 39 killed; [2023-02-07T11:15:41.968Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-07T11:15:41.993Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T11:15:41.993Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T11:15:42.105Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T11:15:42.109Z] $ docker exec d039590542611442f3258a0c1ed0ec02db4ac1f60f5ca881191ccd92a1bfee0e ssh-agent [2023-02-07T11:15:42.231Z] SSH_AUTH_SOCK=/tmp/ssh-W8A1WWL5jtNB/agent.71 [2023-02-07T11:15:42.231Z] SSH_AGENT_PID=77 [2023-02-07T11:15:42.236Z] Running ssh-add (command line suppressed) [2023-02-07T11:15:42.338Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/private_key_8578553739483646997.key (/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/private_key_8578553739483646997.key) [2023-02-07T11:15:42.353Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T11:15:42.640Z] + git semver init [2023-02-07T11:15:42.900Z] 2023-02-07 11:15:42,816 [run_init] DEBUG init version:0.0.0 force:False [2023-02-07T11:15:42.900Z] 2023-02-07 11:15:42,817 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver [2023-02-07T11:15:42.900Z] 2023-02-07 11:15:42,817 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver [2023-02-07T11:15:42.900Z] 2023-02-07 11:15:42,817 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-440, universal_newlines=False, shell=None, istream=None) [2023-02-07T11:15:44.286Z] 2023-02-07 11:15:43,924 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-440/.git/info/exclude [2023-02-07T11:15:44.286Z] 2023-02-07 11:15:43,925 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver/PR-440 with force:False [2023-02-07T11:15:44.286Z] 2023-02-07 11:15:43,925 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver/PR-440 [2023-02-07T11:15:44.286Z] 2023-02-07 11:15:43,929 [execute] INFO git cat-file --batch-check [2023-02-07T11:15:44.286Z] 2023-02-07 11:15:43,930 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver, universal_newlines=False, shell=None, istream=) [2023-02-07T11:15:44.286Z] 2023-02-07 11:15:43,937 [execute] INFO git cat-file --batch [2023-02-07T11:15:44.286Z] 2023-02-07 11:15:43,937 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver, universal_newlines=False, shell=None, istream=) [2023-02-07T11:15:44.286Z] 2023-02-07 11:15:43,941 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-440/.semver/PR-440 [2023-02-07T11:15:44.286Z] 0.0.0 [Pipeline] } [2023-02-07T11:15:44.298Z] $ docker exec --env ******** --env ******** d039590542611442f3258a0c1ed0ec02db4ac1f60f5ca881191ccd92a1bfee0e ssh-agent -k [2023-02-07T11:15:44.400Z] unset SSH_AUTH_SOCK; [2023-02-07T11:15:44.400Z] unset SSH_AGENT_PID; [2023-02-07T11:15:44.400Z] echo Agent pid 77 killed; [2023-02-07T11:15:44.408Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-07T11:15:44.716Z] + git semver [Pipeline] } [2023-02-07T11:15:44.990Z] $ docker stop --time=1 d039590542611442f3258a0c1ed0ec02db4ac1f60f5ca881191ccd92a1bfee0e [2023-02-07T11:15:46.337Z] $ docker rm -f --volumes d039590542611442f3258a0c1ed0ec02db4ac1f60f5ca881191ccd92a1bfee0e [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T11:15:47.097Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-07T11:15:47.417Z] Stashed 1 file(s) [Pipeline] echo [2023-02-07T11:15:47.421Z] [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-02-07T11:15:47.521Z] provisioning config files... [2023-02-07T11:15:47.537Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/config5148136867695575763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T11:15:47.868Z] ---> docker-login.sh [2023-02-07T11:15:47.868Z] nexus3.edgexfoundry.org:10001 [2023-02-07T11:15:47.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T11:15:47.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T11:15:47.868Z] Configure a credential helper to remove this warning. See [2023-02-07T11:15:47.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T11:15:47.868Z] [2023-02-07T11:15:47.868Z] Login Succeeded [2023-02-07T11:15:47.868Z] nexus3.edgexfoundry.org:10002 [2023-02-07T11:15:47.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T11:15:48.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T11:15:48.137Z] Configure a credential helper to remove this warning. See [2023-02-07T11:15:48.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T11:15:48.137Z] [2023-02-07T11:15:48.137Z] Login Succeeded [2023-02-07T11:15:48.137Z] nexus3.edgexfoundry.org:10003 [2023-02-07T11:15:48.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T11:15:48.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T11:15:48.137Z] Configure a credential helper to remove this warning. See [2023-02-07T11:15:48.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T11:15:48.137Z] [2023-02-07T11:15:48.137Z] Login Succeeded [2023-02-07T11:15:48.137Z] nexus3.edgexfoundry.org:10004 [2023-02-07T11:15:48.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T11:15:48.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T11:15:48.396Z] Configure a credential helper to remove this warning. See [2023-02-07T11:15:48.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T11:15:48.396Z] [2023-02-07T11:15:48.396Z] Login Succeeded [2023-02-07T11:15:48.396Z] docker.io [2023-02-07T11:15:48.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T11:15:48.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T11:15:48.655Z] Configure a credential helper to remove this warning. See [2023-02-07T11:15:48.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T11:15:48.655Z] [2023-02-07T11:15:48.655Z] Login Succeeded [2023-02-07T11:15:48.655Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T11:15:48.663Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-07T11:15:48.736Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T11:15:48.748Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-02-07T11:15:48.762Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T11:15:48.775Z] ========================================================= [2023-02-07T11:15:48.775Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-02-07T11:15:48.775Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T11:15:49.084Z] + 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-02-07T11:15:49.084Z] Sending build context to Docker daemon 4.763MB [2023-02-07T11:15:49.084Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-02-07T11:15:49.084Z] Step 2/21 : FROM ${BASE} as builder [2023-02-07T11:15:49.084Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-02-07T11:15:49.084Z] 213ec9aee27d: Pulling fs layer [2023-02-07T11:15:49.084Z] 0f09ad1b1b37: Pulling fs layer [2023-02-07T11:15:49.348Z] 213ec9aee27d: Download complete [2023-02-07T11:15:49.607Z] 213ec9aee27d: Pull complete [2023-02-07T11:15:50.176Z] 0f09ad1b1b37: Verifying Checksum [2023-02-07T11:15:50.176Z] 0f09ad1b1b37: Download complete [2023-02-07T11:15:53.461Z] 0f09ad1b1b37: Pull complete [2023-02-07T11:15:54.029Z] Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 [2023-02-07T11:15:54.029Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-02-07T11:15:54.029Z] ---> b2bbfebb3566 [2023-02-07T11:15:54.029Z] 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-02-07T11:15:59.305Z] ---> Running in e5c4064f26a0 [2023-02-07T11:15:59.872Z] Connecting to iotech.jfrog.io (52.49.66.18:443) [2023-02-07T11:16:00.132Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-02-07T11:16:00.132Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-02-07T11:16:00.132Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-02-07T11:16:00.699Z] Removing intermediate container e5c4064f26a0 [2023-02-07T11:16:00.699Z] ---> 730498e94603 [2023-02-07T11:16:00.699Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-02-07T11:16:00.699Z] ---> Running in b09396d83e7e [2023-02-07T11:16:02.121Z] Removing intermediate container b09396d83e7e [2023-02-07T11:16:02.121Z] ---> 5d2e5fa3b083 [2023-02-07T11:16:02.122Z] 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.4-dev hiredis-dev [2023-02-07T11:16:02.491Z] Still waiting to schedule task [2023-02-07T11:16:02.492Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-07T11:16:02.711Z] ---> Running in 5b4c867710f7 [2023-02-07T11:16:02.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T11:16:03.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T11:16:03.229Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T11:16:03.800Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-02-07T11:16:03.800Z] (1/14) Installing hiredis (1.0.2-r0) [2023-02-07T11:16:03.800Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-02-07T11:16:03.800Z] (3/14) Installing iotech-iot-1.4 (1.4.0-r0) [2023-02-07T11:16:04.738Z] (4/14) Installing iotech-iot-1.4-dev (1.4.0-r0) [2023-02-07T11:16:04.738Z] (5/14) Installing libcbor (0.9.0-r1) [2023-02-07T11:16:04.738Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-02-07T11:16:04.738Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-02-07T11:16:04.738Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-02-07T11:16:05.307Z] (9/14) Installing libblkid (2.38-r1) [2023-02-07T11:16:05.567Z] (10/14) Installing libuuid (2.38-r1) [2023-02-07T11:16:05.567Z] (11/14) Installing libfdisk (2.38-r1) [2023-02-07T11:16:05.567Z] (12/14) Installing libmount (2.38-r1) [2023-02-07T11:16:05.567Z] (13/14) Installing libsmartcols (2.38-r1) [2023-02-07T11:16:05.567Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-02-07T11:16:05.567Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T11:16:05.567Z] OK: 280 MiB in 90 packages [2023-02-07T11:16:08.858Z] Removing intermediate container 5b4c867710f7 [2023-02-07T11:16:08.858Z] ---> 29a3719a66e4 [2023-02-07T11:16:08.858Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-02-07T11:16:09.117Z] ---> Running in c1eddd7cea69 [2023-02-07T11:16:11.019Z] Removing intermediate container c1eddd7cea69 [2023-02-07T11:16:11.019Z] ---> b2a28d361dc4 [2023-02-07T11:16:11.019Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-02-07T11:16:11.958Z] ---> a4833ca40cd8 [2023-02-07T11:16:11.958Z] Step 8/21 : COPY src /tmp/sdk/src [2023-02-07T11:16:13.864Z] ---> af2ff4600622 [2023-02-07T11:16:13.864Z] Step 9/21 : COPY include /tmp/sdk/include [2023-02-07T11:16:14.800Z] ---> 09abae5b52b9 [2023-02-07T11:16:14.800Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-02-07T11:16:16.177Z] ---> 2714865241ae [2023-02-07T11:16:16.177Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-02-07T11:16:17.115Z] ---> 6adb62ea0d80 [2023-02-07T11:16:17.115Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-02-07T11:16:18.070Z] ---> 3a9593cf1d92 [2023-02-07T11:16:18.070Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-02-07T11:16:19.006Z] ---> Running in 487acfcd56a3 [2023-02-07T11:16:19.574Z] + CPPCHECK=false [2023-02-07T11:16:19.574Z] + DOCGEN=false [2023-02-07T11:16:19.574Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-02-07T11:16:19.574Z] + TOMLVER=SDK-0.2 [2023-02-07T11:16:19.574Z] + CUTILVER=1.4 [2023-02-07T11:16:19.574Z] + '[' 0 -gt 0 ] [2023-02-07T11:16:19.574Z] + readlink -f ./scripts/build.sh [2023-02-07T11:16:19.574Z] + dirname /tmp/sdk/scripts/build.sh [2023-02-07T11:16:19.574Z] + dirname /tmp/sdk/scripts [2023-02-07T11:16:19.574Z] + ROOT=/tmp/sdk [2023-02-07T11:16:19.574Z] + cd /tmp/sdk [2023-02-07T11:16:19.574Z] + '[' '!' -d deps ] [2023-02-07T11:16:19.574Z] + mkdir deps [2023-02-07T11:16:19.574Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-02-07T11:16:19.574Z] + tar -C deps -z -x -f - [2023-02-07T11:16:19.574Z] Connecting to github.com (140.82.113.4:443) [2023-02-07T11:16:19.834Z] Connecting to codeload.github.com (140.82.113.10:443) [2023-02-07T11:16:20.094Z] writing to stdout [2023-02-07T11:16:20.094Z] - 100% |********************************| 16451 0:00:00 ETA [2023-02-07T11:16:20.094Z] written to stdout [2023-02-07T11:16:20.094Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-02-07T11:16:20.094Z] + mkdir -p /tmp/sdk/build/release [2023-02-07T11:16:20.094Z] + cd /tmp/sdk/build/release [2023-02-07T11:16:20.094Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-02-07T11:16:20.094Z] -- The C compiler identification is GNU 11.2.1 [2023-02-07T11:16:20.094Z] -- Detecting C compiler ABI info [2023-02-07T11:16:20.094Z] -- Detecting C compiler ABI info - done [2023-02-07T11:16:20.352Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-02-07T11:16:20.352Z] -- Detecting C compile features [2023-02-07T11:16:20.352Z] -- Detecting C compile features - done [2023-02-07T11:16:20.352Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-02-07T11:16:20.352Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-02-07T11:16:20.352Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-02-07T11:16:20.352Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-02-07T11:16:20.352Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-02-07T11:16:20.352Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-02-07T11:16:20.352Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-02-07T11:16:20.352Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-02-07T11:16:20.352Z] -- /opt/iotech/iot/1.4/include [2023-02-07T11:16:20.352Z] -- C SDK 0.0.0 for Linux [2023-02-07T11:16:20.352Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-02-07T11:16:20.352Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-02-07T11:16:20.352Z] -- Found Curses: /usr/lib/libcurses.so [2023-02-07T11:16:20.352Z] -- Configuring done [2023-02-07T11:16:20.612Z] -- Generating done [2023-02-07T11:16:20.612Z] -- Build files have been written to: /tmp/sdk/build/release [2023-02-07T11:16:20.612Z] + make all package [2023-02-07T11:16:20.612Z] + tee release.log [2023-02-07T11:16:20.612Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-02-07T11:16:20.612Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-02-07T11:16:20.870Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-02-07T11:16:21.129Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-02-07T11:16:21.387Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-02-07T11:16:21.387Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-02-07T11:16:21.647Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-02-07T11:16:21.905Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-02-07T11:16:22.165Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-02-07T11:16:22.424Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-02-07T11:16:22.683Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-02-07T11:16:22.683Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-02-07T11:16:22.943Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-02-07T11:16:22.943Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-02-07T11:16:22.943Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-02-07T11:16:23.511Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-02-07T11:16:23.770Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-02-07T11:16:23.770Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-02-07T11:16:24.029Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-02-07T11:16:24.967Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-02-07T11:16:24.967Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-02-07T11:16:24.967Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-02-07T11:16:25.226Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-02-07T11:16:25.486Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-02-07T11:16:25.745Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-02-07T11:16:26.005Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-02-07T11:16:26.005Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-02-07T11:16:26.263Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-02-07T11:16:26.522Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-02-07T11:16:27.459Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-02-07T11:16:27.718Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-02-07T11:16:27.718Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-02-07T11:16:27.718Z] [ 67%] Linking C shared library libcsdk.so [2023-02-07T11:16:27.978Z] [ 67%] Built target csdk [2023-02-07T11:16:27.978Z] [ 69%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-02-07T11:16:28.238Z] [ 71%] Linking C executable template [2023-02-07T11:16:28.238Z] [ 71%] Built target template [2023-02-07T11:16:28.238Z] [ 73%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-02-07T11:16:28.238Z] [ 75%] Linking C executable device-counter [2023-02-07T11:16:28.498Z] [ 75%] Built target device-counter [2023-02-07T11:16:28.498Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-02-07T11:16:28.498Z] [ 79%] Linking C executable device-random [2023-02-07T11:16:28.498Z] [ 79%] Built target device-random [2023-02-07T11:16:28.498Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-02-07T11:16:28.758Z] [ 83%] Linking C executable device-gyro [2023-02-07T11:16:28.758Z] [ 83%] Built target device-gyro [2023-02-07T11:16:28.758Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-02-07T11:16:29.017Z] [ 87%] Linking C executable device-bitfields [2023-02-07T11:16:29.017Z] [ 87%] Built target device-bitfields [2023-02-07T11:16:29.017Z] [ 89%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-02-07T11:16:29.277Z] [ 91%] Linking C executable template-discovery [2023-02-07T11:16:29.277Z] [ 91%] Built target template-discovery [2023-02-07T11:16:29.277Z] [ 93%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-02-07T11:16:29.537Z] [ 95%] Linking C executable device-file [2023-02-07T11:16:29.537Z] [ 95%] Built target device-file [2023-02-07T11:16:29.537Z] [ 97%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-02-07T11:16:29.537Z] [100%] Linking C executable device-terminal [2023-02-07T11:16:30.019Z] [100%] Built target device-terminal [2023-02-07T11:16:30.278Z] Run CPack packaging tool... [2023-02-07T11:16:30.278Z] CPack: Create package using TGZ [2023-02-07T11:16:30.278Z] CPack: Install projects [2023-02-07T11:16:30.278Z] CPack: - Run preinstall target for: Csdk [2023-02-07T11:16:30.538Z] CPack: - Install project: Csdk [] [2023-02-07T11:16:30.538Z] CPack: Create package [2023-02-07T11:16:30.538Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-02-07T11:16:30.538Z] + '[' false '=' true ] [2023-02-07T11:16:30.538Z] + '[' false '=' true ] [2023-02-07T11:16:30.538Z] + mkdir -p /tmp/sdk/build/debug [2023-02-07T11:16:30.538Z] + cd /tmp/sdk/build/debug [2023-02-07T11:16:30.538Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-02-07T11:16:30.538Z] -- The C compiler identification is GNU 11.2.1 [2023-02-07T11:16:30.538Z] -- Detecting C compiler ABI info [2023-02-07T11:16:30.538Z] -- Detecting C compiler ABI info - done [2023-02-07T11:16:30.538Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-02-07T11:16:30.538Z] -- Detecting C compile features [2023-02-07T11:16:30.538Z] -- Detecting C compile features - done [2023-02-07T11:16:30.538Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-02-07T11:16:30.797Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-02-07T11:16:30.797Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-02-07T11:16:30.797Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-02-07T11:16:30.797Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-02-07T11:16:30.797Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-02-07T11:16:30.797Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-02-07T11:16:30.797Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-02-07T11:16:30.797Z] -- /opt/iotech/iot/1.4/include [2023-02-07T11:16:30.797Z] -- C SDK 0.0.0 for Linux [2023-02-07T11:16:30.797Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-02-07T11:16:30.797Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-02-07T11:16:30.797Z] -- Found Curses: /usr/lib/libcurses.so [2023-02-07T11:16:30.797Z] -- Configuring done [2023-02-07T11:16:30.797Z] -- Generating done [2023-02-07T11:16:30.797Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-02-07T11:16:30.797Z] + make [2023-02-07T11:16:30.797Z] + tee debug.log [2023-02-07T11:16:31.056Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-02-07T11:16:31.056Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-02-07T11:16:31.056Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-02-07T11:16:31.315Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-02-07T11:16:31.315Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-02-07T11:16:31.315Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-02-07T11:16:31.574Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-02-07T11:16:31.574Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-02-07T11:16:31.832Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-02-07T11:16:31.832Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-02-07T11:16:31.832Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-02-07T11:16:32.092Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-02-07T11:16:32.092Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-02-07T11:16:32.092Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-02-07T11:16:32.350Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-02-07T11:16:32.350Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-02-07T11:16:32.609Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-02-07T11:16:32.609Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-02-07T11:16:32.609Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-02-07T11:16:32.867Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-02-07T11:16:32.868Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-02-07T11:16:33.127Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-02-07T11:16:33.127Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-02-07T11:16:33.127Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-02-07T11:16:33.385Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-02-07T11:16:33.644Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-02-07T11:16:33.644Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-02-07T11:16:33.644Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-02-07T11:16:33.902Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-02-07T11:16:34.161Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-02-07T11:16:34.161Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-02-07T11:16:34.161Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-02-07T11:16:34.161Z] [ 67%] Linking C shared library libcsdk.so [2023-02-07T11:16:34.419Z] [ 67%] Built target csdk [2023-02-07T11:16:34.419Z] [ 69%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-02-07T11:16:34.419Z] [ 71%] Linking C executable template [2023-02-07T11:16:34.419Z] [ 71%] Built target template [2023-02-07T11:16:34.419Z] [ 73%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-02-07T11:16:34.678Z] [ 75%] Linking C executable device-counter [2023-02-07T11:16:34.678Z] [ 75%] Built target device-counter [2023-02-07T11:16:34.678Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-02-07T11:16:34.678Z] [ 79%] Linking C executable device-random [2023-02-07T11:16:34.678Z] [ 79%] Built target device-random [2023-02-07T11:16:34.936Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-02-07T11:16:34.936Z] [ 83%] Linking C executable device-gyro [2023-02-07T11:16:34.936Z] [ 83%] Built target device-gyro [2023-02-07T11:16:34.936Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-02-07T11:16:35.195Z] [ 87%] Linking C executable device-bitfields [2023-02-07T11:16:35.195Z] [ 87%] Built target device-bitfields [2023-02-07T11:16:35.195Z] [ 89%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-02-07T11:16:35.195Z] [ 91%] Linking C executable template-discovery [2023-02-07T11:16:35.195Z] [ 91%] Built target template-discovery [2023-02-07T11:16:35.195Z] [ 93%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-02-07T11:16:35.455Z] [ 95%] Linking C executable device-file [2023-02-07T11:16:35.455Z] [ 95%] Built target device-file [2023-02-07T11:16:35.455Z] [ 97%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-02-07T11:16:35.455Z] [100%] Linking C executable device-terminal [2023-02-07T11:16:35.716Z] [100%] Built target device-terminal [2023-02-07T11:16:35.716Z] make: Entering directory '/tmp/sdk/build/release' [2023-02-07T11:16:35.716Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-02-07T11:16:35.716Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-07T11:16:35.716Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-07T11:16:35.716Z] [ 67%] Built target csdk [2023-02-07T11:16:35.716Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-07T11:16:35.716Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-07T11:16:35.716Z] [ 71%] Built target template [2023-02-07T11:16:35.716Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-07T11:16:35.716Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-07T11:16:35.716Z] [ 75%] Built target device-counter [2023-02-07T11:16:35.716Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-07T11:16:35.716Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-07T11:16:35.716Z] [ 79%] Built target device-random [2023-02-07T11:16:35.716Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-07T11:16:35.716Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-07T11:16:35.716Z] [ 83%] Built target device-gyro [2023-02-07T11:16:35.716Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-07T11:16:35.716Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-07T11:16:35.716Z] [ 87%] Built target device-bitfields [2023-02-07T11:16:35.716Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-07T11:16:35.716Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-07T11:16:35.716Z] [ 91%] Built target template-discovery [2023-02-07T11:16:35.716Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-07T11:16:35.716Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-07T11:16:35.716Z] [ 95%] Built target device-file [2023-02-07T11:16:35.716Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-07T11:16:35.716Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-07T11:16:35.716Z] [100%] Built target device-terminal [2023-02-07T11:16:35.716Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-02-07T11:16:36.007Z] Install the project... [2023-02-07T11:16:36.007Z] -- Install configuration: "Release" [2023-02-07T11:16:36.007Z] -- Installing: /usr/local/lib/libcsdk.so [2023-02-07T11:16:36.007Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-02-07T11:16:36.007Z] -- Installing: /usr/local/include [2023-02-07T11:16:36.007Z] -- Installing: /usr/local/include/devsdk [2023-02-07T11:16:36.007Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-02-07T11:16:36.007Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-02-07T11:16:36.007Z] -- Installing: /usr/local/include/edgex [2023-02-07T11:16:36.007Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-02-07T11:16:36.007Z] -- Installing: /usr/local/include/edgex/devices.h [2023-02-07T11:16:36.007Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-02-07T11:16:36.007Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-02-07T11:16:36.007Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-02-07T11:16:36.007Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-02-07T11:16:36.007Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-02-07T11:16:36.007Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-02-07T11:16:36.007Z] make: Leaving directory '/tmp/sdk/build/release' [2023-02-07T11:16:36.577Z] Removing intermediate container 487acfcd56a3 [2023-02-07T11:16:36.577Z] ---> c7d7fe76c883 [2023-02-07T11:16:36.577Z] Step 14/21 : FROM ${BASE} [2023-02-07T11:16:36.577Z] ---> b2bbfebb3566 [2023-02-07T11:16:36.577Z] Step 15/21 : LABEL maintainer="IOTech " [2023-02-07T11:16:36.836Z] ---> Running in 737a59a408ef [2023-02-07T11:16:36.836Z] Removing intermediate container 737a59a408ef [2023-02-07T11:16:36.836Z] ---> 9d652f04fbbc [2023-02-07T11:16:36.836Z] 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-02-07T11:16:36.836Z] ---> Running in e555d866658a [2023-02-07T11:16:37.417Z] Connecting to iotech.jfrog.io (3.248.100.191:443) [2023-02-07T11:16:37.678Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-02-07T11:16:37.678Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-02-07T11:16:37.678Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-02-07T11:16:38.618Z] Removing intermediate container e555d866658a [2023-02-07T11:16:38.618Z] ---> eabf4f6320a0 [2023-02-07T11:16:38.618Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-02-07T11:16:38.618Z] ---> Running in a356fccf1551 [2023-02-07T11:16:39.554Z] Removing intermediate container a356fccf1551 [2023-02-07T11:16:39.554Z] ---> a6347fa8c9ce [2023-02-07T11:16:39.554Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-02-07T11:16:39.814Z] ---> Running in 8d8cb7390b40 [2023-02-07T11:16:40.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T11:16:40.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T11:16:40.331Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T11:16:40.900Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-02-07T11:16:40.900Z] (1/7) Installing curl (7.83.1-r5) [2023-02-07T11:16:40.900Z] (2/7) Installing hiredis (1.0.2-r0) [2023-02-07T11:16:40.900Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-02-07T11:16:40.900Z] (4/7) Installing iotech-iot-1.4 (1.4.0-r0) [2023-02-07T11:16:41.468Z] (5/7) Installing libcbor (0.9.0-r1) [2023-02-07T11:16:41.468Z] (6/7) Installing libuuid (2.38-r1) [2023-02-07T11:16:41.468Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-02-07T11:16:42.406Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T11:16:42.406Z] OK: 275 MiB in 83 packages [2023-02-07T11:16:42.975Z] Removing intermediate container 8d8cb7390b40 [2023-02-07T11:16:42.975Z] ---> 17c7d96f6092 [2023-02-07T11:16:42.975Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-02-07T11:16:42.975Z] ---> 1b38a1b543ab [2023-02-07T11:16:42.975Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-02-07T11:16:43.234Z] ---> 5e3ffb7c3dd9 [2023-02-07T11:16:43.234Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-02-07T11:16:43.234Z] ---> 23f0ac3f6bea [2023-02-07T11:16:43.234Z] Successfully built 23f0ac3f6bea [2023-02-07T11:16:43.234Z] 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-02-07T11:16:43.581Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-07T11:16:43.581Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T11:16:43.676Z] prd-ubuntu20.04-docker-8c-8g-4876 does not seem to be running inside a container [2023-02-07T11:16:43.721Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-440 -v /w/workspace/edgexfoundry_device-sdk-c_PR-440:/w/workspace/edgexfoundry_device-sdk-c_PR-440:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-07T11:16:44.207Z] $ docker top e9413881979df25615c8b6a8c6f1358e1b3e419fbce93cb20562e1d988121bac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T11:16:44.546Z] + make test [2023-02-07T11:16:44.546Z] echo "make test" [2023-02-07T11:16:44.546Z] make test [Pipeline] } [2023-02-07T11:16:44.561Z] $ docker stop --time=1 e9413881979df25615c8b6a8c6f1358e1b3e419fbce93cb20562e1d988121bac [2023-02-07T11:16:45.843Z] $ docker rm -f --volumes e9413881979df25615c8b6a8c6f1358e1b3e419fbce93cb20562e1d988121bac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T11:16:46.500Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-07T11:16:46.785Z] + ls -al . [2023-02-07T11:16:46.785Z] total 204 [2023-02-07T11:16:46.785Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 7 11:15 . [2023-02-07T11:16:46.785Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 11:15 .. [2023-02-07T11:16:46.785Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 11:15 .git [2023-02-07T11:16:46.785Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 11:15 .github [2023-02-07T11:16:46.785Z] -rw-rw-r-- 1 jenkins jenkins 176 Feb 7 11:15 .gitignore [2023-02-07T11:16:46.785Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 11:15 .semver [2023-02-07T11:16:46.785Z] -rw-rw-r-- 1 jenkins jenkins 3104 Feb 7 11:15 Attribution.txt [2023-02-07T11:16:46.785Z] -rw-rw-r-- 1 jenkins jenkins 8583 Feb 7 11:15 CHANGES [2023-02-07T11:16:46.785Z] -rw-rw-r-- 1 jenkins jenkins 108574 Feb 7 11:15 Doxyfile [2023-02-07T11:16:46.785Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 11:15 GOVERNANCE.md [2023-02-07T11:16:46.785Z] -rw-rw-r-- 1 jenkins jenkins 784 Feb 7 11:15 Jenkinsfile [2023-02-07T11:16:46.785Z] -rw-rw-r-- 1 jenkins jenkins 10174 Feb 7 11:15 LICENSE [2023-02-07T11:16:46.785Z] -rw-rw-r-- 1 jenkins jenkins 444 Feb 7 11:15 Makefile [2023-02-07T11:16:46.785Z] -rw-rw-r-- 1 jenkins jenkins 618 Feb 7 11:15 OWNERS.md [2023-02-07T11:16:46.785Z] -rw-rw-r-- 1 jenkins jenkins 4086 Feb 7 11:15 README.md [2023-02-07T11:16:46.785Z] -rw-rw-r-- 1 jenkins jenkins 1245 Feb 7 11:15 README.v3.md [2023-02-07T11:16:46.785Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 11:15 VERSION [2023-02-07T11:16:46.785Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 11:15 docs [2023-02-07T11:16:46.785Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 11:15 include [2023-02-07T11:16:46.785Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 11:15 scripts [2023-02-07T11:16:46.785Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 11:15 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T11:16:47.096Z] + 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=eafbf3d9695056fdb220afb931551b369a5eea4e --label arch=amd64 --label version=0.0.0 . [2023-02-07T11:16:47.096Z] Sending build context to Docker daemon 4.763MB [2023-02-07T11:16:47.096Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-02-07T11:16:47.096Z] Step 2/17 : FROM ${BASE} [2023-02-07T11:16:47.096Z] ---> 23f0ac3f6bea [2023-02-07T11:16:47.096Z] Step 3/17 : LABEL maintainer="IOTech " [2023-02-07T11:16:47.096Z] ---> Running in ffcfc07b0aa9 [2023-02-07T11:16:47.354Z] Removing intermediate container ffcfc07b0aa9 [2023-02-07T11:16:47.354Z] ---> 095f29cfd98e [2023-02-07T11:16:47.354Z] 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-02-07T11:16:47.354Z] ---> Running in cf6c98c17b43 [2023-02-07T11:16:47.613Z] Connecting to iotech.jfrog.io (52.212.211.236:443) [2023-02-07T11:16:48.181Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-02-07T11:16:48.181Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-02-07T11:16:48.181Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-02-07T11:16:48.748Z] Removing intermediate container cf6c98c17b43 [2023-02-07T11:16:48.748Z] ---> 73c810e65354 [2023-02-07T11:16:48.748Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-02-07T11:16:48.748Z] ---> Running in e3c4b9f80321 [2023-02-07T11:16:49.683Z] Removing intermediate container e3c4b9f80321 [2023-02-07T11:16:49.683Z] ---> e7ab7f826343 [2023-02-07T11:16:49.683Z] 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.4-dev && mkdir -p /edgex-c-sdk/build [2023-02-07T11:16:49.943Z] ---> Running in 9bb2a9188514 [2023-02-07T11:16:50.204Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T11:16:50.462Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T11:16:50.721Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T11:16:51.290Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-02-07T11:16:51.290Z] (1/8) Installing iotech-iot-1.4-dev (1.4.0-r0) [2023-02-07T11:16:51.290Z] (2/8) Installing libcbor-dev (0.9.0-r1) [2023-02-07T11:16:51.290Z] (3/8) Installing ncurses-dev (6.3_p20220521-r0) [2023-02-07T11:16:51.290Z] (4/8) Installing libblkid (2.38-r1) [2023-02-07T11:16:51.290Z] (5/8) Installing libfdisk (2.38-r1) [2023-02-07T11:16:51.290Z] (6/8) Installing libmount (2.38-r1) [2023-02-07T11:16:51.290Z] (7/8) Installing libsmartcols (2.38-r1) [2023-02-07T11:16:51.290Z] (8/8) Installing util-linux-dev (2.38-r1) [2023-02-07T11:16:51.549Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T11:16:51.549Z] OK: 280 MiB in 91 packages [2023-02-07T11:16:52.932Z] Removing intermediate container 9bb2a9188514 [2023-02-07T11:16:52.932Z] ---> d4d58dc80d0d [2023-02-07T11:16:52.932Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-02-07T11:16:52.932Z] ---> 51bc1aef5e38 [2023-02-07T11:16:52.932Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-02-07T11:16:53.503Z] ---> 62f709846b68 [2023-02-07T11:16:53.503Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-02-07T11:16:53.761Z] ---> e952d1181dee [2023-02-07T11:16:53.761Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-02-07T11:16:54.330Z] ---> 0b1ba279c2fa [2023-02-07T11:16:54.330Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-02-07T11:16:54.589Z] ---> 957f607534cf [2023-02-07T11:16:54.589Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-02-07T11:16:54.848Z] ---> b11ac36d5e93 [2023-02-07T11:16:54.848Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-02-07T11:16:55.125Z] ---> Running in 4414854f7c45 [2023-02-07T11:16:55.387Z] Removing intermediate container 4414854f7c45 [2023-02-07T11:16:55.387Z] ---> d26b0e8e8cff [2023-02-07T11:16:55.387Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-02-07T11:16:55.669Z] ---> Running in ce5dcf4e92b5 [2023-02-07T11:16:55.928Z] Removing intermediate container ce5dcf4e92b5 [2023-02-07T11:16:55.928Z] ---> b5f973dd9027 [2023-02-07T11:16:55.928Z] Step 15/17 : LABEL arch=amd64 [2023-02-07T11:16:56.186Z] ---> Running in fac210beac87 [2023-02-07T11:16:56.753Z] Removing intermediate container fac210beac87 [2023-02-07T11:16:56.753Z] ---> 9c50ec52f15e [2023-02-07T11:16:56.753Z] Step 16/17 : LABEL git_sha=eafbf3d9695056fdb220afb931551b369a5eea4e [2023-02-07T11:16:56.753Z] ---> Running in 7dd43db3a1f5 [2023-02-07T11:16:57.013Z] Removing intermediate container 7dd43db3a1f5 [2023-02-07T11:16:57.013Z] ---> 394dab5dea45 [2023-02-07T11:16:57.013Z] Step 17/17 : LABEL version=0.0.0 [2023-02-07T11:16:57.581Z] ---> Running in cda93fa76666 [2023-02-07T11:16:58.150Z] Removing intermediate container cda93fa76666 [2023-02-07T11:16:58.150Z] ---> d8ab3a8ac26d [2023-02-07T11:16:58.150Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-02-07T11:16:58.150Z] Successfully built d8ab3a8ac26d [2023-02-07T11:16:58.150Z] 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-02-07T11:16:58.613Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T11:16:58.613Z] [2023-02-07T11:16:58.613Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T11:16:58.920Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T11:16:59.180Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-07T11:16:59.180Z] 5eb5b503b376: Pulling fs layer [2023-02-07T11:16:59.180Z] 5c69ac0246d0: Pulling fs layer [2023-02-07T11:16:59.180Z] ec43610c2a17: Pulling fs layer [2023-02-07T11:16:59.180Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-07T11:16:59.180Z] 33b1e0a273af: Pulling fs layer [2023-02-07T11:16:59.180Z] 5d3b04190fa2: Pulling fs layer [2023-02-07T11:16:59.180Z] 2f39f015ded8: Pulling fs layer [2023-02-07T11:16:59.180Z] 3a2ae6a8a46f: Waiting [2023-02-07T11:16:59.180Z] 2f39f015ded8: Waiting [2023-02-07T11:16:59.180Z] 33b1e0a273af: Waiting [2023-02-07T11:16:59.180Z] 5d3b04190fa2: Waiting [2023-02-07T11:16:59.180Z] 5c69ac0246d0: Download complete [2023-02-07T11:16:59.180Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-07T11:16:59.180Z] 3a2ae6a8a46f: Download complete [2023-02-07T11:16:59.180Z] 33b1e0a273af: Verifying Checksum [2023-02-07T11:16:59.180Z] 33b1e0a273af: Download complete [2023-02-07T11:16:59.466Z] 5d3b04190fa2: Verifying Checksum [2023-02-07T11:16:59.466Z] 5d3b04190fa2: Download complete [2023-02-07T11:16:59.466Z] ec43610c2a17: Download complete [2023-02-07T11:16:59.466Z] 5eb5b503b376: Verifying Checksum [2023-02-07T11:16:59.466Z] 5eb5b503b376: Download complete [2023-02-07T11:17:00.418Z] 2f39f015ded8: Verifying Checksum [2023-02-07T11:17:00.418Z] 2f39f015ded8: Download complete [2023-02-07T11:17:01.356Z] 5eb5b503b376: Pull complete [2023-02-07T11:17:01.621Z] 5c69ac0246d0: Pull complete [2023-02-07T11:17:02.193Z] ec43610c2a17: Pull complete [2023-02-07T11:17:02.463Z] 3a2ae6a8a46f: Pull complete [2023-02-07T11:17:02.722Z] 33b1e0a273af: Pull complete [2023-02-07T11:17:03.026Z] 5d3b04190fa2: Pull complete [2023-02-07T11:17:08.313Z] 2f39f015ded8: Pull complete [2023-02-07T11:17:08.313Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-07T11:17:08.313Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T11:17:08.313Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T11:17:08.390Z] prd-ubuntu20.04-docker-8c-8g-4876 does not seem to be running inside a container [2023-02-07T11:17:08.420Z] $ 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-440 -v /w/workspace/edgexfoundry_device-sdk-c_PR-440:/w/workspace/edgexfoundry_device-sdk-c_PR-440:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-07T11:17:17.163Z] $ docker top 32f806ef8dec946de66d969573e571e64638ea217a132bdf02423b1a76596b7f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T11:17:17.557Z] ---> job-cost.sh [2023-02-07T11:17:17.557Z] lf-activate-venv: SKIPPING [2023-02-07T11:17:17.557Z] INFO: No Stack... [2023-02-07T11:17:18.130Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-07T11:17:18.392Z] INFO: Archiving Costs [Pipeline] sh [2023-02-07T11:17:18.688Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives/cost.csv [2023-02-07T11:17:18.688Z] + cut -d, -f6 [Pipeline] lock [2023-02-07T11:17:18.705Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-440-3-stack-cost] [2023-02-07T11:17:18.711Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-440-3-stack-cost] did not exist. Created. [2023-02-07T11:17:18.711Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-440-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-07T11:17:19.037Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-07T11:17:19.095Z] Stashed 1 file(s) [Pipeline] } [2023-02-07T11:17:19.107Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-440-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-07T11:17:19.122Z] $ docker stop --time=1 32f806ef8dec946de66d969573e571e64638ea217a132bdf02423b1a76596b7f [2023-02-07T11:17:20.287Z] $ docker rm -f --volumes 32f806ef8dec946de66d969573e571e64638ea217a132bdf02423b1a76596b7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-07T11:17:35.992Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4877 in /w/workspace/edgexfoundry_device-sdk-c_PR-440 [Pipeline] { [Pipeline] ws [2023-02-07T11:17:36.005Z] Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout [2023-02-07T11:17:36.037Z] Selected Git installation does not exist. Using Default [2023-02-07T11:17:36.037Z] The recommended git tool is: NONE [2023-02-07T11:17:40.832Z] using credential edgex-jenkins-ssh [2023-02-07T11:17:40.849Z] Cloning the remote Git repository [2023-02-07T11:17:40.883Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-02-07T11:17:40.956Z] > git init /w/workspace/device-sdk-c/3 # timeout=10 [2023-02-07T11:17:41.103Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-02-07T11:17:41.104Z] > git --version # timeout=10 [2023-02-07T11:17:41.125Z] > git --version # 'git version 2.25.1' [2023-02-07T11:17:41.126Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T11:17:41.179Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-07T11:17:42.205Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-02-07T11:17:42.225Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-07T11:17:43.011Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-02-07T11:17:43.065Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-02-07T11:17:43.065Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T11:17:43.084Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/440/head:refs/remotes/origin/PR-440 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-07T11:17:43.743Z] Merging remotes/origin/main commit 60c720530b7232d7be6f88f4d69bf42c6efbb654 into PR head commit eafbf3d9695056fdb220afb931551b369a5eea4e [2023-02-07T11:17:43.984Z] Merge succeeded, producing eafbf3d9695056fdb220afb931551b369a5eea4e [2023-02-07T11:17:43.985Z] Checking out Revision eafbf3d9695056fdb220afb931551b369a5eea4e (PR-440) [2023-02-07T11:17:43.759Z] > git config core.sparsecheckout # timeout=10 [2023-02-07T11:17:43.779Z] > git checkout -f eafbf3d9695056fdb220afb931551b369a5eea4e # timeout=10 [2023-02-07T11:17:43.888Z] > git remote # timeout=10 [2023-02-07T11:17:43.906Z] > git config --get remote.origin.url # timeout=10 [2023-02-07T11:17:43.926Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T11:17:43.939Z] > git merge 60c720530b7232d7be6f88f4d69bf42c6efbb654 # timeout=10 [2023-02-07T11:17:43.965Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-07T11:17:43.988Z] > git config core.sparsecheckout # timeout=10 [2023-02-07T11:17:44.004Z] > git checkout -f eafbf3d9695056fdb220afb931551b369a5eea4e # timeout=10 [2023-02-07T11:17:47.481Z] Commit message: "refactor!: remove legacy metrics api, event publishing to core-data BREAKING CHANGE: Removed the Device.UseMessageBus config and the code for sending event via core-data REST client (MessageBus is always enabled in 3.0 for sending events) BREAKING CHANGE: v2 metrics endpoint is removed for all services" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T11:17:48.347Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-07T11:17:48.347Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-07T11:17:48.347Z] Dload Upload Total Spent Left Speed [2023-02-07T11:17:48.347Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 85006 [Pipeline] sh [2023-02-07T11:17:49.007Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-07T11:17:49.332Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-07T11:17:49.332Z] + sudo tee /etc/docker/daemon.new [2023-02-07T11:17:49.332Z] { [2023-02-07T11:17:49.332Z] "registry-mirrors": [ [2023-02-07T11:17:49.332Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-07T11:17:49.332Z] ], [2023-02-07T11:17:49.332Z] "bip": "10.250.0.254/24", [2023-02-07T11:17:49.332Z] "hosts": [ [2023-02-07T11:17:49.332Z] "tcp://0.0.0.0:5555", [2023-02-07T11:17:49.332Z] "unix:///var/run/docker.sock" [2023-02-07T11:17:49.332Z] ], [2023-02-07T11:17:49.332Z] "mtu": 1458, [2023-02-07T11:17:49.332Z] "selinux-enabled": true, [2023-02-07T11:17:49.332Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-07T11:17:49.332Z] } [Pipeline] sh [2023-02-07T11:17:49.659Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-07T11:17:49.982Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T11:18:08.248Z] provisioning config files... [2023-02-07T11:18:08.276Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config15671171988391315730tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T11:18:08.626Z] ---> docker-login.sh [2023-02-07T11:18:08.626Z] nexus3.edgexfoundry.org:10001 [2023-02-07T11:18:08.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T11:18:09.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T11:18:09.179Z] Configure a credential helper to remove this warning. See [2023-02-07T11:18:09.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T11:18:09.179Z] [2023-02-07T11:18:09.179Z] Login Succeeded [2023-02-07T11:18:09.179Z] nexus3.edgexfoundry.org:10002 [2023-02-07T11:18:09.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T11:18:09.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T11:18:09.720Z] Configure a credential helper to remove this warning. See [2023-02-07T11:18:09.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T11:18:09.720Z] [2023-02-07T11:18:09.720Z] Login Succeeded [2023-02-07T11:18:09.720Z] nexus3.edgexfoundry.org:10003 [2023-02-07T11:18:09.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T11:18:09.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T11:18:09.987Z] Configure a credential helper to remove this warning. See [2023-02-07T11:18:09.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T11:18:09.987Z] [2023-02-07T11:18:09.987Z] Login Succeeded [2023-02-07T11:18:09.987Z] nexus3.edgexfoundry.org:10004 [2023-02-07T11:18:10.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T11:18:10.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T11:18:10.254Z] Configure a credential helper to remove this warning. See [2023-02-07T11:18:10.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T11:18:10.254Z] [2023-02-07T11:18:10.254Z] Login Succeeded [2023-02-07T11:18:10.254Z] docker.io [2023-02-07T11:18:10.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T11:18:10.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T11:18:10.787Z] Configure a credential helper to remove this warning. See [2023-02-07T11:18:10.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T11:18:10.787Z] [2023-02-07T11:18:10.787Z] Login Succeeded [2023-02-07T11:18:10.787Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T11:18:10.800Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-07T11:18:11.028Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T11:18:11.043Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-02-07T11:18:11.055Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T11:18:11.066Z] ========================================================= [2023-02-07T11:18:11.066Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-02-07T11:18:11.066Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T11:18:11.398Z] + 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-02-07T11:18:11.667Z] Sending build context to Docker daemon 2.893MB [2023-02-07T11:18:11.667Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-02-07T11:18:11.667Z] Step 2/21 : FROM ${BASE} as builder [2023-02-07T11:18:11.933Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-02-07T11:18:11.933Z] 9b18e9b68314: Pulling fs layer [2023-02-07T11:18:11.933Z] 1def92ead452: Pulling fs layer [2023-02-07T11:18:11.933Z] 9b18e9b68314: Verifying Checksum [2023-02-07T11:18:11.933Z] 9b18e9b68314: Download complete [2023-02-07T11:18:12.517Z] 9b18e9b68314: Pull complete [2023-02-07T11:18:13.931Z] 1def92ead452: Download complete [2023-02-07T11:18:22.137Z] 1def92ead452: Pull complete [2023-02-07T11:18:22.137Z] Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c [2023-02-07T11:18:22.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-02-07T11:18:22.137Z] ---> 9a9802766715 [2023-02-07T11:18:22.137Z] 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-02-07T11:18:22.137Z] ---> Running in 129c85a0fd7c [2023-02-07T11:18:22.723Z] Connecting to iotech.jfrog.io (34.240.65.14:443) [2023-02-07T11:18:23.305Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-02-07T11:18:23.305Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-02-07T11:18:23.305Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-02-07T11:18:23.891Z] Removing intermediate container 129c85a0fd7c [2023-02-07T11:18:23.891Z] ---> b1fa27cdfca0 [2023-02-07T11:18:23.891Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-02-07T11:18:23.891Z] ---> Running in 97f920774dd9 [2023-02-07T11:18:25.312Z] Removing intermediate container 97f920774dd9 [2023-02-07T11:18:25.312Z] ---> 2c505f0e39eb [2023-02-07T11:18:25.312Z] 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.4-dev hiredis-dev [2023-02-07T11:18:25.585Z] ---> Running in 57bcb5c13c14 [2023-02-07T11:18:26.550Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T11:18:26.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T11:18:27.087Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T11:18:28.051Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-02-07T11:18:28.051Z] (1/14) Installing hiredis (1.0.2-r0) [2023-02-07T11:18:28.051Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-02-07T11:18:28.051Z] (3/14) Installing iotech-iot-1.4 (1.4.0-r0) [2023-02-07T11:18:28.635Z] (4/14) Installing iotech-iot-1.4-dev (1.4.0-r0) [2023-02-07T11:18:28.904Z] (5/14) Installing libcbor (0.9.0-r1) [2023-02-07T11:18:28.904Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-02-07T11:18:28.904Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-02-07T11:18:28.904Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-02-07T11:18:29.863Z] (9/14) Installing libblkid (2.38-r1) [2023-02-07T11:18:29.863Z] (10/14) Installing libuuid (2.38-r1) [2023-02-07T11:18:29.863Z] (11/14) Installing libfdisk (2.38-r1) [2023-02-07T11:18:29.863Z] (12/14) Installing libmount (2.38-r1) [2023-02-07T11:18:29.863Z] (13/14) Installing libsmartcols (2.38-r1) [2023-02-07T11:18:29.863Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-02-07T11:18:29.863Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T11:18:29.863Z] OK: 286 MiB in 90 packages [2023-02-07T11:18:31.280Z] Removing intermediate container 57bcb5c13c14 [2023-02-07T11:18:31.280Z] ---> f289a7204b92 [2023-02-07T11:18:31.280Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-02-07T11:18:31.280Z] ---> Running in bfe680fd8b3e [2023-02-07T11:18:33.228Z] Removing intermediate container bfe680fd8b3e [2023-02-07T11:18:33.228Z] ---> ddb5f460eb68 [2023-02-07T11:18:33.228Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-02-07T11:18:33.502Z] ---> a7af019a7642 [2023-02-07T11:18:33.502Z] Step 8/21 : COPY src /tmp/sdk/src [2023-02-07T11:18:34.087Z] ---> 8613463e6a18 [2023-02-07T11:18:34.087Z] Step 9/21 : COPY include /tmp/sdk/include [2023-02-07T11:18:34.671Z] ---> e3d44a7a352c [2023-02-07T11:18:34.671Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-02-07T11:18:34.939Z] ---> ffcd434bb183 [2023-02-07T11:18:34.939Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-02-07T11:18:35.529Z] ---> 95d07a8e0b7b [2023-02-07T11:18:35.529Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-02-07T11:18:36.115Z] ---> 751c0483e72d [2023-02-07T11:18:36.115Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-02-07T11:18:36.115Z] ---> Running in 79fa6bfd2392 [2023-02-07T11:18:37.076Z] + CPPCHECK=false [2023-02-07T11:18:37.076Z] + DOCGEN=false [2023-02-07T11:18:37.076Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-02-07T11:18:37.076Z] + TOMLVER=SDK-0.2 [2023-02-07T11:18:37.076Z] + CUTILVER=1.4 [2023-02-07T11:18:37.076Z] + '[' 0 -gt 0 ] [2023-02-07T11:18:37.076Z] + readlink -f ./scripts/build.sh [2023-02-07T11:18:37.076Z] + dirname /tmp/sdk/scripts/build.sh [2023-02-07T11:18:37.076Z] + dirname /tmp/sdk/scripts [2023-02-07T11:18:37.076Z] + ROOT=/tmp/sdk [2023-02-07T11:18:37.076Z] + cd /tmp/sdk [2023-02-07T11:18:37.076Z] + '[' '!' -d deps ] [2023-02-07T11:18:37.076Z] + mkdir deps [2023-02-07T11:18:37.076Z] + + wgettar -O -C - deps https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz -z [2023-02-07T11:18:37.076Z] -x -f - [2023-02-07T11:18:37.076Z] Connecting to github.com (140.82.112.3:443) [2023-02-07T11:18:37.076Z] Connecting to codeload.github.com (140.82.114.10:443) [2023-02-07T11:18:37.342Z] writing to stdout [2023-02-07T11:18:37.342Z] - 100% |********************************| 16451 0:00:00 ETA [2023-02-07T11:18:37.342Z] written to stdout [2023-02-07T11:18:37.342Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-02-07T11:18:37.342Z] + mkdir -p /tmp/sdk/build/release [2023-02-07T11:18:37.342Z] + cd /tmp/sdk/build/release [2023-02-07T11:18:37.342Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-02-07T11:18:37.610Z] -- The C compiler identification is GNU 11.2.1 [2023-02-07T11:18:37.878Z] -- Detecting C compiler ABI info [2023-02-07T11:18:38.147Z] -- Detecting C compiler ABI info - done [2023-02-07T11:18:38.147Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-02-07T11:18:38.147Z] -- Detecting C compile features [2023-02-07T11:18:38.147Z] -- Detecting C compile features - done [2023-02-07T11:18:38.147Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-02-07T11:18:38.418Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-02-07T11:18:38.418Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-02-07T11:18:38.418Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-02-07T11:18:38.418Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-02-07T11:18:38.418Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-02-07T11:18:38.418Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-02-07T11:18:38.418Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-02-07T11:18:38.418Z] -- /opt/iotech/iot/1.4/include [2023-02-07T11:18:38.418Z] -- C SDK 0.0.0 for Linux [2023-02-07T11:18:38.418Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-02-07T11:18:38.683Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-02-07T11:18:38.952Z] -- Found Curses: /usr/lib/libcurses.so [2023-02-07T11:18:39.218Z] -- Configuring done [2023-02-07T11:18:39.484Z] -- Generating done [2023-02-07T11:18:39.484Z] -- Build files have been written to: /tmp/sdk/build/release [2023-02-07T11:18:39.484Z] + make all package [2023-02-07T11:18:39.484Z] + tee release.log [2023-02-07T11:18:39.484Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-02-07T11:18:40.443Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-02-07T11:18:41.414Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-02-07T11:18:44.744Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-02-07T11:18:45.323Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-02-07T11:18:45.588Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-02-07T11:18:46.989Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-02-07T11:18:48.395Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-02-07T11:18:49.803Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-02-07T11:18:51.745Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-02-07T11:18:52.330Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-02-07T11:18:53.291Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-02-07T11:18:54.253Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-02-07T11:18:54.835Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-02-07T11:18:55.103Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-02-07T11:18:59.358Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-02-07T11:18:59.358Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-02-07T11:18:59.946Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-02-07T11:19:01.356Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-02-07T11:19:06.696Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-02-07T11:19:07.654Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-02-07T11:19:07.921Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-02-07T11:19:08.502Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-02-07T11:19:10.437Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-02-07T11:19:13.007Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-02-07T11:19:13.272Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-02-07T11:19:14.226Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-02-07T11:19:14.804Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-02-07T11:19:18.148Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-02-07T11:19:23.473Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-02-07T11:19:23.474Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-02-07T11:19:24.058Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-02-07T11:19:24.639Z] [ 67%] Linking C shared library libcsdk.so [2023-02-07T11:19:24.639Z] [ 67%] Built target csdk [2023-02-07T11:19:24.917Z] [ 69%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-02-07T11:19:25.872Z] [ 71%] Linking C executable template [2023-02-07T11:19:26.136Z] [ 71%] Built target template [2023-02-07T11:19:26.136Z] [ 73%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-02-07T11:19:26.715Z] [ 75%] Linking C executable device-counter [2023-02-07T11:19:26.980Z] [ 75%] Built target device-counter [2023-02-07T11:19:26.980Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-02-07T11:19:27.559Z] [ 79%] Linking C executable device-random [2023-02-07T11:19:27.825Z] [ 79%] Built target device-random [2023-02-07T11:19:28.090Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-02-07T11:19:28.670Z] [ 83%] Linking C executable device-gyro [2023-02-07T11:19:28.935Z] [ 83%] Built target device-gyro [2023-02-07T11:19:28.936Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-02-07T11:19:29.517Z] [ 87%] Linking C executable device-bitfields [2023-02-07T11:19:29.782Z] [ 87%] Built target device-bitfields [2023-02-07T11:19:29.782Z] [ 89%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-02-07T11:19:30.738Z] [ 91%] Linking C executable template-discovery [2023-02-07T11:19:31.005Z] [ 91%] Built target template-discovery [2023-02-07T11:19:31.005Z] [ 93%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-02-07T11:19:31.961Z] [ 95%] Linking C executable device-file [2023-02-07T11:19:32.227Z] [ 95%] Built target device-file [2023-02-07T11:19:32.227Z] [ 97%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-02-07T11:19:33.189Z] [100%] Linking C executable device-terminal [2023-02-07T11:19:33.456Z] [100%] Built target device-terminal [2023-02-07T11:19:34.411Z] Run CPack packaging tool... [2023-02-07T11:19:34.411Z] CPack: Create package using TGZ [2023-02-07T11:19:34.411Z] CPack: Install projects [2023-02-07T11:19:34.411Z] CPack: - Run preinstall target for: Csdk [2023-02-07T11:19:35.368Z] CPack: - Install project: Csdk [] [2023-02-07T11:19:35.368Z] CPack: Create package [2023-02-07T11:19:35.368Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-02-07T11:19:35.368Z] + '[' false '=' true ] [2023-02-07T11:19:35.368Z] + '[' false '=' true ] [2023-02-07T11:19:35.368Z] + mkdir -p /tmp/sdk/build/debug [2023-02-07T11:19:35.368Z] + cd /tmp/sdk/build/debug [2023-02-07T11:19:35.368Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-02-07T11:19:35.632Z] -- The C compiler identification is GNU 11.2.1 [2023-02-07T11:19:35.632Z] -- Detecting C compiler ABI info [2023-02-07T11:19:35.898Z] -- Detecting C compiler ABI info - done [2023-02-07T11:19:35.898Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-02-07T11:19:35.898Z] -- Detecting C compile features [2023-02-07T11:19:35.898Z] -- Detecting C compile features - done [2023-02-07T11:19:35.898Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-02-07T11:19:36.164Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-02-07T11:19:36.164Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-02-07T11:19:36.164Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-02-07T11:19:36.164Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-02-07T11:19:36.164Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-02-07T11:19:36.164Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-02-07T11:19:36.164Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-02-07T11:19:36.164Z] -- /opt/iotech/iot/1.4/include [2023-02-07T11:19:36.164Z] -- C SDK 0.0.0 for Linux [2023-02-07T11:19:36.430Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-02-07T11:19:36.695Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-02-07T11:19:36.695Z] -- Found Curses: /usr/lib/libcurses.so [2023-02-07T11:19:36.960Z] -- Configuring done [2023-02-07T11:19:37.225Z] -- Generating done [2023-02-07T11:19:37.225Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-02-07T11:19:37.225Z] + make [2023-02-07T11:19:37.225Z] + tee debug.log [2023-02-07T11:19:37.225Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-02-07T11:19:37.806Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-02-07T11:19:38.073Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-02-07T11:19:39.027Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-02-07T11:19:39.609Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-02-07T11:19:39.609Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-02-07T11:19:40.189Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-02-07T11:19:40.769Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-02-07T11:19:41.349Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-02-07T11:19:41.930Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-02-07T11:19:42.510Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-02-07T11:19:42.776Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-02-07T11:19:43.354Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-02-07T11:19:43.619Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-02-07T11:19:43.885Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-02-07T11:19:45.288Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-02-07T11:19:45.288Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-02-07T11:19:45.553Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-02-07T11:19:46.136Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-02-07T11:19:47.539Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-02-07T11:19:47.805Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-02-07T11:19:48.385Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-02-07T11:19:48.650Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-02-07T11:19:49.230Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-02-07T11:19:51.170Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-02-07T11:19:51.170Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-02-07T11:19:51.751Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-02-07T11:19:52.016Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-02-07T11:19:52.972Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-02-07T11:19:53.934Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-02-07T11:19:54.513Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-02-07T11:19:54.778Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-02-07T11:19:55.043Z] [ 67%] Linking C shared library libcsdk.so [2023-02-07T11:19:55.308Z] [ 67%] Built target csdk [2023-02-07T11:19:55.308Z] [ 69%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-02-07T11:19:55.574Z] [ 71%] Linking C executable template [2023-02-07T11:19:56.154Z] [ 71%] Built target template [2023-02-07T11:19:56.154Z] [ 73%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-02-07T11:19:56.419Z] [ 75%] Linking C executable device-counter [2023-02-07T11:19:56.683Z] [ 75%] Built target device-counter [2023-02-07T11:19:56.683Z] [ 77%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-02-07T11:19:56.949Z] [ 79%] Linking C executable device-random [2023-02-07T11:19:57.213Z] [ 79%] Built target device-random [2023-02-07T11:19:57.213Z] [ 81%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-02-07T11:19:57.793Z] [ 83%] Linking C executable device-gyro [2023-02-07T11:19:57.793Z] [ 83%] Built target device-gyro [2023-02-07T11:19:58.059Z] [ 85%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-02-07T11:19:58.325Z] [ 87%] Linking C executable device-bitfields [2023-02-07T11:19:58.660Z] [ 87%] Built target device-bitfields [2023-02-07T11:19:58.660Z] [ 89%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-02-07T11:19:58.933Z] [ 91%] Linking C executable template-discovery [2023-02-07T11:19:59.521Z] [ 91%] Built target template-discovery [2023-02-07T11:19:59.521Z] [ 93%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-02-07T11:19:59.791Z] [ 95%] Linking C executable device-file [2023-02-07T11:20:00.073Z] [ 95%] Built target device-file [2023-02-07T11:20:00.073Z] [ 97%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-02-07T11:20:00.659Z] [100%] Linking C executable device-terminal [2023-02-07T11:20:00.931Z] [100%] Built target device-terminal [2023-02-07T11:20:00.931Z] make: Entering directory '/tmp/sdk/build/release' [2023-02-07T11:20:00.931Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-02-07T11:20:00.931Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-07T11:20:00.931Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-07T11:20:01.201Z] [ 67%] Built target csdk [2023-02-07T11:20:01.201Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-07T11:20:01.201Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-07T11:20:01.201Z] [ 71%] Built target template [2023-02-07T11:20:01.201Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-07T11:20:01.201Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-07T11:20:01.201Z] [ 75%] Built target device-counter [2023-02-07T11:20:01.201Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-07T11:20:01.201Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-07T11:20:01.201Z] [ 79%] Built target device-random [2023-02-07T11:20:01.201Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-07T11:20:01.201Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-07T11:20:01.201Z] [ 83%] Built target device-gyro [2023-02-07T11:20:01.201Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-07T11:20:01.201Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-07T11:20:01.468Z] [ 87%] Built target device-bitfields [2023-02-07T11:20:01.468Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-07T11:20:01.468Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-07T11:20:01.468Z] [ 91%] Built target template-discovery [2023-02-07T11:20:01.468Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-07T11:20:01.468Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-07T11:20:01.468Z] [ 95%] Built target device-file [2023-02-07T11:20:01.468Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-02-07T11:20:01.468Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-02-07T11:20:01.468Z] [100%] Built target device-terminal [2023-02-07T11:20:01.468Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-02-07T11:20:01.468Z] Install the project... [2023-02-07T11:20:01.468Z] -- Install configuration: "Release" [2023-02-07T11:20:01.468Z] -- Installing: /usr/local/lib/libcsdk.so [2023-02-07T11:20:01.468Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-02-07T11:20:01.468Z] -- Installing: /usr/local/include [2023-02-07T11:20:01.468Z] -- Installing: /usr/local/include/devsdk [2023-02-07T11:20:01.468Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-02-07T11:20:01.468Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-02-07T11:20:01.468Z] -- Installing: /usr/local/include/edgex [2023-02-07T11:20:01.468Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-02-07T11:20:01.468Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-02-07T11:20:01.468Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-02-07T11:20:01.468Z] -- Installing: /usr/local/include/edgex/devices.h [2023-02-07T11:20:01.468Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-02-07T11:20:01.468Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-02-07T11:20:01.468Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-02-07T11:20:01.468Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-02-07T11:20:01.468Z] make: Leaving directory '/tmp/sdk/build/release' [2023-02-07T11:20:02.899Z] Removing intermediate container 79fa6bfd2392 [2023-02-07T11:20:02.899Z] ---> fe2706effe6d [2023-02-07T11:20:02.899Z] Step 14/21 : FROM ${BASE} [2023-02-07T11:20:02.899Z] ---> 9a9802766715 [2023-02-07T11:20:02.899Z] Step 15/21 : LABEL maintainer="IOTech " [2023-02-07T11:20:02.899Z] ---> Running in a60ae61dbb11 [2023-02-07T11:20:03.168Z] Removing intermediate container a60ae61dbb11 [2023-02-07T11:20:03.168Z] ---> c451dbcb2a21 [2023-02-07T11:20:03.168Z] 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-02-07T11:20:03.168Z] ---> Running in 7ac2faf05f59 [2023-02-07T11:20:04.123Z] Connecting to iotech.jfrog.io (52.210.99.226:443) [2023-02-07T11:20:04.703Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-02-07T11:20:04.703Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-02-07T11:20:04.703Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-02-07T11:20:05.282Z] Removing intermediate container 7ac2faf05f59 [2023-02-07T11:20:05.282Z] ---> ff14088eae36 [2023-02-07T11:20:05.282Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-02-07T11:20:05.282Z] ---> Running in 4f4fd8b62dde [2023-02-07T11:20:06.684Z] Removing intermediate container 4f4fd8b62dde [2023-02-07T11:20:06.684Z] ---> 14a19ef29699 [2023-02-07T11:20:06.684Z] 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-02-07T11:20:06.684Z] ---> Running in 1e3b5a402aa9 [2023-02-07T11:20:07.634Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T11:20:07.899Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T11:20:08.477Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T11:20:09.055Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-02-07T11:20:09.055Z] (1/7) Installing curl (7.83.1-r5) [2023-02-07T11:20:09.055Z] (2/7) Installing hiredis (1.0.2-r0) [2023-02-07T11:20:09.055Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-02-07T11:20:09.055Z] (4/7) Installing iotech-iot-1.4 (1.4.0-r0) [2023-02-07T11:20:10.009Z] (5/7) Installing libcbor (0.9.0-r1) [2023-02-07T11:20:10.010Z] (6/7) Installing libuuid (2.38-r1) [2023-02-07T11:20:10.010Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-02-07T11:20:13.695Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T11:20:13.695Z] OK: 281 MiB in 83 packages [2023-02-07T11:20:14.656Z] Removing intermediate container 1e3b5a402aa9 [2023-02-07T11:20:14.656Z] ---> 8246cad7a859 [2023-02-07T11:20:14.656Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-02-07T11:20:15.239Z] ---> 26ecd61beab9 [2023-02-07T11:20:15.239Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-02-07T11:20:15.819Z] ---> 4a905cafbcc9 [2023-02-07T11:20:15.819Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-02-07T11:20:16.084Z] ---> 6226dd243f7a [2023-02-07T11:20:16.351Z] Successfully built 6226dd243f7a [2023-02-07T11:20:16.351Z] 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-02-07T11:20:16.752Z] + docker inspect -f . ci-base-image-arm64 [2023-02-07T11:20:16.752Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T11:20:16.949Z] prd-ubuntu20.04-docker-arm64-4c-16g-4877 does not seem to be running inside a container [2023-02-07T11:20:17.041Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-07T11:20:18.173Z] $ docker top e1ad66f1488bbe336696d3258befe78175931dc739a798144a6eb98b6a045612 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T11:20:18.989Z] + make test [2023-02-07T11:20:18.989Z] echo "make test" [2023-02-07T11:20:18.989Z] make test [Pipeline] } [2023-02-07T11:20:19.014Z] $ docker stop --time=1 e1ad66f1488bbe336696d3258befe78175931dc739a798144a6eb98b6a045612 [2023-02-07T11:20:20.646Z] $ docker rm -f --volumes e1ad66f1488bbe336696d3258befe78175931dc739a798144a6eb98b6a045612 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T11:20:21.186Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-07T11:20:21.501Z] + ls -al . [2023-02-07T11:20:21.502Z] total 200 [2023-02-07T11:20:21.502Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 11:17 . [2023-02-07T11:20:21.502Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 11:17 .. [2023-02-07T11:20:21.502Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 11:17 .git [2023-02-07T11:20:21.502Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 11:17 .github [2023-02-07T11:20:21.502Z] -rw-rw-r-- 1 jenkins jenkins 176 Feb 7 11:17 .gitignore [2023-02-07T11:20:21.502Z] -rw-rw-r-- 1 jenkins jenkins 3104 Feb 7 11:17 Attribution.txt [2023-02-07T11:20:21.502Z] -rw-rw-r-- 1 jenkins jenkins 8583 Feb 7 11:17 CHANGES [2023-02-07T11:20:21.502Z] -rw-rw-r-- 1 jenkins jenkins 108574 Feb 7 11:17 Doxyfile [2023-02-07T11:20:21.502Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 11:17 GOVERNANCE.md [2023-02-07T11:20:21.502Z] -rw-rw-r-- 1 jenkins jenkins 784 Feb 7 11:17 Jenkinsfile [2023-02-07T11:20:21.502Z] -rw-rw-r-- 1 jenkins jenkins 10174 Feb 7 11:17 LICENSE [2023-02-07T11:20:21.502Z] -rw-rw-r-- 1 jenkins jenkins 444 Feb 7 11:17 Makefile [2023-02-07T11:20:21.502Z] -rw-rw-r-- 1 jenkins jenkins 618 Feb 7 11:17 OWNERS.md [2023-02-07T11:20:21.502Z] -rw-rw-r-- 1 jenkins jenkins 4086 Feb 7 11:17 README.md [2023-02-07T11:20:21.502Z] -rw-rw-r-- 1 jenkins jenkins 1245 Feb 7 11:17 README.v3.md [2023-02-07T11:20:21.502Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 11:15 VERSION [2023-02-07T11:20:21.502Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 11:17 docs [2023-02-07T11:20:21.502Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 11:17 include [2023-02-07T11:20:21.502Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 11:17 scripts [2023-02-07T11:20:21.502Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 11:17 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T11:20:21.832Z] + 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=eafbf3d9695056fdb220afb931551b369a5eea4e --label arch=arm64 --label version=0.0.0 . [2023-02-07T11:20:22.101Z] Sending build context to Docker daemon 2.893MB [2023-02-07T11:20:22.101Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-02-07T11:20:22.101Z] Step 2/17 : FROM ${BASE} [2023-02-07T11:20:22.101Z] ---> 6226dd243f7a [2023-02-07T11:20:22.101Z] Step 3/17 : LABEL maintainer="IOTech " [2023-02-07T11:20:22.365Z] ---> Running in c621b4612930 [2023-02-07T11:20:22.629Z] Removing intermediate container c621b4612930 [2023-02-07T11:20:22.629Z] ---> 51c1656b67a4 [2023-02-07T11:20:22.629Z] 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-02-07T11:20:22.629Z] ---> Running in 5863d86a6eeb [2023-02-07T11:20:23.590Z] Connecting to iotech.jfrog.io (34.249.42.153:443) [2023-02-07T11:20:24.177Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-02-07T11:20:24.177Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-02-07T11:20:24.177Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-02-07T11:20:24.760Z] Removing intermediate container 5863d86a6eeb [2023-02-07T11:20:24.760Z] ---> a612916666cc [2023-02-07T11:20:24.760Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-02-07T11:20:24.760Z] ---> Running in c8fa1963511c [2023-02-07T11:20:27.336Z] Removing intermediate container c8fa1963511c [2023-02-07T11:20:27.336Z] ---> 9d22723ea37e [2023-02-07T11:20:27.336Z] 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.4-dev && mkdir -p /edgex-c-sdk/build [2023-02-07T11:20:27.605Z] ---> Running in c165951e4173 [2023-02-07T11:20:28.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T11:20:28.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T11:20:29.142Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T11:20:30.096Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-02-07T11:20:30.096Z] (1/8) Installing iotech-iot-1.4-dev (1.4.0-r0) [2023-02-07T11:20:30.362Z] (2/8) Installing libcbor-dev (0.9.0-r1) [2023-02-07T11:20:30.362Z] (3/8) Installing ncurses-dev (6.3_p20220521-r0) [2023-02-07T11:20:30.362Z] (4/8) Installing libblkid (2.38-r1) [2023-02-07T11:20:30.362Z] (5/8) Installing libfdisk (2.38-r1) [2023-02-07T11:20:30.628Z] (6/8) Installing libmount (2.38-r1) [2023-02-07T11:20:30.628Z] (7/8) Installing libsmartcols (2.38-r1) [2023-02-07T11:20:30.628Z] (8/8) Installing util-linux-dev (2.38-r1) [2023-02-07T11:20:30.628Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T11:20:30.628Z] OK: 286 MiB in 91 packages [2023-02-07T11:20:31.588Z] Removing intermediate container c165951e4173 [2023-02-07T11:20:31.588Z] ---> 33c4c50816ba [2023-02-07T11:20:31.588Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-02-07T11:20:32.168Z] ---> 0aa0200f2eb8 [2023-02-07T11:20:32.168Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-02-07T11:20:33.143Z] ---> bc1f1e6db2b5 [2023-02-07T11:20:33.143Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-02-07T11:20:33.409Z] ---> d34d2f9ae595 [2023-02-07T11:20:33.409Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-02-07T11:20:33.988Z] ---> a5905de9b694 [2023-02-07T11:20:33.988Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-02-07T11:20:34.254Z] ---> 70509d02546d [2023-02-07T11:20:34.254Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-02-07T11:20:34.836Z] ---> 467142c3f908 [2023-02-07T11:20:34.836Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-02-07T11:20:34.836Z] ---> Running in f8183512f760 [2023-02-07T11:20:35.102Z] Removing intermediate container f8183512f760 [2023-02-07T11:20:35.102Z] ---> 5f348be387fe [2023-02-07T11:20:35.102Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-02-07T11:20:35.102Z] ---> Running in 355a3dddcdca [2023-02-07T11:20:35.367Z] Removing intermediate container 355a3dddcdca [2023-02-07T11:20:35.367Z] ---> 6eeeabc6b64c [2023-02-07T11:20:35.367Z] Step 15/17 : LABEL arch=arm64 [2023-02-07T11:20:35.632Z] ---> Running in ec1bdb694ee0 [2023-02-07T11:20:35.899Z] Removing intermediate container ec1bdb694ee0 [2023-02-07T11:20:35.899Z] ---> 41a52a0bf54b [2023-02-07T11:20:35.899Z] Step 16/17 : LABEL git_sha=eafbf3d9695056fdb220afb931551b369a5eea4e [2023-02-07T11:20:35.899Z] ---> Running in 4850221c5e63 [2023-02-07T11:20:36.164Z] Removing intermediate container 4850221c5e63 [2023-02-07T11:20:36.164Z] ---> 548092c03940 [2023-02-07T11:20:36.164Z] Step 17/17 : LABEL version=0.0.0 [2023-02-07T11:20:36.430Z] ---> Running in 433b293e6949 [2023-02-07T11:20:36.695Z] Removing intermediate container 433b293e6949 [2023-02-07T11:20:36.695Z] ---> 294fcc2f3fb6 [2023-02-07T11:20:36.695Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-02-07T11:20:36.695Z] Successfully built 294fcc2f3fb6 [2023-02-07T11:20:36.695Z] 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-02-07T11:20:37.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T11:20:37.113Z] [2023-02-07T11:20:37.113Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T11:20:37.444Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T11:20:39.381Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-07T11:20:39.381Z] 8998bd30e6a1: Pulling fs layer [2023-02-07T11:20:39.381Z] 04944245beec: Pulling fs layer [2023-02-07T11:20:39.381Z] 699f458cf7ca: Pulling fs layer [2023-02-07T11:20:39.381Z] 765212b225bb: Pulling fs layer [2023-02-07T11:20:39.381Z] f23df028b6ca: Pulling fs layer [2023-02-07T11:20:39.381Z] d65c8cfc05b1: Pulling fs layer [2023-02-07T11:20:39.381Z] 2437ff75d9bd: Pulling fs layer [2023-02-07T11:20:39.381Z] 765212b225bb: Waiting [2023-02-07T11:20:39.381Z] d65c8cfc05b1: Waiting [2023-02-07T11:20:39.381Z] f23df028b6ca: Waiting [2023-02-07T11:20:39.381Z] 2437ff75d9bd: Waiting [2023-02-07T11:20:39.381Z] 04944245beec: Download complete [2023-02-07T11:20:39.381Z] 765212b225bb: Verifying Checksum [2023-02-07T11:20:39.381Z] 765212b225bb: Download complete [2023-02-07T11:20:39.381Z] f23df028b6ca: Verifying Checksum [2023-02-07T11:20:39.381Z] f23df028b6ca: Download complete [2023-02-07T11:20:39.381Z] d65c8cfc05b1: Verifying Checksum [2023-02-07T11:20:39.381Z] d65c8cfc05b1: Download complete [2023-02-07T11:20:39.651Z] 699f458cf7ca: Verifying Checksum [2023-02-07T11:20:39.651Z] 699f458cf7ca: Download complete [2023-02-07T11:20:39.918Z] 8998bd30e6a1: Verifying Checksum [2023-02-07T11:20:39.918Z] 8998bd30e6a1: Download complete [2023-02-07T11:20:42.503Z] 2437ff75d9bd: Verifying Checksum [2023-02-07T11:20:42.503Z] 2437ff75d9bd: Download complete [2023-02-07T11:20:43.906Z] 8998bd30e6a1: Pull complete [2023-02-07T11:20:44.173Z] 04944245beec: Pull complete [2023-02-07T11:20:45.577Z] 699f458cf7ca: Pull complete [2023-02-07T11:20:45.577Z] 765212b225bb: Pull complete [2023-02-07T11:20:46.157Z] f23df028b6ca: Pull complete [2023-02-07T11:20:46.424Z] d65c8cfc05b1: Pull complete [2023-02-07T11:21:01.399Z] 2437ff75d9bd: Pull complete [2023-02-07T11:21:01.399Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-07T11:21:01.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T11:21:01.399Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T11:21:01.564Z] prd-ubuntu20.04-docker-arm64-4c-16g-4877 does not seem to be running inside a container [2023-02-07T11:21:01.630Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-07T11:21:04.076Z] $ docker top 42c6db8491fc271ad313981be047fe2e9aebf3eab66da26c0a4ae922d6acef98 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T11:21:04.571Z] ---> job-cost.sh [2023-02-07T11:21:04.836Z] lf-activate-venv: SKIPPING [2023-02-07T11:21:04.836Z] INFO: No Stack... [2023-02-07T11:21:05.100Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-07T11:21:06.053Z] INFO: Archiving Costs [Pipeline] sh [2023-02-07T11:21:06.685Z] + cat /w/workspace/device-sdk-c/3/archives/cost.csv [2023-02-07T11:21:06.685Z] + cut -d, -f6 [Pipeline] lock [2023-02-07T11:21:06.742Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-440-3-stack-cost] [2023-02-07T11:21:06.751Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-440-3-stack-cost] did not exist. Created. [2023-02-07T11:21:06.752Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-440-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-07T11:21:07.398Z] /w/workspace/device-sdk-c/3@tmp/durable-ca839f73/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-07T11:21:07.728Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-07T11:21:07.751Z] Warning: overwriting stash ‘stack-cost’ [2023-02-07T11:21:08.180Z] Stashed 1 file(s) [Pipeline] } [2023-02-07T11:21:08.189Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-440-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-07T11:21:08.215Z] $ docker stop --time=1 42c6db8491fc271ad313981be047fe2e9aebf3eab66da26c0a4ae922d6acef98 [2023-02-07T11:21:09.703Z] $ docker rm -f --volumes 42c6db8491fc271ad313981be047fe2e9aebf3eab66da26c0a4ae922d6acef98 [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-02-07T11:21:10.555Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives ] [2023-02-07T11:21:10.555Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives [2023-02-07T11:21:10.555Z] total 16 [2023-02-07T11:21:10.555Z] drwxr-xr-x 3 root root 4096 Feb 7 11:17 . [2023-02-07T11:21:10.555Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 11:17 .. [2023-02-07T11:21:10.555Z] drwxr-xr-x 2 root root 4096 Feb 7 11:17 cost [2023-02-07T11:21:10.555Z] -rw-r--r-- 1 root root 84 Feb 7 11:17 cost.csv [2023-02-07T11:21:10.555Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives [2023-02-07T11:21:10.555Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives [2023-02-07T11:21:10.555Z] total 16 [2023-02-07T11:21:10.555Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 11:17 . [2023-02-07T11:21:10.555Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 11:17 .. [2023-02-07T11:21:10.555Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 11:17 cost [2023-02-07T11:21:10.555Z] -rw-r--r-- 1 jenkins jenkins 84 Feb 7 11:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-07T11:21:10.849Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T11:21:11.710Z] ---> package-listing.sh [2023-02-07T11:21:11.710Z] ++ facter osfamily [2023-02-07T11:21:11.710Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-07T11:21:11.970Z] + OS_FAMILY=debian [2023-02-07T11:21:11.970Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-440 [2023-02-07T11:21:11.970Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-07T11:21:11.970Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-07T11:21:11.970Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-07T11:21:11.970Z] + PACKAGES=/tmp/packages_start.txt [2023-02-07T11:21:11.970Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-440 ']' [2023-02-07T11:21:11.970Z] + PACKAGES=/tmp/packages_end.txt [2023-02-07T11:21:11.970Z] + case "${OS_FAMILY}" in [2023-02-07T11:21:11.970Z] + dpkg -l [2023-02-07T11:21:11.970Z] + grep '^ii' [2023-02-07T11:21:11.970Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-07T11:21:11.970Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-07T11:21:11.970Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-07T11:21:11.970Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-440 ']' [2023-02-07T11:21:11.970Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives/ [2023-02-07T11:21:11.970Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-440/archives/ [Pipeline] echo [2023-02-07T11:21:11.982Z] 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-440/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-07T11:21:12.260Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T11:21:12.819Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T11:21:12.819Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T11:21:12.889Z] prd-ubuntu20.04-docker-8c-8g-4876 does not seem to be running inside a container [2023-02-07T11:21:12.920Z] $ 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-440/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-440 -v /w/workspace/edgexfoundry_device-sdk-c_PR-440:/w/workspace/edgexfoundry_device-sdk-c_PR-440:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-07T11:21:13.202Z] $ docker top 1ea5c357f67f591f6100dd466a4160452cd252c85c03312ea6dbd5ccef96e048 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T11:21:13.549Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-07T11:21:13.838Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-07T11:21:14.125Z] + ls /var/log/sa-host [2023-02-07T11:21:14.125Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T11:21:14.265Z] provisioning config files... [2023-02-07T11:21:14.273Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-440@tmp/config14498251760400729697tmp [Pipeline] { [Pipeline] echo [2023-02-07T11:21:14.290Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T11:21:14.572Z] ---> create-netrc.sh [Pipeline] } [2023-02-07T11:21:14.578Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-07T11:21:14.911Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-07T11:21:14.921Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T11:21:15.205Z] ---> sudo-logs.sh [2023-02-07T11:21:15.205Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-07T11:21:15.239Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T11:21:15.525Z] ---> job-cost.sh [2023-02-07T11:21:15.525Z] lf-activate-venv: SKIPPING [2023-02-07T11:21:15.525Z] DEBUG: total: 0.2199999988079071 [2023-02-07T11:21:15.525Z] INFO: Retrieving Stack Cost... [2023-02-07T11:21:15.783Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-07T11:21:16.042Z] INFO: Archiving Costs [Pipeline] echo [2023-02-07T11:21:16.057Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T11:21:16.342Z] ---> logs-deploy.sh [2023-02-07T11:21:16.342Z] lf-activate-venv: SKIPPING [2023-02-07T11:21:16.342Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-440/3 [2023-02-07T11:21:16.342Z] INFO: archiving workspace using pattern(s): [2023-02-07T11:21:17.276Z] Archives upload complete. [2023-02-07T11:21:17.276Z] INFO: archiving logs to Nexus