Pull request #442 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 bnevis-i for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 21f79343dd353c602474ef88d38fd1373f48e545 rather than 547dc8b69211cef1506999b92d438582e890f55e Obtained Jenkinsfile from 21f79343dd353c602474ef88d38fd1373f48e545 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-ssh16331559108739052408.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-ssh4687311027645368558.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-442/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-442/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh517315821865984099.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-ssh7019760181844433862.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-442/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-442/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10134516468135593212.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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8420 in /w/workspace/edgexfoundry_device-sdk-c_PR-442 [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-442 # 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/442/head:refs/remotes/origin/PR-442 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 21f79343dd353c602474ef88d38fd1373f48e545 into PR head commit 547dc8b69211cef1506999b92d438582e890f55e Merge succeeded, producing 547dc8b69211cef1506999b92d438582e890f55e Checking out Revision 547dc8b69211cef1506999b92d438582e890f55e (PR-442) > git config core.sparsecheckout # timeout=10 > git checkout -f 547dc8b69211cef1506999b92d438582e890f55e # 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 21f79343dd353c602474ef88d38fd1373f48e545 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 547dc8b69211cef1506999b92d438582e890f55e # timeout=10 Commit message: "feat!: Implementation of token-based security ADR" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-06T23:37:04.848Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-06T23:37:04.898Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-06T23:37:04.913Z] ========================================================= [2023-03-06T23:37:04.913Z] EdgeX Global Pipelines Version Info [2023-03-06T23:37:04.913Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk def1b70be08981653057d2f682da5a17350a04c3 # timeout=10 [2023-03-06T23:37:05.629Z] ------------------- [2023-03-06T23:37:05.629Z] stable info: [2023-03-06T23:37:05.629Z] ------------------- [2023-03-06T23:37:05.629Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-06T23:37:05.629Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-06T23:37:05.629Z] Message: update stable to v1.0.244 [2023-03-06T23:37:06.198Z] ------------------- [2023-03-06T23:37:06.198Z] experimental info: [2023-03-06T23:37:06.198Z] ------------------- [2023-03-06T23:37:06.198Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-06T23:37:06.198Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-06T23:37:06.198Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-06T23:37:06.370Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-03-06T23:37:06.382Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-03-06T23:37:06.392Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-06T23:37:06.404Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-06T23:37:06.420Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-06T23:37:06.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-03-06T23:37:06.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-03-06T23:37:06.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-06T23:37:06.469Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-06T23:37:06.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-03-06T23:37:06.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-06T23:37:06.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-06T23:37:06.512Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-06T23:37:06.522Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-06T23:37:06.536Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-06T23:37:06.545Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-06T23:37:06.555Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-06T23:37:06.567Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-442 [Pipeline] echo [2023-03-06T23:37:06.577Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-442 [Pipeline] echo [2023-03-06T23:37:06.588Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-442 [Pipeline] echo [2023-03-06T23:37:06.601Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 547dc8b69211cef1506999b92d438582e890f55e [Pipeline] echo [2023-03-06T23:37:06.613Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 547dc8b [Pipeline] echo [2023-03-06T23:37:06.626Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-06T23:37:06.668Z] provisioning config files... [2023-03-06T23:37:06.683Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/config13251046471851304035tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-06T23:37:06.985Z] ---> docker-login.sh [2023-03-06T23:37:06.985Z] nexus3.edgexfoundry.org:10001 [2023-03-06T23:37:07.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T23:37:07.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T23:37:07.244Z] Configure a credential helper to remove this warning. See [2023-03-06T23:37:07.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T23:37:07.244Z] [2023-03-06T23:37:07.244Z] Login Succeeded [2023-03-06T23:37:07.244Z] nexus3.edgexfoundry.org:10002 [2023-03-06T23:37:07.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T23:37:07.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T23:37:07.504Z] Configure a credential helper to remove this warning. See [2023-03-06T23:37:07.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T23:37:07.504Z] [2023-03-06T23:37:07.504Z] Login Succeeded [2023-03-06T23:37:07.504Z] nexus3.edgexfoundry.org:10003 [2023-03-06T23:37:07.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T23:37:07.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T23:37:07.504Z] Configure a credential helper to remove this warning. See [2023-03-06T23:37:07.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T23:37:07.504Z] [2023-03-06T23:37:07.504Z] Login Succeeded [2023-03-06T23:37:07.504Z] nexus3.edgexfoundry.org:10004 [2023-03-06T23:37:07.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T23:37:07.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T23:37:07.764Z] Configure a credential helper to remove this warning. See [2023-03-06T23:37:07.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T23:37:07.764Z] [2023-03-06T23:37:07.764Z] Login Succeeded [2023-03-06T23:37:07.764Z] docker.io [2023-03-06T23:37:07.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T23:37:08.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T23:37:08.026Z] Configure a credential helper to remove this warning. See [2023-03-06T23:37:08.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T23:37:08.026Z] [2023-03-06T23:37:08.026Z] Login Succeeded [2023-03-06T23:37:08.026Z] ---> docker-login.sh ends [Pipeline] } [2023-03-06T23:37:08.034Z] 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-03-06T23:37:08.407Z] + git rev-list -1 --merges 547dc8b69211cef1506999b92d438582e890f55e~1..547dc8b69211cef1506999b92d438582e890f55e [Pipeline] echo [2023-03-06T23:37:08.459Z] -----------> git rev-list -1 --merges 547dc8b69211cef1506999b92d438582e890f55e~1..547dc8b69211cef1506999b92d438582e890f55e 547dc8b69211cef1506999b92d438582e890f55e [false] [Pipeline] sh [2023-03-06T23:37:08.746Z] + git log --format=format:%s -1 547dc8b69211cef1506999b92d438582e890f55e [Pipeline] echo [2023-03-06T23:37:08.762Z] ========================================================= [2023-03-06T23:37:08.762Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-06T23:37:08.762Z] ========================================================= 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-03-06T23:37:09.150Z] + git rev-list -1 --merges 547dc8b69211cef1506999b92d438582e890f55e~1..547dc8b69211cef1506999b92d438582e890f55e [Pipeline] echo [2023-03-06T23:37:09.160Z] -----------> git rev-list -1 --merges 547dc8b69211cef1506999b92d438582e890f55e~1..547dc8b69211cef1506999b92d438582e890f55e 547dc8b69211cef1506999b92d438582e890f55e [false] [Pipeline] sh [2023-03-06T23:37:09.447Z] + git log --format=format:%s -1 547dc8b69211cef1506999b92d438582e890f55e [Pipeline] echo [2023-03-06T23:37:09.463Z] ========================================================= [2023-03-06T23:37:09.463Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-06T23:37:09.463Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-03-06T23:37:09.816Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-06T23:37:09.816Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-06T23:37:09.816Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-06T23:37:09.816Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-06T23:37:09.816Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-06T23:37:09.816Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-06T23:37:09.816Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T23:37:10.166Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-06T23:37:10.166Z] [2023-03-06T23:37:10.166Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T23:37:10.471Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-06T23:37:10.471Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-06T23:37:10.471Z] b85a868b505f: Pulling fs layer [2023-03-06T23:37:10.471Z] e2be974225ed: Pulling fs layer [2023-03-06T23:37:10.471Z] 339a4e72a1f5: Pulling fs layer [2023-03-06T23:37:10.471Z] 988bab9f4d93: Pulling fs layer [2023-03-06T23:37:10.471Z] 1469e6f7b9e6: Pulling fs layer [2023-03-06T23:37:10.471Z] eaf3925da568: Pulling fs layer [2023-03-06T23:37:10.471Z] 988bab9f4d93: Waiting [2023-03-06T23:37:10.471Z] 1469e6f7b9e6: Waiting [2023-03-06T23:37:10.471Z] bab4dde63d76: Pulling fs layer [2023-03-06T23:37:10.471Z] bde34c3a00c8: Pulling fs layer [2023-03-06T23:37:10.471Z] eaf3925da568: Waiting [2023-03-06T23:37:10.471Z] bab4dde63d76: Waiting [2023-03-06T23:37:10.471Z] bde34c3a00c8: Waiting [2023-03-06T23:37:10.471Z] b352a97aabf1: Pulling fs layer [2023-03-06T23:37:10.471Z] 4872d77fe225: Pulling fs layer [2023-03-06T23:37:10.471Z] 5851b861e8e6: Pulling fs layer [2023-03-06T23:37:10.471Z] e2be974225ed: Download complete [2023-03-06T23:37:10.471Z] 988bab9f4d93: Download complete [2023-03-06T23:37:10.739Z] 339a4e72a1f5: Verifying Checksum [2023-03-06T23:37:10.739Z] 1469e6f7b9e6: Verifying Checksum [2023-03-06T23:37:10.739Z] 1469e6f7b9e6: Download complete [2023-03-06T23:37:10.739Z] 339a4e72a1f5: Download complete [2023-03-06T23:37:10.739Z] eaf3925da568: Download complete [2023-03-06T23:37:10.739Z] bde34c3a00c8: Verifying Checksum [2023-03-06T23:37:10.739Z] bde34c3a00c8: Download complete [2023-03-06T23:37:10.739Z] b352a97aabf1: Verifying Checksum [2023-03-06T23:37:10.739Z] b352a97aabf1: Download complete [2023-03-06T23:37:10.739Z] 4872d77fe225: Download complete [2023-03-06T23:37:10.739Z] 5851b861e8e6: Download complete [2023-03-06T23:37:10.739Z] b85a868b505f: Download complete [2023-03-06T23:37:11.308Z] bab4dde63d76: Verifying Checksum [2023-03-06T23:37:11.308Z] bab4dde63d76: Download complete [2023-03-06T23:37:12.263Z] b85a868b505f: Pull complete [2023-03-06T23:37:12.263Z] e2be974225ed: Pull complete [2023-03-06T23:37:12.831Z] 339a4e72a1f5: Pull complete [2023-03-06T23:37:12.831Z] 988bab9f4d93: Pull complete [2023-03-06T23:37:13.092Z] 1469e6f7b9e6: Pull complete [2023-03-06T23:37:13.092Z] eaf3925da568: Pull complete [2023-03-06T23:37:14.995Z] bab4dde63d76: Pull complete [2023-03-06T23:37:15.255Z] bde34c3a00c8: Pull complete [2023-03-06T23:37:15.255Z] b352a97aabf1: Pull complete [2023-03-06T23:37:15.515Z] 4872d77fe225: Pull complete [2023-03-06T23:37:15.515Z] 5851b861e8e6: Pull complete [2023-03-06T23:37:15.515Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-06T23:37:15.515Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-06T23:37:15.515Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T23:37:15.611Z] prd-ubuntu20.04-docker-8c-8g-8420 does not seem to be running inside a container [2023-03-06T23:37:15.645Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-442 -v /w/workspace/edgexfoundry_device-sdk-c_PR-442:/w/workspace/edgexfoundry_device-sdk-c_PR-442:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-442@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-06T23:37:19.890Z] $ docker top 0c9beb92b6bd0bf171ff3183d9d279c9106df23a95b027c260c43c45310911de -eo pid,comm [2023-03-06T23:37:19.946Z] 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-03-06T23:37:19.946Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-06T23:37:19.992Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-06T23:37:19.993Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-06T23:37:20.096Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-06T23:37:20.102Z] $ docker exec 0c9beb92b6bd0bf171ff3183d9d279c9106df23a95b027c260c43c45310911de ssh-agent [2023-03-06T23:37:20.238Z] SSH_AUTH_SOCK=/tmp/ssh-I7hOKUUb5IpF/agent.32 [2023-03-06T23:37:20.238Z] SSH_AGENT_PID=39 [2023-03-06T23:37:20.260Z] Running ssh-add (command line suppressed) [2023-03-06T23:37:20.370Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/private_key_8258383711039612869.key (/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/private_key_8258383711039612869.key) [2023-03-06T23:37:20.383Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-06T23:37:20.671Z] + git tag --points-at HEAD [Pipeline] } [2023-03-06T23:37:20.685Z] $ docker exec --env ******** --env ******** 0c9beb92b6bd0bf171ff3183d9d279c9106df23a95b027c260c43c45310911de ssh-agent -k [2023-03-06T23:37:20.780Z] unset SSH_AUTH_SOCK; [2023-03-06T23:37:20.781Z] unset SSH_AGENT_PID; [2023-03-06T23:37:20.781Z] echo Agent pid 39 killed; [2023-03-06T23:37:20.788Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-06T23:37:20.820Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-06T23:37:20.820Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-06T23:37:20.934Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-06T23:37:20.939Z] $ docker exec 0c9beb92b6bd0bf171ff3183d9d279c9106df23a95b027c260c43c45310911de ssh-agent [2023-03-06T23:37:21.046Z] SSH_AUTH_SOCK=/tmp/ssh-eNs5eT5C1i5y/agent.72 [2023-03-06T23:37:21.047Z] SSH_AGENT_PID=78 [2023-03-06T23:37:21.052Z] Running ssh-add (command line suppressed) [2023-03-06T23:37:21.162Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/private_key_7761044174457590615.key (/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/private_key_7761044174457590615.key) [2023-03-06T23:37:21.175Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-06T23:37:21.463Z] + git semver init [2023-03-06T23:37:21.723Z] 2023-03-06 23:37:21,690 [run_init] DEBUG init version:0.0.0 force:False [2023-03-06T23:37:21.723Z] 2023-03-06 23:37:21,690 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver [2023-03-06T23:37:21.723Z] 2023-03-06 23:37:21,691 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver [2023-03-06T23:37:21.723Z] 2023-03-06 23:37:21,691 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-442, universal_newlines=False, shell=None, istream=None) [2023-03-06T23:37:22.660Z] 2023-03-06 23:37:22,617 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442/.git/info/exclude [2023-03-06T23:37:22.660Z] 2023-03-06 23:37:22,618 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver/PR-442 with force:False [2023-03-06T23:37:22.660Z] 2023-03-06 23:37:22,618 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver/PR-442 [2023-03-06T23:37:22.660Z] 2023-03-06 23:37:22,622 [execute] INFO git cat-file --batch-check [2023-03-06T23:37:22.660Z] 2023-03-06 23:37:22,622 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver, universal_newlines=False, shell=None, istream=) [2023-03-06T23:37:22.660Z] 2023-03-06 23:37:22,629 [execute] INFO git cat-file --batch [2023-03-06T23:37:22.660Z] 2023-03-06 23:37:22,629 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver, universal_newlines=False, shell=None, istream=) [2023-03-06T23:37:22.660Z] 2023-03-06 23:37:22,635 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-442/.semver/PR-442 [2023-03-06T23:37:22.660Z] 0.0.0 [Pipeline] } [2023-03-06T23:37:22.674Z] $ docker exec --env ******** --env ******** 0c9beb92b6bd0bf171ff3183d9d279c9106df23a95b027c260c43c45310911de ssh-agent -k [2023-03-06T23:37:22.785Z] unset SSH_AUTH_SOCK; [2023-03-06T23:37:22.785Z] unset SSH_AGENT_PID; [2023-03-06T23:37:22.785Z] echo Agent pid 78 killed; [2023-03-06T23:37:22.790Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-06T23:37:23.094Z] + git semver [Pipeline] } [2023-03-06T23:37:23.370Z] $ docker stop --time=1 0c9beb92b6bd0bf171ff3183d9d279c9106df23a95b027c260c43c45310911de [2023-03-06T23:37:24.657Z] $ docker rm -f --volumes 0c9beb92b6bd0bf171ff3183d9d279c9106df23a95b027c260c43c45310911de [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-06T23:37:24.987Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-06T23:37:25.201Z] Stashed 1 file(s) [Pipeline] echo [2023-03-06T23:37:25.204Z] [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-03-06T23:37:25.351Z] provisioning config files... [2023-03-06T23:37:25.363Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/config10792647260003746418tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-06T23:37:25.661Z] ---> docker-login.sh [2023-03-06T23:37:25.661Z] nexus3.edgexfoundry.org:10001 [2023-03-06T23:37:25.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T23:37:25.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T23:37:25.661Z] Configure a credential helper to remove this warning. See [2023-03-06T23:37:25.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T23:37:25.661Z] [2023-03-06T23:37:25.661Z] Login Succeeded [2023-03-06T23:37:25.661Z] nexus3.edgexfoundry.org:10002 [2023-03-06T23:37:25.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T23:37:25.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T23:37:25.661Z] Configure a credential helper to remove this warning. See [2023-03-06T23:37:25.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T23:37:25.661Z] [2023-03-06T23:37:25.661Z] Login Succeeded [2023-03-06T23:37:25.661Z] nexus3.edgexfoundry.org:10003 [2023-03-06T23:37:25.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T23:37:25.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T23:37:25.921Z] Configure a credential helper to remove this warning. See [2023-03-06T23:37:25.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T23:37:25.921Z] [2023-03-06T23:37:25.921Z] Login Succeeded [2023-03-06T23:37:25.921Z] nexus3.edgexfoundry.org:10004 [2023-03-06T23:37:25.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T23:37:25.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T23:37:25.921Z] Configure a credential helper to remove this warning. See [2023-03-06T23:37:25.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T23:37:25.921Z] [2023-03-06T23:37:25.921Z] Login Succeeded [2023-03-06T23:37:25.921Z] docker.io [2023-03-06T23:37:26.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T23:37:26.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T23:37:26.181Z] Configure a credential helper to remove this warning. See [2023-03-06T23:37:26.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T23:37:26.181Z] [2023-03-06T23:37:26.181Z] Login Succeeded [2023-03-06T23:37:26.181Z] ---> docker-login.sh ends [Pipeline] } [2023-03-06T23:37:26.187Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-06T23:37:26.244Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-06T23:37:26.251Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-03-06T23:37:26.258Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-06T23:37:26.264Z] ========================================================= [2023-03-06T23:37:26.264Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-03-06T23:37:26.264Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T23:37:26.558Z] + 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-03-06T23:37:26.558Z] Sending build context to Docker daemon 4.873MB [2023-03-06T23:37:26.558Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-03-06T23:37:26.558Z] Step 2/21 : FROM ${BASE} as builder [2023-03-06T23:37:26.817Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-03-06T23:37:26.817Z] 213ec9aee27d: Pulling fs layer [2023-03-06T23:37:26.817Z] 0f09ad1b1b37: Pulling fs layer [2023-03-06T23:37:26.817Z] 213ec9aee27d: Verifying Checksum [2023-03-06T23:37:26.817Z] 213ec9aee27d: Download complete [2023-03-06T23:37:27.076Z] 213ec9aee27d: Pull complete [2023-03-06T23:37:27.644Z] 0f09ad1b1b37: Verifying Checksum [2023-03-06T23:37:27.644Z] 0f09ad1b1b37: Download complete [2023-03-06T23:37:30.928Z] 0f09ad1b1b37: Pull complete [2023-03-06T23:37:30.928Z] Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 [2023-03-06T23:37:30.928Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-03-06T23:37:30.928Z] ---> b2bbfebb3566 [2023-03-06T23:37:30.928Z] 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-03-06T23:37:32.834Z] ---> Running in cf98518976ad [2023-03-06T23:37:33.094Z] Connecting to iotech.jfrog.io (54.170.89.83:443) [2023-03-06T23:37:33.663Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-06T23:37:33.663Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-06T23:37:33.663Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-06T23:37:33.924Z] Removing intermediate container cf98518976ad [2023-03-06T23:37:33.924Z] ---> bba8a8a69b30 [2023-03-06T23:37:33.924Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-06T23:37:33.924Z] ---> Running in 6ea9862178c9 [2023-03-06T23:37:34.492Z] Removing intermediate container 6ea9862178c9 [2023-03-06T23:37:34.492Z] ---> cd80e61e6127 [2023-03-06T23:37:34.492Z] 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-03-06T23:37:34.492Z] ---> Running in 933e782d01c5 [2023-03-06T23:37:34.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-06T23:37:35.011Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-06T23:37:35.271Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-06T23:37:35.842Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-06T23:37:35.842Z] (1/14) Installing hiredis (1.0.2-r0) [2023-03-06T23:37:35.842Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-03-06T23:37:35.842Z] (3/14) Installing iotech-iot-1.4 (1.4.1-r0) [2023-03-06T23:37:36.411Z] (4/14) Installing iotech-iot-1.4-dev (1.4.1-r0) [2023-03-06T23:37:36.671Z] (5/14) Installing libcbor (0.9.0-r1) [2023-03-06T23:37:36.671Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-03-06T23:37:36.671Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-06T23:37:36.671Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-06T23:37:37.240Z] (9/14) Installing libblkid (2.38-r1) [2023-03-06T23:37:37.500Z] (10/14) Installing libuuid (2.38-r1) [2023-03-06T23:37:37.500Z] (11/14) Installing libfdisk (2.38-r1) [2023-03-06T23:37:37.500Z] (12/14) Installing libmount (2.38-r1) [2023-03-06T23:37:37.500Z] (13/14) Installing libsmartcols (2.38-r1) [2023-03-06T23:37:37.500Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-03-06T23:37:37.500Z] Executing busybox-1.35.0-r17.trigger [2023-03-06T23:37:37.500Z] OK: 280 MiB in 90 packages [2023-03-06T23:37:38.070Z] Removing intermediate container 933e782d01c5 [2023-03-06T23:37:38.070Z] ---> 7c2de36e77ce [2023-03-06T23:37:38.070Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-03-06T23:37:38.333Z] ---> Running in df8d50b637cb [2023-03-06T23:37:38.903Z] Removing intermediate container df8d50b637cb [2023-03-06T23:37:38.903Z] ---> cdb61ebf4d88 [2023-03-06T23:37:38.903Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-03-06T23:37:38.903Z] ---> 206c2d31ac96 [2023-03-06T23:37:38.903Z] Step 8/21 : COPY src /tmp/sdk/src [2023-03-06T23:37:39.163Z] ---> 55c8e6e88e1b [2023-03-06T23:37:39.163Z] Step 9/21 : COPY include /tmp/sdk/include [2023-03-06T23:37:39.163Z] ---> 299c005764bf [2023-03-06T23:37:39.163Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-03-06T23:37:39.422Z] ---> 2b4d3a4e9103 [2023-03-06T23:37:39.422Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-03-06T23:37:39.680Z] ---> e76ddacb7dd7 [2023-03-06T23:37:39.680Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-03-06T23:37:39.680Z] ---> 4adfc42b58d5 [2023-03-06T23:37:39.680Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-03-06T23:37:39.680Z] ---> Running in efb1058eaa0e [2023-03-06T23:37:39.938Z] + CPPCHECK=false [2023-03-06T23:37:39.938Z] + DOCGEN=false [2023-03-06T23:37:39.938Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-03-06T23:37:39.938Z] + TOMLVER=SDK-0.2 [2023-03-06T23:37:39.938Z] + CUTILVER=1.4 [2023-03-06T23:37:39.938Z] + '[' 0 -gt 0 ] [2023-03-06T23:37:39.938Z] + readlink -f ./scripts/build.sh [2023-03-06T23:37:39.938Z] + dirname /tmp/sdk/scripts/build.sh [2023-03-06T23:37:39.938Z] + dirname /tmp/sdk/scripts [2023-03-06T23:37:39.938Z] + ROOT=/tmp/sdk [2023-03-06T23:37:39.938Z] + cd /tmp/sdk [2023-03-06T23:37:39.938Z] + '[' '!' -d deps ] [2023-03-06T23:37:39.938Z] + mkdir deps [2023-03-06T23:37:39.938Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-03-06T23:37:39.938Z] + tar -C deps -z -x -f - [2023-03-06T23:37:39.938Z] Connecting to github.com (140.82.113.3:443) [2023-03-06T23:37:40.199Z] Connecting to codeload.github.com (140.82.114.9:443) [2023-03-06T23:37:40.301Z] Still waiting to schedule task [2023-03-06T23:37:40.301Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-06T23:37:40.459Z] writing to stdout [2023-03-06T23:37:40.459Z] - 100% |********************************| 16451 0:00:00 ETA [2023-03-06T23:37:40.459Z] written to stdout [2023-03-06T23:37:40.459Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-03-06T23:37:40.459Z] + mkdir -p /tmp/sdk/build/release [2023-03-06T23:37:40.459Z] + cd /tmp/sdk/build/release [2023-03-06T23:37:40.459Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-03-06T23:37:40.459Z] -- The C compiler identification is GNU 11.2.1 [2023-03-06T23:37:40.459Z] -- Detecting C compiler ABI info [2023-03-06T23:37:40.459Z] -- Detecting C compiler ABI info - done [2023-03-06T23:37:40.718Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-06T23:37:40.718Z] -- Detecting C compile features [2023-03-06T23:37:40.718Z] -- Detecting C compile features - done [2023-03-06T23:37:40.718Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-06T23:37:40.718Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-06T23:37:40.718Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-06T23:37:40.718Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-06T23:37:40.718Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-06T23:37:40.718Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-06T23:37:40.718Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-06T23:37:40.718Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-03-06T23:37:40.718Z] -- /opt/iotech/iot/1.4/include [2023-03-06T23:37:40.718Z] -- C SDK 0.0.0 for Linux [2023-03-06T23:37:40.718Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-06T23:37:40.718Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-06T23:37:40.718Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-06T23:37:40.718Z] -- Configuring done [2023-03-06T23:37:40.977Z] -- Generating done [2023-03-06T23:37:40.977Z] -- Build files have been written to: /tmp/sdk/build/release [2023-03-06T23:37:40.977Z] + make all package [2023-03-06T23:37:40.977Z] + tee release.log [2023-03-06T23:37:40.977Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-06T23:37:40.977Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-06T23:37:41.236Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-06T23:37:41.803Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-06T23:37:41.803Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-06T23:37:41.803Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-03-06T23:37:42.063Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-03-06T23:37:42.321Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-06T23:37:42.581Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-06T23:37:42.845Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-06T23:37:42.845Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-06T23:37:43.107Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-06T23:37:43.367Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-06T23:37:43.367Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-06T23:37:43.367Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-06T23:37:43.937Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-06T23:37:44.195Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-06T23:37:44.195Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-06T23:37:44.456Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-06T23:37:45.396Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-06T23:37:45.396Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-06T23:37:45.657Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-06T23:37:45.657Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-03-06T23:37:45.657Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-06T23:37:45.916Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-06T23:37:46.484Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-06T23:37:46.484Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-06T23:37:46.743Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-06T23:37:46.743Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-06T23:37:47.317Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-06T23:37:47.886Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-06T23:37:48.147Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-06T23:37:48.147Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-06T23:37:48.408Z] [ 68%] Linking C shared library libcsdk.so [2023-03-06T23:37:48.408Z] [ 68%] Built target csdk [2023-03-06T23:37:48.408Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-06T23:37:48.408Z] [ 72%] Linking C executable template [2023-03-06T23:37:48.667Z] [ 72%] Built target template [2023-03-06T23:37:48.667Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-06T23:37:48.667Z] [ 76%] Linking C executable device-counter [2023-03-06T23:37:48.667Z] [ 76%] Built target device-counter [2023-03-06T23:37:48.925Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-06T23:37:48.925Z] [ 80%] Linking C executable device-random [2023-03-06T23:37:48.925Z] [ 80%] Built target device-random [2023-03-06T23:37:48.925Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-06T23:37:49.184Z] [ 84%] Linking C executable device-gyro [2023-03-06T23:37:49.184Z] [ 84%] Built target device-gyro [2023-03-06T23:37:49.184Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-06T23:37:49.184Z] [ 88%] Linking C executable device-bitfields [2023-03-06T23:37:49.442Z] [ 88%] Built target device-bitfields [2023-03-06T23:37:49.442Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-06T23:37:49.442Z] [ 92%] Linking C executable template-discovery [2023-03-06T23:37:49.701Z] [ 92%] Built target template-discovery [2023-03-06T23:37:49.701Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-06T23:37:49.701Z] [ 96%] Linking C executable device-file [2023-03-06T23:37:49.961Z] [ 96%] Built target device-file [2023-03-06T23:37:49.961Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-06T23:37:49.961Z] [100%] Linking C executable device-terminal [2023-03-06T23:37:50.221Z] [100%] Built target device-terminal [2023-03-06T23:37:50.221Z] Run CPack packaging tool... [2023-03-06T23:37:50.221Z] CPack: Create package using TGZ [2023-03-06T23:37:50.221Z] CPack: Install projects [2023-03-06T23:37:50.221Z] CPack: - Run preinstall target for: Csdk [2023-03-06T23:37:50.479Z] CPack: - Install project: Csdk [] [2023-03-06T23:37:50.479Z] CPack: Create package [2023-03-06T23:37:50.479Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-03-06T23:37:50.479Z] + '[' false '=' true ] [2023-03-06T23:37:50.479Z] + '[' false '=' true ] [2023-03-06T23:37:50.479Z] + mkdir -p /tmp/sdk/build/debug [2023-03-06T23:37:50.479Z] + cd /tmp/sdk/build/debug [2023-03-06T23:37:50.479Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-03-06T23:37:50.479Z] -- The C compiler identification is GNU 11.2.1 [2023-03-06T23:37:50.479Z] -- Detecting C compiler ABI info [2023-03-06T23:37:50.479Z] -- Detecting C compiler ABI info - done [2023-03-06T23:37:50.737Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-06T23:37:50.737Z] -- Detecting C compile features [2023-03-06T23:37:50.737Z] -- Detecting C compile features - done [2023-03-06T23:37:50.738Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-06T23:37:50.738Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-06T23:37:50.738Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-06T23:37:50.738Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-06T23:37:50.738Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-06T23:37:50.738Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-06T23:37:50.738Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-06T23:37:50.738Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-03-06T23:37:50.738Z] -- /opt/iotech/iot/1.4/include [2023-03-06T23:37:50.738Z] -- C SDK 0.0.0 for Linux [2023-03-06T23:37:50.738Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-06T23:37:50.738Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-06T23:37:50.738Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-06T23:37:50.738Z] -- Configuring done [2023-03-06T23:37:50.996Z] -- Generating done [2023-03-06T23:37:50.996Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-03-06T23:37:50.996Z] + make [2023-03-06T23:37:50.996Z] + tee debug.log [2023-03-06T23:37:50.996Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-06T23:37:50.996Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-06T23:37:50.996Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-06T23:37:51.254Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-06T23:37:51.254Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-06T23:37:51.513Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-03-06T23:37:51.513Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-03-06T23:37:51.513Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-06T23:37:51.771Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-06T23:37:51.771Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-06T23:37:52.030Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-06T23:37:52.030Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-06T23:37:52.030Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-06T23:37:52.289Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-06T23:37:52.289Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-06T23:37:52.548Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-06T23:37:52.548Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-06T23:37:52.548Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-06T23:37:52.807Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-06T23:37:52.807Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-06T23:37:53.065Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-06T23:37:53.065Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-06T23:37:53.065Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-03-06T23:37:53.065Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-06T23:37:53.324Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-06T23:37:53.583Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-06T23:37:53.583Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-06T23:37:53.583Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-06T23:37:53.841Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-06T23:37:53.841Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-06T23:37:54.101Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-06T23:37:54.101Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-06T23:37:54.361Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-06T23:37:54.361Z] [ 68%] Linking C shared library libcsdk.so [2023-03-06T23:37:54.361Z] [ 68%] Built target csdk [2023-03-06T23:37:54.361Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-06T23:37:54.619Z] [ 72%] Linking C executable template [2023-03-06T23:37:54.619Z] [ 72%] Built target template [2023-03-06T23:37:54.619Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-06T23:37:54.619Z] [ 76%] Linking C executable device-counter [2023-03-06T23:37:54.619Z] [ 76%] Built target device-counter [2023-03-06T23:37:54.619Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-06T23:37:54.876Z] [ 80%] Linking C executable device-random [2023-03-06T23:37:54.876Z] [ 80%] Built target device-random [2023-03-06T23:37:54.876Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-06T23:37:54.876Z] [ 84%] Linking C executable device-gyro [2023-03-06T23:37:55.134Z] [ 84%] Built target device-gyro [2023-03-06T23:37:55.134Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-06T23:37:55.134Z] [ 88%] Linking C executable device-bitfields [2023-03-06T23:37:55.134Z] [ 88%] Built target device-bitfields [2023-03-06T23:37:55.134Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-06T23:37:55.391Z] [ 92%] Linking C executable template-discovery [2023-03-06T23:37:55.391Z] [ 92%] Built target template-discovery [2023-03-06T23:37:55.391Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-06T23:37:55.391Z] [ 96%] Linking C executable device-file [2023-03-06T23:37:55.651Z] [ 96%] Built target device-file [2023-03-06T23:37:55.651Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-06T23:37:55.651Z] [100%] Linking C executable device-terminal [2023-03-06T23:37:55.651Z] [100%] Built target device-terminal [2023-03-06T23:37:55.651Z] make: Entering directory '/tmp/sdk/build/release' [2023-03-06T23:37:55.651Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-03-06T23:37:55.651Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-06T23:37:55.651Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-06T23:37:55.909Z] [ 68%] Built target csdk [2023-03-06T23:37:55.909Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-06T23:37:55.909Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-06T23:37:55.909Z] [ 72%] Built target template [2023-03-06T23:37:55.909Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-06T23:37:55.909Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-06T23:37:55.909Z] [ 76%] Built target device-counter [2023-03-06T23:37:55.909Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-06T23:37:55.909Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-06T23:37:55.909Z] [ 80%] Built target device-random [2023-03-06T23:37:55.909Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-06T23:37:55.909Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-06T23:37:55.909Z] [ 84%] Built target device-gyro [2023-03-06T23:37:55.909Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-06T23:37:55.909Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-06T23:37:55.909Z] [ 88%] Built target device-bitfields [2023-03-06T23:37:55.909Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-06T23:37:55.909Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-06T23:37:55.909Z] [ 92%] Built target template-discovery [2023-03-06T23:37:55.909Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-06T23:37:55.909Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-06T23:37:55.909Z] [ 96%] Built target device-file [2023-03-06T23:37:55.909Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-06T23:37:55.909Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-06T23:37:55.909Z] [100%] Built target device-terminal [2023-03-06T23:37:55.909Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-03-06T23:37:55.909Z] Install the project... [2023-03-06T23:37:55.909Z] -- Install configuration: "Release" [2023-03-06T23:37:55.909Z] -- Installing: /usr/local/lib/libcsdk.so [2023-03-06T23:37:55.909Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-03-06T23:37:55.909Z] -- Installing: /usr/local/include [2023-03-06T23:37:55.909Z] -- Installing: /usr/local/include/devsdk [2023-03-06T23:37:55.909Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-03-06T23:37:55.909Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-03-06T23:37:55.909Z] -- Installing: /usr/local/include/edgex [2023-03-06T23:37:55.909Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-03-06T23:37:55.909Z] -- Installing: /usr/local/include/edgex/devices.h [2023-03-06T23:37:55.909Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-03-06T23:37:55.909Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-03-06T23:37:55.909Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-03-06T23:37:55.909Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-03-06T23:37:55.909Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-03-06T23:37:55.909Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-03-06T23:37:55.909Z] make: Leaving directory '/tmp/sdk/build/release' [2023-03-06T23:37:56.845Z] Removing intermediate container efb1058eaa0e [2023-03-06T23:37:56.845Z] ---> 682ee0ea2392 [2023-03-06T23:37:56.845Z] Step 14/21 : FROM ${BASE} [2023-03-06T23:37:56.845Z] ---> b2bbfebb3566 [2023-03-06T23:37:56.845Z] Step 15/21 : LABEL maintainer="IOTech " [2023-03-06T23:37:56.845Z] ---> Running in fdd5681ebd5d [2023-03-06T23:37:56.845Z] Removing intermediate container fdd5681ebd5d [2023-03-06T23:37:56.845Z] ---> 13afe7fcee34 [2023-03-06T23:37:56.845Z] 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-03-06T23:37:56.845Z] ---> Running in d3805e5ff29d [2023-03-06T23:37:57.105Z] Connecting to iotech.jfrog.io (54.171.136.76:443) [2023-03-06T23:37:57.363Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-06T23:37:57.363Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-06T23:37:57.363Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-06T23:37:57.622Z] Removing intermediate container d3805e5ff29d [2023-03-06T23:37:57.622Z] ---> c1d3e7f5eaa5 [2023-03-06T23:37:57.622Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-06T23:37:57.881Z] ---> Running in 64b577f75a3e [2023-03-06T23:37:58.448Z] Removing intermediate container 64b577f75a3e [2023-03-06T23:37:58.448Z] ---> 3140f5504f44 [2023-03-06T23:37:58.448Z] 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-03-06T23:37:58.448Z] ---> Running in 6c9fd59e4ff7 [2023-03-06T23:37:58.706Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-06T23:37:58.706Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-06T23:37:58.965Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-06T23:37:59.532Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-06T23:37:59.532Z] (1/7) Installing curl (7.83.1-r6) [2023-03-06T23:37:59.532Z] (2/7) Installing hiredis (1.0.2-r0) [2023-03-06T23:37:59.532Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-03-06T23:37:59.532Z] (4/7) Installing iotech-iot-1.4 (1.4.1-r0) [2023-03-06T23:38:00.099Z] (5/7) Installing libcbor (0.9.0-r1) [2023-03-06T23:38:00.099Z] (6/7) Installing libuuid (2.38-r1) [2023-03-06T23:38:00.099Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-06T23:38:01.041Z] Executing busybox-1.35.0-r17.trigger [2023-03-06T23:38:01.041Z] OK: 275 MiB in 83 packages [2023-03-06T23:38:01.612Z] Removing intermediate container 6c9fd59e4ff7 [2023-03-06T23:38:01.612Z] ---> dcd62fe2c367 [2023-03-06T23:38:01.612Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-03-06T23:38:01.612Z] ---> 8922f6b0f868 [2023-03-06T23:38:01.612Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-03-06T23:38:01.612Z] ---> 5df5d2fa11e4 [2023-03-06T23:38:01.612Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-03-06T23:38:01.872Z] ---> 543b5b44305a [2023-03-06T23:38:01.872Z] Successfully built 543b5b44305a [2023-03-06T23:38:01.872Z] 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-03-06T23:38:02.257Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-06T23:38:02.257Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T23:38:02.334Z] prd-ubuntu20.04-docker-8c-8g-8420 does not seem to be running inside a container [2023-03-06T23:38:02.382Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-442 -v /w/workspace/edgexfoundry_device-sdk-c_PR-442:/w/workspace/edgexfoundry_device-sdk-c_PR-442:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-442@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 ******** -e ******** ci-base-image-x86_64 cat [2023-03-06T23:38:02.782Z] $ docker top 1ed23deb639b1d7f7f8a09b9c2e9f3cf42867f1ecbf7238bf2b7d9170779f958 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-06T23:38:03.136Z] + make test [2023-03-06T23:38:03.136Z] echo "make test" [2023-03-06T23:38:03.136Z] make test [Pipeline] } [2023-03-06T23:38:03.147Z] $ docker stop --time=1 1ed23deb639b1d7f7f8a09b9c2e9f3cf42867f1ecbf7238bf2b7d9170779f958 [2023-03-06T23:38:04.432Z] $ docker rm -f --volumes 1ed23deb639b1d7f7f8a09b9c2e9f3cf42867f1ecbf7238bf2b7d9170779f958 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-06T23:38:05.034Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-06T23:38:05.322Z] + ls -al . [2023-03-06T23:38:05.322Z] total 204 [2023-03-06T23:38:05.322Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 6 23:37 . [2023-03-06T23:38:05.322Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 6 23:36 .. [2023-03-06T23:38:05.322Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 6 23:37 .git [2023-03-06T23:38:05.322Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 6 23:37 .github [2023-03-06T23:38:05.322Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 6 23:37 .gitignore [2023-03-06T23:38:05.322Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 6 23:37 .semver [2023-03-06T23:38:05.322Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 6 23:37 Attribution.txt [2023-03-06T23:38:05.322Z] -rw-rw-r-- 1 jenkins jenkins 8583 Mar 6 23:37 CHANGES [2023-03-06T23:38:05.322Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 6 23:37 Doxyfile [2023-03-06T23:38:05.322Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 6 23:37 GOVERNANCE.md [2023-03-06T23:38:05.322Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 6 23:37 Jenkinsfile [2023-03-06T23:38:05.322Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 6 23:37 LICENSE [2023-03-06T23:38:05.322Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 6 23:37 Makefile [2023-03-06T23:38:05.322Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 6 23:37 OWNERS.md [2023-03-06T23:38:05.322Z] -rw-rw-r-- 1 jenkins jenkins 4086 Mar 6 23:37 README.md [2023-03-06T23:38:05.322Z] -rw-rw-r-- 1 jenkins jenkins 1245 Mar 6 23:37 README.v3.md [2023-03-06T23:38:05.322Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 6 23:37 VERSION [2023-03-06T23:38:05.322Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 6 23:37 docs [2023-03-06T23:38:05.322Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 6 23:37 include [2023-03-06T23:38:05.322Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 6 23:37 scripts [2023-03-06T23:38:05.322Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 6 23:37 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T23:38:05.631Z] + 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=547dc8b69211cef1506999b92d438582e890f55e --label arch=amd64 --label version=0.0.0 . [2023-03-06T23:38:05.631Z] Sending build context to Docker daemon 4.873MB [2023-03-06T23:38:05.631Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-03-06T23:38:05.631Z] Step 2/17 : FROM ${BASE} [2023-03-06T23:38:05.631Z] ---> 543b5b44305a [2023-03-06T23:38:05.631Z] Step 3/17 : LABEL maintainer="IOTech " [2023-03-06T23:38:05.631Z] ---> Running in 9ebace7ebcaa [2023-03-06T23:38:05.891Z] Removing intermediate container 9ebace7ebcaa [2023-03-06T23:38:05.891Z] ---> 8a2c9b4d1148 [2023-03-06T23:38:05.891Z] 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-03-06T23:38:05.891Z] ---> Running in ff2a678abc03 [2023-03-06T23:38:06.150Z] Connecting to iotech.jfrog.io (54.72.248.122:443) [2023-03-06T23:38:06.408Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-06T23:38:06.408Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-06T23:38:06.408Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-06T23:38:06.666Z] Removing intermediate container ff2a678abc03 [2023-03-06T23:38:06.666Z] ---> f4326ad4d5b2 [2023-03-06T23:38:06.666Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-06T23:38:06.933Z] ---> Running in 88098829ea1a [2023-03-06T23:38:07.499Z] Removing intermediate container 88098829ea1a [2023-03-06T23:38:07.499Z] ---> 52c2e75d5f00 [2023-03-06T23:38:07.499Z] 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-03-06T23:38:07.499Z] ---> Running in fbcd599a4f90 [2023-03-06T23:38:07.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-06T23:38:07.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-06T23:38:07.757Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-06T23:38:08.326Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-06T23:38:08.326Z] (1/8) Installing iotech-iot-1.4-dev (1.4.1-r0) [2023-03-06T23:38:08.585Z] (2/8) Installing libcbor-dev (0.9.0-r1) [2023-03-06T23:38:08.585Z] (3/8) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-06T23:38:08.585Z] (4/8) Installing libblkid (2.38-r1) [2023-03-06T23:38:08.585Z] (5/8) Installing libfdisk (2.38-r1) [2023-03-06T23:38:08.585Z] (6/8) Installing libmount (2.38-r1) [2023-03-06T23:38:08.585Z] (7/8) Installing libsmartcols (2.38-r1) [2023-03-06T23:38:08.585Z] (8/8) Installing util-linux-dev (2.38-r1) [2023-03-06T23:38:08.585Z] Executing busybox-1.35.0-r17.trigger [2023-03-06T23:38:08.585Z] OK: 280 MiB in 91 packages [2023-03-06T23:38:09.215Z] Removing intermediate container fbcd599a4f90 [2023-03-06T23:38:09.215Z] ---> 4da0aaa7ce6f [2023-03-06T23:38:09.215Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-03-06T23:38:09.474Z] ---> 636de5399694 [2023-03-06T23:38:09.474Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-03-06T23:38:09.736Z] ---> b2b7e332be2a [2023-03-06T23:38:09.737Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-03-06T23:38:09.737Z] ---> 77c01a3f8b71 [2023-03-06T23:38:09.737Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-03-06T23:38:09.995Z] ---> 5623a169c896 [2023-03-06T23:38:09.995Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-03-06T23:38:09.995Z] ---> 0e354f5d3f70 [2023-03-06T23:38:09.995Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-03-06T23:38:10.253Z] ---> cc72119c4cfa [2023-03-06T23:38:10.253Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-03-06T23:38:10.253Z] ---> Running in e57f8c94bbd1 [2023-03-06T23:38:10.253Z] Removing intermediate container e57f8c94bbd1 [2023-03-06T23:38:10.253Z] ---> d5f947ee44cd [2023-03-06T23:38:10.253Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-03-06T23:38:10.253Z] ---> Running in 4c2411b55bd8 [2023-03-06T23:38:10.253Z] Removing intermediate container 4c2411b55bd8 [2023-03-06T23:38:10.253Z] ---> 6cd89b10beb6 [2023-03-06T23:38:10.253Z] Step 15/17 : LABEL arch=amd64 [2023-03-06T23:38:10.253Z] ---> Running in 76e57b3c963e [2023-03-06T23:38:10.511Z] Removing intermediate container 76e57b3c963e [2023-03-06T23:38:10.511Z] ---> ae7c326bdd0a [2023-03-06T23:38:10.511Z] Step 16/17 : LABEL git_sha=547dc8b69211cef1506999b92d438582e890f55e [2023-03-06T23:38:10.511Z] ---> Running in 724aa4ec307b [2023-03-06T23:38:10.511Z] Removing intermediate container 724aa4ec307b [2023-03-06T23:38:10.511Z] ---> 704aa47e211e [2023-03-06T23:38:10.511Z] Step 17/17 : LABEL version=0.0.0 [2023-03-06T23:38:10.511Z] ---> Running in d93c4c66c583 [2023-03-06T23:38:10.511Z] Removing intermediate container d93c4c66c583 [2023-03-06T23:38:10.511Z] ---> 4aea2044a3b6 [2023-03-06T23:38:10.511Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-03-06T23:38:10.511Z] Successfully built 4aea2044a3b6 [2023-03-06T23:38:10.511Z] 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-03-06T23:38:10.941Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-06T23:38:10.941Z] [2023-03-06T23:38:10.941Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T23:38:11.245Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-06T23:38:11.245Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-06T23:38:11.245Z] 5eb5b503b376: Pulling fs layer [2023-03-06T23:38:11.245Z] 5c69ac0246d0: Pulling fs layer [2023-03-06T23:38:11.245Z] ec43610c2a17: Pulling fs layer [2023-03-06T23:38:11.245Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-06T23:38:11.245Z] 33b1e0a273af: Pulling fs layer [2023-03-06T23:38:11.245Z] 5d3b04190fa2: Pulling fs layer [2023-03-06T23:38:11.245Z] 2f39f015ded8: Pulling fs layer [2023-03-06T23:38:11.245Z] 3a2ae6a8a46f: Waiting [2023-03-06T23:38:11.245Z] 2f39f015ded8: Waiting [2023-03-06T23:38:11.245Z] 33b1e0a273af: Waiting [2023-03-06T23:38:11.245Z] 5d3b04190fa2: Waiting [2023-03-06T23:38:11.245Z] 5c69ac0246d0: Verifying Checksum [2023-03-06T23:38:11.245Z] 5c69ac0246d0: Download complete [2023-03-06T23:38:11.245Z] 3a2ae6a8a46f: Download complete [2023-03-06T23:38:11.507Z] 33b1e0a273af: Verifying Checksum [2023-03-06T23:38:11.507Z] 33b1e0a273af: Download complete [2023-03-06T23:38:11.507Z] 5d3b04190fa2: Verifying Checksum [2023-03-06T23:38:11.507Z] 5d3b04190fa2: Download complete [2023-03-06T23:38:11.507Z] ec43610c2a17: Verifying Checksum [2023-03-06T23:38:11.507Z] ec43610c2a17: Download complete [2023-03-06T23:38:11.507Z] 5eb5b503b376: Verifying Checksum [2023-03-06T23:38:11.507Z] 5eb5b503b376: Download complete [2023-03-06T23:38:12.444Z] 2f39f015ded8: Download complete [2023-03-06T23:38:13.010Z] 5eb5b503b376: Pull complete [2023-03-06T23:38:13.010Z] 5c69ac0246d0: Pull complete [2023-03-06T23:38:13.580Z] ec43610c2a17: Pull complete [2023-03-06T23:38:13.580Z] 3a2ae6a8a46f: Pull complete [2023-03-06T23:38:13.838Z] 33b1e0a273af: Pull complete [2023-03-06T23:38:13.839Z] 5d3b04190fa2: Pull complete [2023-03-06T23:38:19.112Z] 2f39f015ded8: Pull complete [2023-03-06T23:38:19.112Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-06T23:38:19.112Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-06T23:38:19.112Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T23:38:19.191Z] prd-ubuntu20.04-docker-8c-8g-8420 does not seem to be running inside a container [2023-03-06T23:38:19.220Z] $ 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-442 -v /w/workspace/edgexfoundry_device-sdk-c_PR-442:/w/workspace/edgexfoundry_device-sdk-c_PR-442:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-442@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-06T23:38:24.672Z] $ docker top cb94319a9ef26595b96327869a0fd4ebef396361c57256ce1869c82f58f5caab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-06T23:38:25.043Z] ---> job-cost.sh [2023-03-06T23:38:25.043Z] lf-activate-venv: SKIPPING [2023-03-06T23:38:25.043Z] INFO: No Stack... [2023-03-06T23:38:25.301Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-06T23:38:25.870Z] INFO: Archiving Costs [Pipeline] sh [2023-03-06T23:38:26.155Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives/cost.csv [2023-03-06T23:38:26.155Z] + cut -d, -f6 [Pipeline] lock [2023-03-06T23:38:26.170Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-442-6-stack-cost] [2023-03-06T23:38:26.176Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-442-6-stack-cost] did not exist. Created. [2023-03-06T23:38:26.176Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-442-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-06T23:38:26.469Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-06T23:38:26.507Z] Stashed 1 file(s) [Pipeline] } [2023-03-06T23:38:26.514Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-442-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-06T23:38:26.529Z] $ docker stop --time=1 cb94319a9ef26595b96327869a0fd4ebef396361c57256ce1869c82f58f5caab [2023-03-06T23:38:27.681Z] $ docker rm -f --volumes cb94319a9ef26595b96327869a0fd4ebef396361c57256ce1869c82f58f5caab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-06T23:40:32.738Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8422 in /w/workspace/edgexfoundry_device-sdk-c_PR-442 [Pipeline] { [Pipeline] ws [2023-03-06T23:40:32.751Z] Running in /w/workspace/device-sdk-c/6 [Pipeline] { [Pipeline] checkout [2023-03-06T23:40:32.794Z] Selected Git installation does not exist. Using Default [2023-03-06T23:40:32.794Z] The recommended git tool is: NONE [2023-03-06T23:40:44.769Z] using credential edgex-jenkins-ssh [2023-03-06T23:40:44.806Z] Cloning the remote Git repository [2023-03-06T23:40:44.946Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-03-06T23:40:45.130Z] > git init /w/workspace/device-sdk-c/6 # timeout=10 [2023-03-06T23:40:45.704Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-03-06T23:40:45.706Z] > git --version # timeout=10 [2023-03-06T23:40:45.783Z] > git --version # 'git version 2.25.1' [2023-03-06T23:40:45.786Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-06T23:40:45.969Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-06T23:40:47.477Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-03-06T23:40:47.577Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-06T23:40:51.633Z] Merging remotes/origin/main commit 21f79343dd353c602474ef88d38fd1373f48e545 into PR head commit 547dc8b69211cef1506999b92d438582e890f55e [2023-03-06T23:40:50.838Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-03-06T23:40:50.889Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-03-06T23:40:50.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-06T23:40:50.912Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/442/head:refs/remotes/origin/PR-442 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-06T23:40:51.660Z] > git config core.sparsecheckout # timeout=10 [2023-03-06T23:40:51.695Z] > git checkout -f 547dc8b69211cef1506999b92d438582e890f55e # timeout=10 [2023-03-06T23:40:51.833Z] > git remote # timeout=10 [2023-03-06T23:40:51.982Z] Merge succeeded, producing 547dc8b69211cef1506999b92d438582e890f55e [2023-03-06T23:40:51.983Z] Checking out Revision 547dc8b69211cef1506999b92d438582e890f55e (PR-442) [2023-03-06T23:40:51.869Z] > git config --get remote.origin.url # timeout=10 [2023-03-06T23:40:51.904Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-06T23:40:51.920Z] > git merge 21f79343dd353c602474ef88d38fd1373f48e545 # timeout=10 [2023-03-06T23:40:51.957Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-06T23:40:51.995Z] > git config core.sparsecheckout # timeout=10 [2023-03-06T23:40:52.012Z] > git checkout -f 547dc8b69211cef1506999b92d438582e890f55e # timeout=10 [2023-03-06T23:40:55.829Z] Commit message: "feat!: Implementation of token-based security ADR" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-06T23:40:56.816Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-06T23:40:56.816Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-06T23:40:56.816Z] Dload Upload Total Spent Left Speed [2023-03-06T23:40:56.816Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 157k 0 --:--:-- --:--:-- --:--:-- 155k [Pipeline] sh [2023-03-06T23:40:57.774Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-06T23:40:58.125Z] + sudo tee /etc/docker/daemon.new [2023-03-06T23:40:58.125Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-06T23:40:58.397Z] { [2023-03-06T23:40:58.397Z] "registry-mirrors": [ [2023-03-06T23:40:58.397Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-06T23:40:58.397Z] ], [2023-03-06T23:40:58.397Z] "bip": "10.250.0.254/24", [2023-03-06T23:40:58.397Z] "hosts": [ [2023-03-06T23:40:58.397Z] "tcp://0.0.0.0:5555", [2023-03-06T23:40:58.397Z] "unix:///var/run/docker.sock" [2023-03-06T23:40:58.397Z] ], [2023-03-06T23:40:58.397Z] "mtu": 1458, [2023-03-06T23:40:58.398Z] "selinux-enabled": true, [2023-03-06T23:40:58.398Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-06T23:40:58.398Z] } [Pipeline] sh [2023-03-06T23:40:58.774Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-06T23:40:59.242Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-06T23:41:21.572Z] provisioning config files... [2023-03-06T23:41:21.609Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/6@tmp/config6304270637111634698tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-06T23:41:21.983Z] ---> docker-login.sh [2023-03-06T23:41:21.983Z] nexus3.edgexfoundry.org:10001 [2023-03-06T23:41:22.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T23:41:22.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T23:41:22.847Z] Configure a credential helper to remove this warning. See [2023-03-06T23:41:22.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T23:41:22.847Z] [2023-03-06T23:41:22.847Z] Login Succeeded [2023-03-06T23:41:22.847Z] nexus3.edgexfoundry.org:10002 [2023-03-06T23:41:23.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T23:41:23.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T23:41:23.121Z] Configure a credential helper to remove this warning. See [2023-03-06T23:41:23.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T23:41:23.121Z] [2023-03-06T23:41:23.121Z] Login Succeeded [2023-03-06T23:41:23.121Z] nexus3.edgexfoundry.org:10003 [2023-03-06T23:41:23.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T23:41:23.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T23:41:23.668Z] Configure a credential helper to remove this warning. See [2023-03-06T23:41:23.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T23:41:23.668Z] [2023-03-06T23:41:23.668Z] Login Succeeded [2023-03-06T23:41:23.668Z] nexus3.edgexfoundry.org:10004 [2023-03-06T23:41:23.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T23:41:23.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T23:41:23.944Z] Configure a credential helper to remove this warning. See [2023-03-06T23:41:23.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T23:41:23.944Z] [2023-03-06T23:41:23.944Z] Login Succeeded [2023-03-06T23:41:23.944Z] docker.io [2023-03-06T23:41:24.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T23:41:24.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T23:41:24.814Z] Configure a credential helper to remove this warning. See [2023-03-06T23:41:24.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T23:41:24.814Z] [2023-03-06T23:41:24.814Z] Login Succeeded [2023-03-06T23:41:24.814Z] ---> docker-login.sh ends [Pipeline] } [2023-03-06T23:41:24.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-06T23:41:25.202Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-06T23:41:25.215Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-03-06T23:41:25.232Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-06T23:41:25.246Z] ========================================================= [2023-03-06T23:41:25.246Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-03-06T23:41:25.246Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T23:41:25.608Z] + 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-03-06T23:41:26.207Z] Sending build context to Docker daemon 2.996MB [2023-03-06T23:41:26.207Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-03-06T23:41:26.207Z] Step 2/21 : FROM ${BASE} as builder [2023-03-06T23:41:26.479Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-03-06T23:41:26.479Z] 9b18e9b68314: Pulling fs layer [2023-03-06T23:41:26.479Z] 1def92ead452: Pulling fs layer [2023-03-06T23:41:26.479Z] 9b18e9b68314: Verifying Checksum [2023-03-06T23:41:26.479Z] 9b18e9b68314: Download complete [2023-03-06T23:41:27.079Z] 9b18e9b68314: Pull complete [2023-03-06T23:41:29.047Z] 1def92ead452: Verifying Checksum [2023-03-06T23:41:29.047Z] 1def92ead452: Download complete [2023-03-06T23:41:37.286Z] 1def92ead452: Pull complete [2023-03-06T23:41:37.286Z] Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c [2023-03-06T23:41:37.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-03-06T23:41:37.286Z] ---> 9a9802766715 [2023-03-06T23:41:37.286Z] 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-03-06T23:41:37.286Z] ---> Running in 7e1a700cef2e [2023-03-06T23:41:38.715Z] Connecting to iotech.jfrog.io (54.170.89.83:443) [2023-03-06T23:41:38.991Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-06T23:41:38.991Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-06T23:41:38.991Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-06T23:41:39.585Z] Removing intermediate container 7e1a700cef2e [2023-03-06T23:41:39.585Z] ---> dbdfdfc953b2 [2023-03-06T23:41:39.585Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-06T23:41:39.585Z] ---> Running in edadde5e4d59 [2023-03-06T23:41:41.548Z] Removing intermediate container edadde5e4d59 [2023-03-06T23:41:41.548Z] ---> 5bc786064c6b [2023-03-06T23:41:41.548Z] 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-03-06T23:41:43.521Z] ---> Running in 427c8704f994 [2023-03-06T23:41:44.946Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-06T23:41:45.216Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-06T23:41:45.804Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-06T23:41:46.768Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-06T23:41:46.768Z] (1/14) Installing hiredis (1.0.2-r0) [2023-03-06T23:41:46.768Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-03-06T23:41:46.768Z] (3/14) Installing iotech-iot-1.4 (1.4.1-r0) [2023-03-06T23:41:47.728Z] (4/14) Installing iotech-iot-1.4-dev (1.4.1-r0) [2023-03-06T23:41:47.728Z] (5/14) Installing libcbor (0.9.0-r1) [2023-03-06T23:41:47.728Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-03-06T23:41:47.996Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-06T23:41:47.996Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-06T23:41:48.959Z] (9/14) Installing libblkid (2.38-r1) [2023-03-06T23:41:48.959Z] (10/14) Installing libuuid (2.38-r1) [2023-03-06T23:41:48.959Z] (11/14) Installing libfdisk (2.38-r1) [2023-03-06T23:41:48.959Z] (12/14) Installing libmount (2.38-r1) [2023-03-06T23:41:48.959Z] (13/14) Installing libsmartcols (2.38-r1) [2023-03-06T23:41:48.959Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-03-06T23:41:48.959Z] Executing busybox-1.35.0-r17.trigger [2023-03-06T23:41:49.230Z] OK: 286 MiB in 90 packages [2023-03-06T23:41:50.644Z] Removing intermediate container 427c8704f994 [2023-03-06T23:41:50.644Z] ---> 6cc7b4ec817d [2023-03-06T23:41:50.644Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-03-06T23:41:50.644Z] ---> Running in df355956c9c8 [2023-03-06T23:41:52.614Z] Removing intermediate container df355956c9c8 [2023-03-06T23:41:52.614Z] ---> 3e2d052cdbb6 [2023-03-06T23:41:52.614Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-03-06T23:41:52.886Z] ---> 751e8b54abc9 [2023-03-06T23:41:52.886Z] Step 8/21 : COPY src /tmp/sdk/src [2023-03-06T23:41:53.472Z] ---> 2d50d1c152cd [2023-03-06T23:41:53.472Z] Step 9/21 : COPY include /tmp/sdk/include [2023-03-06T23:41:54.064Z] ---> f6908f860b5f [2023-03-06T23:41:54.064Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-03-06T23:41:54.649Z] ---> a145b0ea092e [2023-03-06T23:41:54.649Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-03-06T23:41:56.598Z] ---> 35f557422e94 [2023-03-06T23:41:56.598Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-03-06T23:41:56.866Z] ---> cc4971834522 [2023-03-06T23:41:56.866Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-03-06T23:41:56.866Z] ---> Running in 2001a9945c3b [2023-03-06T23:41:57.860Z] + CPPCHECK=false [2023-03-06T23:41:57.860Z] + DOCGEN=false [2023-03-06T23:41:57.860Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-03-06T23:41:57.860Z] + TOMLVER=SDK-0.2 [2023-03-06T23:41:57.860Z] + CUTILVER=1.4 [2023-03-06T23:41:57.860Z] + '[' 0 -gt 0 ] [2023-03-06T23:41:57.860Z] + readlink -f ./scripts/build.sh [2023-03-06T23:41:57.860Z] + dirname /tmp/sdk/scripts/build.sh [2023-03-06T23:41:57.860Z] + dirname /tmp/sdk/scripts [2023-03-06T23:41:58.129Z] + ROOT=/tmp/sdk [2023-03-06T23:41:58.129Z] + cd /tmp/sdk [2023-03-06T23:41:58.129Z] + '[' '!' -d deps ] [2023-03-06T23:41:58.129Z] + mkdir deps [2023-03-06T23:41:58.129Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-03-06T23:41:58.129Z] + tar -C deps -z -x -f - [2023-03-06T23:41:58.129Z] Connecting to github.com (140.82.113.4:443) [2023-03-06T23:41:58.129Z] Connecting to codeload.github.com (140.82.114.9:443) [2023-03-06T23:41:58.397Z] writing to stdout [2023-03-06T23:41:58.397Z] - 100% |********************************| 16451 0:00:00 ETA [2023-03-06T23:41:58.397Z] written to stdout [2023-03-06T23:41:58.397Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-03-06T23:41:58.397Z] + mkdir -p /tmp/sdk/build/release [2023-03-06T23:41:58.397Z] + cd /tmp/sdk/build/release [2023-03-06T23:41:58.397Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-03-06T23:41:58.984Z] -- The C compiler identification is GNU 11.2.1 [2023-03-06T23:41:58.985Z] -- Detecting C compiler ABI info [2023-03-06T23:41:59.571Z] -- Detecting C compiler ABI info - done [2023-03-06T23:41:59.571Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-06T23:41:59.571Z] -- Detecting C compile features [2023-03-06T23:41:59.571Z] -- Detecting C compile features - done [2023-03-06T23:41:59.571Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-06T23:41:59.841Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-06T23:41:59.841Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-06T23:41:59.841Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-06T23:41:59.841Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-06T23:41:59.841Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-06T23:41:59.841Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-06T23:41:59.841Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-03-06T23:41:59.841Z] -- /opt/iotech/iot/1.4/include [2023-03-06T23:41:59.841Z] -- C SDK 0.0.0 for Linux [2023-03-06T23:41:59.841Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-06T23:42:00.432Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-06T23:42:00.432Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-06T23:42:00.703Z] -- Configuring done [2023-03-06T23:42:01.295Z] -- Generating done [2023-03-06T23:42:01.295Z] -- Build files have been written to: /tmp/sdk/build/release [2023-03-06T23:42:01.295Z] + make all package [2023-03-06T23:42:01.295Z] + tee release.log [2023-03-06T23:42:01.295Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-06T23:42:03.256Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-06T23:42:04.222Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-06T23:42:08.491Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-06T23:42:09.910Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-06T23:42:09.910Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-03-06T23:42:11.869Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-03-06T23:42:13.284Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-06T23:42:15.872Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-06T23:42:17.825Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-06T23:42:18.800Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-06T23:42:20.771Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-06T23:42:21.740Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-06T23:42:22.328Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-06T23:42:22.918Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-06T23:42:28.286Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-06T23:42:28.555Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-06T23:42:29.517Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-06T23:42:31.467Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-06T23:42:39.683Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-06T23:42:39.683Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-06T23:42:39.952Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-06T23:42:40.921Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-03-06T23:42:41.190Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-06T23:42:43.142Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-06T23:42:46.496Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-06T23:42:46.766Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-06T23:42:48.181Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-06T23:42:48.765Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-06T23:42:53.031Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-06T23:42:59.689Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-06T23:43:00.274Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-06T23:43:00.543Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-06T23:43:01.510Z] [ 68%] Linking C shared library libcsdk.so [2023-03-06T23:43:01.780Z] [ 68%] Built target csdk [2023-03-06T23:43:01.780Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-06T23:43:03.192Z] [ 72%] Linking C executable template [2023-03-06T23:43:03.459Z] [ 72%] Built target template [2023-03-06T23:43:03.459Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-06T23:43:04.042Z] [ 76%] Linking C executable device-counter [2023-03-06T23:43:04.628Z] [ 76%] Built target device-counter [2023-03-06T23:43:04.628Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-06T23:43:05.593Z] [ 80%] Linking C executable device-random [2023-03-06T23:43:05.860Z] [ 80%] Built target device-random [2023-03-06T23:43:05.860Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-06T23:43:06.822Z] [ 84%] Linking C executable device-gyro [2023-03-06T23:43:06.822Z] [ 84%] Built target device-gyro [2023-03-06T23:43:07.090Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-06T23:43:07.676Z] [ 88%] Linking C executable device-bitfields [2023-03-06T23:43:08.261Z] [ 88%] Built target device-bitfields [2023-03-06T23:43:08.261Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-06T23:43:09.675Z] [ 92%] Linking C executable template-discovery [2023-03-06T23:43:09.944Z] [ 92%] Built target template-discovery [2023-03-06T23:43:09.944Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-06T23:43:11.359Z] [ 96%] Linking C executable device-file [2023-03-06T23:43:11.627Z] [ 96%] Built target device-file [2023-03-06T23:43:11.627Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-06T23:43:12.587Z] [100%] Linking C executable device-terminal [2023-03-06T23:43:12.855Z] [100%] Built target device-terminal [2023-03-06T23:43:13.125Z] Run CPack packaging tool... [2023-03-06T23:43:13.125Z] CPack: Create package using TGZ [2023-03-06T23:43:13.125Z] CPack: Install projects [2023-03-06T23:43:13.125Z] CPack: - Run preinstall target for: Csdk [2023-03-06T23:43:14.093Z] CPack: - Install project: Csdk [] [2023-03-06T23:43:14.093Z] CPack: Create package [2023-03-06T23:43:14.093Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-03-06T23:43:14.093Z] + '[' false '=' true ] [2023-03-06T23:43:14.093Z] + '[' false '=' true ] [2023-03-06T23:43:14.093Z] + mkdir -p /tmp/sdk/build/debug [2023-03-06T23:43:14.093Z] + cd /tmp/sdk/build/debug [2023-03-06T23:43:14.093Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-03-06T23:43:14.363Z] -- The C compiler identification is GNU 11.2.1 [2023-03-06T23:43:14.363Z] -- Detecting C compiler ABI info [2023-03-06T23:43:14.954Z] -- Detecting C compiler ABI info - done [2023-03-06T23:43:14.954Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-06T23:43:14.954Z] -- Detecting C compile features [2023-03-06T23:43:14.954Z] -- Detecting C compile features - done [2023-03-06T23:43:14.954Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-06T23:43:15.225Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-06T23:43:15.225Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-06T23:43:15.225Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-06T23:43:15.225Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-06T23:43:15.225Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-06T23:43:15.225Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-06T23:43:15.225Z] -- Found IOT: /opt/iotech/iot/1.4/lib/libiot.so [2023-03-06T23:43:15.225Z] -- /opt/iotech/iot/1.4/include [2023-03-06T23:43:15.225Z] -- C SDK 0.0.0 for Linux [2023-03-06T23:43:15.225Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-06T23:43:15.814Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-06T23:43:15.814Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-06T23:43:16.082Z] -- Configuring done [2023-03-06T23:43:16.351Z] -- Generating done [2023-03-06T23:43:16.351Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-03-06T23:43:16.351Z] + make [2023-03-06T23:43:16.351Z] + tee debug.log [2023-03-06T23:43:16.351Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-06T23:43:17.318Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-06T23:43:17.587Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-06T23:43:19.005Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-06T23:43:19.273Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-06T23:43:19.541Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/data-mqtt.c.o [2023-03-06T23:43:20.139Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data-redstr.c.o [2023-03-06T23:43:20.723Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-06T23:43:21.685Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-06T23:43:22.647Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-06T23:43:22.915Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-06T23:43:23.501Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-06T23:43:24.086Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-06T23:43:24.672Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-06T23:43:24.940Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-06T23:43:26.347Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-06T23:43:26.615Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-06T23:43:27.199Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-06T23:43:28.162Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-06T23:43:30.107Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-06T23:43:30.375Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-06T23:43:30.957Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-06T23:43:31.224Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-03-06T23:43:31.808Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-06T23:43:32.768Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-06T23:43:35.393Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-06T23:43:35.393Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-06T23:43:35.978Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-06T23:43:36.563Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-06T23:43:37.975Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-06T23:43:38.939Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-06T23:43:39.524Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-06T23:43:40.109Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-06T23:43:40.376Z] [ 68%] Linking C shared library libcsdk.so [2023-03-06T23:43:40.965Z] [ 68%] Built target csdk [2023-03-06T23:43:40.965Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-06T23:43:41.550Z] [ 72%] Linking C executable template [2023-03-06T23:43:41.819Z] [ 72%] Built target template [2023-03-06T23:43:42.087Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-06T23:43:42.356Z] [ 76%] Linking C executable device-counter [2023-03-06T23:43:42.940Z] [ 76%] Built target device-counter [2023-03-06T23:43:42.940Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-06T23:43:43.528Z] [ 80%] Linking C executable device-random [2023-03-06T23:43:43.797Z] [ 80%] Built target device-random [2023-03-06T23:43:44.065Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-06T23:43:44.333Z] [ 84%] Linking C executable device-gyro [2023-03-06T23:43:44.924Z] [ 84%] Built target device-gyro [2023-03-06T23:43:44.924Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-06T23:43:45.285Z] [ 88%] Linking C executable device-bitfields [2023-03-06T23:43:45.878Z] [ 88%] Built target device-bitfields [2023-03-06T23:43:45.878Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-06T23:43:46.486Z] [ 92%] Linking C executable template-discovery [2023-03-06T23:43:46.770Z] [ 92%] Built target template-discovery [2023-03-06T23:43:46.770Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-06T23:43:47.365Z] [ 96%] Linking C executable device-file [2023-03-06T23:43:47.965Z] [ 96%] Built target device-file [2023-03-06T23:43:47.965Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-06T23:43:48.568Z] [100%] Linking C executable device-terminal [2023-03-06T23:43:48.840Z] [100%] Built target device-terminal [2023-03-06T23:43:48.840Z] make: Entering directory '/tmp/sdk/build/release' [2023-03-06T23:43:49.111Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-03-06T23:43:49.111Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-06T23:43:49.111Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-06T23:43:49.111Z] [ 68%] Built target csdk [2023-03-06T23:43:49.111Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-06T23:43:49.111Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-06T23:43:49.111Z] [ 72%] Built target template [2023-03-06T23:43:49.111Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-06T23:43:49.111Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-06T23:43:49.111Z] [ 76%] Built target device-counter [2023-03-06T23:43:49.111Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-06T23:43:49.381Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-06T23:43:49.381Z] [ 80%] Built target device-random [2023-03-06T23:43:49.381Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-06T23:43:49.381Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-06T23:43:49.381Z] [ 84%] Built target device-gyro [2023-03-06T23:43:49.381Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-06T23:43:49.381Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-06T23:43:49.381Z] [ 88%] Built target device-bitfields [2023-03-06T23:43:49.381Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-06T23:43:49.381Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-06T23:43:49.381Z] [ 92%] Built target template-discovery [2023-03-06T23:43:49.381Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-06T23:43:49.381Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-06T23:43:49.652Z] [ 96%] Built target device-file [2023-03-06T23:43:49.652Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-06T23:43:49.652Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-06T23:43:49.652Z] [100%] Built target device-terminal [2023-03-06T23:43:49.652Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-03-06T23:43:49.652Z] Install the project... [2023-03-06T23:43:49.652Z] -- Install configuration: "Release" [2023-03-06T23:43:49.652Z] -- Installing: /usr/local/lib/libcsdk.so [2023-03-06T23:43:49.652Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-03-06T23:43:49.652Z] -- Installing: /usr/local/include [2023-03-06T23:43:49.652Z] -- Installing: /usr/local/include/devsdk [2023-03-06T23:43:49.652Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-03-06T23:43:49.652Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-03-06T23:43:49.652Z] -- Installing: /usr/local/include/edgex [2023-03-06T23:43:49.652Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-03-06T23:43:49.652Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-03-06T23:43:49.652Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-03-06T23:43:49.652Z] -- Installing: /usr/local/include/edgex/devices.h [2023-03-06T23:43:49.652Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-03-06T23:43:49.652Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-03-06T23:43:49.652Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-03-06T23:43:49.652Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-03-06T23:43:49.652Z] make: Leaving directory '/tmp/sdk/build/release' [2023-03-06T23:43:51.088Z] Removing intermediate container 2001a9945c3b [2023-03-06T23:43:51.088Z] ---> 86ceac804da6 [2023-03-06T23:43:51.088Z] Step 14/21 : FROM ${BASE} [2023-03-06T23:43:51.088Z] ---> 9a9802766715 [2023-03-06T23:43:51.088Z] Step 15/21 : LABEL maintainer="IOTech " [2023-03-06T23:43:51.088Z] ---> Running in eb22f9047dfe [2023-03-06T23:43:51.358Z] Removing intermediate container eb22f9047dfe [2023-03-06T23:43:51.358Z] ---> a0420adfaab8 [2023-03-06T23:43:51.358Z] 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-03-06T23:43:51.626Z] ---> Running in 90310cda1d00 [2023-03-06T23:43:52.590Z] Connecting to iotech.jfrog.io (54.194.128.123:443) [2023-03-06T23:43:52.858Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-06T23:43:52.858Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-06T23:43:52.858Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-06T23:43:53.822Z] Removing intermediate container 90310cda1d00 [2023-03-06T23:43:53.822Z] ---> 1713847be39f [2023-03-06T23:43:53.822Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-06T23:43:53.822Z] ---> Running in 17a2dd4f01e5 [2023-03-06T23:43:55.239Z] Removing intermediate container 17a2dd4f01e5 [2023-03-06T23:43:55.239Z] ---> f168e64c95d9 [2023-03-06T23:43:55.239Z] 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-03-06T23:43:55.508Z] ---> Running in b83c33dc6641 [2023-03-06T23:43:56.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-06T23:43:56.736Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-06T23:43:57.320Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-06T23:43:58.283Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-06T23:43:58.283Z] (1/7) Installing curl (7.83.1-r6) [2023-03-06T23:43:58.283Z] (2/7) Installing hiredis (1.0.2-r0) [2023-03-06T23:43:58.283Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-03-06T23:43:58.283Z] (4/7) Installing iotech-iot-1.4 (1.4.1-r0) [2023-03-06T23:43:58.870Z] (5/7) Installing libcbor (0.9.0-r1) [2023-03-06T23:43:58.870Z] (6/7) Installing libuuid (2.38-r1) [2023-03-06T23:43:59.139Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-06T23:44:00.101Z] Executing busybox-1.35.0-r17.trigger [2023-03-06T23:44:00.102Z] OK: 281 MiB in 83 packages [2023-03-06T23:44:01.078Z] Removing intermediate container b83c33dc6641 [2023-03-06T23:44:01.078Z] ---> a7f75f84df50 [2023-03-06T23:44:01.078Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-03-06T23:44:01.664Z] ---> b787a8a14fae [2023-03-06T23:44:01.664Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-03-06T23:44:02.253Z] ---> 156a0c5cf359 [2023-03-06T23:44:02.254Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-03-06T23:44:02.842Z] ---> f569b8721903 [2023-03-06T23:44:02.842Z] Successfully built f569b8721903 [2023-03-06T23:44:02.842Z] 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-03-06T23:44:03.248Z] + docker inspect -f . ci-base-image-arm64 [2023-03-06T23:44:03.248Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T23:44:03.466Z] prd-ubuntu20.04-docker-arm64-4c-16g-8422 does not seem to be running inside a container [2023-03-06T23:44:03.546Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@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 ******** -e ******** ci-base-image-arm64 cat [2023-03-06T23:44:04.916Z] $ docker top 177e57f0cf95b5e3c16b46e1857f470e13af02bb8f22542d2fedfd9c6fe9b244 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-06T23:44:05.792Z] + make test [2023-03-06T23:44:05.793Z] echo "make test" [2023-03-06T23:44:05.793Z] make test [Pipeline] } [2023-03-06T23:44:05.820Z] $ docker stop --time=1 177e57f0cf95b5e3c16b46e1857f470e13af02bb8f22542d2fedfd9c6fe9b244 [2023-03-06T23:44:07.536Z] $ docker rm -f --volumes 177e57f0cf95b5e3c16b46e1857f470e13af02bb8f22542d2fedfd9c6fe9b244 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-06T23:44:08.097Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-06T23:44:08.424Z] + ls -al . [2023-03-06T23:44:08.424Z] total 200 [2023-03-06T23:44:08.424Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 6 23:40 . [2023-03-06T23:44:08.424Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 6 23:40 .. [2023-03-06T23:44:08.424Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 6 23:40 .git [2023-03-06T23:44:08.424Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 6 23:40 .github [2023-03-06T23:44:08.424Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 6 23:40 .gitignore [2023-03-06T23:44:08.424Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 6 23:40 Attribution.txt [2023-03-06T23:44:08.424Z] -rw-rw-r-- 1 jenkins jenkins 8583 Mar 6 23:40 CHANGES [2023-03-06T23:44:08.424Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 6 23:40 Doxyfile [2023-03-06T23:44:08.424Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 6 23:40 GOVERNANCE.md [2023-03-06T23:44:08.424Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 6 23:40 Jenkinsfile [2023-03-06T23:44:08.424Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 6 23:40 LICENSE [2023-03-06T23:44:08.424Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 6 23:40 Makefile [2023-03-06T23:44:08.424Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 6 23:40 OWNERS.md [2023-03-06T23:44:08.424Z] -rw-rw-r-- 1 jenkins jenkins 4086 Mar 6 23:40 README.md [2023-03-06T23:44:08.424Z] -rw-rw-r-- 1 jenkins jenkins 1245 Mar 6 23:40 README.v3.md [2023-03-06T23:44:08.424Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 6 23:37 VERSION [2023-03-06T23:44:08.424Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 6 23:40 docs [2023-03-06T23:44:08.424Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 6 23:40 include [2023-03-06T23:44:08.424Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 6 23:40 scripts [2023-03-06T23:44:08.424Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 6 23:40 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T23:44:08.775Z] + 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=547dc8b69211cef1506999b92d438582e890f55e --label arch=arm64 --label version=0.0.0 . [2023-03-06T23:44:09.362Z] Sending build context to Docker daemon 2.996MB [2023-03-06T23:44:09.362Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-03-06T23:44:09.362Z] Step 2/17 : FROM ${BASE} [2023-03-06T23:44:09.362Z] ---> f569b8721903 [2023-03-06T23:44:09.362Z] Step 3/17 : LABEL maintainer="IOTech " [2023-03-06T23:44:09.362Z] ---> Running in e5b732b2a2eb [2023-03-06T23:44:09.632Z] Removing intermediate container e5b732b2a2eb [2023-03-06T23:44:09.632Z] ---> 0842ab378ee2 [2023-03-06T23:44:09.632Z] 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-03-06T23:44:09.632Z] ---> Running in 26571b0dd308 [2023-03-06T23:44:10.597Z] Connecting to iotech.jfrog.io (34.251.108.165:443) [2023-03-06T23:44:11.183Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-06T23:44:11.183Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-06T23:44:11.183Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-06T23:44:12.150Z] Removing intermediate container 26571b0dd308 [2023-03-06T23:44:12.150Z] ---> 575d3f306608 [2023-03-06T23:44:12.150Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-06T23:44:12.150Z] ---> Running in 47ee71aaa5a0 [2023-03-06T23:44:14.107Z] Removing intermediate container 47ee71aaa5a0 [2023-03-06T23:44:14.107Z] ---> eb697c2f2fdc [2023-03-06T23:44:14.107Z] 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-03-06T23:44:14.107Z] ---> Running in f2a4dad9ed83 [2023-03-06T23:44:15.074Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-06T23:44:15.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-06T23:44:15.927Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-06T23:44:16.886Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-06T23:44:16.886Z] (1/8) Installing iotech-iot-1.4-dev (1.4.1-r0) [2023-03-06T23:44:16.886Z] (2/8) Installing libcbor-dev (0.9.0-r1) [2023-03-06T23:44:16.886Z] (3/8) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-06T23:44:16.886Z] (4/8) Installing libblkid (2.38-r1) [2023-03-06T23:44:16.886Z] (5/8) Installing libfdisk (2.38-r1) [2023-03-06T23:44:17.156Z] (6/8) Installing libmount (2.38-r1) [2023-03-06T23:44:17.156Z] (7/8) Installing libsmartcols (2.38-r1) [2023-03-06T23:44:17.156Z] (8/8) Installing util-linux-dev (2.38-r1) [2023-03-06T23:44:17.156Z] Executing busybox-1.35.0-r17.trigger [2023-03-06T23:44:17.156Z] OK: 286 MiB in 91 packages [2023-03-06T23:44:18.573Z] Removing intermediate container f2a4dad9ed83 [2023-03-06T23:44:18.573Z] ---> 47ecf2ebe6d4 [2023-03-06T23:44:18.573Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-03-06T23:44:21.162Z] ---> 55a204b3dffd [2023-03-06T23:44:21.162Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-03-06T23:44:22.132Z] ---> 55e299e6ac65 [2023-03-06T23:44:22.132Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-03-06T23:44:22.402Z] ---> 6c17ef22de6b [2023-03-06T23:44:22.402Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-03-06T23:44:22.993Z] ---> 71a18e4bfcdc [2023-03-06T23:44:22.993Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-03-06T23:44:23.583Z] ---> 2a61f810b0fa [2023-03-06T23:44:23.583Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-03-06T23:44:24.169Z] ---> 5dc2bd928697 [2023-03-06T23:44:24.169Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-03-06T23:44:24.169Z] ---> Running in ef1caf8cf578 [2023-03-06T23:44:24.755Z] Removing intermediate container ef1caf8cf578 [2023-03-06T23:44:24.755Z] ---> a7d1cbb14957 [2023-03-06T23:44:24.755Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-03-06T23:44:24.755Z] ---> Running in fa9015706efb [2023-03-06T23:44:25.023Z] Removing intermediate container fa9015706efb [2023-03-06T23:44:25.023Z] ---> 1af7c93af863 [2023-03-06T23:44:25.023Z] Step 15/17 : LABEL arch=arm64 [2023-03-06T23:44:25.023Z] ---> Running in 3a0d760858ef [2023-03-06T23:44:25.302Z] Removing intermediate container 3a0d760858ef [2023-03-06T23:44:25.302Z] ---> 0c75a4f7d2fa [2023-03-06T23:44:25.302Z] Step 16/17 : LABEL git_sha=547dc8b69211cef1506999b92d438582e890f55e [2023-03-06T23:44:25.302Z] ---> Running in 87953d479bd0 [2023-03-06T23:44:25.570Z] Removing intermediate container 87953d479bd0 [2023-03-06T23:44:25.570Z] ---> 34d1c133b59b [2023-03-06T23:44:25.570Z] Step 17/17 : LABEL version=0.0.0 [2023-03-06T23:44:25.836Z] ---> Running in c101f47026a8 [2023-03-06T23:44:26.102Z] Removing intermediate container c101f47026a8 [2023-03-06T23:44:26.102Z] ---> d1af7357a794 [2023-03-06T23:44:26.102Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-03-06T23:44:26.102Z] Successfully built d1af7357a794 [2023-03-06T23:44:26.102Z] 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-03-06T23:44:26.522Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-06T23:44:26.523Z] [2023-03-06T23:44:26.523Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T23:44:26.859Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-06T23:44:26.859Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-06T23:44:26.859Z] 8998bd30e6a1: Pulling fs layer [2023-03-06T23:44:26.859Z] 04944245beec: Pulling fs layer [2023-03-06T23:44:26.859Z] 699f458cf7ca: Pulling fs layer [2023-03-06T23:44:26.859Z] 765212b225bb: Pulling fs layer [2023-03-06T23:44:26.859Z] f23df028b6ca: Pulling fs layer [2023-03-06T23:44:26.859Z] d65c8cfc05b1: Pulling fs layer [2023-03-06T23:44:26.859Z] 2437ff75d9bd: Pulling fs layer [2023-03-06T23:44:26.859Z] f23df028b6ca: Waiting [2023-03-06T23:44:26.859Z] d65c8cfc05b1: Waiting [2023-03-06T23:44:26.859Z] 2437ff75d9bd: Waiting [2023-03-06T23:44:26.859Z] 765212b225bb: Waiting [2023-03-06T23:44:27.127Z] 04944245beec: Verifying Checksum [2023-03-06T23:44:27.127Z] 04944245beec: Download complete [2023-03-06T23:44:27.127Z] 765212b225bb: Verifying Checksum [2023-03-06T23:44:27.127Z] 765212b225bb: Download complete [2023-03-06T23:44:27.127Z] f23df028b6ca: Verifying Checksum [2023-03-06T23:44:27.127Z] f23df028b6ca: Download complete [2023-03-06T23:44:27.127Z] d65c8cfc05b1: Verifying Checksum [2023-03-06T23:44:27.127Z] d65c8cfc05b1: Download complete [2023-03-06T23:44:27.396Z] 699f458cf7ca: Verifying Checksum [2023-03-06T23:44:27.396Z] 699f458cf7ca: Download complete [2023-03-06T23:44:27.665Z] 8998bd30e6a1: Verifying Checksum [2023-03-06T23:44:27.665Z] 8998bd30e6a1: Download complete [2023-03-06T23:44:30.257Z] 2437ff75d9bd: Verifying Checksum [2023-03-06T23:44:30.257Z] 2437ff75d9bd: Download complete [2023-03-06T23:44:31.219Z] 8998bd30e6a1: Pull complete [2023-03-06T23:44:31.806Z] 04944245beec: Pull complete [2023-03-06T23:44:33.218Z] 699f458cf7ca: Pull complete [2023-03-06T23:44:33.218Z] 765212b225bb: Pull complete [2023-03-06T23:44:33.802Z] f23df028b6ca: Pull complete [2023-03-06T23:44:34.069Z] d65c8cfc05b1: Pull complete [2023-03-06T23:44:49.081Z] 2437ff75d9bd: Pull complete [2023-03-06T23:44:49.081Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-06T23:44:49.081Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-06T23:44:49.081Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T23:44:49.286Z] prd-ubuntu20.04-docker-arm64-4c-16g-8422 does not seem to be running inside a container [2023-03-06T23:44:49.363Z] $ 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/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-06T23:44:51.964Z] $ docker top b7c9c55c433680e068bc624ea05319edf0574f892c38390c64109dd165a70bd2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-06T23:44:52.802Z] ---> job-cost.sh [2023-03-06T23:44:52.802Z] lf-activate-venv: SKIPPING [2023-03-06T23:44:52.802Z] INFO: No Stack... [2023-03-06T23:44:53.071Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-06T23:44:54.029Z] INFO: Archiving Costs [Pipeline] sh [2023-03-06T23:44:54.670Z] + cat /w/workspace/device-sdk-c/6/archives/cost.csv [2023-03-06T23:44:54.670Z] + cut -d, -f6 [Pipeline] lock [2023-03-06T23:44:54.744Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-442-6-stack-cost] [2023-03-06T23:44:54.753Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-442-6-stack-cost] did not exist. Created. [2023-03-06T23:44:54.753Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-442-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-06T23:44:55.095Z] /w/workspace/device-sdk-c/6@tmp/durable-f3e1c45f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-06T23:44:55.835Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-06T23:44:55.853Z] Warning: overwriting stash ‘stack-cost’ [2023-03-06T23:44:56.416Z] Stashed 1 file(s) [Pipeline] } [2023-03-06T23:44:56.423Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-442-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-06T23:44:56.451Z] $ docker stop --time=1 b7c9c55c433680e068bc624ea05319edf0574f892c38390c64109dd165a70bd2 [2023-03-06T23:44:58.017Z] $ docker rm -f --volumes b7c9c55c433680e068bc624ea05319edf0574f892c38390c64109dd165a70bd2 [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-03-06T23:44:58.781Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives ] [2023-03-06T23:44:58.781Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives [2023-03-06T23:44:58.781Z] total 16 [2023-03-06T23:44:58.781Z] drwxr-xr-x 3 root root 4096 Mar 6 23:38 . [2023-03-06T23:44:58.781Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 6 23:38 .. [2023-03-06T23:44:58.781Z] drwxr-xr-x 2 root root 4096 Mar 6 23:38 cost [2023-03-06T23:44:58.781Z] -rw-r--r-- 1 root root 84 Mar 6 23:38 cost.csv [2023-03-06T23:44:58.781Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives [2023-03-06T23:44:58.781Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives [2023-03-06T23:44:58.781Z] total 16 [2023-03-06T23:44:58.781Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 6 23:38 . [2023-03-06T23:44:58.781Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 6 23:38 .. [2023-03-06T23:44:58.781Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 6 23:38 cost [2023-03-06T23:44:58.781Z] -rw-r--r-- 1 jenkins jenkins 84 Mar 6 23:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-06T23:44:59.071Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T23:44:59.933Z] ---> package-listing.sh [2023-03-06T23:44:59.933Z] ++ facter osfamily [2023-03-06T23:44:59.933Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-06T23:45:00.194Z] + OS_FAMILY=debian [2023-03-06T23:45:00.194Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-442 [2023-03-06T23:45:00.194Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-06T23:45:00.194Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-06T23:45:00.194Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-06T23:45:00.194Z] + PACKAGES=/tmp/packages_start.txt [2023-03-06T23:45:00.194Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-442 ']' [2023-03-06T23:45:00.194Z] + PACKAGES=/tmp/packages_end.txt [2023-03-06T23:45:00.194Z] + case "${OS_FAMILY}" in [2023-03-06T23:45:00.194Z] + dpkg -l [2023-03-06T23:45:00.194Z] + grep '^ii' [2023-03-06T23:45:00.194Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-06T23:45:00.194Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-06T23:45:00.194Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-06T23:45:00.194Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-442 ']' [2023-03-06T23:45:00.194Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives/ [2023-03-06T23:45:00.194Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-442/archives/ [Pipeline] echo [2023-03-06T23:45:00.206Z] 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-442/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-06T23:45:00.485Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T23:45:01.049Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-06T23:45:01.049Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T23:45:01.127Z] prd-ubuntu20.04-docker-8c-8g-8420 does not seem to be running inside a container [2023-03-06T23:45:01.154Z] $ 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-442/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-442 -v /w/workspace/edgexfoundry_device-sdk-c_PR-442:/w/workspace/edgexfoundry_device-sdk-c_PR-442:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-442@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-03-06T23:45:01.359Z] $ docker top e030bfa918797aec179c8acb2bce662f4ea963625fe8751b989d7586eac62348 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-06T23:45:01.716Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-06T23:45:02.004Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-06T23:45:02.290Z] + ls /var/log/sa-host [2023-03-06T23:45:02.290Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-06T23:45:02.466Z] provisioning config files... [2023-03-06T23:45:02.476Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-442@tmp/config10659598055839544349tmp [Pipeline] { [Pipeline] echo [2023-03-06T23:45:02.495Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T23:45:02.780Z] ---> create-netrc.sh [Pipeline] } [2023-03-06T23:45:02.788Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-06T23:45:03.127Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-06T23:45:03.136Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T23:45:03.422Z] ---> sudo-logs.sh [2023-03-06T23:45:03.423Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-06T23:45:03.450Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T23:45:03.735Z] ---> job-cost.sh [2023-03-06T23:45:03.735Z] lf-activate-venv: SKIPPING [2023-03-06T23:45:03.735Z] DEBUG: total: 0.2199999988079071 [2023-03-06T23:45:03.735Z] INFO: Retrieving Stack Cost... [2023-03-06T23:45:03.995Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-06T23:45:04.254Z] INFO: Archiving Costs [Pipeline] echo [2023-03-06T23:45:04.267Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T23:45:04.551Z] ---> logs-deploy.sh [2023-03-06T23:45:04.551Z] lf-activate-venv: SKIPPING [2023-03-06T23:45:04.551Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-442/6 [2023-03-06T23:45:04.551Z] INFO: archiving workspace using pattern(s): [2023-03-06T23:45:05.489Z] Archives upload complete. [2023-03-06T23:45:05.749Z] INFO: archiving logs to Nexus