Pull request #483 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 18b6c29ec549221dfc69d991ca1228da44bcacc1+b62e37af488d81aa36bc8e7f628d0bcafa679f3c (cd3d6504c85058ba6e6fd83e97cbcf527d742cb2) 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-ssh15870823693073648121.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh1476743844386648136.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-483/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-483/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1962270002927735732.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-483/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2785879265983291755.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3940690622054885197.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-483/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-483/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8076028859099680587.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 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 ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6735’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6736’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6737’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6740 in /w/workspace/edgexfoundry_device-sdk-c_PR-483 [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-483 # 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/483/head:refs/remotes/origin/PR-483 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b62e37af488d81aa36bc8e7f628d0bcafa679f3c into PR head commit 18b6c29ec549221dfc69d991ca1228da44bcacc1 Merge succeeded, producing 18b6c29ec549221dfc69d991ca1228da44bcacc1 Checking out Revision 18b6c29ec549221dfc69d991ca1228da44bcacc1 (PR-483) > git config core.sparsecheckout # timeout=10 > git checkout -f 18b6c29ec549221dfc69d991ca1228da44bcacc1 # 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 b62e37af488d81aa36bc8e7f628d0bcafa679f3c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 18b6c29ec549221dfc69d991ca1228da44bcacc1 # timeout=10 Commit message: "ci: add automated release workflow on tag creation" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:23:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:23:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:23:27 ========================================================= 17:23:27 EdgeX Global Pipelines Version Info 17:23:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:23:28 ------------------- 17:23:28 stable info: 17:23:28 ------------------- 17:23:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:23:28 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 17:23:28 Message: update stable to v1.0.254 17:23:29 ------------------- 17:23:29 experimental info: 17:23:29 ------------------- 17:23:29 Commited By: **** collab-it+edgex@linuxfoundation.org 17:23:29 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 17:23:29 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:23:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 17:23:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 17:23:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:23:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:23:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:23:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 17:23:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 17:23:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:23:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:23:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 17:23:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:23:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:23:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:23:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:23:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:23:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:23:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:23:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-483 [Pipeline] echo 17:23:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-483 [Pipeline] echo 17:23:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-483 [Pipeline] echo 17:23:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 18b6c29ec549221dfc69d991ca1228da44bcacc1 [Pipeline] echo 17:23:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 18b6c29 [Pipeline] echo 17:23:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:23:30 provisioning config files... 17:23:30 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-483@tmp/config10089864646954163972tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:23:30 ---> docker-login.sh 17:23:30 nexus3.edgexfoundry.org:10001 17:23:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:31 Configure a credential helper to remove this warning. See 17:23:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:31 17:23:31 Login Succeeded 17:23:31 nexus3.edgexfoundry.org:10002 17:23:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:31 Configure a credential helper to remove this warning. See 17:23:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:31 17:23:31 Login Succeeded 17:23:31 nexus3.edgexfoundry.org:10003 17:23:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:31 Configure a credential helper to remove this warning. See 17:23:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:31 17:23:31 Login Succeeded 17:23:31 nexus3.edgexfoundry.org:10004 17:23:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:31 Configure a credential helper to remove this warning. See 17:23:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:31 17:23:31 Login Succeeded 17:23:31 docker.io 17:23:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:31 Configure a credential helper to remove this warning. See 17:23:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:31 17:23:31 Login Succeeded 17:23:31 ---> docker-login.sh ends [Pipeline] } 17:23:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 17:23:32 + git rev-list -1 --merges 18b6c29ec549221dfc69d991ca1228da44bcacc1~1..18b6c29ec549221dfc69d991ca1228da44bcacc1 [Pipeline] echo 17:23:32 -----------> git rev-list -1 --merges 18b6c29ec549221dfc69d991ca1228da44bcacc1~1..18b6c29ec549221dfc69d991ca1228da44bcacc1 18b6c29ec549221dfc69d991ca1228da44bcacc1 [false] [Pipeline] sh 17:23:32 + git log --format=format:%s -1 18b6c29ec549221dfc69d991ca1228da44bcacc1 [Pipeline] echo 17:23:32 ========================================================= 17:23:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:23:32 ========================================================= 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 17:23:33 + git rev-list -1 --merges 18b6c29ec549221dfc69d991ca1228da44bcacc1~1..18b6c29ec549221dfc69d991ca1228da44bcacc1 [Pipeline] echo 17:23:33 -----------> git rev-list -1 --merges 18b6c29ec549221dfc69d991ca1228da44bcacc1~1..18b6c29ec549221dfc69d991ca1228da44bcacc1 18b6c29ec549221dfc69d991ca1228da44bcacc1 [false] [Pipeline] sh 17:23:33 + git log --format=format:%s -1 18b6c29ec549221dfc69d991ca1228da44bcacc1 [Pipeline] echo 17:23:33 ========================================================= 17:23:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:23:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 17:23:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:23:34 + grep -v github /etc/ssh/ssh_known_hosts 17:23:34 + [ -e /tmp/ssh_known_hosts ] 17:23:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:23:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:23:34 + sudo tee -a /etc/ssh/ssh_known_hosts 17:23:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:23:34 17:23:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:23:35 0.1.4: Pulling from edgex-devops/py-git-semver 17:23:35 b85a868b505f: Pulling fs layer 17:23:35 e2be974225ed: Pulling fs layer 17:23:35 339a4e72a1f5: Pulling fs layer 17:23:35 988bab9f4d93: Pulling fs layer 17:23:35 1469e6f7b9e6: Pulling fs layer 17:23:35 eaf3925da568: Pulling fs layer 17:23:35 bab4dde63d76: Pulling fs layer 17:23:35 988bab9f4d93: Waiting 17:23:35 1469e6f7b9e6: Waiting 17:23:35 eaf3925da568: Waiting 17:23:35 bab4dde63d76: Waiting 17:23:35 bde34c3a00c8: Pulling fs layer 17:23:35 b352a97aabf1: Pulling fs layer 17:23:35 4872d77fe225: Pulling fs layer 17:23:35 5851b861e8e6: Pulling fs layer 17:23:35 4872d77fe225: Waiting 17:23:35 bde34c3a00c8: Waiting 17:23:35 5851b861e8e6: Waiting 17:23:35 b352a97aabf1: Waiting 17:23:35 e2be974225ed: Download complete 17:23:35 988bab9f4d93: Verifying Checksum 17:23:35 988bab9f4d93: Download complete 17:23:35 1469e6f7b9e6: Verifying Checksum 17:23:35 1469e6f7b9e6: Download complete 17:23:35 eaf3925da568: Download complete 17:23:35 339a4e72a1f5: Verifying Checksum 17:23:35 bde34c3a00c8: Download complete 17:23:35 b352a97aabf1: Download complete 17:23:35 4872d77fe225: Download complete 17:23:35 5851b861e8e6: Download complete 17:23:35 b85a868b505f: Verifying Checksum 17:23:35 b85a868b505f: Download complete 17:23:35 bab4dde63d76: Verifying Checksum 17:23:35 bab4dde63d76: Download complete 17:23:36 b85a868b505f: Pull complete 17:23:36 e2be974225ed: Pull complete 17:23:36 339a4e72a1f5: Pull complete 17:23:36 988bab9f4d93: Pull complete 17:23:37 1469e6f7b9e6: Pull complete 17:23:37 eaf3925da568: Pull complete 17:23:38 bab4dde63d76: Pull complete 17:23:38 bde34c3a00c8: Pull complete 17:23:38 b352a97aabf1: Pull complete 17:23:38 4872d77fe225: Pull complete 17:23:39 5851b861e8e6: Pull complete 17:23:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:23:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:23:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:39 prd-ubuntu20.04-docker-8c-8g-6740 does not seem to be running inside a container 17:23:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-483 -v /w/workspace/edgexfoundry_device-sdk-c_PR-483:/w/workspace/edgexfoundry_device-sdk-c_PR-483:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-483@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-483@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:23:41 $ docker top d8f0d54e48cb25fbdcc0d380b76389150d86a355a950335b55bb13b354ca2451 -eo pid,comm 17:23:41 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). 17:23:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:23:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:23:42 [ssh-agent] Looking for ssh-agent implementation... 17:23:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:23:42 $ docker exec d8f0d54e48cb25fbdcc0d380b76389150d86a355a950335b55bb13b354ca2451 ssh-agent 17:23:42 SSH_AUTH_SOCK=/tmp/ssh-shMVF2iedttt/agent.31 17:23:42 SSH_AGENT_PID=37 17:23:42 Running ssh-add (command line suppressed) 17:23:42 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-483@tmp/private_key_17089603390739019670.key (/w/workspace/edgexfoundry_device-sdk-c_PR-483@tmp/private_key_17089603390739019670.key) 17:23:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:23:42 + git tag --points-at HEAD [Pipeline] } 17:23:42 $ docker exec --env ******** --env ******** d8f0d54e48cb25fbdcc0d380b76389150d86a355a950335b55bb13b354ca2451 ssh-agent -k 17:23:42 unset SSH_AUTH_SOCK; 17:23:42 unset SSH_AGENT_PID; 17:23:42 echo Agent pid 37 killed; 17:23:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:23:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:23:42 [ssh-agent] Looking for ssh-agent implementation... 17:23:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:23:43 $ docker exec d8f0d54e48cb25fbdcc0d380b76389150d86a355a950335b55bb13b354ca2451 ssh-agent 17:23:43 SSH_AUTH_SOCK=/tmp/ssh-SDSjPaqtUFDj/agent.69 17:23:43 SSH_AGENT_PID=75 17:23:43 Running ssh-add (command line suppressed) 17:23:43 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-483@tmp/private_key_6949987425111980690.key (/w/workspace/edgexfoundry_device-sdk-c_PR-483@tmp/private_key_6949987425111980690.key) 17:23:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:23:43 + git semver init 17:23:43 2023-09-20 17:23:43,838 [run_init] DEBUG init version:0.0.0 force:False 17:23:43 2023-09-20 17:23:43,839 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-483/.semver 17:23:43 2023-09-20 17:23:43,841 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-483/.semver 17:23:43 2023-09-20 17:23:43,841 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-483/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-483, universal_newlines=False, shell=None, istream=None) 17:23:44 2023-09-20 17:23:44,686 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-483/.git/info/exclude 17:23:44 2023-09-20 17:23:44,687 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-483/.semver/PR-483 with force:False 17:23:44 2023-09-20 17:23:44,687 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-483/.semver/PR-483 17:23:44 2023-09-20 17:23:44,691 [execute] INFO git cat-file --batch-check 17:23:44 2023-09-20 17:23:44,691 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-483/.semver, universal_newlines=False, shell=None, istream=) 17:23:44 2023-09-20 17:23:44,698 [execute] INFO git cat-file --batch 17:23:44 2023-09-20 17:23:44,698 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-483/.semver, universal_newlines=False, shell=None, istream=) 17:23:44 2023-09-20 17:23:44,703 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-483/.semver/PR-483 17:23:44 0.0.0 [Pipeline] } 17:23:44 $ docker exec --env ******** --env ******** d8f0d54e48cb25fbdcc0d380b76389150d86a355a950335b55bb13b354ca2451 ssh-agent -k 17:23:44 unset SSH_AUTH_SOCK; 17:23:44 unset SSH_AGENT_PID; 17:23:44 echo Agent pid 75 killed; 17:23:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:23:45 + git semver [Pipeline] } 17:23:45 $ docker stop --time=1 d8f0d54e48cb25fbdcc0d380b76389150d86a355a950335b55bb13b354ca2451 17:23:46 $ docker rm -f --volumes d8f0d54e48cb25fbdcc0d380b76389150d86a355a950335b55bb13b354ca2451 [Pipeline] // withDockerContainer [Pipeline] sh 17:23:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:23:47 Stashed 1 file(s) [Pipeline] echo 17:23:47 [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 17:23:48 provisioning config files... 17:23:48 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-483@tmp/config1821877406672555447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:23:48 ---> docker-login.sh 17:23:48 nexus3.edgexfoundry.org:10001 17:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:48 Configure a credential helper to remove this warning. See 17:23:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:48 17:23:48 Login Succeeded 17:23:48 nexus3.edgexfoundry.org:10002 17:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:48 Configure a credential helper to remove this warning. See 17:23:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:48 17:23:48 Login Succeeded 17:23:48 nexus3.edgexfoundry.org:10003 17:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:48 Configure a credential helper to remove this warning. See 17:23:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:48 17:23:48 Login Succeeded 17:23:48 nexus3.edgexfoundry.org:10004 17:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:48 Configure a credential helper to remove this warning. See 17:23:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:48 17:23:48 Login Succeeded 17:23:48 docker.io 17:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:48 Configure a credential helper to remove this warning. See 17:23:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:48 17:23:48 Login Succeeded 17:23:48 ---> docker-login.sh ends [Pipeline] } 17:23:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:23:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:23:49 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 17:23:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:23:49 ========================================================= 17:23:49 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 17:23:49 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:49 + 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 . 17:23:49 Sending build context to Docker daemon 4.913MB 17:23:49 Step 1/21 : ARG BASE=alpine:3.16 17:23:49 Step 2/21 : FROM ${BASE} as builder 17:23:49 latest: Pulling from edgex-devops/edgex-gcc-base 17:23:49 91d30c5bc195: Pulling fs layer 17:23:49 316e5a4585fb: Pulling fs layer 17:23:49 91d30c5bc195: Verifying Checksum 17:23:49 91d30c5bc195: Download complete 17:23:49 91d30c5bc195: Pull complete 17:23:50 316e5a4585fb: Download complete 17:23:53 316e5a4585fb: Pull complete 17:23:53 Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 17:23:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 17:23:53 ---> e83ffa357ff4 17:23:53 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 17:23:55 ---> Running in 2332b5856d11 17:23:55 Connecting to iotech.jfrog.io (34.246.139.145:443) 17:23:55 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:23:55 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:23:55 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:23:55 Removing intermediate container 2332b5856d11 17:23:55 ---> 7d0984be2681 17:23:55 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 17:23:56 ---> Running in 1bf0a88bb16e 17:23:56 Removing intermediate container 1bf0a88bb16e 17:23:56 ---> a308517435f8 17:23:56 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 17:23:56 ---> Running in 6ff2c9490822 17:23:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:23:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:23:57 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 17:23:57 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:23:57 (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 17:23:57 (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 17:23:57 (3/16) Installing hiredis (1.0.2-r0) 17:23:57 (4/16) Installing hiredis-dev (1.0.2-r0) 17:23:57 (5/16) Installing iotech-iot-1.5 (1.5.0-r0) 17:23:58 (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) 17:23:58 (7/16) Installing libcbor (0.9.0-r1) 17:23:58 (8/16) Installing libcbor-dev (0.9.0-r1) 17:23:58 (9/16) Installing ncurses-dev (6.3_p20220521-r1) 17:23:58 (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 17:23:59 (11/16) Installing libblkid (2.38-r1) 17:23:59 (12/16) Installing libuuid (2.38-r1) 17:23:59 (13/16) Installing libfdisk (2.38-r1) 17:23:59 (14/16) Installing libmount (2.38-r1) 17:23:59 (15/16) Installing libsmartcols (2.38-r1) 17:23:59 (16/16) Installing util-linux-dev (2.38-r1) 17:23:59 Executing busybox-1.35.0-r17.trigger 17:23:59 OK: 280 MiB in 90 packages 17:24:00 Removing intermediate container 6ff2c9490822 17:24:00 ---> 1696eb6d69b3 17:24:00 Step 6/21 : RUN mkdir /tmp/sdk 17:24:00 ---> Running in 2bb23ec5301c 17:24:00 Removing intermediate container 2bb23ec5301c 17:24:00 ---> 5087d393c8d2 17:24:00 Step 7/21 : COPY VERSION /tmp/sdk 17:24:00 ---> 8e5f2a5848ee 17:24:00 Step 8/21 : COPY src /tmp/sdk/src 17:24:01 ---> 176df4280a5e 17:24:01 Step 9/21 : COPY include /tmp/sdk/include 17:24:01 ---> 75af701dfaa9 17:24:01 Step 10/21 : COPY scripts /tmp/sdk/scripts 17:24:01 ---> ac1404577a2b 17:24:01 Step 11/21 : COPY LICENSE /tmp/sdk 17:24:02 ---> 45dc03748921 17:24:02 Step 12/21 : COPY Attribution.txt /tmp/sdk 17:24:02 ---> fbcc5d943f77 17:24:02 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 17:24:02 ---> Running in 3ab6d92a5d7c 17:24:02 Still waiting to schedule task 17:24:02 ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 17:24:02 ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 17:24:02 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6741’ is offline 17:24:03 + CPPCHECK=false 17:24:03 + DOCGEN=false 17:24:03 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 17:24:03 + '[' 0 -gt 0 ] 17:24:03 + readlink -f ./scripts/build.sh 17:24:03 + dirname /tmp/sdk/scripts/build.sh 17:24:03 + dirname /tmp/sdk/scripts 17:24:03 + ROOT=/tmp/sdk 17:24:03 + cd /tmp/sdk 17:24:03 + mkdir -p /tmp/sdk/build/release 17:24:03 + cd /tmp/sdk/build/release 17:24:03 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 17:24:03 -- The C compiler identification is GNU 11.2.1 17:24:03 -- Detecting C compiler ABI info 17:24:03 -- Detecting C compiler ABI info - done 17:24:03 -- Check for working C compiler: /usr/bin/cc - skipped 17:24:03 -- Detecting C compile features 17:24:03 -- Detecting C compile features - done 17:24:03 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:24:03 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 17:24:03 -- Found LIBYAML: /usr/lib/libyaml.so 17:24:03 -- Found LIBUUID: /usr/lib/libuuid.so 17:24:03 -- Found LIBCBOR: /usr/lib/libcbor.so 17:24:03 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:24:03 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:24:03 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 17:24:03 -- /opt/iotech/iot/1.5/include 17:24:03 -- C SDK 0.0.0 for Linux 17:24:03 -- Performing Test CSDK_HAVE_ATOMIC 17:24:03 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:24:03 -- Found Curses: /usr/lib/libcurses.so 17:24:03 -- Configuring done 17:24:03 -- Generating done 17:24:03 -- Build files have been written to: /tmp/sdk/build/release 17:24:03 + make all package 17:24:03 + tee release.log 17:24:03 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:24:03 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 17:24:03 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 17:24:04 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 17:24:04 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 17:24:04 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:24:04 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:24:05 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:24:05 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:24:05 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:24:05 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:24:05 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:24:05 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:24:05 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:24:06 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 17:24:06 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:24:06 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:24:06 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:24:06 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:24:06 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:24:07 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:24:08 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:24:08 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:24:08 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:24:08 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 17:24:08 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:24:08 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:24:09 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:24:09 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:24:09 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:24:09 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:24:09 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:24:09 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 17:24:09 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:24:10 [ 68%] Linking C shared library libcsdk.so 17:24:10 [ 68%] Built target csdk 17:24:10 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:24:10 [ 72%] Linking C executable template 17:24:10 [ 72%] Built target template 17:24:10 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:24:10 [ 76%] Linking C executable device-counter 17:24:10 [ 76%] Built target device-counter 17:24:10 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:24:10 [ 80%] Linking C executable device-random 17:24:10 [ 80%] Built target device-random 17:24:10 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:24:10 [ 84%] Linking C executable device-gyro 17:24:10 [ 84%] Built target device-gyro 17:24:10 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:24:10 [ 88%] Linking C executable device-bitfields 17:24:10 [ 88%] Built target device-bitfields 17:24:11 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:24:11 [ 92%] Linking C executable template-discovery 17:24:11 [ 92%] Built target template-discovery 17:24:11 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:24:11 [ 96%] Linking C executable device-file 17:24:11 [ 96%] Built target device-file 17:24:11 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:24:11 [100%] Linking C executable device-terminal 17:24:11 [100%] Built target device-terminal 17:24:11 Run CPack packaging tool... 17:24:11 CPack: Create package using TGZ 17:24:11 CPack: Install projects 17:24:11 CPack: - Run preinstall target for: Csdk 17:24:11 CPack: - Install project: Csdk [] 17:24:11 CPack: Create package 17:24:11 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 17:24:11 + '[' false '=' true ] 17:24:11 + '[' false '=' true ] 17:24:11 + mkdir -p /tmp/sdk/build/debug 17:24:11 + cd /tmp/sdk/build/debug 17:24:11 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 17:24:11 -- The C compiler identification is GNU 11.2.1 17:24:11 -- Detecting C compiler ABI info 17:24:12 -- Detecting C compiler ABI info - done 17:24:12 -- Check for working C compiler: /usr/bin/cc - skipped 17:24:12 -- Detecting C compile features 17:24:12 -- Detecting C compile features - done 17:24:12 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:24:12 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 17:24:12 -- Found LIBYAML: /usr/lib/libyaml.so 17:24:12 -- Found LIBUUID: /usr/lib/libuuid.so 17:24:12 -- Found LIBCBOR: /usr/lib/libcbor.so 17:24:12 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:24:12 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:24:12 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 17:24:12 -- /opt/iotech/iot/1.5/include 17:24:12 -- C SDK 0.0.0 for Linux 17:24:12 -- Performing Test CSDK_HAVE_ATOMIC 17:24:12 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:24:12 -- Found Curses: /usr/lib/libcurses.so 17:24:12 -- Configuring done 17:24:12 -- Generating done 17:24:12 -- Build files have been written to: /tmp/sdk/build/debug 17:24:12 + make 17:24:12 + tee debug.log 17:24:12 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:24:12 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 17:24:12 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 17:24:12 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 17:24:12 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 17:24:12 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:24:13 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:24:13 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:24:13 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:24:13 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:24:13 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:24:13 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:24:13 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:24:13 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:24:13 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 17:24:13 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:24:13 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:24:13 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:24:14 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:24:14 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:24:14 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:24:14 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:24:14 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:24:14 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:24:14 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 17:24:14 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:24:14 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:24:15 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:24:15 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:24:15 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:24:15 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:24:15 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:24:15 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 17:24:15 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:24:15 [ 68%] Linking C shared library libcsdk.so 17:24:15 [ 68%] Built target csdk 17:24:15 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:24:15 [ 72%] Linking C executable template 17:24:15 [ 72%] Built target template 17:24:15 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:24:15 [ 76%] Linking C executable device-counter 17:24:15 [ 76%] Built target device-counter 17:24:15 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:24:15 [ 80%] Linking C executable device-random 17:24:16 [ 80%] Built target device-random 17:24:16 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:24:16 [ 84%] Linking C executable device-gyro 17:24:16 [ 84%] Built target device-gyro 17:24:16 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:24:16 [ 88%] Linking C executable device-bitfields 17:24:16 [ 88%] Built target device-bitfields 17:24:16 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:24:16 [ 92%] Linking C executable template-discovery 17:24:16 [ 92%] Built target template-discovery 17:24:16 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:24:16 [ 96%] Linking C executable device-file 17:24:16 [ 96%] Built target device-file 17:24:16 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:24:16 [100%] Linking C executable device-terminal 17:24:16 [100%] Built target device-terminal 17:24:16 make: Entering directory '/tmp/sdk/build/release' 17:24:16 make[1]: Entering directory '/tmp/sdk/build/release' 17:24:16 make[2]: Entering directory '/tmp/sdk/build/release' 17:24:16 make[2]: Leaving directory '/tmp/sdk/build/release' 17:24:16 [ 68%] Built target csdk 17:24:16 make[2]: Entering directory '/tmp/sdk/build/release' 17:24:16 make[2]: Leaving directory '/tmp/sdk/build/release' 17:24:16 [ 72%] Built target template 17:24:16 make[2]: Entering directory '/tmp/sdk/build/release' 17:24:16 make[2]: Leaving directory '/tmp/sdk/build/release' 17:24:16 [ 76%] Built target device-counter 17:24:16 make[2]: Entering directory '/tmp/sdk/build/release' 17:24:16 make[2]: Leaving directory '/tmp/sdk/build/release' 17:24:16 [ 80%] Built target device-random 17:24:16 make[2]: Entering directory '/tmp/sdk/build/release' 17:24:16 make[2]: Leaving directory '/tmp/sdk/build/release' 17:24:16 [ 84%] Built target device-gyro 17:24:16 make[2]: Entering directory '/tmp/sdk/build/release' 17:24:16 make[2]: Leaving directory '/tmp/sdk/build/release' 17:24:16 [ 88%] Built target device-bitfields 17:24:16 make[2]: Entering directory '/tmp/sdk/build/release' 17:24:16 make[2]: Leaving directory '/tmp/sdk/build/release' 17:24:16 [ 92%] Built target template-discovery 17:24:16 make[2]: Entering directory '/tmp/sdk/build/release' 17:24:16 make[2]: Leaving directory '/tmp/sdk/build/release' 17:24:16 [ 96%] Built target device-file 17:24:16 make[2]: Entering directory '/tmp/sdk/build/release' 17:24:16 make[2]: Leaving directory '/tmp/sdk/build/release' 17:24:16 [100%] Built target device-terminal 17:24:16 make[1]: Leaving directory '/tmp/sdk/build/release' 17:24:16 Install the project... 17:24:16 -- Install configuration: "Release" 17:24:16 -- Installing: /usr/local/lib/libcsdk.so 17:24:16 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 17:24:16 -- Installing: /usr/local/include 17:24:16 -- Installing: /usr/local/include/devsdk 17:24:16 -- Installing: /usr/local/include/devsdk/devsdk.h 17:24:16 -- Installing: /usr/local/include/devsdk/devsdk-base.h 17:24:16 -- Installing: /usr/local/include/edgex 17:24:16 -- Installing: /usr/local/include/edgex/edgex.h 17:24:16 -- Installing: /usr/local/include/edgex/devices.h 17:24:16 -- Installing: /usr/local/include/edgex/profiles.h 17:24:16 -- Installing: /usr/local/include/edgex/edgex-base.h 17:24:16 -- Installing: /usr/local/include/edgex/rest-server.h 17:24:16 -- Installing: /usr/local/include/edgex/csdk-defs.h 17:24:16 -- Installing: /usr/local/share/device-sdk-c/LICENSE 17:24:16 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 17:24:16 make: Leaving directory '/tmp/sdk/build/release' 17:24:17 Removing intermediate container 3ab6d92a5d7c 17:24:17 ---> 3b43ebbb5484 17:24:17 Step 14/21 : FROM ${BASE} 17:24:17 ---> e83ffa357ff4 17:24:17 Step 15/21 : LABEL maintainer="IOTech " 17:24:18 ---> Running in 99e43e51b142 17:24:18 Removing intermediate container 99e43e51b142 17:24:18 ---> b74099425acc 17:24:18 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 17:24:18 ---> Running in dbd9e2d3c38f 17:24:19 Connecting to iotech.jfrog.io (34.246.139.145:443) 17:24:19 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:24:19 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:24:19 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:24:19 Removing intermediate container dbd9e2d3c38f 17:24:19 ---> 93bce1c41f51 17:24:19 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 17:24:20 ---> Running in 11715515a35d 17:24:20 Removing intermediate container 11715515a35d 17:24:20 ---> b3dc5f73c5ec 17:24:20 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 17:24:21 ---> Running in 96b6a4a77603 17:24:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:24:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:24:21 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 17:24:22 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:24:22 (1/7) Installing curl (8.2.1-r0) 17:24:22 (2/7) Installing hiredis (1.0.2-r0) 17:24:22 (3/7) Installing hiredis-dev (1.0.2-r0) 17:24:22 (4/7) Installing iotech-iot-1.4 (1.4.2-r0) 17:24:23 (5/7) Installing libcbor (0.9.0-r1) 17:24:23 (6/7) Installing libuuid (2.38-r1) 17:24:23 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 17:24:23 Executing busybox-1.35.0-r17.trigger 17:24:23 OK: 276 MiB in 83 packages 17:24:24 Removing intermediate container 96b6a4a77603 17:24:24 ---> 210e42bd5d70 17:24:24 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 17:24:24 ---> 6367eea4b5cd 17:24:24 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 17:24:24 ---> 0f8465e648b7 17:24:24 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 17:24:24 ---> cb27dff21410 17:24:24 Successfully built cb27dff21410 17:24:24 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 17:24:25 + docker inspect -f . ci-base-image-x86_64 17:24:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:25 prd-ubuntu20.04-docker-8c-8g-6740 does not seem to be running inside a container 17:24:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-483 -v /w/workspace/edgexfoundry_device-sdk-c_PR-483:/w/workspace/edgexfoundry_device-sdk-c_PR-483:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-483@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-483@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 ******** ci-base-image-x86_64 cat 17:24:25 $ docker top 38b6dab46248c6a1ae483bb5a76634baddcef4760f8a1d02683f975ac55fb7ef -eo pid,comm [Pipeline] { [Pipeline] sh 17:24:26 + make test 17:24:26 echo "make test" 17:24:26 make test [Pipeline] } 17:24:26 $ docker stop --time=1 38b6dab46248c6a1ae483bb5a76634baddcef4760f8a1d02683f975ac55fb7ef 17:24:27 $ docker rm -f --volumes 38b6dab46248c6a1ae483bb5a76634baddcef4760f8a1d02683f975ac55fb7ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:24:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:24:28 + ls -al . 17:24:28 total 212 17:24:28 drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 17:23 . 17:24:28 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:23 .. 17:24:28 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:23 .git 17:24:28 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:23 .github 17:24:28 -rw-rw-r-- 1 jenkins jenkins 176 Sep 20 17:23 .gitignore 17:24:28 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:23 .semver 17:24:28 -rw-rw-r-- 1 jenkins jenkins 2908 Sep 20 17:23 Attribution.txt 17:24:28 -rw-rw-r-- 1 jenkins jenkins 9802 Sep 20 17:23 CHANGES 17:24:28 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 20 17:23 Doxyfile 17:24:28 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:23 GOVERNANCE.md 17:24:28 -rw-rw-r-- 1 jenkins jenkins 784 Sep 20 17:23 Jenkinsfile 17:24:28 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 20 17:23 LICENSE 17:24:28 -rw-rw-r-- 1 jenkins jenkins 444 Sep 20 17:23 Makefile 17:24:28 -rw-rw-r-- 1 jenkins jenkins 618 Sep 20 17:23 OWNERS.md 17:24:28 -rw-rw-r-- 1 jenkins jenkins 1651 Sep 20 17:23 README.IOT.md 17:24:28 -rw-rw-r-- 1 jenkins jenkins 4215 Sep 20 17:23 README.md 17:24:28 -rw-rw-r-- 1 jenkins jenkins 1245 Sep 20 17:23 README.v3.md 17:24:28 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 17:23 VERSION 17:24:28 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:23 docs 17:24:28 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:23 include 17:24:28 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:23 scripts 17:24:28 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:23 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:28 + 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=18b6c29ec549221dfc69d991ca1228da44bcacc1 --label arch=amd64 --label version=0.0.0 . 17:24:28 Sending build context to Docker daemon 4.913MB 17:24:28 Step 1/17 : ARG BASE=alpine:3.16 17:24:28 Step 2/17 : FROM ${BASE} 17:24:28 ---> cb27dff21410 17:24:28 Step 3/17 : LABEL maintainer="IOTech " 17:24:28 ---> Running in 45d01d119a94 17:24:28 Removing intermediate container 45d01d119a94 17:24:28 ---> 4becc05fdde4 17:24:28 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 17:24:29 ---> Running in f6bfeacd2697 17:24:29 Connecting to iotech.jfrog.io (34.247.22.236:443) 17:24:29 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:24:29 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:24:29 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:24:29 Removing intermediate container f6bfeacd2697 17:24:29 ---> 4a4cb9645547 17:24:29 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 17:24:29 ---> Running in c00196094e25 17:24:30 Removing intermediate container c00196094e25 17:24:30 ---> 376939ee78b2 17:24:30 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 17:24:30 ---> Running in 5f2ac8c8ebe4 17:24:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:24:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:24:31 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 17:24:31 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:24:31 (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 17:24:31 (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 17:24:31 (3/11) Installing iotech-iot-1.5 (1.5.0-r0) 17:24:32 (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 17:24:32 (5/11) Installing libcbor-dev (0.9.0-r1) 17:24:32 (6/11) Installing ncurses-dev (6.3_p20220521-r1) 17:24:32 (7/11) Installing libblkid (2.38-r1) 17:24:32 (8/11) Installing libfdisk (2.38-r1) 17:24:32 (9/11) Installing libmount (2.38-r1) 17:24:32 (10/11) Installing libsmartcols (2.38-r1) 17:24:32 (11/11) Installing util-linux-dev (2.38-r1) 17:24:32 Executing busybox-1.35.0-r17.trigger 17:24:32 OK: 281 MiB in 92 packages 17:24:33 Removing intermediate container 5f2ac8c8ebe4 17:24:33 ---> 694000cab5bc 17:24:33 Step 7/17 : COPY VERSION /edgex-c-sdk/ 17:24:33 ---> 1c997caced09 17:24:33 Step 8/17 : COPY src /edgex-c-sdk/src/ 17:24:33 ---> dca1932e47ff 17:24:33 Step 9/17 : COPY include /edgex-c-sdk/include/ 17:24:34 ---> 8dfc2b939878 17:24:34 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 17:24:34 ---> 3e2e9f33cbbf 17:24:34 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 17:24:34 ---> f3618cbadca1 17:24:34 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 17:24:34 ---> fc53d3f0216a 17:24:34 Step 13/17 : WORKDIR /edgex-c-sdk 17:24:34 ---> Running in ea4638aa3bf8 17:24:34 Removing intermediate container ea4638aa3bf8 17:24:34 ---> f9b961153ab3 17:24:34 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 17:24:35 ---> Running in 9c05e4a49fd4 17:24:35 Removing intermediate container 9c05e4a49fd4 17:24:35 ---> 987e7bccf787 17:24:35 Step 15/17 : LABEL arch=amd64 17:24:35 ---> Running in 50078ba71296 17:24:35 Removing intermediate container 50078ba71296 17:24:35 ---> 834ebfcd05fb 17:24:35 Step 16/17 : LABEL git_sha=18b6c29ec549221dfc69d991ca1228da44bcacc1 17:24:35 ---> Running in 56ef3e063a0b 17:24:35 Removing intermediate container 56ef3e063a0b 17:24:35 ---> dee641098589 17:24:35 Step 17/17 : LABEL version=0.0.0 17:24:35 ---> Running in 067830fd100f 17:24:35 Removing intermediate container 067830fd100f 17:24:35 ---> bed220991bfd 17:24:35 [Warning] One or more build-args [ARCH MAKE] were not consumed 17:24:35 Successfully built bed220991bfd 17:24:35 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 17:24:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:24:36 17:24:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:24:37 latest: Pulling from edgex-lftools-log-publisher 17:24:37 5eb5b503b376: Pulling fs layer 17:24:37 5c69ac0246d0: Pulling fs layer 17:24:37 ec43610c2a17: Pulling fs layer 17:24:37 3a2ae6a8a46f: Pulling fs layer 17:24:37 33b1e0a273af: Pulling fs layer 17:24:37 5d3b04190fa2: Pulling fs layer 17:24:37 2f39f015ded8: Pulling fs layer 17:24:37 33b1e0a273af: Waiting 17:24:37 5d3b04190fa2: Waiting 17:24:37 2f39f015ded8: Waiting 17:24:37 3a2ae6a8a46f: Waiting 17:24:37 5c69ac0246d0: Download complete 17:24:37 3a2ae6a8a46f: Verifying Checksum 17:24:37 3a2ae6a8a46f: Download complete 17:24:37 33b1e0a273af: Verifying Checksum 17:24:37 33b1e0a273af: Download complete 17:24:37 5d3b04190fa2: Verifying Checksum 17:24:37 5d3b04190fa2: Download complete 17:24:37 ec43610c2a17: Verifying Checksum 17:24:37 ec43610c2a17: Download complete 17:24:37 5eb5b503b376: Verifying Checksum 17:24:37 5eb5b503b376: Download complete 17:24:38 2f39f015ded8: Download complete 17:24:38 5eb5b503b376: Pull complete 17:24:38 5c69ac0246d0: Pull complete 17:24:38 ec43610c2a17: Pull complete 17:24:39 3a2ae6a8a46f: Pull complete 17:24:39 33b1e0a273af: Pull complete 17:24:39 5d3b04190fa2: Pull complete 17:24:43 2f39f015ded8: Pull complete 17:24:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:24:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:24:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:43 prd-ubuntu20.04-docker-8c-8g-6740 does not seem to be running inside a container 17:24:43 $ 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-483 -v /w/workspace/edgexfoundry_device-sdk-c_PR-483:/w/workspace/edgexfoundry_device-sdk-c_PR-483:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-483@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-483@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-lftools-log-publisher:latest cat 17:24:46 $ docker top 1b6e5cc9e37452c9f1a177bcebe2e94475c9fb43e74198ea22d691b388bbd0ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:24:47 ---> job-cost.sh 17:24:47 lf-activate-venv: SKIPPING 17:24:47 INFO: No Stack... 17:24:47 INFO: Retrieving Pricing Info for: v3-standard-8 17:24:47 INFO: Archiving Costs [Pipeline] sh 17:24:48 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-483/archives/cost.csv 17:24:48 + cut -d, -f6 [Pipeline] lock 17:24:48 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-483-1-stack-cost] 17:24:48 Resource [jenkins-edgexfoundry-device-sdk-c-PR-483-1-stack-cost] did not exist. Created. 17:24:48 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-483-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:24:48 + echo total: 0.2199999988079071 [Pipeline] stash 17:24:48 Stashed 1 file(s) [Pipeline] } 17:24:48 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-483-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:24:48 $ docker stop --time=1 1b6e5cc9e37452c9f1a177bcebe2e94475c9fb43e74198ea22d691b388bbd0ab 17:24:49 $ docker rm -f --volumes 1b6e5cc9e37452c9f1a177bcebe2e94475c9fb43e74198ea22d691b388bbd0ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:27:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6755 in /w/workspace/edgexfoundry_device-sdk-c_PR-483 [Pipeline] { [Pipeline] ws 17:27:06 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 17:27:06 Selected Git installation does not exist. Using Default 17:27:06 The recommended git tool is: NONE 17:27:17 using credential edgex-jenkins-ssh 17:27:17 Cloning the remote Git repository 17:27:17 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 17:27:17 > git init /w/workspace/device-sdk-c/1 # timeout=10 17:27:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:27:17 > git --version # timeout=10 17:27:17 > git --version # 'git version 2.25.1' 17:27:17 using GIT_SSH to set credentials SSH Credentials for GitHub 17:27:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:27:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:27:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:27:21 Merging remotes/origin/main commit b62e37af488d81aa36bc8e7f628d0bcafa679f3c into PR head commit 18b6c29ec549221dfc69d991ca1228da44bcacc1 17:27:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:27:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:27:21 using GIT_SSH to set credentials SSH Credentials for GitHub 17:27:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/483/head:refs/remotes/origin/PR-483 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:27:21 > git config core.sparsecheckout # timeout=10 17:27:22 > git checkout -f 18b6c29ec549221dfc69d991ca1228da44bcacc1 # timeout=10 17:27:22 Merge succeeded, producing 18b6c29ec549221dfc69d991ca1228da44bcacc1 17:27:22 Checking out Revision 18b6c29ec549221dfc69d991ca1228da44bcacc1 (PR-483) 17:27:22 > git remote # timeout=10 17:27:22 > git config --get remote.origin.url # timeout=10 17:27:22 using GIT_SSH to set credentials SSH Credentials for GitHub 17:27:22 > git merge b62e37af488d81aa36bc8e7f628d0bcafa679f3c # timeout=10 17:27:22 > git rev-parse HEAD^{commit} # timeout=10 17:27:22 > git config core.sparsecheckout # timeout=10 17:27:22 > git checkout -f 18b6c29ec549221dfc69d991ca1228da44bcacc1 # timeout=10 17:27:26 Commit message: "ci: add automated release workflow on tag creation" 17:27:26 > git --version # timeout=10 17:27:26 > git --version # 'git version 2.25.1' 17:27:26 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:27:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:27:28 % Total % Received % Xferd Average Speed Time Time Time Current 17:27:28 Dload Upload Total Spent Left Speed 17:27:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh 17:27:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:27:29 + sudo tee /etc/docker/daemon.new 17:27:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:27:29 { 17:27:29 "registry-mirrors": [ 17:27:29 "https://nexus3.edgexfoundry.org:10001" 17:27:29 ], 17:27:29 "bip": "10.250.0.254/24", 17:27:29 "hosts": [ 17:27:29 "tcp://0.0.0.0:5555", 17:27:29 "unix:///var/run/docker.sock" 17:27:29 ], 17:27:29 "mtu": 1458, 17:27:29 "selinux-enabled": true, 17:27:29 "seccomp-profile": "/etc/docker/seccomp.json" 17:27:29 } [Pipeline] sh 17:27:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:27:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:27:49 provisioning config files... 17:27:49 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config1335738535959319957tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:27:49 ---> docker-login.sh 17:27:49 nexus3.edgexfoundry.org:10001 17:27:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:50 Configure a credential helper to remove this warning. See 17:27:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:50 17:27:50 Login Succeeded 17:27:50 nexus3.edgexfoundry.org:10002 17:27:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:50 Configure a credential helper to remove this warning. See 17:27:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:50 17:27:50 Login Succeeded 17:27:50 nexus3.edgexfoundry.org:10003 17:27:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:51 Configure a credential helper to remove this warning. See 17:27:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:51 17:27:51 Login Succeeded 17:27:51 nexus3.edgexfoundry.org:10004 17:27:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:51 Configure a credential helper to remove this warning. See 17:27:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:51 17:27:51 Login Succeeded 17:27:51 docker.io 17:27:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:52 Configure a credential helper to remove this warning. See 17:27:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:52 17:27:52 Login Succeeded 17:27:52 ---> docker-login.sh ends [Pipeline] } 17:27:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:27:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:27:52 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 17:27:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:27:53 ========================================================= 17:27:53 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 17:27:53 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:27:53 + 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 . 17:27:53 Sending build context to Docker daemon 2.937MB 17:27:54 Step 1/21 : ARG BASE=alpine:3.16 17:27:54 Step 2/21 : FROM ${BASE} as builder 17:27:54 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 17:27:54 547446be3368: Pulling fs layer 17:27:54 76bd08e1cacc: Pulling fs layer 17:27:54 547446be3368: Verifying Checksum 17:27:54 547446be3368: Download complete 17:27:54 547446be3368: Pull complete 17:27:56 76bd08e1cacc: Verifying Checksum 17:27:56 76bd08e1cacc: Download complete 17:28:04 76bd08e1cacc: Pull complete 17:28:04 Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe 17:28:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 17:28:04 ---> 295cd00e64f4 17:28:04 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 17:28:05 ---> Running in 9a078cb9e664 17:28:06 Connecting to iotech.jfrog.io (34.246.139.145:443) 17:28:07 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:28:07 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:28:07 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:28:07 Removing intermediate container 9a078cb9e664 17:28:07 ---> f7e6b9e9e78c 17:28:07 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 17:28:08 ---> Running in d6eea290b8be 17:28:10 Removing intermediate container d6eea290b8be 17:28:10 ---> 8515461c71f5 17:28:10 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 17:28:10 ---> Running in 133db0ee2b84 17:28:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:28:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:28:12 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 17:28:13 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:28:13 (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 17:28:13 (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 17:28:13 (3/16) Installing hiredis (1.0.2-r0) 17:28:13 (4/16) Installing hiredis-dev (1.0.2-r0) 17:28:13 (5/16) Installing iotech-iot-1.5 (1.5.0-r0) 17:28:14 (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) 17:28:14 (7/16) Installing libcbor (0.9.0-r1) 17:28:14 (8/16) Installing libcbor-dev (0.9.0-r1) 17:28:14 (9/16) Installing ncurses-dev (6.3_p20220521-r1) 17:28:14 (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 17:28:15 (11/16) Installing libblkid (2.38-r1) 17:28:15 (12/16) Installing libuuid (2.38-r1) 17:28:15 (13/16) Installing libfdisk (2.38-r1) 17:28:15 (14/16) Installing libmount (2.38-r1) 17:28:15 (15/16) Installing libsmartcols (2.38-r1) 17:28:15 (16/16) Installing util-linux-dev (2.38-r1) 17:28:15 Executing busybox-1.35.0-r17.trigger 17:28:15 OK: 286 MiB in 90 packages 17:28:17 Removing intermediate container 133db0ee2b84 17:28:17 ---> 6e629da87b95 17:28:17 Step 6/21 : RUN mkdir /tmp/sdk 17:28:17 ---> Running in 76fb43028bfc 17:28:19 Removing intermediate container 76fb43028bfc 17:28:19 ---> f004af868f3f 17:28:19 Step 7/21 : COPY VERSION /tmp/sdk 17:28:19 ---> eaf79d1ff407 17:28:19 Step 8/21 : COPY src /tmp/sdk/src 17:28:20 ---> 6702481d2c8a 17:28:20 Step 9/21 : COPY include /tmp/sdk/include 17:28:21 ---> ebd054a4ff7e 17:28:21 Step 10/21 : COPY scripts /tmp/sdk/scripts 17:28:21 ---> 4edf4e8a4357 17:28:21 Step 11/21 : COPY LICENSE /tmp/sdk 17:28:22 ---> 64be566744e1 17:28:22 Step 12/21 : COPY Attribution.txt /tmp/sdk 17:28:23 ---> 2c8edded6b96 17:28:23 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 17:28:23 ---> Running in 9b26d4b4fc19 17:28:24 + CPPCHECK=false 17:28:24 + DOCGEN=false 17:28:24 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 17:28:24 + '[' 0 -gt 0 ] 17:28:24 + readlink -f ./scripts/build.sh 17:28:24 + dirname /tmp/sdk/scripts/build.sh 17:28:24 + dirname /tmp/sdk/scripts 17:28:24 + ROOT=/tmp/sdk 17:28:24 + cd /tmp/sdk 17:28:24 + mkdir -p /tmp/sdk/build/release 17:28:24 + cd /tmp/sdk/build/release 17:28:24 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 17:28:24 -- The C compiler identification is GNU 11.2.1 17:28:24 -- Detecting C compiler ABI info 17:28:25 -- Detecting C compiler ABI info - done 17:28:25 -- Check for working C compiler: /usr/bin/cc - skipped 17:28:25 -- Detecting C compile features 17:28:25 -- Detecting C compile features - done 17:28:25 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:28:25 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 17:28:25 -- Found LIBYAML: /usr/lib/libyaml.so 17:28:25 -- Found LIBUUID: /usr/lib/libuuid.so 17:28:25 -- Found LIBCBOR: /usr/lib/libcbor.so 17:28:25 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:28:25 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:28:25 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 17:28:25 -- /opt/iotech/iot/1.5/include 17:28:25 -- C SDK 0.0.0 for Linux 17:28:25 -- Performing Test CSDK_HAVE_ATOMIC 17:28:26 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:28:26 -- Found Curses: /usr/lib/libcurses.so 17:28:26 -- Configuring done 17:28:27 -- Generating done 17:28:27 -- Build files have been written to: /tmp/sdk/build/release 17:28:27 + make all package 17:28:27 + tee release.log 17:28:27 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:28:29 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 17:28:30 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 17:28:32 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 17:28:33 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 17:28:34 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:28:38 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:28:40 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:28:40 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:28:42 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:28:47 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:28:48 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:28:49 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:28:50 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:28:51 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 17:28:53 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:28:54 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:28:59 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:28:59 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:29:00 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:29:03 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:29:13 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:29:14 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:29:14 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:29:15 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 17:29:16 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:29:19 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:29:24 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:29:25 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:29:26 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:29:27 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:29:33 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:29:34 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 17:29:35 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:29:36 [ 68%] Linking C shared library libcsdk.so 17:29:36 [ 68%] Built target csdk 17:29:36 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:29:38 [ 72%] Linking C executable template 17:29:39 [ 72%] Built target template 17:29:39 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:29:40 [ 76%] Linking C executable device-counter 17:29:40 [ 76%] Built target device-counter 17:29:40 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:29:41 [ 80%] Linking C executable device-random 17:29:42 [ 80%] Built target device-random 17:29:42 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:29:43 [ 84%] Linking C executable device-gyro 17:29:43 [ 84%] Built target device-gyro 17:29:43 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:29:44 [ 88%] Linking C executable device-bitfields 17:29:44 [ 88%] Built target device-bitfields 17:29:45 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:29:46 [ 92%] Linking C executable template-discovery 17:29:47 [ 92%] Built target template-discovery 17:29:47 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:29:48 [ 96%] Linking C executable device-file 17:29:48 [ 96%] Built target device-file 17:29:49 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:29:50 [100%] Linking C executable device-terminal 17:29:50 [100%] Built target device-terminal 17:29:50 Run CPack packaging tool... 17:29:51 CPack: Create package using TGZ 17:29:51 CPack: Install projects 17:29:51 CPack: - Run preinstall target for: Csdk 17:29:52 CPack: - Install project: Csdk [] 17:29:52 CPack: Create package 17:29:52 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 17:29:52 + '[' false '=' true ] 17:29:52 + '[' false '=' true ] 17:29:52 + mkdir -p /tmp/sdk/build/debug 17:29:52 + cd /tmp/sdk/build/debug 17:29:52 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 17:29:52 -- The C compiler identification is GNU 11.2.1 17:29:52 -- Detecting C compiler ABI info 17:29:52 -- Detecting C compiler ABI info - done 17:29:53 -- Check for working C compiler: /usr/bin/cc - skipped 17:29:53 -- Detecting C compile features 17:29:53 -- Detecting C compile features - done 17:29:53 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:29:53 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 17:29:53 -- Found LIBYAML: /usr/lib/libyaml.so 17:29:53 -- Found LIBUUID: /usr/lib/libuuid.so 17:29:53 -- Found LIBCBOR: /usr/lib/libcbor.so 17:29:53 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:29:53 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:29:53 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 17:29:53 -- /opt/iotech/iot/1.5/include 17:29:53 -- C SDK 0.0.0 for Linux 17:29:53 -- Performing Test CSDK_HAVE_ATOMIC 17:29:54 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:29:54 -- Found Curses: /usr/lib/libcurses.so 17:29:54 -- Configuring done 17:29:54 -- Generating done 17:29:54 -- Build files have been written to: /tmp/sdk/build/debug 17:29:54 + + maketee 17:29:54 debug.log 17:29:54 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:29:55 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 17:29:56 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 17:29:57 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 17:29:57 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 17:29:58 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:29:59 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:30:00 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:30:00 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:30:01 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:30:02 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:30:03 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:30:03 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:30:04 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:30:04 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 17:30:05 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:30:06 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:30:07 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:30:07 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:30:08 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:30:09 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:30:11 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:30:12 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:30:12 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:30:12 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 17:30:13 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:30:14 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:30:17 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:30:17 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:30:18 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:30:18 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:30:20 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:30:20 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 17:30:21 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:30:22 [ 68%] Linking C shared library libcsdk.so 17:30:22 [ 68%] Built target csdk 17:30:22 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:30:23 [ 72%] Linking C executable template 17:30:23 [ 72%] Built target template 17:30:23 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:30:24 [ 76%] Linking C executable device-counter 17:30:24 [ 76%] Built target device-counter 17:30:24 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:30:25 [ 80%] Linking C executable device-random 17:30:25 [ 80%] Built target device-random 17:30:25 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:30:26 [ 84%] Linking C executable device-gyro 17:30:26 [ 84%] Built target device-gyro 17:30:26 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:30:27 [ 88%] Linking C executable device-bitfields 17:30:27 [ 88%] Built target device-bitfields 17:30:27 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:30:28 [ 92%] Linking C executable template-discovery 17:30:28 [ 92%] Built target template-discovery 17:30:28 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:30:29 [ 96%] Linking C executable device-file 17:30:30 [ 96%] Built target device-file 17:30:30 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:30:31 [100%] Linking C executable device-terminal 17:30:31 [100%] Built target device-terminal 17:30:31 make: Entering directory '/tmp/sdk/build/release' 17:30:31 make[1]: Entering directory '/tmp/sdk/build/release' 17:30:31 make[2]: Entering directory '/tmp/sdk/build/release' 17:30:31 make[2]: Leaving directory '/tmp/sdk/build/release' 17:30:31 [ 68%] Built target csdk 17:30:31 make[2]: Entering directory '/tmp/sdk/build/release' 17:30:31 make[2]: Leaving directory '/tmp/sdk/build/release' 17:30:31 [ 72%] Built target template 17:30:31 make[2]: Entering directory '/tmp/sdk/build/release' 17:30:31 make[2]: Leaving directory '/tmp/sdk/build/release' 17:30:31 [ 76%] Built target device-counter 17:30:31 make[2]: Entering directory '/tmp/sdk/build/release' 17:30:31 make[2]: Leaving directory '/tmp/sdk/build/release' 17:30:31 [ 80%] Built target device-random 17:30:31 make[2]: Entering directory '/tmp/sdk/build/release' 17:30:31 make[2]: Leaving directory '/tmp/sdk/build/release' 17:30:31 [ 84%] Built target device-gyro 17:30:31 make[2]: Entering directory '/tmp/sdk/build/release' 17:30:31 make[2]: Leaving directory '/tmp/sdk/build/release' 17:30:31 [ 88%] Built target device-bitfields 17:30:31 make[2]: Entering directory '/tmp/sdk/build/release' 17:30:32 make[2]: Leaving directory '/tmp/sdk/build/release' 17:30:32 [ 92%] Built target template-discovery 17:30:32 make[2]: Entering directory '/tmp/sdk/build/release' 17:30:32 make[2]: Leaving directory '/tmp/sdk/build/release' 17:30:32 [ 96%] Built target device-file 17:30:32 make[2]: Entering directory '/tmp/sdk/build/release' 17:30:32 make[2]: Leaving directory '/tmp/sdk/build/release' 17:30:32 [100%] Built target device-terminal 17:30:32 make[1]: Leaving directory '/tmp/sdk/build/release' 17:30:32 Install the project... 17:30:32 -- Install configuration: "Release" 17:30:32 -- Installing: /usr/local/lib/libcsdk.so 17:30:32 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 17:30:32 -- Installing: /usr/local/include 17:30:32 -- Installing: /usr/local/include/devsdk 17:30:32 -- Installing: /usr/local/include/devsdk/devsdk.h 17:30:32 -- Installing: /usr/local/include/devsdk/devsdk-base.h 17:30:32 -- Installing: /usr/local/include/edgex 17:30:32 -- Installing: /usr/local/include/edgex/rest-server.h 17:30:32 -- Installing: /usr/local/include/edgex/edgex.h 17:30:32 -- Installing: /usr/local/include/edgex/edgex-base.h 17:30:32 -- Installing: /usr/local/include/edgex/devices.h 17:30:32 -- Installing: /usr/local/include/edgex/profiles.h 17:30:32 -- Installing: /usr/local/include/edgex/csdk-defs.h 17:30:32 -- Installing: /usr/local/share/device-sdk-c/LICENSE 17:30:32 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 17:30:32 make: Leaving directory '/tmp/sdk/build/release' 17:30:33 Removing intermediate container 9b26d4b4fc19 17:30:33 ---> ad4d4fba605c 17:30:33 Step 14/21 : FROM ${BASE} 17:30:33 ---> 295cd00e64f4 17:30:33 Step 15/21 : LABEL maintainer="IOTech " 17:30:33 ---> Running in 3caf414b2998 17:30:34 Removing intermediate container 3caf414b2998 17:30:34 ---> bd4dba79310e 17:30:34 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 17:30:34 ---> Running in e3e8e5b4a760 17:30:35 Connecting to iotech.jfrog.io (34.246.139.145:443) 17:30:36 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:30:36 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:30:36 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:30:36 Removing intermediate container e3e8e5b4a760 17:30:36 ---> 01a18fd6e60c 17:30:36 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 17:30:36 ---> Running in 6157a9be50bf 17:30:38 Removing intermediate container 6157a9be50bf 17:30:38 ---> 7e88ca3d27c5 17:30:38 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 17:30:38 ---> Running in e3057f8d7e43 17:30:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:30:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:30:41 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 17:30:42 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:30:42 (1/7) Installing curl (8.2.1-r0) 17:30:42 (2/7) Installing hiredis (1.0.2-r0) 17:30:42 (3/7) Installing hiredis-dev (1.0.2-r0) 17:30:42 (4/7) Installing iotech-iot-1.4 (1.4.2-r0) 17:30:42 (5/7) Installing libcbor (0.9.0-r1) 17:30:42 (6/7) Installing libuuid (2.38-r1) 17:30:42 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 17:30:43 Executing busybox-1.35.0-r17.trigger 17:30:43 OK: 281 MiB in 83 packages 17:30:45 Removing intermediate container e3057f8d7e43 17:30:45 ---> c6277d83f900 17:30:45 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 17:30:45 ---> b6859289269b 17:30:45 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 17:30:46 ---> 5871ba51282f 17:30:46 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 17:30:46 ---> 238c6e35c4be 17:30:47 Successfully built 238c6e35c4be 17:30:47 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 17:30:47 + docker inspect -f . ci-base-image-arm64 17:30:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:30:48 prd-ubuntu20.04-docker-arm64-4c-16g-6755 does not seem to be running inside a container 17:30:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:30:50 $ docker top 18b94bced4a88baa72af1f792d4feb59469ff5f1719bba94643f440ba2c42067 -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:50 + make test 17:30:50 echo "make test" 17:30:50 make test [Pipeline] } 17:30:51 $ docker stop --time=1 18b94bced4a88baa72af1f792d4feb59469ff5f1719bba94643f440ba2c42067 17:30:52 $ docker rm -f --volumes 18b94bced4a88baa72af1f792d4feb59469ff5f1719bba94643f440ba2c42067 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:30:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:30:54 + ls -al . 17:30:54 total 208 17:30:54 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:27 . 17:30:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:27 .. 17:30:54 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:27 .git 17:30:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:27 .github 17:30:54 -rw-rw-r-- 1 jenkins jenkins 176 Sep 20 17:27 .gitignore 17:30:54 -rw-rw-r-- 1 jenkins jenkins 2908 Sep 20 17:27 Attribution.txt 17:30:54 -rw-rw-r-- 1 jenkins jenkins 9802 Sep 20 17:27 CHANGES 17:30:54 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 20 17:27 Doxyfile 17:30:54 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:27 GOVERNANCE.md 17:30:54 -rw-rw-r-- 1 jenkins jenkins 784 Sep 20 17:27 Jenkinsfile 17:30:54 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 20 17:27 LICENSE 17:30:54 -rw-rw-r-- 1 jenkins jenkins 444 Sep 20 17:27 Makefile 17:30:54 -rw-rw-r-- 1 jenkins jenkins 618 Sep 20 17:27 OWNERS.md 17:30:54 -rw-rw-r-- 1 jenkins jenkins 1651 Sep 20 17:27 README.IOT.md 17:30:54 -rw-rw-r-- 1 jenkins jenkins 4215 Sep 20 17:27 README.md 17:30:54 -rw-rw-r-- 1 jenkins jenkins 1245 Sep 20 17:27 README.v3.md 17:30:54 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 17:23 VERSION 17:30:54 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:27 docs 17:30:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:27 include 17:30:54 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:27 scripts 17:30:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:27 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:54 + 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=18b6c29ec549221dfc69d991ca1228da44bcacc1 --label arch=arm64 --label version=0.0.0 . 17:30:55 Sending build context to Docker daemon 2.937MB 17:30:55 Step 1/17 : ARG BASE=alpine:3.16 17:30:55 Step 2/17 : FROM ${BASE} 17:30:55 ---> 238c6e35c4be 17:30:55 Step 3/17 : LABEL maintainer="IOTech " 17:30:56 ---> Running in 57ef420c6630 17:30:56 Removing intermediate container 57ef420c6630 17:30:56 ---> 8ea8eee5142a 17:30:56 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 17:30:56 ---> Running in 57084e1a6ed9 17:30:57 Connecting to iotech.jfrog.io (34.247.22.236:443) 17:30:58 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:30:58 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:30:58 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:30:59 Removing intermediate container 57084e1a6ed9 17:30:59 ---> 2a9ae961dc4a 17:30:59 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 17:30:59 ---> Running in 5eb6ee2e50bc 17:31:01 Removing intermediate container 5eb6ee2e50bc 17:31:01 ---> 5c7fe950a622 17:31:01 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 17:31:01 ---> Running in 8948993ca214 17:31:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:31:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:31:03 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 17:31:04 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:31:04 (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 17:31:04 (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 17:31:04 (3/11) Installing iotech-iot-1.5 (1.5.0-r0) 17:31:05 (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 17:31:05 (5/11) Installing libcbor-dev (0.9.0-r1) 17:31:05 (6/11) Installing ncurses-dev (6.3_p20220521-r1) 17:31:05 (7/11) Installing libblkid (2.38-r1) 17:31:05 (8/11) Installing libfdisk (2.38-r1) 17:31:05 (9/11) Installing libmount (2.38-r1) 17:31:05 (10/11) Installing libsmartcols (2.38-r1) 17:31:05 (11/11) Installing util-linux-dev (2.38-r1) 17:31:05 Executing busybox-1.35.0-r17.trigger 17:31:05 OK: 287 MiB in 92 packages 17:31:07 Removing intermediate container 8948993ca214 17:31:07 ---> 0ae704713b2d 17:31:07 Step 7/17 : COPY VERSION /edgex-c-sdk/ 17:31:08 ---> 9711574873e4 17:31:08 Step 8/17 : COPY src /edgex-c-sdk/src/ 17:31:08 ---> 60a0a5f32449 17:31:08 Step 9/17 : COPY include /edgex-c-sdk/include/ 17:31:09 ---> d43070466097 17:31:09 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 17:31:10 ---> 095663c523ce 17:31:10 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 17:31:10 ---> 7bf134bbe7d7 17:31:10 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 17:31:11 ---> a546c2b6ea86 17:31:11 Step 13/17 : WORKDIR /edgex-c-sdk 17:31:11 ---> Running in a4918b39492e 17:31:11 Removing intermediate container a4918b39492e 17:31:11 ---> 6e23e305f566 17:31:11 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 17:31:12 ---> Running in 99868deb5148 17:31:12 Removing intermediate container 99868deb5148 17:31:12 ---> 62c35eb108c0 17:31:12 Step 15/17 : LABEL arch=arm64 17:31:12 ---> Running in 3db7731fd700 17:31:13 Removing intermediate container 3db7731fd700 17:31:13 ---> 811ca844e873 17:31:13 Step 16/17 : LABEL git_sha=18b6c29ec549221dfc69d991ca1228da44bcacc1 17:31:13 ---> Running in 9ef1fd0829b1 17:31:13 Removing intermediate container 9ef1fd0829b1 17:31:13 ---> 5abad06fb87d 17:31:13 Step 17/17 : LABEL version=0.0.0 17:31:13 ---> Running in 071e09c68961 17:31:13 Removing intermediate container 071e09c68961 17:31:13 ---> c1d6282c4672 17:31:13 [Warning] One or more build-args [ARCH MAKE] were not consumed 17:31:14 Successfully built c1d6282c4672 17:31:14 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 17:31:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:31:14 17:31:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:31:15 arm64: Pulling from edgex-lftools-log-publisher 17:31:15 8998bd30e6a1: Pulling fs layer 17:31:15 04944245beec: Pulling fs layer 17:31:15 699f458cf7ca: Pulling fs layer 17:31:15 765212b225bb: Pulling fs layer 17:31:15 f23df028b6ca: Pulling fs layer 17:31:15 d65c8cfc05b1: Pulling fs layer 17:31:15 2437ff75d9bd: Pulling fs layer 17:31:15 f23df028b6ca: Waiting 17:31:15 d65c8cfc05b1: Waiting 17:31:15 2437ff75d9bd: Waiting 17:31:15 765212b225bb: Waiting 17:31:15 04944245beec: Verifying Checksum 17:31:15 04944245beec: Download complete 17:31:15 765212b225bb: Verifying Checksum 17:31:15 765212b225bb: Download complete 17:31:15 f23df028b6ca: Verifying Checksum 17:31:15 f23df028b6ca: Download complete 17:31:15 d65c8cfc05b1: Verifying Checksum 17:31:15 d65c8cfc05b1: Download complete 17:31:15 699f458cf7ca: Verifying Checksum 17:31:15 699f458cf7ca: Download complete 17:31:16 8998bd30e6a1: Verifying Checksum 17:31:16 8998bd30e6a1: Download complete 17:31:19 2437ff75d9bd: Verifying Checksum 17:31:19 2437ff75d9bd: Download complete 17:31:21 8998bd30e6a1: Pull complete 17:31:21 04944245beec: Pull complete 17:31:23 699f458cf7ca: Pull complete 17:31:23 765212b225bb: Pull complete 17:31:24 f23df028b6ca: Pull complete 17:31:24 d65c8cfc05b1: Pull complete 17:31:39 2437ff75d9bd: Pull complete 17:31:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:31:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:31:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:31:39 prd-ubuntu20.04-docker-arm64-4c-16g-6755 does not seem to be running inside a container 17:31:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:31:43 $ docker top fe96b0c3469006225d1b86739705a6dfe189404624e71200a40222994fae7ff7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:31:44 ---> job-cost.sh 17:31:44 lf-activate-venv: SKIPPING 17:31:44 INFO: No Stack... 17:31:44 INFO: Retrieving Pricing Info for: v3-standard-4 17:31:45 INFO: Archiving Costs [Pipeline] sh 17:31:46 + cut -d, -f6 17:31:46 + cat /w/workspace/device-sdk-c/1/archives/cost.csv [Pipeline] lock 17:31:46 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-483-1-stack-cost] 17:31:46 Resource [jenkins-edgexfoundry-device-sdk-c-PR-483-1-stack-cost] did not exist. Created. 17:31:46 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-483-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:31:46 /w/workspace/device-sdk-c/1@tmp/durable-e2fa9c53/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:31:47 + echo total: 0.10999999940395355 [Pipeline] stash 17:31:47 Warning: overwriting stash ‘stack-cost’ 17:31:48 Stashed 1 file(s) [Pipeline] } 17:31:48 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-483-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:31:48 $ docker stop --time=1 fe96b0c3469006225d1b86739705a6dfe189404624e71200a40222994fae7ff7 17:31:50 $ docker rm -f --volumes fe96b0c3469006225d1b86739705a6dfe189404624e71200a40222994fae7ff7 [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 17:31:51 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-483/archives ] 17:31:51 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-483/archives 17:31:51 total 16 17:31:51 drwxr-xr-x 3 root root 4096 Sep 20 17:24 . 17:31:51 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 17:24 .. 17:31:51 drwxr-xr-x 2 root root 4096 Sep 20 17:24 cost 17:31:51 -rw-r--r-- 1 root root 84 Sep 20 17:24 cost.csv 17:31:51 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-483/archives 17:31:51 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-483/archives 17:31:51 total 16 17:31:51 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:24 . 17:31:51 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 17:24 .. 17:31:51 drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 17:24 cost 17:31:51 -rw-r--r-- 1 jenkins jenkins 84 Sep 20 17:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:31:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:31:53 ---> package-listing.sh 17:31:53 ++ facter osfamily 17:31:53 ++ tr '[:upper:]' '[:lower:]' 17:31:53 + OS_FAMILY=debian 17:31:53 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-483 17:31:53 + START_PACKAGES=/tmp/packages_start.txt 17:31:53 + END_PACKAGES=/tmp/packages_end.txt 17:31:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:31:53 + PACKAGES=/tmp/packages_start.txt 17:31:53 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-483 ']' 17:31:53 + PACKAGES=/tmp/packages_end.txt 17:31:53 + case "${OS_FAMILY}" in 17:31:53 + dpkg -l 17:31:53 + grep '^ii' 17:31:53 + '[' -f /tmp/packages_start.txt ']' 17:31:53 + '[' -f /tmp/packages_end.txt ']' 17:31:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:31:53 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-483 ']' 17:31:53 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-483/archives/ 17:31:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-483/archives/ [Pipeline] echo 17:31:53 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-483/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:31:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:31:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:31:54 prd-ubuntu20.04-docker-8c-8g-6740 does not seem to be running inside a container 17:31:54 $ 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-483/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-483 -v /w/workspace/edgexfoundry_device-sdk-c_PR-483:/w/workspace/edgexfoundry_device-sdk-c_PR-483:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-483@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-483@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:31:54 $ docker top 152c1e19590d49c8d77cedcb9ca84b8d306773287212a9970a2c8d3f523598d1 -eo pid,comm [Pipeline] { [Pipeline] sh 17:31:55 + touch /tmp/pre-build-complete [Pipeline] sh 17:31:55 + mkdir -p /var/log/sysstat [Pipeline] sh 17:31:55 + ls /var/log/sa-host 17:31:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:31:55 provisioning config files... 17:31:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-483@tmp/config1614979669207635360tmp [Pipeline] { [Pipeline] echo 17:31:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:31:56 ---> create-netrc.sh [Pipeline] } 17:31:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:31:56 ---> python-tools-install.sh [Pipeline] echo 17:31:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:31:57 ---> sudo-logs.sh 17:31:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:31:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:31:57 ---> job-cost.sh 17:31:57 lf-activate-venv: SKIPPING 17:31:57 DEBUG: total: 0.2199999988079071 17:31:57 INFO: Retrieving Stack Cost... 17:31:57 INFO: Retrieving Pricing Info for: v3-standard-8 17:31:57 INFO: Archiving Costs [Pipeline] echo 17:31:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:31:58 ---> logs-deploy.sh 17:31:58 lf-activate-venv: SKIPPING 17:31:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-483/1 17:31:58 INFO: archiving workspace using pattern(s): 17:31:59 Archives upload complete. 17:31:59 INFO: archiving logs to Nexus