Branch indexing 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 TuhinDasgupta-eaton for edgexfoundry/device-sdk-c Loading trusted files from base branch main at fdd904db91670bf9b9238bf17ce25b0e9b1934c2 rather than 7918e9890a621b034a3ee885caae8f9909757f71 Obtained Jenkinsfile from fdd904db91670bf9b9238bf17ce25b0e9b1934c2 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-ssh2363938924690088249.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-ssh13507587554919264442.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-445/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-445/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1368942348086524100.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-ssh12921369003354919764.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-445/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-445/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7601942601476745132.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-9658 in /w/workspace/edgexfoundry_device-sdk-c_PR-445 [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-445 # 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/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fdd904db91670bf9b9238bf17ce25b0e9b1934c2 into PR head commit 7918e9890a621b034a3ee885caae8f9909757f71 Merge succeeded, producing 3f076c55d854badbbd20416d80ac499a8cf6a160 Checking out Revision 3f076c55d854badbbd20416d80ac499a8cf6a160 (PR-445) > git config core.sparsecheckout # timeout=10 > git checkout -f 7918e9890a621b034a3ee885caae8f9909757f71 # 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 fdd904db91670bf9b9238bf17ce25b0e9b1934c2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3f076c55d854badbbd20416d80ac499a8cf6a160 # timeout=10 Commit message: "Merge commit 'fdd904db91670bf9b9238bf17ce25b0e9b1934c2' into HEAD" > git rev-list --no-walk 7918e9890a621b034a3ee885caae8f9909757f71 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-10T18:56:14.977Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-10T18:56:15.014Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-10T18:56:15.027Z] ========================================================= [2023-03-10T18:56:15.027Z] EdgeX Global Pipelines Version Info [2023-03-10T18:56:15.027Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:56:15.729Z] ------------------- [2023-03-10T18:56:15.729Z] stable info: [2023-03-10T18:56:15.729Z] ------------------- [2023-03-10T18:56:15.729Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-10T18:56:15.729Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-10T18:56:15.729Z] Message: update stable to v1.0.244 [2023-03-10T18:56:16.300Z] ------------------- [2023-03-10T18:56:16.300Z] experimental info: [2023-03-10T18:56:16.300Z] ------------------- [2023-03-10T18:56:16.300Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-10T18:56:16.300Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-10T18:56:16.300Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-10T18:56:16.469Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-03-10T18:56:16.480Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-03-10T18:56:16.489Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-10T18:56:16.497Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-10T18:56:16.505Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-10T18:56:16.512Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-03-10T18:56:16.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-03-10T18:56:16.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-10T18:56:16.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-10T18:56:16.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-03-10T18:56:16.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-10T18:56:16.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-10T18:56:16.598Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-10T18:56:16.611Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-10T18:56:16.623Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-10T18:56:16.633Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-10T18:56:16.647Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-10T18:56:16.659Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-445 [Pipeline] echo [2023-03-10T18:56:16.668Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-445 [Pipeline] echo [2023-03-10T18:56:16.680Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-445 [Pipeline] echo [2023-03-10T18:56:16.690Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3f076c55d854badbbd20416d80ac499a8cf6a160 [Pipeline] echo [2023-03-10T18:56:16.700Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3f076c5 [Pipeline] echo [2023-03-10T18:56:16.714Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-10T18:56:16.755Z] provisioning config files... [2023-03-10T18:56:16.768Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/config15160153896224621957tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:56:17.071Z] ---> docker-login.sh [2023-03-10T18:56:17.071Z] nexus3.edgexfoundry.org:10001 [2023-03-10T18:56:17.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:56:17.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:56:17.332Z] Configure a credential helper to remove this warning. See [2023-03-10T18:56:17.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:56:17.332Z] [2023-03-10T18:56:17.332Z] Login Succeeded [2023-03-10T18:56:17.332Z] nexus3.edgexfoundry.org:10002 [2023-03-10T18:56:17.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:56:17.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:56:17.332Z] Configure a credential helper to remove this warning. See [2023-03-10T18:56:17.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:56:17.332Z] [2023-03-10T18:56:17.332Z] Login Succeeded [2023-03-10T18:56:17.332Z] nexus3.edgexfoundry.org:10003 [2023-03-10T18:56:17.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:56:17.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:56:17.594Z] Configure a credential helper to remove this warning. See [2023-03-10T18:56:17.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:56:17.594Z] [2023-03-10T18:56:17.594Z] Login Succeeded [2023-03-10T18:56:17.594Z] nexus3.edgexfoundry.org:10004 [2023-03-10T18:56:17.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:56:17.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:56:17.594Z] Configure a credential helper to remove this warning. See [2023-03-10T18:56:17.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:56:17.594Z] [2023-03-10T18:56:17.594Z] Login Succeeded [2023-03-10T18:56:17.594Z] docker.io [2023-03-10T18:56:17.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:56:17.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:56:17.855Z] Configure a credential helper to remove this warning. See [2023-03-10T18:56:17.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:56:17.855Z] [2023-03-10T18:56:17.855Z] Login Succeeded [2023-03-10T18:56:17.855Z] ---> docker-login.sh ends [Pipeline] } [2023-03-10T18:56:17.864Z] 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-10T18:56:18.226Z] + git rev-list -1 --merges 3f076c55d854badbbd20416d80ac499a8cf6a160~1..3f076c55d854badbbd20416d80ac499a8cf6a160 [Pipeline] echo [2023-03-10T18:56:18.271Z] -----------> git rev-list -1 --merges 3f076c55d854badbbd20416d80ac499a8cf6a160~1..3f076c55d854badbbd20416d80ac499a8cf6a160 3f076c55d854badbbd20416d80ac499a8cf6a160 [2023-03-10T18:56:18.271Z] 3f076c55d854badbbd20416d80ac499a8cf6a160 [false] [Pipeline] sh [2023-03-10T18:56:18.556Z] + git log --format=format:%s -1 3f076c55d854badbbd20416d80ac499a8cf6a160 [Pipeline] echo [2023-03-10T18:56:18.571Z] ========================================================= [2023-03-10T18:56:18.571Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-10T18:56:18.571Z] ========================================================= 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-10T18:56:18.938Z] + git rev-list -1 --merges 3f076c55d854badbbd20416d80ac499a8cf6a160~1..3f076c55d854badbbd20416d80ac499a8cf6a160 [Pipeline] echo [2023-03-10T18:56:18.950Z] -----------> git rev-list -1 --merges 3f076c55d854badbbd20416d80ac499a8cf6a160~1..3f076c55d854badbbd20416d80ac499a8cf6a160 3f076c55d854badbbd20416d80ac499a8cf6a160 [2023-03-10T18:56:18.950Z] 3f076c55d854badbbd20416d80ac499a8cf6a160 [false] [Pipeline] sh [2023-03-10T18:56:19.236Z] + git log --format=format:%s -1 3f076c55d854badbbd20416d80ac499a8cf6a160 [Pipeline] echo [2023-03-10T18:56:19.251Z] ========================================================= [2023-03-10T18:56:19.251Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-10T18:56:19.251Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-03-10T18:56:19.604Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-10T18:56:19.604Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-10T18:56:19.604Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-10T18:56:19.604Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-10T18:56:19.604Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-10T18:56:19.604Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-10T18:56:19.604Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T18:56:19.944Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-10T18:56:19.944Z] [2023-03-10T18:56:19.944Z] 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-10T18:56:20.250Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-10T18:56:20.250Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-10T18:56:20.250Z] b85a868b505f: Pulling fs layer [2023-03-10T18:56:20.250Z] e2be974225ed: Pulling fs layer [2023-03-10T18:56:20.250Z] 339a4e72a1f5: Pulling fs layer [2023-03-10T18:56:20.250Z] 988bab9f4d93: Pulling fs layer [2023-03-10T18:56:20.250Z] 1469e6f7b9e6: Pulling fs layer [2023-03-10T18:56:20.250Z] eaf3925da568: Pulling fs layer [2023-03-10T18:56:20.250Z] bab4dde63d76: Pulling fs layer [2023-03-10T18:56:20.250Z] bde34c3a00c8: Pulling fs layer [2023-03-10T18:56:20.250Z] 988bab9f4d93: Waiting [2023-03-10T18:56:20.250Z] 1469e6f7b9e6: Waiting [2023-03-10T18:56:20.250Z] eaf3925da568: Waiting [2023-03-10T18:56:20.250Z] b352a97aabf1: Pulling fs layer [2023-03-10T18:56:20.250Z] bde34c3a00c8: Waiting [2023-03-10T18:56:20.250Z] 4872d77fe225: Pulling fs layer [2023-03-10T18:56:20.250Z] 5851b861e8e6: Pulling fs layer [2023-03-10T18:56:20.250Z] 4872d77fe225: Waiting [2023-03-10T18:56:20.250Z] 5851b861e8e6: Waiting [2023-03-10T18:56:20.250Z] e2be974225ed: Download complete [2023-03-10T18:56:20.250Z] 988bab9f4d93: Verifying Checksum [2023-03-10T18:56:20.510Z] 1469e6f7b9e6: Download complete [2023-03-10T18:56:20.510Z] 339a4e72a1f5: Verifying Checksum [2023-03-10T18:56:20.510Z] 339a4e72a1f5: Download complete [2023-03-10T18:56:20.510Z] eaf3925da568: Verifying Checksum [2023-03-10T18:56:20.510Z] eaf3925da568: Download complete [2023-03-10T18:56:20.510Z] bde34c3a00c8: Verifying Checksum [2023-03-10T18:56:20.510Z] bde34c3a00c8: Download complete [2023-03-10T18:56:20.510Z] b352a97aabf1: Verifying Checksum [2023-03-10T18:56:20.510Z] b352a97aabf1: Download complete [2023-03-10T18:56:20.510Z] 4872d77fe225: Verifying Checksum [2023-03-10T18:56:20.510Z] b85a868b505f: Verifying Checksum [2023-03-10T18:56:20.510Z] b85a868b505f: Download complete [2023-03-10T18:56:20.775Z] bab4dde63d76: Verifying Checksum [2023-03-10T18:56:20.775Z] bab4dde63d76: Download complete [2023-03-10T18:56:21.713Z] b85a868b505f: Pull complete [2023-03-10T18:56:21.972Z] e2be974225ed: Pull complete [2023-03-10T18:56:22.232Z] 339a4e72a1f5: Pull complete [2023-03-10T18:56:22.491Z] 988bab9f4d93: Pull complete [2023-03-10T18:56:22.751Z] 1469e6f7b9e6: Pull complete [2023-03-10T18:56:22.751Z] eaf3925da568: Pull complete [2023-03-10T18:56:24.659Z] bab4dde63d76: Pull complete [2023-03-10T18:56:24.660Z] bde34c3a00c8: Pull complete [2023-03-10T18:56:24.660Z] b352a97aabf1: Pull complete [2023-03-10T18:56:24.660Z] 4872d77fe225: Pull complete [2023-03-10T18:56:24.920Z] 5851b861e8e6: Pull complete [2023-03-10T18:56:24.920Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-10T18:56:24.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-10T18:56:24.920Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T18:56:25.013Z] prd-ubuntu20.04-docker-8c-8g-9658 does not seem to be running inside a container [2023-03-10T18:56:25.105Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-445 -v /w/workspace/edgexfoundry_device-sdk-c_PR-445:/w/workspace/edgexfoundry_device-sdk-c_PR-445:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-445@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-10T18:56:26.491Z] $ docker top b77129252ffb2e34fed7449ec45104a20f67b6e9c7a246edb35438aafc14557a -eo pid,comm [2023-03-10T18:56:26.565Z] 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-10T18:56:26.565Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-10T18:56:26.598Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-10T18:56:26.598Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-10T18:56:26.714Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-10T18:56:26.709Z] $ docker exec b77129252ffb2e34fed7449ec45104a20f67b6e9c7a246edb35438aafc14557a ssh-agent [2023-03-10T18:56:26.819Z] SSH_AUTH_SOCK=/tmp/ssh-eGO2s086T6r0/agent.32 [2023-03-10T18:56:26.819Z] SSH_AGENT_PID=38 [2023-03-10T18:56:26.826Z] Running ssh-add (command line suppressed) [2023-03-10T18:56:26.924Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/private_key_15886200118015015407.key (/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/private_key_15886200118015015407.key) [2023-03-10T18:56:26.949Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-10T18:56:27.235Z] + git tag --points-at HEAD [Pipeline] } [2023-03-10T18:56:27.244Z] $ docker exec --env ******** --env ******** b77129252ffb2e34fed7449ec45104a20f67b6e9c7a246edb35438aafc14557a ssh-agent -k [2023-03-10T18:56:27.340Z] unset SSH_AUTH_SOCK; [2023-03-10T18:56:27.340Z] unset SSH_AGENT_PID; [2023-03-10T18:56:27.340Z] echo Agent pid 38 killed; [2023-03-10T18:56:27.358Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-10T18:56:27.384Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-10T18:56:27.384Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-10T18:56:27.489Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-10T18:56:27.485Z] $ docker exec b77129252ffb2e34fed7449ec45104a20f67b6e9c7a246edb35438aafc14557a ssh-agent [2023-03-10T18:56:27.605Z] SSH_AUTH_SOCK=/tmp/ssh-0D7ERW9MJq4T/agent.70 [2023-03-10T18:56:27.605Z] SSH_AGENT_PID=76 [2023-03-10T18:56:27.610Z] Running ssh-add (command line suppressed) [2023-03-10T18:56:27.703Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/private_key_16873577508799512864.key (/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/private_key_16873577508799512864.key) [2023-03-10T18:56:27.725Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-10T18:56:28.013Z] + git semver init [2023-03-10T18:56:28.273Z] 2023-03-10 18:56:28,184 [run_init] DEBUG init version:0.0.0 force:False [2023-03-10T18:56:28.273Z] 2023-03-10 18:56:28,184 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver [2023-03-10T18:56:28.273Z] 2023-03-10 18:56:28,185 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver [2023-03-10T18:56:28.273Z] 2023-03-10 18:56:28,185 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-445, universal_newlines=False, shell=None, istream=None) [2023-03-10T18:56:29.211Z] 2023-03-10 18:56:29,007 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445/.git/info/exclude [2023-03-10T18:56:29.211Z] 2023-03-10 18:56:29,007 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver/PR-445 with force:False [2023-03-10T18:56:29.211Z] 2023-03-10 18:56:29,007 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver/PR-445 [2023-03-10T18:56:29.211Z] 2023-03-10 18:56:29,012 [execute] INFO git cat-file --batch-check [2023-03-10T18:56:29.211Z] 2023-03-10 18:56:29,012 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver, universal_newlines=False, shell=None, istream=) [2023-03-10T18:56:29.211Z] 2023-03-10 18:56:29,018 [execute] INFO git cat-file --batch [2023-03-10T18:56:29.211Z] 2023-03-10 18:56:29,018 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver, universal_newlines=False, shell=None, istream=) [2023-03-10T18:56:29.211Z] 2023-03-10 18:56:29,022 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-445/.semver/PR-445 [2023-03-10T18:56:29.211Z] 0.0.0 [Pipeline] } [2023-03-10T18:56:29.215Z] $ docker exec --env ******** --env ******** b77129252ffb2e34fed7449ec45104a20f67b6e9c7a246edb35438aafc14557a ssh-agent -k [2023-03-10T18:56:29.304Z] unset SSH_AUTH_SOCK; [2023-03-10T18:56:29.305Z] unset SSH_AGENT_PID; [2023-03-10T18:56:29.305Z] echo Agent pid 76 killed; [2023-03-10T18:56:29.319Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-10T18:56:29.617Z] + git semver [Pipeline] } [2023-03-10T18:56:29.883Z] $ docker stop --time=1 b77129252ffb2e34fed7449ec45104a20f67b6e9c7a246edb35438aafc14557a [2023-03-10T18:56:31.176Z] $ docker rm -f --volumes b77129252ffb2e34fed7449ec45104a20f67b6e9c7a246edb35438aafc14557a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-10T18:56:31.518Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-10T18:56:31.724Z] Stashed 1 file(s) [Pipeline] echo [2023-03-10T18:56:31.727Z] [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-10T18:56:31.875Z] provisioning config files... [2023-03-10T18:56:31.885Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/config13047561202914885681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:56:32.187Z] ---> docker-login.sh [2023-03-10T18:56:32.187Z] nexus3.edgexfoundry.org:10001 [2023-03-10T18:56:32.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:56:32.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:56:32.187Z] Configure a credential helper to remove this warning. See [2023-03-10T18:56:32.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:56:32.187Z] [2023-03-10T18:56:32.187Z] Login Succeeded [2023-03-10T18:56:32.187Z] nexus3.edgexfoundry.org:10002 [2023-03-10T18:56:32.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:56:32.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:56:32.187Z] Configure a credential helper to remove this warning. See [2023-03-10T18:56:32.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:56:32.187Z] [2023-03-10T18:56:32.187Z] Login Succeeded [2023-03-10T18:56:32.187Z] nexus3.edgexfoundry.org:10003 [2023-03-10T18:56:32.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:56:32.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:56:32.446Z] Configure a credential helper to remove this warning. See [2023-03-10T18:56:32.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:56:32.446Z] [2023-03-10T18:56:32.446Z] Login Succeeded [2023-03-10T18:56:32.446Z] nexus3.edgexfoundry.org:10004 [2023-03-10T18:56:32.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:56:32.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:56:32.446Z] Configure a credential helper to remove this warning. See [2023-03-10T18:56:32.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:56:32.446Z] [2023-03-10T18:56:32.446Z] Login Succeeded [2023-03-10T18:56:32.446Z] docker.io [2023-03-10T18:56:32.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T18:56:32.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T18:56:32.706Z] Configure a credential helper to remove this warning. See [2023-03-10T18:56:32.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T18:56:32.706Z] [2023-03-10T18:56:32.706Z] Login Succeeded [2023-03-10T18:56:32.706Z] ---> docker-login.sh ends [Pipeline] } [2023-03-10T18:56:32.712Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-10T18:56:32.775Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-10T18:56:32.784Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-03-10T18:56:32.794Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-10T18:56:32.802Z] ========================================================= [2023-03-10T18:56:32.802Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-03-10T18:56:32.802Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T18:56:33.104Z] + 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-10T18:56:33.104Z] Sending build context to Docker daemon 4.878MB [2023-03-10T18:56:33.104Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-03-10T18:56:33.104Z] Step 2/21 : FROM ${BASE} as builder [2023-03-10T18:56:33.104Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-03-10T18:56:33.104Z] 213ec9aee27d: Pulling fs layer [2023-03-10T18:56:33.104Z] 0f09ad1b1b37: Pulling fs layer [2023-03-10T18:56:33.363Z] 213ec9aee27d: Verifying Checksum [2023-03-10T18:56:33.363Z] 213ec9aee27d: Download complete [2023-03-10T18:56:33.363Z] 213ec9aee27d: Pull complete [2023-03-10T18:56:33.930Z] 0f09ad1b1b37: Verifying Checksum [2023-03-10T18:56:33.930Z] 0f09ad1b1b37: Download complete [2023-03-10T18:56:36.462Z] 0f09ad1b1b37: Pull complete [2023-03-10T18:56:36.462Z] Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 [2023-03-10T18:56:36.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-03-10T18:56:36.462Z] ---> b2bbfebb3566 [2023-03-10T18:56:36.462Z] 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-10T18:56:37.029Z] ---> Running in a7ece2ce9b30 [2023-03-10T18:56:37.288Z] Connecting to iotech.jfrog.io (176.34.135.205:443) [2023-03-10T18:56:37.547Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-10T18:56:37.548Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-10T18:56:37.548Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-10T18:56:38.120Z] Removing intermediate container a7ece2ce9b30 [2023-03-10T18:56:38.120Z] ---> 65f98af67482 [2023-03-10T18:56:38.120Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-10T18:56:38.120Z] ---> Running in 8f53b48d488d [2023-03-10T18:56:38.690Z] Removing intermediate container 8f53b48d488d [2023-03-10T18:56:38.690Z] ---> 57ea1ac8dbd2 [2023-03-10T18:56:38.690Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-03-10T18:56:38.690Z] ---> Running in 3b9d060d1da4 [2023-03-10T18:56:38.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-10T18:56:38.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-10T18:56:39.208Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-10T18:56:39.778Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-10T18:56:39.778Z] (1/14) Installing hiredis (1.0.2-r0) [2023-03-10T18:56:39.778Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-03-10T18:56:39.778Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-03-10T18:56:40.347Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-03-10T18:56:40.606Z] (5/14) Installing libcbor (0.9.0-r1) [2023-03-10T18:56:40.606Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-03-10T18:56:40.606Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-10T18:56:40.606Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-10T18:56:41.175Z] (9/14) Installing libblkid (2.38-r1) [2023-03-10T18:56:41.175Z] (10/14) Installing libuuid (2.38-r1) [2023-03-10T18:56:41.175Z] (11/14) Installing libfdisk (2.38-r1) [2023-03-10T18:56:41.175Z] (12/14) Installing libmount (2.38-r1) [2023-03-10T18:56:41.436Z] (13/14) Installing libsmartcols (2.38-r1) [2023-03-10T18:56:41.436Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-03-10T18:56:41.436Z] Executing busybox-1.35.0-r17.trigger [2023-03-10T18:56:41.436Z] OK: 280 MiB in 90 packages [2023-03-10T18:56:42.010Z] Removing intermediate container 3b9d060d1da4 [2023-03-10T18:56:42.010Z] ---> 3fb65bf73f1e [2023-03-10T18:56:42.010Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-03-10T18:56:42.010Z] ---> Running in a69af79fe434 [2023-03-10T18:56:42.577Z] Removing intermediate container a69af79fe434 [2023-03-10T18:56:42.577Z] ---> 2a43681802c0 [2023-03-10T18:56:42.577Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-03-10T18:56:42.577Z] ---> 5d04aa0c86a6 [2023-03-10T18:56:42.577Z] Step 8/21 : COPY src /tmp/sdk/src [2023-03-10T18:56:42.835Z] ---> bae98516c2eb [2023-03-10T18:56:42.835Z] Step 9/21 : COPY include /tmp/sdk/include [2023-03-10T18:56:43.093Z] ---> 30423de4fbd2 [2023-03-10T18:56:43.093Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-03-10T18:56:43.093Z] ---> 114d6ad75b85 [2023-03-10T18:56:43.093Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-03-10T18:56:43.350Z] ---> 95261808a3c3 [2023-03-10T18:56:43.350Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-03-10T18:56:43.609Z] ---> 2e1e81dd70b3 [2023-03-10T18:56:43.609Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-03-10T18:56:43.609Z] ---> Running in e17bcc90d545 [2023-03-10T18:56:43.868Z] + CPPCHECK=false [2023-03-10T18:56:43.868Z] + DOCGEN=false [2023-03-10T18:56:43.868Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-03-10T18:56:43.868Z] + TOMLVER=SDK-0.2 [2023-03-10T18:56:43.868Z] + CUTILVER=1.4 [2023-03-10T18:56:43.868Z] + '[' 0 -gt 0 ] [2023-03-10T18:56:43.868Z] + readlink -f ./scripts/build.sh [2023-03-10T18:56:43.868Z] + dirname /tmp/sdk/scripts/build.sh [2023-03-10T18:56:43.868Z] + dirname /tmp/sdk/scripts [2023-03-10T18:56:43.868Z] + ROOT=/tmp/sdk [2023-03-10T18:56:43.868Z] + cd /tmp/sdk [2023-03-10T18:56:43.868Z] + '[' '!' -d deps ] [2023-03-10T18:56:43.868Z] + mkdir deps [2023-03-10T18:56:43.868Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-03-10T18:56:43.868Z] + tar -C deps -z -x -f - [2023-03-10T18:56:43.868Z] Connecting to github.com (140.82.114.3:443) [2023-03-10T18:56:44.128Z] Connecting to codeload.github.com (140.82.112.10:443) [2023-03-10T18:56:44.128Z] writing to stdout [2023-03-10T18:56:44.128Z] - 100% |********************************| 16451 0:00:00 ETA [2023-03-10T18:56:44.128Z] written to stdout [2023-03-10T18:56:44.128Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-03-10T18:56:44.128Z] + mkdir -p /tmp/sdk/build/release [2023-03-10T18:56:44.128Z] + cd /tmp/sdk/build/release [2023-03-10T18:56:44.128Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-03-10T18:56:44.390Z] -- The C compiler identification is GNU 11.2.1 [2023-03-10T18:56:44.390Z] -- Detecting C compiler ABI info [2023-03-10T18:56:44.390Z] -- Detecting C compiler ABI info - done [2023-03-10T18:56:44.390Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-10T18:56:44.390Z] -- Detecting C compile features [2023-03-10T18:56:44.390Z] -- Detecting C compile features - done [2023-03-10T18:56:44.390Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-10T18:56:44.390Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-10T18:56:44.390Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-10T18:56:44.390Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-10T18:56:44.390Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-10T18:56:44.390Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-10T18:56:44.390Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-10T18:56:44.390Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-03-10T18:56:44.390Z] -- /opt/iotech/iot/1.5/include [2023-03-10T18:56:44.390Z] -- C SDK 0.0.0 for Linux [2023-03-10T18:56:44.390Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-10T18:56:44.649Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-10T18:56:44.649Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-10T18:56:44.649Z] -- Configuring done [2023-03-10T18:56:44.649Z] -- Generating done [2023-03-10T18:56:44.649Z] -- Build files have been written to: /tmp/sdk/build/release [2023-03-10T18:56:44.649Z] + make all package [2023-03-10T18:56:44.649Z] + tee release.log [2023-03-10T18:56:44.649Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-10T18:56:44.909Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-03-10T18:56:45.168Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-03-10T18:56:45.168Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-03-10T18:56:45.427Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-10T18:56:45.427Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-10T18:56:45.994Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-10T18:56:45.994Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-10T18:56:46.256Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-10T18:56:46.256Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-10T18:56:46.820Z] Still waiting to schedule task [2023-03-10T18:56:46.820Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-10T18:56:46.825Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-10T18:56:46.825Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-10T18:56:46.825Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-10T18:56:47.084Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-10T18:56:47.084Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-10T18:56:47.345Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-10T18:56:47.914Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-10T18:56:47.914Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-10T18:56:47.914Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-10T18:56:48.172Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-10T18:56:49.110Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-10T18:56:49.370Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-10T18:56:49.370Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-10T18:56:49.370Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-10T18:56:49.629Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-10T18:56:50.199Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-10T18:56:50.199Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-10T18:56:50.458Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-10T18:56:50.458Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-10T18:56:51.027Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-10T18:56:51.596Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-10T18:56:51.855Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-10T18:56:51.855Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-10T18:56:52.115Z] [ 68%] Linking C shared library libcsdk.so [2023-03-10T18:56:52.115Z] [ 68%] Built target csdk [2023-03-10T18:56:52.115Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-10T18:56:52.375Z] [ 72%] Linking C executable template [2023-03-10T18:56:52.375Z] [ 72%] Built target template [2023-03-10T18:56:52.375Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-10T18:56:52.375Z] [ 76%] Linking C executable device-counter [2023-03-10T18:56:52.634Z] [ 76%] Built target device-counter [2023-03-10T18:56:52.634Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-10T18:56:52.634Z] [ 80%] Linking C executable device-random [2023-03-10T18:56:52.634Z] [ 80%] Built target device-random [2023-03-10T18:56:52.634Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-10T18:56:52.893Z] [ 84%] Linking C executable device-gyro [2023-03-10T18:56:52.893Z] [ 84%] Built target device-gyro [2023-03-10T18:56:52.893Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-10T18:56:53.153Z] [ 88%] Linking C executable device-bitfields [2023-03-10T18:56:53.153Z] [ 88%] Built target device-bitfields [2023-03-10T18:56:53.153Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-10T18:56:53.413Z] [ 92%] Linking C executable template-discovery [2023-03-10T18:56:53.413Z] [ 92%] Built target template-discovery [2023-03-10T18:56:53.413Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-10T18:56:53.413Z] [ 96%] Linking C executable device-file [2023-03-10T18:56:53.671Z] [ 96%] Built target device-file [2023-03-10T18:56:53.671Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-10T18:56:53.671Z] [100%] Linking C executable device-terminal [2023-03-10T18:56:53.929Z] [100%] Built target device-terminal [2023-03-10T18:56:53.929Z] Run CPack packaging tool... [2023-03-10T18:56:53.929Z] CPack: Create package using TGZ [2023-03-10T18:56:53.929Z] CPack: Install projects [2023-03-10T18:56:53.929Z] CPack: - Run preinstall target for: Csdk [2023-03-10T18:56:54.189Z] CPack: - Install project: Csdk [] [2023-03-10T18:56:54.189Z] CPack: Create package [2023-03-10T18:56:54.189Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-03-10T18:56:54.189Z] + '[' false '=' true ] [2023-03-10T18:56:54.189Z] + '[' false '=' true ] [2023-03-10T18:56:54.189Z] + mkdir -p /tmp/sdk/build/debug [2023-03-10T18:56:54.189Z] + cd /tmp/sdk/build/debug [2023-03-10T18:56:54.189Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-03-10T18:56:54.189Z] -- The C compiler identification is GNU 11.2.1 [2023-03-10T18:56:54.189Z] -- Detecting C compiler ABI info [2023-03-10T18:56:54.448Z] -- Detecting C compiler ABI info - done [2023-03-10T18:56:54.448Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-10T18:56:54.448Z] -- Detecting C compile features [2023-03-10T18:56:54.448Z] -- Detecting C compile features - done [2023-03-10T18:56:54.448Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-10T18:56:54.448Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-10T18:56:54.448Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-10T18:56:54.448Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-10T18:56:54.448Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-10T18:56:54.448Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-10T18:56:54.448Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-10T18:56:54.448Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-03-10T18:56:54.448Z] -- /opt/iotech/iot/1.5/include [2023-03-10T18:56:54.448Z] -- C SDK 0.0.0 for Linux [2023-03-10T18:56:54.448Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-10T18:56:54.448Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-10T18:56:54.448Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-10T18:56:54.708Z] -- Configuring done [2023-03-10T18:56:54.708Z] -- Generating done [2023-03-10T18:56:54.708Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-03-10T18:56:54.708Z] + make [2023-03-10T18:56:54.708Z] + tee debug.log [2023-03-10T18:56:54.708Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-10T18:56:54.708Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-03-10T18:56:54.968Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-03-10T18:56:54.968Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-03-10T18:56:54.968Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-10T18:56:55.228Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-10T18:56:55.228Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-10T18:56:55.228Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-10T18:56:55.488Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-10T18:56:55.488Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-10T18:56:55.488Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-10T18:56:55.745Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-10T18:56:55.745Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-10T18:56:55.745Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-10T18:56:56.004Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-10T18:56:56.004Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-10T18:56:56.264Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-10T18:56:56.264Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-10T18:56:56.264Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-10T18:56:56.524Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-10T18:56:56.524Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-10T18:56:56.783Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-10T18:56:56.783Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-10T18:56:56.783Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-10T18:56:57.042Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-10T18:56:57.301Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-10T18:56:57.301Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-10T18:56:57.301Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-10T18:56:57.561Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-10T18:56:57.561Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-10T18:56:57.820Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-10T18:56:57.820Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-10T18:56:57.820Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-10T18:56:58.079Z] [ 68%] Linking C shared library libcsdk.so [2023-03-10T18:56:58.079Z] [ 68%] Built target csdk [2023-03-10T18:56:58.079Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-10T18:56:58.079Z] [ 72%] Linking C executable template [2023-03-10T18:56:58.079Z] [ 72%] Built target template [2023-03-10T18:56:58.337Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-10T18:56:58.337Z] [ 76%] Linking C executable device-counter [2023-03-10T18:56:58.337Z] [ 76%] Built target device-counter [2023-03-10T18:56:58.337Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-10T18:56:58.337Z] [ 80%] Linking C executable device-random [2023-03-10T18:56:58.596Z] [ 80%] Built target device-random [2023-03-10T18:56:58.596Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-10T18:56:58.596Z] [ 84%] Linking C executable device-gyro [2023-03-10T18:56:58.596Z] [ 84%] Built target device-gyro [2023-03-10T18:56:58.596Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-10T18:56:58.596Z] [ 88%] Linking C executable device-bitfields [2023-03-10T18:56:58.854Z] [ 88%] Built target device-bitfields [2023-03-10T18:56:58.854Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-10T18:56:58.854Z] [ 92%] Linking C executable template-discovery [2023-03-10T18:56:58.854Z] [ 92%] Built target template-discovery [2023-03-10T18:56:58.854Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-10T18:56:59.114Z] [ 96%] Linking C executable device-file [2023-03-10T18:56:59.114Z] [ 96%] Built target device-file [2023-03-10T18:56:59.114Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-10T18:56:59.114Z] [100%] Linking C executable device-terminal [2023-03-10T18:56:59.371Z] [100%] Built target device-terminal [2023-03-10T18:56:59.371Z] make: Entering directory '/tmp/sdk/build/release' [2023-03-10T18:56:59.371Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-03-10T18:56:59.371Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-10T18:56:59.371Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-10T18:56:59.371Z] [ 68%] Built target csdk [2023-03-10T18:56:59.371Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-10T18:56:59.371Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-10T18:56:59.371Z] [ 72%] Built target template [2023-03-10T18:56:59.371Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-10T18:56:59.371Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-10T18:56:59.371Z] [ 76%] Built target device-counter [2023-03-10T18:56:59.371Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-10T18:56:59.371Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-10T18:56:59.371Z] [ 80%] Built target device-random [2023-03-10T18:56:59.371Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-10T18:56:59.371Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-10T18:56:59.371Z] [ 84%] Built target device-gyro [2023-03-10T18:56:59.371Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-10T18:56:59.371Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-10T18:56:59.371Z] [ 88%] Built target device-bitfields [2023-03-10T18:56:59.371Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-10T18:56:59.371Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-10T18:56:59.371Z] [ 92%] Built target template-discovery [2023-03-10T18:56:59.371Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-10T18:56:59.371Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-10T18:56:59.371Z] [ 96%] Built target device-file [2023-03-10T18:56:59.371Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-10T18:56:59.371Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-10T18:56:59.371Z] [100%] Built target device-terminal [2023-03-10T18:56:59.371Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-03-10T18:56:59.371Z] Install the project... [2023-03-10T18:56:59.371Z] -- Install configuration: "Release" [2023-03-10T18:56:59.371Z] -- Installing: /usr/local/lib/libcsdk.so [2023-03-10T18:56:59.371Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-03-10T18:56:59.371Z] -- Installing: /usr/local/include [2023-03-10T18:56:59.371Z] -- Installing: /usr/local/include/devsdk [2023-03-10T18:56:59.371Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-03-10T18:56:59.371Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-03-10T18:56:59.371Z] -- Installing: /usr/local/include/edgex [2023-03-10T18:56:59.371Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-03-10T18:56:59.371Z] -- Installing: /usr/local/include/edgex/devices.h [2023-03-10T18:56:59.371Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-03-10T18:56:59.371Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-03-10T18:56:59.371Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-03-10T18:56:59.371Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-03-10T18:56:59.371Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-03-10T18:56:59.371Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-03-10T18:56:59.371Z] make: Leaving directory '/tmp/sdk/build/release' [2023-03-10T18:56:59.940Z] Removing intermediate container e17bcc90d545 [2023-03-10T18:56:59.940Z] ---> cb857fa2d41f [2023-03-10T18:56:59.940Z] Step 14/21 : FROM ${BASE} [2023-03-10T18:56:59.940Z] ---> b2bbfebb3566 [2023-03-10T18:56:59.940Z] Step 15/21 : LABEL maintainer="IOTech " [2023-03-10T18:56:59.940Z] ---> Running in ca30265ab9ad [2023-03-10T18:57:00.199Z] Removing intermediate container ca30265ab9ad [2023-03-10T18:57:00.199Z] ---> 3f9f8456797d [2023-03-10T18:57:00.199Z] 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-10T18:57:00.199Z] ---> Running in 518dbf277710 [2023-03-10T18:57:00.458Z] Connecting to iotech.jfrog.io (34.242.55.152:443) [2023-03-10T18:57:01.025Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-10T18:57:01.025Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-10T18:57:01.025Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-10T18:57:01.284Z] Removing intermediate container 518dbf277710 [2023-03-10T18:57:01.284Z] ---> f727b0cd224c [2023-03-10T18:57:01.284Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-10T18:57:01.284Z] ---> Running in d1900a718a3a [2023-03-10T18:57:01.850Z] Removing intermediate container d1900a718a3a [2023-03-10T18:57:01.850Z] ---> dd9dfce3c6fd [2023-03-10T18:57:01.850Z] 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-10T18:57:01.851Z] ---> Running in ef75ef3303b4 [2023-03-10T18:57:02.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-10T18:57:02.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-10T18:57:02.370Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-10T18:57:02.938Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-10T18:57:02.938Z] (1/7) Installing curl (7.83.1-r6) [2023-03-10T18:57:02.938Z] (2/7) Installing hiredis (1.0.2-r0) [2023-03-10T18:57:02.938Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-03-10T18:57:02.938Z] (4/7) Installing iotech-iot-1.4 (1.4.1-r0) [2023-03-10T18:57:03.510Z] (5/7) Installing libcbor (0.9.0-r1) [2023-03-10T18:57:03.510Z] (6/7) Installing libuuid (2.38-r1) [2023-03-10T18:57:03.510Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-10T18:57:04.450Z] Executing busybox-1.35.0-r17.trigger [2023-03-10T18:57:04.450Z] OK: 275 MiB in 83 packages [2023-03-10T18:57:05.023Z] Removing intermediate container ef75ef3303b4 [2023-03-10T18:57:05.023Z] ---> c0fed8ba32ad [2023-03-10T18:57:05.023Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-03-10T18:57:05.023Z] ---> 4de9f1d6db2f [2023-03-10T18:57:05.023Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-03-10T18:57:05.023Z] ---> f071542031d6 [2023-03-10T18:57:05.023Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-03-10T18:57:05.283Z] ---> d1cb245f31d3 [2023-03-10T18:57:05.283Z] Successfully built d1cb245f31d3 [2023-03-10T18:57:05.283Z] 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-10T18:57:05.648Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-10T18:57:05.648Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T18:57:05.718Z] prd-ubuntu20.04-docker-8c-8g-9658 does not seem to be running inside a container [2023-03-10T18:57:05.749Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-445 -v /w/workspace/edgexfoundry_device-sdk-c_PR-445:/w/workspace/edgexfoundry_device-sdk-c_PR-445:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-445@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-10T18:57:06.115Z] $ docker top bdd0e84f697043fd0d715ba690ed86c1b62ce2820984d09084419b97352cbbf1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-10T18:57:06.465Z] + make test [2023-03-10T18:57:06.465Z] echo "make test" [2023-03-10T18:57:06.465Z] make test [Pipeline] } [2023-03-10T18:57:06.476Z] $ docker stop --time=1 bdd0e84f697043fd0d715ba690ed86c1b62ce2820984d09084419b97352cbbf1 [2023-03-10T18:57:07.780Z] $ docker rm -f --volumes bdd0e84f697043fd0d715ba690ed86c1b62ce2820984d09084419b97352cbbf1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-10T18:57:08.280Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-10T18:57:08.566Z] + ls -al . [2023-03-10T18:57:08.566Z] total 204 [2023-03-10T18:57:08.566Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 10 18:56 . [2023-03-10T18:57:08.566Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 18:56 .. [2023-03-10T18:57:08.566Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 18:56 .git [2023-03-10T18:57:08.566Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 18:56 .github [2023-03-10T18:57:08.566Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 10 18:56 .gitignore [2023-03-10T18:57:08.566Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 10 18:56 .semver [2023-03-10T18:57:08.566Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 10 18:56 Attribution.txt [2023-03-10T18:57:08.566Z] -rw-rw-r-- 1 jenkins jenkins 8743 Mar 10 18:56 CHANGES [2023-03-10T18:57:08.566Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 10 18:56 Doxyfile [2023-03-10T18:57:08.566Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 10 18:56 GOVERNANCE.md [2023-03-10T18:57:08.566Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 10 18:56 Jenkinsfile [2023-03-10T18:57:08.566Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 10 18:56 LICENSE [2023-03-10T18:57:08.566Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 10 18:56 Makefile [2023-03-10T18:57:08.566Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 10 18:56 OWNERS.md [2023-03-10T18:57:08.566Z] -rw-rw-r-- 1 jenkins jenkins 4086 Mar 10 18:56 README.md [2023-03-10T18:57:08.566Z] -rw-rw-r-- 1 jenkins jenkins 1245 Mar 10 18:56 README.v3.md [2023-03-10T18:57:08.566Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 10 18:56 VERSION [2023-03-10T18:57:08.566Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 18:56 docs [2023-03-10T18:57:08.566Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 18:56 include [2023-03-10T18:57:08.566Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 18:56 scripts [2023-03-10T18:57:08.566Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 18:56 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T18:57:08.870Z] + 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=3f076c55d854badbbd20416d80ac499a8cf6a160 --label arch=amd64 --label version=0.0.0 . [2023-03-10T18:57:08.870Z] Sending build context to Docker daemon 4.878MB [2023-03-10T18:57:08.870Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-03-10T18:57:08.870Z] Step 2/17 : FROM ${BASE} [2023-03-10T18:57:08.870Z] ---> d1cb245f31d3 [2023-03-10T18:57:08.870Z] Step 3/17 : LABEL maintainer="IOTech " [2023-03-10T18:57:08.870Z] ---> Running in 5b9bd87f3566 [2023-03-10T18:57:09.129Z] Removing intermediate container 5b9bd87f3566 [2023-03-10T18:57:09.129Z] ---> 1bb96fbf73d2 [2023-03-10T18:57:09.129Z] 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-10T18:57:09.129Z] ---> Running in 0d82b693bcbc [2023-03-10T18:57:09.391Z] Connecting to iotech.jfrog.io (34.242.55.152:443) [2023-03-10T18:57:09.651Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-10T18:57:09.651Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-10T18:57:09.651Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-10T18:57:09.910Z] Removing intermediate container 0d82b693bcbc [2023-03-10T18:57:09.910Z] ---> 6a5348ff20ce [2023-03-10T18:57:09.910Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-10T18:57:09.910Z] ---> Running in 1146474e181e [2023-03-10T18:57:10.484Z] Removing intermediate container 1146474e181e [2023-03-10T18:57:10.484Z] ---> e9beeee221f3 [2023-03-10T18:57:10.484Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-03-10T18:57:10.742Z] ---> Running in 5c03a3ef0cd7 [2023-03-10T18:57:11.002Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-10T18:57:11.002Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-10T18:57:11.002Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-10T18:57:11.569Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-10T18:57:11.569Z] (1/9) Installing iotech-iot-1.5 (1.5.0-r0) [2023-03-10T18:57:11.829Z] (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-03-10T18:57:12.087Z] (3/9) Installing libcbor-dev (0.9.0-r1) [2023-03-10T18:57:12.087Z] (4/9) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-10T18:57:12.087Z] (5/9) Installing libblkid (2.38-r1) [2023-03-10T18:57:12.087Z] (6/9) Installing libfdisk (2.38-r1) [2023-03-10T18:57:12.087Z] (7/9) Installing libmount (2.38-r1) [2023-03-10T18:57:12.087Z] (8/9) Installing libsmartcols (2.38-r1) [2023-03-10T18:57:12.087Z] (9/9) Installing util-linux-dev (2.38-r1) [2023-03-10T18:57:12.087Z] Executing busybox-1.35.0-r17.trigger [2023-03-10T18:57:12.087Z] OK: 281 MiB in 92 packages [2023-03-10T18:57:12.653Z] Removing intermediate container 5c03a3ef0cd7 [2023-03-10T18:57:12.653Z] ---> e50e701212fa [2023-03-10T18:57:12.653Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-03-10T18:57:12.653Z] ---> 26ed8e11c3b7 [2023-03-10T18:57:12.653Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-03-10T18:57:12.911Z] ---> 48cfbcbceacb [2023-03-10T18:57:12.911Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-03-10T18:57:12.911Z] ---> 5f1592bfadf6 [2023-03-10T18:57:12.911Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-03-10T18:57:13.172Z] ---> e73d2541dbf3 [2023-03-10T18:57:13.172Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-03-10T18:57:13.172Z] ---> 17ee824943a2 [2023-03-10T18:57:13.172Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-03-10T18:57:13.432Z] ---> cd752457371c [2023-03-10T18:57:13.432Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-03-10T18:57:13.432Z] ---> Running in fb8b85b478a7 [2023-03-10T18:57:13.432Z] Removing intermediate container fb8b85b478a7 [2023-03-10T18:57:13.432Z] ---> b2d7d35c8022 [2023-03-10T18:57:13.432Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-03-10T18:57:13.432Z] ---> Running in 5d4f07303338 [2023-03-10T18:57:13.690Z] Removing intermediate container 5d4f07303338 [2023-03-10T18:57:13.690Z] ---> 29966538de07 [2023-03-10T18:57:13.690Z] Step 15/17 : LABEL arch=amd64 [2023-03-10T18:57:13.690Z] ---> Running in 5b50a063df4c [2023-03-10T18:57:13.690Z] Removing intermediate container 5b50a063df4c [2023-03-10T18:57:13.690Z] ---> a4e364232b7d [2023-03-10T18:57:13.690Z] Step 16/17 : LABEL git_sha=3f076c55d854badbbd20416d80ac499a8cf6a160 [2023-03-10T18:57:13.690Z] ---> Running in 0cc6ed824e7c [2023-03-10T18:57:13.950Z] Removing intermediate container 0cc6ed824e7c [2023-03-10T18:57:13.950Z] ---> 13cf78b7ee33 [2023-03-10T18:57:13.950Z] Step 17/17 : LABEL version=0.0.0 [2023-03-10T18:57:13.950Z] ---> Running in cf5c395b6197 [2023-03-10T18:57:13.950Z] Removing intermediate container cf5c395b6197 [2023-03-10T18:57:13.950Z] ---> c5a347be32ca [2023-03-10T18:57:13.950Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-03-10T18:57:13.950Z] Successfully built c5a347be32ca [2023-03-10T18:57:13.950Z] 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-10T18:57:14.368Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-10T18:57:14.368Z] [2023-03-10T18:57:14.368Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T18:57:14.659Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-10T18:57:14.660Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-10T18:57:14.660Z] 5eb5b503b376: Pulling fs layer [2023-03-10T18:57:14.660Z] 5c69ac0246d0: Pulling fs layer [2023-03-10T18:57:14.660Z] ec43610c2a17: Pulling fs layer [2023-03-10T18:57:14.660Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-10T18:57:14.660Z] 33b1e0a273af: Pulling fs layer [2023-03-10T18:57:14.660Z] 5d3b04190fa2: Pulling fs layer [2023-03-10T18:57:14.660Z] 2f39f015ded8: Pulling fs layer [2023-03-10T18:57:14.660Z] 3a2ae6a8a46f: Waiting [2023-03-10T18:57:14.660Z] 33b1e0a273af: Waiting [2023-03-10T18:57:14.660Z] 5d3b04190fa2: Waiting [2023-03-10T18:57:14.660Z] 2f39f015ded8: Waiting [2023-03-10T18:57:14.660Z] 5c69ac0246d0: Download complete [2023-03-10T18:57:14.660Z] 3a2ae6a8a46f: Download complete [2023-03-10T18:57:14.919Z] 33b1e0a273af: Verifying Checksum [2023-03-10T18:57:14.919Z] 33b1e0a273af: Download complete [2023-03-10T18:57:14.919Z] 5d3b04190fa2: Verifying Checksum [2023-03-10T18:57:14.919Z] 5d3b04190fa2: Download complete [2023-03-10T18:57:14.919Z] ec43610c2a17: Verifying Checksum [2023-03-10T18:57:14.919Z] ec43610c2a17: Download complete [2023-03-10T18:57:14.919Z] 5eb5b503b376: Verifying Checksum [2023-03-10T18:57:14.919Z] 5eb5b503b376: Download complete [2023-03-10T18:57:15.485Z] 2f39f015ded8: Download complete [2023-03-10T18:57:16.053Z] 5eb5b503b376: Pull complete [2023-03-10T18:57:16.312Z] 5c69ac0246d0: Pull complete [2023-03-10T18:57:16.569Z] ec43610c2a17: Pull complete [2023-03-10T18:57:16.569Z] 3a2ae6a8a46f: Pull complete [2023-03-10T18:57:16.828Z] 33b1e0a273af: Pull complete [2023-03-10T18:57:16.828Z] 5d3b04190fa2: Pull complete [2023-03-10T18:57:21.016Z] 2f39f015ded8: Pull complete [2023-03-10T18:57:21.016Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-10T18:57:21.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-10T18:57:21.016Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T18:57:21.096Z] prd-ubuntu20.04-docker-8c-8g-9658 does not seem to be running inside a container [2023-03-10T18:57:21.122Z] $ 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-445 -v /w/workspace/edgexfoundry_device-sdk-c_PR-445:/w/workspace/edgexfoundry_device-sdk-c_PR-445:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-445@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-10T18:57:22.515Z] $ docker top 576a2cff0d8a1ffeb4405a09dd44a689a820c7a777d04552f7aa845d4c7a0a1c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:57:22.878Z] ---> job-cost.sh [2023-03-10T18:57:22.878Z] lf-activate-venv: SKIPPING [2023-03-10T18:57:22.878Z] INFO: No Stack... [2023-03-10T18:57:23.443Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-10T18:57:23.702Z] INFO: Archiving Costs [Pipeline] sh [2023-03-10T18:57:23.988Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives/cost.csv [2023-03-10T18:57:23.988Z] + cut -d, -f6 [Pipeline] lock [2023-03-10T18:57:23.998Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-445-7-stack-cost] [2023-03-10T18:57:24.008Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-445-7-stack-cost] did not exist. Created. [2023-03-10T18:57:24.008Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-445-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-10T18:57:24.308Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-10T18:57:24.343Z] Stashed 1 file(s) [Pipeline] } [2023-03-10T18:57:24.348Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-445-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-10T18:57:24.366Z] $ docker stop --time=1 576a2cff0d8a1ffeb4405a09dd44a689a820c7a777d04552f7aa845d4c7a0a1c [2023-03-10T18:57:25.521Z] $ docker rm -f --volumes 576a2cff0d8a1ffeb4405a09dd44a689a820c7a777d04552f7aa845d4c7a0a1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-10T18:59:23.983Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9661 in /w/workspace/edgexfoundry_device-sdk-c_PR-445 [Pipeline] { [Pipeline] ws [2023-03-10T18:59:23.993Z] Running in /w/workspace/device-sdk-c/7 [Pipeline] { [Pipeline] checkout [2023-03-10T18:59:24.025Z] Selected Git installation does not exist. Using Default [2023-03-10T18:59:24.025Z] The recommended git tool is: NONE [2023-03-10T18:59:29.865Z] using credential edgex-jenkins-ssh [2023-03-10T18:59:29.894Z] Cloning the remote Git repository [2023-03-10T18:59:29.944Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-03-10T18:59:30.035Z] > git init /w/workspace/device-sdk-c/7 # timeout=10 [2023-03-10T18:59:30.219Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-03-10T18:59:30.220Z] > git --version # timeout=10 [2023-03-10T18:59:30.243Z] > git --version # 'git version 2.25.1' [2023-03-10T18:59:30.246Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-10T18:59:30.320Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-10T18:59:32.675Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-03-10T18:59:32.707Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-10T18:59:33.724Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-03-10T18:59:33.769Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-03-10T18:59:33.770Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-10T18:59:33.787Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-10T18:59:34.385Z] Merging remotes/origin/main commit fdd904db91670bf9b9238bf17ce25b0e9b1934c2 into PR head commit 7918e9890a621b034a3ee885caae8f9909757f71 [2023-03-10T18:59:34.766Z] Merge succeeded, producing 8dea4e6c62bb4697e312f6122f12a6b2debd1834 [2023-03-10T18:59:34.767Z] Checking out Revision 8dea4e6c62bb4697e312f6122f12a6b2debd1834 (PR-445) [2023-03-10T18:59:34.400Z] > git config core.sparsecheckout # timeout=10 [2023-03-10T18:59:34.424Z] > git checkout -f 7918e9890a621b034a3ee885caae8f9909757f71 # timeout=10 [2023-03-10T18:59:34.545Z] > git remote # timeout=10 [2023-03-10T18:59:34.563Z] > git config --get remote.origin.url # timeout=10 [2023-03-10T18:59:34.584Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-10T18:59:34.599Z] > git merge fdd904db91670bf9b9238bf17ce25b0e9b1934c2 # timeout=10 [2023-03-10T18:59:34.744Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-10T18:59:34.768Z] > git config core.sparsecheckout # timeout=10 [2023-03-10T18:59:34.783Z] > git checkout -f 8dea4e6c62bb4697e312f6122f12a6b2debd1834 # timeout=10 [2023-03-10T18:59:38.326Z] Commit message: "Merge commit 'fdd904db91670bf9b9238bf17ce25b0e9b1934c2' into HEAD" [2023-03-10T18:59:38.331Z] > git rev-list --no-walk 7918e9890a621b034a3ee885caae8f9909757f71 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-10T18:59:39.200Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-10T18:59:39.201Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-10T18:59:39.201Z] Dload Upload Total Spent Left Speed [2023-03-10T18:59:39.201Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh [2023-03-10T18:59:39.889Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-10T18:59:40.209Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-10T18:59:40.209Z] + sudo tee /etc/docker/daemon.new [2023-03-10T18:59:40.209Z] { [2023-03-10T18:59:40.209Z] "registry-mirrors": [ [2023-03-10T18:59:40.209Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-10T18:59:40.209Z] ], [2023-03-10T18:59:40.209Z] "bip": "10.250.0.254/24", [2023-03-10T18:59:40.209Z] "hosts": [ [2023-03-10T18:59:40.209Z] "tcp://0.0.0.0:5555", [2023-03-10T18:59:40.209Z] "unix:///var/run/docker.sock" [2023-03-10T18:59:40.209Z] ], [2023-03-10T18:59:40.209Z] "mtu": 1458, [2023-03-10T18:59:40.209Z] "selinux-enabled": true, [2023-03-10T18:59:40.209Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-10T18:59:40.209Z] } [Pipeline] sh [2023-03-10T18:59:40.532Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-10T18:59:40.859Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-10T18:59:59.142Z] provisioning config files... [2023-03-10T18:59:59.174Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/7@tmp/config16289846690115274877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-10T18:59:59.532Z] ---> docker-login.sh [2023-03-10T18:59:59.532Z] nexus3.edgexfoundry.org:10001 [2023-03-10T19:00:00.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T19:00:00.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T19:00:00.122Z] Configure a credential helper to remove this warning. See [2023-03-10T19:00:00.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T19:00:00.122Z] [2023-03-10T19:00:00.122Z] Login Succeeded [2023-03-10T19:00:00.122Z] nexus3.edgexfoundry.org:10002 [2023-03-10T19:00:00.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T19:00:00.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T19:00:00.665Z] Configure a credential helper to remove this warning. See [2023-03-10T19:00:00.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T19:00:00.665Z] [2023-03-10T19:00:00.665Z] Login Succeeded [2023-03-10T19:00:00.666Z] nexus3.edgexfoundry.org:10003 [2023-03-10T19:00:00.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T19:00:00.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T19:00:00.935Z] Configure a credential helper to remove this warning. See [2023-03-10T19:00:00.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T19:00:00.935Z] [2023-03-10T19:00:00.935Z] Login Succeeded [2023-03-10T19:00:00.935Z] nexus3.edgexfoundry.org:10004 [2023-03-10T19:00:01.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T19:00:01.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T19:00:01.205Z] Configure a credential helper to remove this warning. See [2023-03-10T19:00:01.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T19:00:01.205Z] [2023-03-10T19:00:01.205Z] Login Succeeded [2023-03-10T19:00:01.477Z] docker.io [2023-03-10T19:00:01.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-10T19:00:02.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-10T19:00:02.892Z] Configure a credential helper to remove this warning. See [2023-03-10T19:00:02.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-10T19:00:02.892Z] [2023-03-10T19:00:02.892Z] Login Succeeded [2023-03-10T19:00:02.892Z] ---> docker-login.sh ends [Pipeline] } [2023-03-10T19:00:02.907Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-10T19:00:03.169Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-10T19:00:03.179Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-03-10T19:00:03.189Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-10T19:00:03.199Z] ========================================================= [2023-03-10T19:00:03.199Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-03-10T19:00:03.199Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T19:00:03.537Z] + 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-10T19:00:03.812Z] Sending build context to Docker daemon 2.983MB [2023-03-10T19:00:03.812Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-03-10T19:00:03.812Z] Step 2/21 : FROM ${BASE} as builder [2023-03-10T19:00:04.082Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-03-10T19:00:04.082Z] 9b18e9b68314: Pulling fs layer [2023-03-10T19:00:04.082Z] 1def92ead452: Pulling fs layer [2023-03-10T19:00:04.082Z] 9b18e9b68314: Verifying Checksum [2023-03-10T19:00:04.082Z] 9b18e9b68314: Download complete [2023-03-10T19:00:04.670Z] 9b18e9b68314: Pull complete [2023-03-10T19:00:06.637Z] 1def92ead452: Verifying Checksum [2023-03-10T19:00:06.637Z] 1def92ead452: Download complete [2023-03-10T19:00:14.865Z] 1def92ead452: Pull complete [2023-03-10T19:00:14.865Z] Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c [2023-03-10T19:00:14.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-03-10T19:00:14.865Z] ---> 9a9802766715 [2023-03-10T19:00:14.865Z] 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-10T19:00:15.834Z] ---> Running in c89e2e74b22c [2023-03-10T19:00:16.799Z] Connecting to iotech.jfrog.io (63.32.141.158:443) [2023-03-10T19:00:17.385Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-10T19:00:17.385Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-10T19:00:17.385Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-10T19:00:17.975Z] Removing intermediate container c89e2e74b22c [2023-03-10T19:00:17.975Z] ---> 2c4dd2387d99 [2023-03-10T19:00:17.975Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-10T19:00:17.976Z] ---> Running in 0ba2b499916f [2023-03-10T19:00:19.948Z] Removing intermediate container 0ba2b499916f [2023-03-10T19:00:19.948Z] ---> 29d24dd0dc6e [2023-03-10T19:00:19.948Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-03-10T19:00:19.948Z] ---> Running in 81dc0937606b [2023-03-10T19:00:20.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-10T19:00:21.187Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-10T19:00:21.775Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-10T19:00:22.741Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-10T19:00:22.741Z] (1/14) Installing hiredis (1.0.2-r0) [2023-03-10T19:00:22.741Z] (2/14) Installing hiredis-dev (1.0.2-r0) [2023-03-10T19:00:22.741Z] (3/14) Installing iotech-iot-1.5 (1.5.0-r0) [2023-03-10T19:00:23.330Z] (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-03-10T19:00:23.599Z] (5/14) Installing libcbor (0.9.0-r1) [2023-03-10T19:00:23.599Z] (6/14) Installing libcbor-dev (0.9.0-r1) [2023-03-10T19:00:23.599Z] (7/14) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-10T19:00:23.599Z] (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-10T19:00:24.564Z] (9/14) Installing libblkid (2.38-r1) [2023-03-10T19:00:24.564Z] (10/14) Installing libuuid (2.38-r1) [2023-03-10T19:00:24.564Z] (11/14) Installing libfdisk (2.38-r1) [2023-03-10T19:00:24.564Z] (12/14) Installing libmount (2.38-r1) [2023-03-10T19:00:24.564Z] (13/14) Installing libsmartcols (2.38-r1) [2023-03-10T19:00:24.564Z] (14/14) Installing util-linux-dev (2.38-r1) [2023-03-10T19:00:24.564Z] Executing busybox-1.35.0-r17.trigger [2023-03-10T19:00:24.564Z] OK: 286 MiB in 90 packages [2023-03-10T19:00:26.537Z] Removing intermediate container 81dc0937606b [2023-03-10T19:00:26.537Z] ---> 1d5921b11dd8 [2023-03-10T19:00:26.537Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-03-10T19:00:26.537Z] ---> Running in f3981ccc2d1b [2023-03-10T19:00:27.952Z] Removing intermediate container f3981ccc2d1b [2023-03-10T19:00:27.952Z] ---> 475c8b293740 [2023-03-10T19:00:27.952Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-03-10T19:00:28.541Z] ---> af979bb3d4bc [2023-03-10T19:00:28.541Z] Step 8/21 : COPY src /tmp/sdk/src [2023-03-10T19:00:29.138Z] ---> 3ffdf87b213f [2023-03-10T19:00:29.138Z] Step 9/21 : COPY include /tmp/sdk/include [2023-03-10T19:00:29.727Z] ---> d9e85dfa9e29 [2023-03-10T19:00:29.727Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-03-10T19:00:30.315Z] ---> 6dbb029a4cf5 [2023-03-10T19:00:30.315Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-03-10T19:00:30.586Z] ---> 9dd10f8caddc [2023-03-10T19:00:30.586Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-03-10T19:00:31.175Z] ---> 5ad6a16a46d3 [2023-03-10T19:00:31.175Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-03-10T19:00:31.175Z] ---> Running in 7a1bfa003b8a [2023-03-10T19:00:32.154Z] + CPPCHECK=false [2023-03-10T19:00:32.154Z] + DOCGEN=false [2023-03-10T19:00:32.154Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-03-10T19:00:32.154Z] + TOMLVER=SDK-0.2 [2023-03-10T19:00:32.154Z] + CUTILVER=1.4 [2023-03-10T19:00:32.154Z] + '[' 0 -gt 0 ] [2023-03-10T19:00:32.154Z] + readlink -f ./scripts/build.sh [2023-03-10T19:00:32.154Z] + dirname /tmp/sdk/scripts/build.sh [2023-03-10T19:00:32.154Z] + dirname /tmp/sdk/scripts [2023-03-10T19:00:32.154Z] + ROOT=/tmp/sdk [2023-03-10T19:00:32.154Z] + cd /tmp/sdk [2023-03-10T19:00:32.154Z] + '[' '!' -d deps ] [2023-03-10T19:00:32.154Z] + mkdir deps [2023-03-10T19:00:32.154Z] + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz [2023-03-10T19:00:32.154Z] + tar -C deps -z -x -f - [2023-03-10T19:00:32.154Z] Connecting to github.com (140.82.112.4:443) [2023-03-10T19:00:32.742Z] Connecting to codeload.github.com (140.82.114.9:443) [2023-03-10T19:00:32.742Z] writing to stdout [2023-03-10T19:00:32.742Z] - 100% |********************************| 16451 0:00:00 ETA [2023-03-10T19:00:32.742Z] written to stdout [2023-03-10T19:00:32.742Z] + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c [2023-03-10T19:00:32.742Z] + mkdir -p /tmp/sdk/build/release [2023-03-10T19:00:32.742Z] + cd /tmp/sdk/build/release [2023-03-10T19:00:32.742Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-03-10T19:00:33.329Z] -- The C compiler identification is GNU 11.2.1 [2023-03-10T19:00:33.329Z] -- Detecting C compiler ABI info [2023-03-10T19:00:33.598Z] -- Detecting C compiler ABI info - done [2023-03-10T19:00:33.866Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-10T19:00:33.866Z] -- Detecting C compile features [2023-03-10T19:00:33.866Z] -- Detecting C compile features - done [2023-03-10T19:00:33.866Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-10T19:00:34.134Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-10T19:00:34.134Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-10T19:00:34.134Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-10T19:00:34.134Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-10T19:00:34.134Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-10T19:00:34.134Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-10T19:00:34.134Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-03-10T19:00:34.134Z] -- /opt/iotech/iot/1.5/include [2023-03-10T19:00:34.134Z] -- C SDK 0.0.0 for Linux [2023-03-10T19:00:34.135Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-10T19:00:34.402Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-10T19:00:34.670Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-10T19:00:34.670Z] -- Configuring done [2023-03-10T19:00:35.258Z] -- Generating done [2023-03-10T19:00:35.258Z] -- Build files have been written to: /tmp/sdk/build/release [2023-03-10T19:00:35.258Z] + make all package [2023-03-10T19:00:35.258Z] + tee release.log [2023-03-10T19:00:35.258Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-10T19:00:36.229Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-03-10T19:00:37.654Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-03-10T19:00:38.621Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-03-10T19:00:39.584Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-10T19:00:40.544Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-10T19:00:43.893Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-10T19:00:45.303Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-10T19:00:45.568Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-10T19:00:46.978Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-10T19:00:49.566Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-10T19:00:50.527Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-10T19:00:51.488Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-10T19:00:52.456Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-10T19:00:53.416Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-10T19:00:53.683Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-10T19:00:59.029Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-10T19:00:59.029Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-10T19:00:59.993Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-10T19:01:01.942Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-10T19:01:10.162Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-10T19:01:10.750Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-10T19:01:11.334Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-10T19:01:12.299Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-10T19:01:14.889Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-10T19:01:18.244Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-10T19:01:18.512Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-10T19:01:19.928Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-10T19:01:20.889Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-10T19:01:25.154Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-10T19:01:31.800Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-10T19:01:32.762Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-10T19:01:33.032Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-10T19:01:33.995Z] [ 68%] Linking C shared library libcsdk.so [2023-03-10T19:01:34.264Z] [ 68%] Built target csdk [2023-03-10T19:01:34.264Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-10T19:01:35.677Z] [ 72%] Linking C executable template [2023-03-10T19:01:35.946Z] [ 72%] Built target template [2023-03-10T19:01:36.213Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-10T19:01:37.176Z] [ 76%] Linking C executable device-counter [2023-03-10T19:01:37.444Z] [ 76%] Built target device-counter [2023-03-10T19:01:37.444Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-10T19:01:38.404Z] [ 80%] Linking C executable device-random [2023-03-10T19:01:38.671Z] [ 80%] Built target device-random [2023-03-10T19:01:38.671Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-10T19:01:39.256Z] [ 84%] Linking C executable device-gyro [2023-03-10T19:01:39.843Z] [ 84%] Built target device-gyro [2023-03-10T19:01:39.843Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-10T19:01:40.804Z] [ 88%] Linking C executable device-bitfields [2023-03-10T19:01:41.072Z] [ 88%] Built target device-bitfields [2023-03-10T19:01:41.072Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-10T19:01:42.483Z] [ 92%] Linking C executable template-discovery [2023-03-10T19:01:42.753Z] [ 92%] Built target template-discovery [2023-03-10T19:01:42.753Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-10T19:01:43.715Z] [ 96%] Linking C executable device-file [2023-03-10T19:01:44.301Z] [ 96%] Built target device-file [2023-03-10T19:01:44.301Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-10T19:01:45.263Z] [100%] Linking C executable device-terminal [2023-03-10T19:01:45.848Z] [100%] Built target device-terminal [2023-03-10T19:01:45.848Z] Run CPack packaging tool... [2023-03-10T19:01:45.848Z] CPack: Create package using TGZ [2023-03-10T19:01:45.848Z] CPack: Install projects [2023-03-10T19:01:45.848Z] CPack: - Run preinstall target for: Csdk [2023-03-10T19:01:46.815Z] CPack: - Install project: Csdk [] [2023-03-10T19:01:46.815Z] CPack: Create package [2023-03-10T19:01:46.815Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-03-10T19:01:46.815Z] + '[' false '=' true ] [2023-03-10T19:01:46.815Z] + '[' false '=' true ] [2023-03-10T19:01:46.815Z] + mkdir -p /tmp/sdk/build/debug [2023-03-10T19:01:46.815Z] + cd /tmp/sdk/build/debug [2023-03-10T19:01:46.815Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-03-10T19:01:47.401Z] -- The C compiler identification is GNU 11.2.1 [2023-03-10T19:01:47.401Z] -- Detecting C compiler ABI info [2023-03-10T19:01:47.670Z] -- Detecting C compiler ABI info - done [2023-03-10T19:01:47.938Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-03-10T19:01:47.938Z] -- Detecting C compile features [2023-03-10T19:01:47.938Z] -- Detecting C compile features - done [2023-03-10T19:01:47.938Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-03-10T19:01:48.205Z] -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") [2023-03-10T19:01:48.205Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-03-10T19:01:48.205Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-03-10T19:01:48.205Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-03-10T19:01:48.205Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-03-10T19:01:48.205Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-03-10T19:01:48.205Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-03-10T19:01:48.205Z] -- /opt/iotech/iot/1.5/include [2023-03-10T19:01:48.205Z] -- C SDK 0.0.0 for Linux [2023-03-10T19:01:48.205Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-03-10T19:01:48.473Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-03-10T19:01:48.741Z] -- Found Curses: /usr/lib/libcurses.so [2023-03-10T19:01:49.009Z] -- Configuring done [2023-03-10T19:01:49.277Z] -- Generating done [2023-03-10T19:01:49.277Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-03-10T19:01:49.277Z] + make [2023-03-10T19:01:49.277Z] + tee debug.log [2023-03-10T19:01:49.543Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-03-10T19:01:50.128Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-03-10T19:01:50.712Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-03-10T19:01:51.295Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-03-10T19:01:51.883Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o [2023-03-10T19:01:52.471Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-03-10T19:01:53.433Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-03-10T19:01:54.016Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-03-10T19:01:54.284Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-03-10T19:01:54.975Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-03-10T19:01:55.626Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-03-10T19:01:56.243Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-03-10T19:01:56.840Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-03-10T19:01:57.449Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-03-10T19:01:57.719Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-03-10T19:01:57.993Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-03-10T19:01:59.409Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-03-10T19:01:59.409Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-03-10T19:01:59.675Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-03-10T19:02:00.634Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-03-10T19:02:02.580Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-03-10T19:02:02.580Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-03-10T19:02:03.169Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-03-10T19:02:03.437Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-03-10T19:02:04.398Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-03-10T19:02:06.341Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-03-10T19:02:06.341Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-03-10T19:02:06.924Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-03-10T19:02:07.189Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-03-10T19:02:08.594Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o [2023-03-10T19:02:09.549Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-03-10T19:02:09.816Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-03-10T19:02:10.083Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-03-10T19:02:10.666Z] [ 68%] Linking C shared library libcsdk.so [2023-03-10T19:02:10.666Z] [ 68%] Built target csdk [2023-03-10T19:02:10.931Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-03-10T19:02:11.196Z] [ 72%] Linking C executable template [2023-03-10T19:02:11.779Z] [ 72%] Built target template [2023-03-10T19:02:11.779Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-03-10T19:02:12.045Z] [ 76%] Linking C executable device-counter [2023-03-10T19:02:12.628Z] [ 76%] Built target device-counter [2023-03-10T19:02:12.628Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-03-10T19:02:12.895Z] [ 80%] Linking C executable device-random [2023-03-10T19:02:13.164Z] [ 80%] Built target device-random [2023-03-10T19:02:13.431Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-03-10T19:02:13.700Z] [ 84%] Linking C executable device-gyro [2023-03-10T19:02:13.973Z] [ 84%] Built target device-gyro [2023-03-10T19:02:13.973Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-03-10T19:02:14.562Z] [ 88%] Linking C executable device-bitfields [2023-03-10T19:02:14.829Z] [ 88%] Built target device-bitfields [2023-03-10T19:02:14.829Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-03-10T19:02:15.413Z] [ 92%] Linking C executable template-discovery [2023-03-10T19:02:15.681Z] [ 92%] Built target template-discovery [2023-03-10T19:02:15.681Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-03-10T19:02:16.263Z] [ 96%] Linking C executable device-file [2023-03-10T19:02:16.531Z] [ 96%] Built target device-file [2023-03-10T19:02:16.531Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-03-10T19:02:17.115Z] [100%] Linking C executable device-terminal [2023-03-10T19:02:17.698Z] [100%] Built target device-terminal [2023-03-10T19:02:17.698Z] make: Entering directory '/tmp/sdk/build/release' [2023-03-10T19:02:17.698Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-03-10T19:02:17.698Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-10T19:02:17.698Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-10T19:02:17.698Z] [ 68%] Built target csdk [2023-03-10T19:02:17.698Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-10T19:02:17.698Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-10T19:02:17.698Z] [ 72%] Built target template [2023-03-10T19:02:17.698Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-10T19:02:17.965Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-10T19:02:17.965Z] [ 76%] Built target device-counter [2023-03-10T19:02:17.965Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-10T19:02:17.965Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-10T19:02:17.965Z] [ 80%] Built target device-random [2023-03-10T19:02:17.965Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-10T19:02:17.965Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-10T19:02:17.965Z] [ 84%] Built target device-gyro [2023-03-10T19:02:17.965Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-10T19:02:17.965Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-10T19:02:17.965Z] [ 88%] Built target device-bitfields [2023-03-10T19:02:17.965Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-10T19:02:17.965Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-10T19:02:18.233Z] [ 92%] Built target template-discovery [2023-03-10T19:02:18.233Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-10T19:02:18.233Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-10T19:02:18.233Z] [ 96%] Built target device-file [2023-03-10T19:02:18.233Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-03-10T19:02:18.233Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-03-10T19:02:18.233Z] [100%] Built target device-terminal [2023-03-10T19:02:18.233Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-03-10T19:02:18.233Z] Install the project... [2023-03-10T19:02:18.233Z] -- Install configuration: "Release" [2023-03-10T19:02:18.233Z] -- Installing: /usr/local/lib/libcsdk.so [2023-03-10T19:02:18.233Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-03-10T19:02:18.233Z] -- Installing: /usr/local/include [2023-03-10T19:02:18.233Z] -- Installing: /usr/local/include/devsdk [2023-03-10T19:02:18.233Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-03-10T19:02:18.233Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-03-10T19:02:18.233Z] -- Installing: /usr/local/include/edgex [2023-03-10T19:02:18.233Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-03-10T19:02:18.233Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-03-10T19:02:18.233Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-03-10T19:02:18.233Z] -- Installing: /usr/local/include/edgex/devices.h [2023-03-10T19:02:18.233Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-03-10T19:02:18.233Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-03-10T19:02:18.233Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-03-10T19:02:18.233Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-03-10T19:02:18.233Z] make: Leaving directory '/tmp/sdk/build/release' [2023-03-10T19:02:19.640Z] Removing intermediate container 7a1bfa003b8a [2023-03-10T19:02:19.640Z] ---> 002678ba5017 [2023-03-10T19:02:19.640Z] Step 14/21 : FROM ${BASE} [2023-03-10T19:02:19.640Z] ---> 9a9802766715 [2023-03-10T19:02:19.640Z] Step 15/21 : LABEL maintainer="IOTech " [2023-03-10T19:02:19.640Z] ---> Running in 01c5f674dab6 [2023-03-10T19:02:20.224Z] Removing intermediate container 01c5f674dab6 [2023-03-10T19:02:20.224Z] ---> 21dc1bf9b210 [2023-03-10T19:02:20.224Z] 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-10T19:02:20.224Z] ---> Running in 7b1d8352c821 [2023-03-10T19:02:21.185Z] Connecting to iotech.jfrog.io (52.49.145.60:443) [2023-03-10T19:02:21.452Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-10T19:02:21.452Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-10T19:02:21.452Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-10T19:02:24.035Z] Removing intermediate container 7b1d8352c821 [2023-03-10T19:02:24.035Z] ---> 62b243759eb3 [2023-03-10T19:02:24.035Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-10T19:02:24.035Z] ---> Running in 623db5ffe5a6 [2023-03-10T19:02:25.444Z] Removing intermediate container 623db5ffe5a6 [2023-03-10T19:02:25.444Z] ---> da2b55d25f82 [2023-03-10T19:02:25.444Z] 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-10T19:02:25.444Z] ---> Running in f7e1af641611 [2023-03-10T19:02:26.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-10T19:02:26.675Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-10T19:02:27.258Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-10T19:02:28.216Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-10T19:02:28.216Z] (1/7) Installing curl (7.83.1-r6) [2023-03-10T19:02:28.216Z] (2/7) Installing hiredis (1.0.2-r0) [2023-03-10T19:02:28.216Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-03-10T19:02:28.216Z] (4/7) Installing iotech-iot-1.4 (1.4.1-r0) [2023-03-10T19:02:28.797Z] (5/7) Installing libcbor (0.9.0-r1) [2023-03-10T19:02:28.797Z] (6/7) Installing libuuid (2.38-r1) [2023-03-10T19:02:28.797Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-03-10T19:02:29.757Z] Executing busybox-1.35.0-r17.trigger [2023-03-10T19:02:29.757Z] OK: 281 MiB in 83 packages [2023-03-10T19:02:30.719Z] Removing intermediate container f7e1af641611 [2023-03-10T19:02:30.719Z] ---> b32f0d6ecbff [2023-03-10T19:02:30.719Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-03-10T19:02:31.302Z] ---> 8de610e732f1 [2023-03-10T19:02:31.302Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-03-10T19:02:31.886Z] ---> 971b07148a16 [2023-03-10T19:02:31.886Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-03-10T19:02:32.469Z] ---> c7cb38ca34e6 [2023-03-10T19:02:32.469Z] Successfully built c7cb38ca34e6 [2023-03-10T19:02:32.469Z] 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-10T19:02:32.888Z] + docker inspect -f . ci-base-image-arm64 [2023-03-10T19:02:32.888Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T19:02:33.084Z] prd-ubuntu20.04-docker-arm64-4c-16g-9661 does not seem to be running inside a container [2023-03-10T19:02:33.157Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/7 -v /w/workspace/device-sdk-c/7:/w/workspace/device-sdk-c/7:rw,z -v /w/workspace/device-sdk-c/7@tmp:/w/workspace/device-sdk-c/7@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-10T19:02:34.291Z] $ docker top ab875e4b5e2e0cadb291faf9d753c03b5124283336d0cd78172b472b76fe9d9b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-10T19:02:35.122Z] + make test [2023-03-10T19:02:35.122Z] echo "make test" [2023-03-10T19:02:35.122Z] make test [Pipeline] } [2023-03-10T19:02:35.148Z] $ docker stop --time=1 ab875e4b5e2e0cadb291faf9d753c03b5124283336d0cd78172b472b76fe9d9b [2023-03-10T19:02:37.449Z] $ docker rm -f --volumes ab875e4b5e2e0cadb291faf9d753c03b5124283336d0cd78172b472b76fe9d9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-10T19:02:38.003Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-10T19:02:38.321Z] + ls -al . [2023-03-10T19:02:38.321Z] total 200 [2023-03-10T19:02:38.321Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 18:59 . [2023-03-10T19:02:38.321Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 18:59 .. [2023-03-10T19:02:38.321Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 18:59 .git [2023-03-10T19:02:38.321Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 18:59 .github [2023-03-10T19:02:38.321Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 10 18:59 .gitignore [2023-03-10T19:02:38.321Z] -rw-rw-r-- 1 jenkins jenkins 3104 Mar 10 18:59 Attribution.txt [2023-03-10T19:02:38.321Z] -rw-rw-r-- 1 jenkins jenkins 8743 Mar 10 18:59 CHANGES [2023-03-10T19:02:38.321Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 10 18:59 Doxyfile [2023-03-10T19:02:38.321Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 10 18:59 GOVERNANCE.md [2023-03-10T19:02:38.321Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 10 18:59 Jenkinsfile [2023-03-10T19:02:38.321Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 10 18:59 LICENSE [2023-03-10T19:02:38.321Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 10 18:59 Makefile [2023-03-10T19:02:38.321Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 10 18:59 OWNERS.md [2023-03-10T19:02:38.321Z] -rw-rw-r-- 1 jenkins jenkins 4086 Mar 10 18:59 README.md [2023-03-10T19:02:38.321Z] -rw-rw-r-- 1 jenkins jenkins 1245 Mar 10 18:59 README.v3.md [2023-03-10T19:02:38.321Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 10 18:56 VERSION [2023-03-10T19:02:38.321Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 18:59 docs [2023-03-10T19:02:38.321Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 18:59 include [2023-03-10T19:02:38.321Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 18:59 scripts [2023-03-10T19:02:38.321Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 18:59 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T19:02:38.664Z] + 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=8dea4e6c62bb4697e312f6122f12a6b2debd1834 --label arch=arm64 --label version=0.0.0 . [2023-03-10T19:02:38.930Z] Sending build context to Docker daemon 2.983MB [2023-03-10T19:02:38.930Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-03-10T19:02:38.930Z] Step 2/17 : FROM ${BASE} [2023-03-10T19:02:38.930Z] ---> c7cb38ca34e6 [2023-03-10T19:02:38.930Z] Step 3/17 : LABEL maintainer="IOTech " [2023-03-10T19:02:39.197Z] ---> Running in c21ca29f9bab [2023-03-10T19:02:39.464Z] Removing intermediate container c21ca29f9bab [2023-03-10T19:02:39.464Z] ---> 748aa0bd79cb [2023-03-10T19:02:39.464Z] 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-10T19:02:39.464Z] ---> Running in 58e589786e40 [2023-03-10T19:02:40.429Z] Connecting to iotech.jfrog.io (52.212.188.248:443) [2023-03-10T19:02:41.018Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-03-10T19:02:41.018Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-03-10T19:02:41.018Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-03-10T19:02:41.601Z] Removing intermediate container 58e589786e40 [2023-03-10T19:02:41.601Z] ---> 8fbc1c7c76a4 [2023-03-10T19:02:41.601Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-03-10T19:02:41.601Z] ---> Running in dfa8df70e7f1 [2023-03-10T19:02:43.543Z] Removing intermediate container dfa8df70e7f1 [2023-03-10T19:02:43.543Z] ---> b76a04772e60 [2023-03-10T19:02:43.543Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-03-10T19:02:43.543Z] ---> Running in 552d7c338fd4 [2023-03-10T19:02:44.124Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-10T19:02:44.389Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-10T19:02:44.970Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-10T19:02:45.928Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-03-10T19:02:45.928Z] (1/9) Installing iotech-iot-1.5 (1.5.0-r0) [2023-03-10T19:02:46.192Z] (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-03-10T19:02:46.461Z] (3/9) Installing libcbor-dev (0.9.0-r1) [2023-03-10T19:02:46.461Z] (4/9) Installing ncurses-dev (6.3_p20220521-r0) [2023-03-10T19:02:46.461Z] (5/9) Installing libblkid (2.38-r1) [2023-03-10T19:02:46.461Z] (6/9) Installing libfdisk (2.38-r1) [2023-03-10T19:02:46.461Z] (7/9) Installing libmount (2.38-r1) [2023-03-10T19:02:46.461Z] (8/9) Installing libsmartcols (2.38-r1) [2023-03-10T19:02:46.461Z] (9/9) Installing util-linux-dev (2.38-r1) [2023-03-10T19:02:46.461Z] Executing busybox-1.35.0-r17.trigger [2023-03-10T19:02:46.461Z] OK: 287 MiB in 92 packages [2023-03-10T19:02:50.722Z] Removing intermediate container 552d7c338fd4 [2023-03-10T19:02:50.722Z] ---> c089b8772eef [2023-03-10T19:02:50.722Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-03-10T19:02:50.722Z] ---> 9ef816bbeedc [2023-03-10T19:02:50.722Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-03-10T19:02:51.683Z] ---> d69e6aaa7ffb [2023-03-10T19:02:51.684Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-03-10T19:02:51.950Z] ---> a9865cfab64b [2023-03-10T19:02:51.951Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-03-10T19:02:52.543Z] ---> cb1355ef579f [2023-03-10T19:02:52.543Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-03-10T19:02:53.131Z] ---> b94ed016f5f1 [2023-03-10T19:02:53.131Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-03-10T19:02:53.715Z] ---> 53e1bcd10a5b [2023-03-10T19:02:53.715Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-03-10T19:02:53.715Z] ---> Running in 9d55ee3f204e [2023-03-10T19:02:53.983Z] Removing intermediate container 9d55ee3f204e [2023-03-10T19:02:53.983Z] ---> 5a3aade5fdb8 [2023-03-10T19:02:53.983Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-03-10T19:02:54.252Z] ---> Running in 8eb2eb5b0418 [2023-03-10T19:02:54.527Z] Removing intermediate container 8eb2eb5b0418 [2023-03-10T19:02:54.527Z] ---> 39cc0e991426 [2023-03-10T19:02:54.527Z] Step 15/17 : LABEL arch=arm64 [2023-03-10T19:02:54.527Z] ---> Running in 2a600e97012a [2023-03-10T19:02:54.796Z] Removing intermediate container 2a600e97012a [2023-03-10T19:02:54.796Z] ---> 7b266d744767 [2023-03-10T19:02:54.796Z] Step 16/17 : LABEL git_sha=8dea4e6c62bb4697e312f6122f12a6b2debd1834 [2023-03-10T19:02:54.796Z] ---> Running in ac4621a8212f [2023-03-10T19:02:55.067Z] Removing intermediate container ac4621a8212f [2023-03-10T19:02:55.067Z] ---> a45e256b045e [2023-03-10T19:02:55.067Z] Step 17/17 : LABEL version=0.0.0 [2023-03-10T19:02:55.338Z] ---> Running in e3e903f6a79a [2023-03-10T19:02:55.608Z] Removing intermediate container e3e903f6a79a [2023-03-10T19:02:55.608Z] ---> 93fda6652c16 [2023-03-10T19:02:55.608Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-03-10T19:02:55.608Z] Successfully built 93fda6652c16 [2023-03-10T19:02:55.608Z] 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-10T19:02:56.091Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-10T19:02:56.091Z] [2023-03-10T19:02:56.091Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T19:02:56.442Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-10T19:02:56.442Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-10T19:02:56.442Z] 8998bd30e6a1: Pulling fs layer [2023-03-10T19:02:56.442Z] 04944245beec: Pulling fs layer [2023-03-10T19:02:56.442Z] 699f458cf7ca: Pulling fs layer [2023-03-10T19:02:56.442Z] 765212b225bb: Pulling fs layer [2023-03-10T19:02:56.442Z] f23df028b6ca: Pulling fs layer [2023-03-10T19:02:56.442Z] d65c8cfc05b1: Pulling fs layer [2023-03-10T19:02:56.442Z] 2437ff75d9bd: Pulling fs layer [2023-03-10T19:02:56.442Z] f23df028b6ca: Waiting [2023-03-10T19:02:56.442Z] d65c8cfc05b1: Waiting [2023-03-10T19:02:56.442Z] 2437ff75d9bd: Waiting [2023-03-10T19:02:56.442Z] 765212b225bb: Waiting [2023-03-10T19:02:56.710Z] 04944245beec: Verifying Checksum [2023-03-10T19:02:56.710Z] 04944245beec: Download complete [2023-03-10T19:02:56.710Z] 765212b225bb: Verifying Checksum [2023-03-10T19:02:56.710Z] 765212b225bb: Download complete [2023-03-10T19:02:56.710Z] f23df028b6ca: Download complete [2023-03-10T19:02:56.710Z] d65c8cfc05b1: Verifying Checksum [2023-03-10T19:02:56.710Z] d65c8cfc05b1: Download complete [2023-03-10T19:02:56.710Z] 699f458cf7ca: Verifying Checksum [2023-03-10T19:02:56.710Z] 699f458cf7ca: Download complete [2023-03-10T19:02:57.294Z] 8998bd30e6a1: Verifying Checksum [2023-03-10T19:02:57.294Z] 8998bd30e6a1: Download complete [2023-03-10T19:02:59.878Z] 2437ff75d9bd: Verifying Checksum [2023-03-10T19:02:59.878Z] 2437ff75d9bd: Download complete [2023-03-10T19:03:01.290Z] 8998bd30e6a1: Pull complete [2023-03-10T19:03:01.557Z] 04944245beec: Pull complete [2023-03-10T19:03:02.966Z] 699f458cf7ca: Pull complete [2023-03-10T19:03:03.547Z] 765212b225bb: Pull complete [2023-03-10T19:03:04.129Z] f23df028b6ca: Pull complete [2023-03-10T19:03:04.396Z] d65c8cfc05b1: Pull complete [2023-03-10T19:03:19.383Z] 2437ff75d9bd: Pull complete [2023-03-10T19:03:19.383Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-10T19:03:19.384Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-10T19:03:19.384Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T19:03:19.565Z] prd-ubuntu20.04-docker-arm64-4c-16g-9661 does not seem to be running inside a container [2023-03-10T19:03:19.634Z] $ 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/7 -v /w/workspace/device-sdk-c/7:/w/workspace/device-sdk-c/7:rw,z -v /w/workspace/device-sdk-c/7@tmp:/w/workspace/device-sdk-c/7@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-10T19:03:22.161Z] $ docker top 4fbd89174180f05b4cf8ee5bbf3dbb782d48e77991c0587c538e94fbc342ba5f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-10T19:03:22.666Z] ---> job-cost.sh [2023-03-10T19:03:22.931Z] lf-activate-venv: SKIPPING [2023-03-10T19:03:22.931Z] INFO: No Stack... [2023-03-10T19:03:23.196Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-10T19:03:24.155Z] INFO: Archiving Costs [Pipeline] sh [2023-03-10T19:03:24.474Z] + cut -d, -f6 [2023-03-10T19:03:24.474Z] + cat /w/workspace/device-sdk-c/7/archives/cost.csv [Pipeline] lock [2023-03-10T19:03:24.569Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-445-7-stack-cost] [2023-03-10T19:03:24.578Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-445-7-stack-cost] did not exist. Created. [2023-03-10T19:03:24.578Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-445-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-10T19:03:25.229Z] /w/workspace/device-sdk-c/7@tmp/durable-d0817391/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-10T19:03:25.874Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-10T19:03:25.896Z] Warning: overwriting stash ‘stack-cost’ [2023-03-10T19:03:26.337Z] Stashed 1 file(s) [Pipeline] } [2023-03-10T19:03:26.343Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-445-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-10T19:03:26.370Z] $ docker stop --time=1 4fbd89174180f05b4cf8ee5bbf3dbb782d48e77991c0587c538e94fbc342ba5f [2023-03-10T19:03:27.902Z] $ docker rm -f --volumes 4fbd89174180f05b4cf8ee5bbf3dbb782d48e77991c0587c538e94fbc342ba5f [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-10T19:03:28.625Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives ] [2023-03-10T19:03:28.625Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives [2023-03-10T19:03:28.625Z] total 16 [2023-03-10T19:03:28.625Z] drwxr-xr-x 3 root root 4096 Mar 10 18:57 . [2023-03-10T19:03:28.625Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 10 18:57 .. [2023-03-10T19:03:28.625Z] drwxr-xr-x 2 root root 4096 Mar 10 18:57 cost [2023-03-10T19:03:28.625Z] -rw-r--r-- 1 root root 84 Mar 10 18:57 cost.csv [2023-03-10T19:03:28.625Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives [2023-03-10T19:03:28.625Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives [2023-03-10T19:03:28.625Z] total 16 [2023-03-10T19:03:28.625Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 10 18:57 . [2023-03-10T19:03:28.625Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 10 18:57 .. [2023-03-10T19:03:28.625Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 10 18:57 cost [2023-03-10T19:03:28.625Z] -rw-r--r-- 1 jenkins jenkins 84 Mar 10 18:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-10T19:03:28.918Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T19:03:29.785Z] ---> package-listing.sh [2023-03-10T19:03:29.785Z] ++ facter osfamily [2023-03-10T19:03:29.785Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-10T19:03:30.044Z] + OS_FAMILY=debian [2023-03-10T19:03:30.044Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-445 [2023-03-10T19:03:30.044Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-10T19:03:30.044Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-10T19:03:30.044Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-10T19:03:30.044Z] + PACKAGES=/tmp/packages_start.txt [2023-03-10T19:03:30.044Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-445 ']' [2023-03-10T19:03:30.044Z] + PACKAGES=/tmp/packages_end.txt [2023-03-10T19:03:30.044Z] + case "${OS_FAMILY}" in [2023-03-10T19:03:30.044Z] + dpkg -l [2023-03-10T19:03:30.044Z] + grep '^ii' [2023-03-10T19:03:30.044Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-10T19:03:30.044Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-10T19:03:30.044Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-10T19:03:30.044Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-445 ']' [2023-03-10T19:03:30.044Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives/ [2023-03-10T19:03:30.044Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-445/archives/ [Pipeline] echo [2023-03-10T19:03:30.056Z] 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-445/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-10T19:03:30.334Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-10T19:03:30.892Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-10T19:03:30.893Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-10T19:03:30.959Z] prd-ubuntu20.04-docker-8c-8g-9658 does not seem to be running inside a container [2023-03-10T19:03:30.992Z] $ 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-445/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-445 -v /w/workspace/edgexfoundry_device-sdk-c_PR-445:/w/workspace/edgexfoundry_device-sdk-c_PR-445:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-445@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-10T19:03:31.181Z] $ docker top 75a6c4926650d74c48a8125fb3253986d9adbaddbb9b7b16675a9f407813c153 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-10T19:03:31.523Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-10T19:03:31.808Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-10T19:03:32.092Z] + ls /var/log/sa-host [2023-03-10T19:03:32.092Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-10T19:03:32.158Z] provisioning config files... [2023-03-10T19:03:32.168Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-445@tmp/config15849650168889029887tmp [Pipeline] { [Pipeline] echo [2023-03-10T19:03:32.180Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T19:03:32.464Z] ---> create-netrc.sh [Pipeline] } [2023-03-10T19:03:32.470Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-10T19:03:32.782Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-10T19:03:32.791Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T19:03:33.078Z] ---> sudo-logs.sh [2023-03-10T19:03:33.078Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-10T19:03:33.111Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T19:03:33.396Z] ---> job-cost.sh [2023-03-10T19:03:33.396Z] lf-activate-venv: SKIPPING [2023-03-10T19:03:33.396Z] DEBUG: total: 0.2199999988079071 [2023-03-10T19:03:33.396Z] INFO: Retrieving Stack Cost... [2023-03-10T19:03:33.656Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-10T19:03:33.916Z] INFO: Archiving Costs [Pipeline] echo [2023-03-10T19:03:33.929Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-10T19:03:34.212Z] ---> logs-deploy.sh [2023-03-10T19:03:34.212Z] lf-activate-venv: SKIPPING [2023-03-10T19:03:34.212Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-445/7 [2023-03-10T19:03:34.212Z] INFO: archiving workspace using pattern(s): [2023-03-10T19:03:35.152Z] Archives upload complete. [2023-03-10T19:03:35.152Z] INFO: archiving logs to Nexus