Pull request #535 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from adaa8bf9886c2317242fda4f4c52fd6e41c2eb59+aba20507516cf14527c3a1383b601b1fd004f4c0 (e9997ecf9b5e4465f7c9a6c7abf06a78cf552de5) 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-ssh3060138888873965437.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh8486296201720281650.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-535/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-535/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9257012724219291578.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-535/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14777753384071775340.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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-ssh16293544783896807671.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-535/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-535/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15307867309721521461.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-35372 in /w/workspace/edgexfoundry_device-sdk-c_PR-535 [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-535 # 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/535/head:refs/remotes/origin/PR-535 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit aba20507516cf14527c3a1383b601b1fd004f4c0 into PR head commit adaa8bf9886c2317242fda4f4c52fd6e41c2eb59 Merge succeeded, producing adaa8bf9886c2317242fda4f4c52fd6e41c2eb59 Checking out Revision adaa8bf9886c2317242fda4f4c52fd6e41c2eb59 (PR-535) > git config core.sparsecheckout # timeout=10 > git checkout -f adaa8bf9886c2317242fda4f4c52fd6e41c2eb59 # 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 aba20507516cf14527c3a1383b601b1fd004f4c0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f adaa8bf9886c2317242fda4f4c52fd6e41c2eb59 # timeout=10 Commit message: "fix: Allow `-cp` flag to work without `-r` flag" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:56:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:56:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:56:45 ========================================================= 05:56:45 EdgeX Global Pipelines Version Info 05:56:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:56:46 ------------------- 05:56:46 stable info: 05:56:46 ------------------- 05:56:46 Commited By: Cherry Wang cherry@iotechsys.com 05:56:46 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 05:56:46 Message: update stable to v1.0.269 05:56:46 ------------------- 05:56:46 experimental info: 05:56:46 ------------------- 05:56:46 Commited By: **** collab-it+edgex@linuxfoundation.org 05:56:46 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 05:56:46 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:56:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 05:56:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 05:56:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:56:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:56:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:56:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 05:56:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 05:56:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:56:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:56:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 05:56:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:56:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:56:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:56:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:56:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:56:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:56:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:56:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-535 [Pipeline] echo 05:56:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-535 [Pipeline] echo 05:56:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-535 [Pipeline] echo 05:56:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = adaa8bf9886c2317242fda4f4c52fd6e41c2eb59 [Pipeline] echo 05:56:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = adaa8bf [Pipeline] echo 05:56:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:56:48 provisioning config files... 05:56:48 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-535@tmp/config18024240111681914592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:48 ---> ****-login.sh 05:56:48 nexus3.edgexfoundry.org:10001 05:56:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:49 Configure a credential helper to remove this warning. See 05:56:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:49 05:56:49 Login Succeeded 05:56:49 nexus3.edgexfoundry.org:10002 05:56:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:49 Configure a credential helper to remove this warning. See 05:56:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:49 05:56:49 Login Succeeded 05:56:49 nexus3.edgexfoundry.org:10003 05:56:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:49 Configure a credential helper to remove this warning. See 05:56:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:49 05:56:49 Login Succeeded 05:56:49 nexus3.edgexfoundry.org:10004 05:56:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:49 Configure a credential helper to remove this warning. See 05:56:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:49 05:56:49 Login Succeeded 05:56:49 ****.io 05:56:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:56:49 Configure a credential helper to remove this warning. See 05:56:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:56:49 05:56:49 Login Succeeded 05:56:49 ---> ****-login.sh ends [Pipeline] } 05:56:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 05:56:50 + git rev-list -1 --merges adaa8bf9886c2317242fda4f4c52fd6e41c2eb59~1..adaa8bf9886c2317242fda4f4c52fd6e41c2eb59 [Pipeline] echo 05:56:50 -----------> git rev-list -1 --merges adaa8bf9886c2317242fda4f4c52fd6e41c2eb59~1..adaa8bf9886c2317242fda4f4c52fd6e41c2eb59 adaa8bf9886c2317242fda4f4c52fd6e41c2eb59 [false] [Pipeline] sh 05:56:51 + git log --format=format:%s -1 adaa8bf9886c2317242fda4f4c52fd6e41c2eb59 [Pipeline] echo 05:56:51 ========================================================= 05:56:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:56:51 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:56:52 + git rev-list -1 --merges adaa8bf9886c2317242fda4f4c52fd6e41c2eb59~1..adaa8bf9886c2317242fda4f4c52fd6e41c2eb59 [Pipeline] echo 05:56:52 -----------> git rev-list -1 --merges adaa8bf9886c2317242fda4f4c52fd6e41c2eb59~1..adaa8bf9886c2317242fda4f4c52fd6e41c2eb59 adaa8bf9886c2317242fda4f4c52fd6e41c2eb59 [false] [Pipeline] sh 05:56:52 + git log --format=format:%s -1 adaa8bf9886c2317242fda4f4c52fd6e41c2eb59 [Pipeline] echo 05:56:52 ========================================================= 05:56:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:56:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 05:56:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:56:53 + grep -v github /etc/ssh/ssh_known_hosts 05:56:53 + [ -e /tmp/ssh_known_hosts ] 05:56:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:56:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:56:53 + sudo tee -a /etc/ssh/ssh_known_hosts 05:56:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:56:53 05:56:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:56:53 0.1.4: Pulling from edgex-devops/py-git-semver 05:56:53 b85a868b505f: Pulling fs layer 05:56:53 e2be974225ed: Pulling fs layer 05:56:53 339a4e72a1f5: Pulling fs layer 05:56:53 988bab9f4d93: Pulling fs layer 05:56:53 1469e6f7b9e6: Pulling fs layer 05:56:53 eaf3925da568: Pulling fs layer 05:56:53 bab4dde63d76: Pulling fs layer 05:56:53 bde34c3a00c8: Pulling fs layer 05:56:53 b352a97aabf1: Pulling fs layer 05:56:53 4872d77fe225: Pulling fs layer 05:56:53 5851b861e8e6: Pulling fs layer 05:56:53 1469e6f7b9e6: Waiting 05:56:53 eaf3925da568: Waiting 05:56:53 bab4dde63d76: Waiting 05:56:53 4872d77fe225: Waiting 05:56:53 bde34c3a00c8: Waiting 05:56:53 988bab9f4d93: Waiting 05:56:53 5851b861e8e6: Waiting 05:56:53 e2be974225ed: Verifying Checksum 05:56:53 e2be974225ed: Download complete 05:56:53 988bab9f4d93: Verifying Checksum 05:56:53 988bab9f4d93: Download complete 05:56:54 1469e6f7b9e6: Verifying Checksum 05:56:54 1469e6f7b9e6: Download complete 05:56:54 eaf3925da568: Verifying Checksum 05:56:54 eaf3925da568: Download complete 05:56:54 339a4e72a1f5: Verifying Checksum 05:56:54 339a4e72a1f5: Download complete 05:56:54 bde34c3a00c8: Verifying Checksum 05:56:54 bde34c3a00c8: Download complete 05:56:54 b352a97aabf1: Download complete 05:56:54 4872d77fe225: Verifying Checksum 05:56:54 4872d77fe225: Download complete 05:56:54 5851b861e8e6: Download complete 05:56:54 b85a868b505f: Verifying Checksum 05:56:54 b85a868b505f: Download complete 05:56:54 bab4dde63d76: Verifying Checksum 05:56:54 bab4dde63d76: Download complete 05:56:55 b85a868b505f: Pull complete 05:56:55 e2be974225ed: Pull complete 05:56:56 339a4e72a1f5: Pull complete 05:56:56 988bab9f4d93: Pull complete 05:56:56 1469e6f7b9e6: Pull complete 05:56:56 eaf3925da568: Pull complete 05:56:58 bab4dde63d76: Pull complete 05:56:58 bde34c3a00c8: Pull complete 05:56:58 b352a97aabf1: Pull complete 05:56:58 4872d77fe225: Pull complete 05:56:59 5851b861e8e6: Pull complete 05:56:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:56:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:56:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:56:59 prd-ubuntu20.04-docker-8c-8g-35372 does not seem to be running inside a container 05:56:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-535 -v /w/workspace/edgexfoundry_device-sdk-c_PR-535:/w/workspace/edgexfoundry_device-sdk-c_PR-535:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-535@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:57:02 $ docker top c0ebaa255cc3076ca437db32ba21f0768f26dcc2c997086e5c2d1a4648cb039f -eo pid,comm 05:57:02 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). 05:57:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:57:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:57:17 [ssh-agent] Looking for ssh-agent implementation... 05:57:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:57:18 $ docker exec c0ebaa255cc3076ca437db32ba21f0768f26dcc2c997086e5c2d1a4648cb039f ssh-agent 05:57:18 SSH_AUTH_SOCK=/tmp/ssh-7kzw10DXLmR3/agent.32 05:57:18 SSH_AGENT_PID=38 05:57:18 Running ssh-add (command line suppressed) 05:57:18 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-535@tmp/private_key_6778567923621471232.key (/w/workspace/edgexfoundry_device-sdk-c_PR-535@tmp/private_key_6778567923621471232.key) 05:57:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:57:18 + git tag --points-at HEAD [Pipeline] } 05:57:18 $ docker exec --env ******** --env ******** c0ebaa255cc3076ca437db32ba21f0768f26dcc2c997086e5c2d1a4648cb039f ssh-agent -k 05:57:18 unset SSH_AUTH_SOCK; 05:57:18 unset SSH_AGENT_PID; 05:57:18 echo Agent pid 38 killed; 05:57:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:57:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:57:19 [ssh-agent] Looking for ssh-agent implementation... 05:57:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:57:19 $ docker exec c0ebaa255cc3076ca437db32ba21f0768f26dcc2c997086e5c2d1a4648cb039f ssh-agent 05:57:19 SSH_AUTH_SOCK=/tmp/ssh-hQOKpIEYZUmg/agent.71 05:57:19 SSH_AGENT_PID=77 05:57:19 Running ssh-add (command line suppressed) 05:57:19 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-535@tmp/private_key_14014272190153821369.key (/w/workspace/edgexfoundry_device-sdk-c_PR-535@tmp/private_key_14014272190153821369.key) 05:57:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:57:19 + git semver init 05:57:19 2024-12-19 05:57:19,881 [run_init] DEBUG init version:0.0.0 force:False 05:57:19 2024-12-19 05:57:19,882 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-535/.semver 05:57:19 2024-12-19 05:57:19,883 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-535/.semver 05:57:19 2024-12-19 05:57:19,883 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-535/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-535, universal_newlines=False, shell=None, istream=None) 05:57:20 2024-12-19 05:57:20,679 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-535/.git/info/exclude 05:57:20 2024-12-19 05:57:20,679 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-535/.semver/PR-535 with force:False 05:57:20 2024-12-19 05:57:20,679 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-535/.semver/PR-535 05:57:20 2024-12-19 05:57:20,684 [execute] INFO git cat-file --batch-check 05:57:20 2024-12-19 05:57:20,684 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-535/.semver, universal_newlines=False, shell=None, istream=) 05:57:20 2024-12-19 05:57:20,690 [execute] INFO git cat-file --batch 05:57:20 2024-12-19 05:57:20,690 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-535/.semver, universal_newlines=False, shell=None, istream=) 05:57:20 2024-12-19 05:57:20,694 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-535/.semver/PR-535 05:57:20 0.0.0 [Pipeline] } 05:57:20 $ docker exec --env ******** --env ******** c0ebaa255cc3076ca437db32ba21f0768f26dcc2c997086e5c2d1a4648cb039f ssh-agent -k 05:57:21 unset SSH_AUTH_SOCK; 05:57:21 unset SSH_AGENT_PID; 05:57:21 echo Agent pid 77 killed; 05:57:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:57:21 + git semver [Pipeline] } 05:57:21 $ docker stop --time=1 c0ebaa255cc3076ca437db32ba21f0768f26dcc2c997086e5c2d1a4648cb039f 05:57:23 $ docker rm -f --volumes c0ebaa255cc3076ca437db32ba21f0768f26dcc2c997086e5c2d1a4648cb039f [Pipeline] // withDockerContainer [Pipeline] sh 05:57:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:57:23 Stashed 1 file(s) [Pipeline] echo 05:57:23 [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) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:57:25 provisioning config files... 05:57:25 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-535@tmp/config8755783570227309889tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 05:57:25 ---> ****-login.sh 05:57:25 nexus3.edgexfoundry.org:10001 05:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:57:25 Configure a credential helper to remove this warning. See 05:57:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:57:25 05:57:25 Login Succeeded 05:57:25 nexus3.edgexfoundry.org:10002 05:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:57:25 Configure a credential helper to remove this warning. See 05:57:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:57:25 05:57:25 Login Succeeded 05:57:25 nexus3.edgexfoundry.org:10003 05:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:57:25 Configure a credential helper to remove this warning. See 05:57:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:57:25 05:57:25 Login Succeeded 05:57:25 nexus3.edgexfoundry.org:10004 05:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:57:25 Configure a credential helper to remove this warning. See 05:57:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:57:25 05:57:25 Login Succeeded 05:57:25 ****.io 05:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:57:26 Configure a credential helper to remove this warning. See 05:57:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:57:26 05:57:26 Login Succeeded 05:57:26 ---> ****-login.sh ends [Pipeline] } 05:57:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:57:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:57:26 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 05:57:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:57:26 ========================================================= 05:57:26 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 05:57:26 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:26 + 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 . 05:57:26 Sending build context to Docker daemon 5.414MB 05:57:26 Step 1/22 : ARG BASE=alpine:3.18 05:57:26 Step 2/22 : FROM ${BASE} as builder 05:57:26 latest: Pulling from edgex-devops/edgex-gcc-base 05:57:26 96526aa774ef: Pulling fs layer 05:57:26 da60e534fd72: Pulling fs layer 05:57:27 96526aa774ef: Verifying Checksum 05:57:27 96526aa774ef: Download complete 05:57:27 96526aa774ef: Pull complete 05:57:27 da60e534fd72: Verifying Checksum 05:57:27 da60e534fd72: Download complete 05:57:31 da60e534fd72: Pull complete 05:57:31 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 05:57:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 05:57:31 ---> 6605166a5db4 05:57:31 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 05:57:33 ---> Running in befe5a9fe3cd 05:57:33 Connecting to iotech.jfrog.io (34.246.139.145:443) 05:57:33 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:57:33 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:57:33 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:57:33 Removing intermediate container befe5a9fe3cd 05:57:33 ---> d64cf5eb78fc 05:57:33 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 05:57:34 ---> Running in 80b3aefab321 05:57:34 Removing intermediate container 80b3aefab321 05:57:34 ---> e1f9147311c4 05:57:34 Step 5/22 : 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 iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev 05:57:34 ---> Running in 7a4faf16e461 05:57:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:57:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:57:35 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 05:57:35 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:57:35 (1/15) Installing libcbor (0.10.2-r1) 05:57:35 (2/15) Installing iotech-iot-1.5 (1.5.5-r0) 05:57:36 (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) 05:57:36 (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 05:57:36 (5/15) Installing libcbor-dev (0.10.2-r1) 05:57:36 (6/15) Installing libmenuw (6.4_p20230506-r0) 05:57:36 (7/15) Installing libpanelw (6.4_p20230506-r0) 05:57:36 (8/15) Installing libncurses++ (6.4_p20230506-r0) 05:57:36 (9/15) Installing ncurses-dev (6.4_p20230506-r0) 05:57:36 (10/15) Installing libblkid (2.38.1-r8) 05:57:36 (11/15) Installing libuuid (2.38.1-r8) 05:57:36 (12/15) Installing libfdisk (2.38.1-r8) 05:57:36 (13/15) Installing libmount (2.38.1-r8) 05:57:36 (14/15) Installing libsmartcols (2.38.1-r8) 05:57:36 (15/15) Installing util-linux-dev (2.38.1-r8) 05:57:37 Executing busybox-1.36.1-r4.trigger 05:57:37 OK: 336 MiB in 97 packages 05:57:37 Removing intermediate container 7a4faf16e461 05:57:37 ---> a9d61a633e37 05:57:37 Step 6/22 : RUN mkdir /tmp/sdk 05:57:37 ---> Running in 89a86acb2860 05:57:38 Removing intermediate container 89a86acb2860 05:57:38 ---> a77f8e8cfb8f 05:57:38 Step 7/22 : COPY VERSION /tmp/sdk 05:57:38 ---> 8f1e1cc246c9 05:57:38 Step 8/22 : COPY src /tmp/sdk/src 05:57:38 ---> 598044c4a602 05:57:38 Step 9/22 : COPY include /tmp/sdk/include 05:57:38 ---> 0db866e49672 05:57:38 Step 10/22 : COPY scripts /tmp/sdk/scripts 05:57:38 ---> 309a690c7b42 05:57:38 Step 11/22 : COPY LICENSE /tmp/sdk 05:57:38 ---> 6220cdbe7034 05:57:38 Step 12/22 : COPY Attribution.txt /tmp/sdk 05:57:39 ---> cdd8e2c6c377 05:57:39 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 05:57:39 ---> Running in 19f4df201ced 05:57:39 + CPPCHECK=false 05:57:39 + DOCGEN=false 05:57:39 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 05:57:39 + '[' 0 -gt 0 ] 05:57:39 + readlink -f ./scripts/build.sh 05:57:39 + dirname /tmp/sdk/scripts/build.sh 05:57:39 + dirname /tmp/sdk/scripts 05:57:39 + ROOT=/tmp/sdk 05:57:39 + cd /tmp/sdk 05:57:39 + mkdir -p /tmp/sdk/build/release 05:57:39 + cd /tmp/sdk/build/release 05:57:39 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 05:57:39 -- The C compiler identification is GNU 12.2.1 05:57:39 -- Detecting C compiler ABI info 05:57:39 -- Detecting C compiler ABI info - done 05:57:39 -- Check for working C compiler: /usr/bin/cc - skipped 05:57:39 -- Detecting C compile features 05:57:39 -- Detecting C compile features - done 05:57:39 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:57:39 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 05:57:39 -- Found LIBYAML: /usr/lib/libyaml.so 05:57:39 -- Found LIBUUID: /usr/lib/libuuid.so 05:57:39 -- Found LIBCBOR: /usr/lib/libcbor.so 05:57:39 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 05:57:39 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:57:39 -- /opt/iotech/iot/1.5/include 05:57:39 -- C SDK 0.0.0 for Linux 05:57:39 -- Performing Test CSDK_HAVE_ATOMIC 05:57:39 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:57:40 -- Found Curses: /usr/lib/libcurses.so 05:57:40 -- Configuring done (0.4s) 05:57:40 -- Generating done (0.0s) 05:57:40 -- Build files have been written to: /tmp/sdk/build/release 05:57:40 + make all package 05:57:40 + tee release.log 05:57:40 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:57:40 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 05:57:40 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 05:57:40 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 05:57:40 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:57:40 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:57:40 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:57:41 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:57:41 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:57:41 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:57:41 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:57:41 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:57:41 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 05:57:41 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:57:41 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:57:42 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 05:57:42 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 05:57:42 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 05:57:42 from /tmp/sdk/src/c/registry.h:14, 05:57:42 from /tmp/sdk/src/c/registry-impl.h:12, 05:57:42 from /tmp/sdk/src/c/keeper.h:12, 05:57:42 from /tmp/sdk/src/c/keeper.c:1: 05:57:42 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 05:57:42 /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 05:57:42 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 05:57:42 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:57:42 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 05:57:42 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 05:57:42 | ^~~~~~~~~~~ 05:57:42 /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here 05:57:42 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 05:57:42 | ~^ 05:57:42 | | 05:57:42 | char * 05:57:42 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:57:42 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:57:42 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 05:57:42 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:57:43 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:57:44 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:57:44 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 05:57:44 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 05:57:44 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:57:44 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:57:44 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 05:57:44 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 05:57:44 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 05:57:45 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:57:45 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 05:57:45 /tmp/sdk/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 05:57:45 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 05:57:45 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:57:45 /tmp/sdk/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 05:57:45 875 | const iot_data_t *deviceservices_config; 05:57:45 | ^~~~~~~~~~~~~~~~~~~~~ 05:57:45 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:57:45 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 05:57:45 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:57:45 [ 68%] Linking C shared library libcsdk.so 05:57:45 [ 68%] Built target csdk 05:57:45 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:57:45 [ 72%] Linking C executable template 05:57:45 [ 72%] Built target template 05:57:45 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:57:46 [ 76%] Linking C executable device-counter 05:57:46 [ 76%] Built target device-counter 05:57:46 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:57:46 [ 80%] Linking C executable device-random 05:57:46 [ 80%] Built target device-random 05:57:46 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:57:46 [ 84%] Linking C executable device-gyro 05:57:46 [ 84%] Built target device-gyro 05:57:46 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 05:57:46 [ 88%] Linking C executable device-bitfields 05:57:46 [ 88%] Built target device-bitfields 05:57:46 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:57:46 [ 92%] Linking C executable template-discovery 05:57:46 [ 92%] Built target template-discovery 05:57:46 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 05:57:46 [ 96%] Linking C executable device-file 05:57:47 [ 96%] Built target device-file 05:57:47 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:57:47 [100%] Linking C executable device-terminal 05:57:47 [100%] Built target device-terminal 05:57:47 Run CPack packaging tool... 05:57:47 CPack: Create package using TGZ 05:57:47 CPack: Install projects 05:57:47 CPack: - Run preinstall target for: Csdk 05:57:47 CPack: - Install project: Csdk [] 05:57:47 CPack: Create package 05:57:47 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 05:57:47 + '[' false '=' true ] 05:57:47 + '[' false '=' true ] 05:57:47 + mkdir -p /tmp/sdk/build/debug 05:57:47 + cd /tmp/sdk/build/debug 05:57:47 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 05:57:47 -- The C compiler identification is GNU 12.2.1 05:57:47 -- Detecting C compiler ABI info 05:57:47 -- Detecting C compiler ABI info - done 05:57:47 -- Check for working C compiler: /usr/bin/cc - skipped 05:57:47 -- Detecting C compile features 05:57:47 -- Detecting C compile features - done 05:57:47 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 05:57:47 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 05:57:47 -- Found LIBYAML: /usr/lib/libyaml.so 05:57:47 -- Found LIBUUID: /usr/lib/libuuid.so 05:57:47 -- Found LIBCBOR: /usr/lib/libcbor.so 05:57:47 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 05:57:47 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 05:57:47 -- /opt/iotech/iot/1.5/include 05:57:47 -- C SDK 0.0.0 for Linux 05:57:47 -- Performing Test CSDK_HAVE_ATOMIC 05:57:48 -- Performing Test CSDK_HAVE_ATOMIC - Success 05:57:48 -- Found Curses: /usr/lib/libcurses.so 05:57:48 -- Configuring done (0.4s) 05:57:48 -- Generating done (0.0s) 05:57:48 -- Build files have been written to: /tmp/sdk/build/debug 05:57:48 + tee debug.log 05:57:48 + make 05:57:48 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 05:57:48 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 05:57:48 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 05:57:48 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 05:57:48 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 05:57:48 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 05:57:48 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 05:57:48 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 05:57:48 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 05:57:48 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 05:57:48 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 05:57:49 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 05:57:49 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 05:57:49 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 05:57:49 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 05:57:49 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 05:57:49 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 05:57:49 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 05:57:49 from /tmp/sdk/src/c/registry.h:14, 05:57:49 from /tmp/sdk/src/c/registry-impl.h:12, 05:57:49 from /tmp/sdk/src/c/keeper.h:12, 05:57:49 from /tmp/sdk/src/c/keeper.c:1: 05:57:49 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 05:57:49 /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 05:57:49 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 05:57:49 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 05:57:49 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 05:57:49 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 05:57:49 | ^~~~~~~~~~~ 05:57:49 /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here 05:57:49 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 05:57:49 | ~^ 05:57:49 | | 05:57:49 | char * 05:57:49 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 05:57:49 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 05:57:49 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 05:57:49 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 05:57:49 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 05:57:49 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 05:57:49 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 05:57:50 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 05:57:50 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 05:57:50 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 05:57:50 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 05:57:50 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 05:57:50 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 05:57:50 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 05:57:50 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 05:57:50 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 05:57:50 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 05:57:50 [ 68%] Linking C shared library libcsdk.so 05:57:50 [ 68%] Built target csdk 05:57:50 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 05:57:51 [ 72%] Linking C executable template 05:57:51 [ 72%] Built target template 05:57:51 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 05:57:51 [ 76%] Linking C executable device-counter 05:57:51 [ 76%] Built target device-counter 05:57:51 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 05:57:51 [ 80%] Linking C executable device-random 05:57:51 [ 80%] Built target device-random 05:57:51 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 05:57:51 [ 84%] Linking C executable device-gyro 05:57:51 [ 84%] Built target device-gyro 05:57:51 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 05:57:51 [ 88%] Linking C executable device-bitfields 05:57:51 [ 88%] Built target device-bitfields 05:57:51 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 05:57:51 [ 92%] Linking C executable template-discovery 05:57:51 [ 92%] Built target template-discovery 05:57:51 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 05:57:51 [ 96%] Linking C executable device-file 05:57:51 [ 96%] Built target device-file 05:57:51 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 05:57:52 [100%] Linking C executable device-terminal 05:57:52 [100%] Built target device-terminal 05:57:52 make: Entering directory '/tmp/sdk/build/release' 05:57:52 [ 68%] Built target csdk 05:57:52 [ 72%] Built target template 05:57:52 [ 76%] Built target device-counter 05:57:52 [ 80%] Built target device-random 05:57:52 [ 84%] Built target device-gyro 05:57:52 [ 88%] Built target device-bitfields 05:57:52 [ 92%] Built target template-discovery 05:57:52 [ 96%] Built target device-file 05:57:52 [100%] Built target device-terminal 05:57:52 Install the project... 05:57:52 -- Install configuration: "Release" 05:57:52 -- Installing: /usr/local/lib/libcsdk.so 05:57:52 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 05:57:52 -- Installing: /usr/local/include 05:57:52 -- Installing: /usr/local/include/devsdk 05:57:52 -- Installing: /usr/local/include/devsdk/devsdk.h 05:57:52 -- Installing: /usr/local/include/devsdk/devsdk-base.h 05:57:52 -- Installing: /usr/local/include/edgex 05:57:52 -- Installing: /usr/local/include/edgex/edgex.h 05:57:52 -- Installing: /usr/local/include/edgex/devices.h 05:57:52 -- Installing: /usr/local/include/edgex/profiles.h 05:57:52 -- Installing: /usr/local/include/edgex/edgex-base.h 05:57:52 -- Installing: /usr/local/include/edgex/rest-server.h 05:57:52 -- Installing: /usr/local/include/edgex/csdk-defs.h 05:57:52 -- Installing: /usr/local/share/device-sdk-c/LICENSE 05:57:52 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 05:57:52 make: Leaving directory '/tmp/sdk/build/release' 05:57:53 Removing intermediate container 19f4df201ced 05:57:53 ---> 341653a059c6 05:57:53 Step 14/22 : FROM ${BASE} 05:57:53 ---> 6605166a5db4 05:57:53 Step 15/22 : LABEL maintainer="IOTech " 05:57:53 ---> Running in 85603ebc2370 05:57:53 Removing intermediate container 85603ebc2370 05:57:53 ---> e1a9952375da 05:57:53 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 05:57:53 ---> Running in 18d67d2639f2 05:57:53 Connecting to iotech.jfrog.io (34.247.22.236:443) 05:57:54 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:57:54 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:57:54 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:57:54 Removing intermediate container 18d67d2639f2 05:57:54 ---> 1d0cc82d691b 05:57:54 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 05:57:54 ---> Running in 5df2c2566bdf 05:57:55 Removing intermediate container 5df2c2566bdf 05:57:55 ---> befa01c55c27 05:57:55 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 dumb-init 05:57:55 ---> Running in f62e52a6fbc7 05:57:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:57:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:57:55 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 05:57:56 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:57:56 (1/8) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) 05:57:56 (2/8) Installing curl (8.9.1-r1) 05:57:56 (3/8) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) 05:57:56 (4/8) Installing dumb-init (1.2.5-r2) 05:57:56 (5/8) Installing libcbor (0.10.2-r1) 05:57:56 (6/8) Installing iotech-iot-1.5 (1.5.5-r0) 05:57:57 (7/8) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 05:57:57 (8/8) Installing libuuid (2.38.1-r8) 05:57:57 Executing busybox-1.36.1-r4.trigger 05:57:57 OK: 331 MiB in 88 packages 05:57:57 Removing intermediate container f62e52a6fbc7 05:57:57 ---> b0c6e21c7bb8 05:57:57 Step 19/22 : RUN apk --no-cache upgrade 05:57:57 ---> Running in f1f21c8d434e 05:57:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:57:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:57:57 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 05:57:58 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:57:58 Upgrading critical system libraries and apk-tools: 05:57:58 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 05:57:58 Executing busybox-1.36.1-r4.trigger 05:57:58 Continuing the upgrade transaction with new apk-tools: 05:57:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:57:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:57:59 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 05:57:59 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:57:59 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 05:57:59 Executing busybox-1.36.1-r7.post-upgrade 05:57:59 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 05:57:59 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 05:57:59 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 05:57:59 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 05:57:59 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 05:57:59 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 05:57:59 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 05:57:59 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 05:57:59 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 05:57:59 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 05:57:59 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 05:57:59 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 05:57:59 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 05:57:59 Executing busybox-1.36.1-r7.trigger 05:57:59 Executing ca-certificates-20240226-r0.trigger 05:57:59 OK: 331 MiB in 88 packages 05:58:00 Removing intermediate container f1f21c8d434e 05:58:00 ---> 0191041b3cd1 05:58:00 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 05:58:01 ---> 7658de3def13 05:58:01 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 05:58:01 ---> 7431b9901e65 05:58:01 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 05:58:01 ---> 1583c14d404c 05:58:01 Successfully built 1583c14d404c 05:58:01 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 05:58:02 + docker inspect -f . ci-base-image-x86_64 05:58:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:02 prd-ubuntu20.04-docker-8c-8g-35372 does not seem to be running inside a container 05:58:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-535 -v /w/workspace/edgexfoundry_device-sdk-c_PR-535:/w/workspace/edgexfoundry_device-sdk-c_PR-535:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-535@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:58:02 $ docker top 75c87eac29d58d9df5f8a5e8bdee68f3f21880058fde7a143c5a186f4fc752c5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:58:03 + make test 05:58:03 echo "make test" 05:58:03 make test [Pipeline] } 05:58:03 $ docker stop --time=1 75c87eac29d58d9df5f8a5e8bdee68f3f21880058fde7a143c5a186f4fc752c5 05:58:04 $ docker rm -f --volumes 75c87eac29d58d9df5f8a5e8bdee68f3f21880058fde7a143c5a186f4fc752c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:58:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:58:05 + ls -al . 05:58:05 total 212 05:58:05 drwxrwxr-x 9 jenkins jenkins 4096 Dec 19 05:57 . 05:58:05 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 05:56 .. 05:58:05 drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 05:57 .git 05:58:05 drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 05:56 .github 05:58:05 -rw-rw-r-- 1 jenkins jenkins 176 Dec 19 05:56 .gitignore 05:58:05 drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 05:57 .semver 05:58:05 -rw-rw-r-- 1 jenkins jenkins 2908 Dec 19 05:56 Attribution.txt 05:58:05 -rw-rw-r-- 1 jenkins jenkins 11953 Dec 19 05:56 CHANGELOG.md 05:58:05 -rw-rw-r-- 1 jenkins jenkins 108574 Dec 19 05:56 Doxyfile 05:58:05 -rw-rw-r-- 1 jenkins jenkins 677 Dec 19 05:56 GOVERNANCE.md 05:58:05 -rw-rw-r-- 1 jenkins jenkins 784 Dec 19 05:56 Jenkinsfile 05:58:05 -rw-rw-r-- 1 jenkins jenkins 10174 Dec 19 05:56 LICENSE 05:58:05 -rw-rw-r-- 1 jenkins jenkins 444 Dec 19 05:56 Makefile 05:58:05 -rw-rw-r-- 1 jenkins jenkins 618 Dec 19 05:56 OWNERS.md 05:58:05 -rw-rw-r-- 1 jenkins jenkins 1651 Dec 19 05:56 README.IOT.md 05:58:05 -rw-rw-r-- 1 jenkins jenkins 4173 Dec 19 05:56 README.md 05:58:05 -rw-rw-r-- 1 jenkins jenkins 1245 Dec 19 05:56 README.v3.md 05:58:05 -rw-rw-r-- 1 jenkins jenkins 5 Dec 19 05:57 VERSION 05:58:05 drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 05:56 docs 05:58:05 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 05:56 include 05:58:05 drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 05:56 scripts 05:58:05 drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 05:56 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:06 + 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=adaa8bf9886c2317242fda4f4c52fd6e41c2eb59 --label arch=amd64 --label version=0.0.0 . 05:58:06 Sending build context to Docker daemon 5.414MB 05:58:06 Step 1/18 : ARG BASE=alpine:3.18 05:58:06 Step 2/18 : FROM ${BASE} 05:58:06 ---> 1583c14d404c 05:58:06 Step 3/18 : LABEL maintainer="IOTech " 05:58:06 ---> Running in 31518ba05f99 05:58:06 Removing intermediate container 31518ba05f99 05:58:06 ---> c6a78a808940 05:58:06 Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 05:58:06 ---> Running in 1c1c0d25ed0a 05:58:06 Connecting to iotech.jfrog.io (34.246.139.145:443) 05:58:06 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 05:58:06 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 05:58:06 '/etc/apk/keys/alpine.dev.rsa.pub' saved 05:58:07 Removing intermediate container 1c1c0d25ed0a 05:58:07 ---> c2b9c4eee119 05:58:07 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 05:58:07 ---> Running in 5fa3812ea21f 05:58:07 Removing intermediate container 5fa3812ea21f 05:58:07 ---> d1c0aea9db56 05:58:07 Step 6/18 : 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 iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build 05:58:07 ---> Running in 529f303efe5f 05:58:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:58:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:58:08 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 05:58:09 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:58:09 (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) 05:58:09 (2/11) Installing libcbor-dev (0.10.2-r1) 05:58:09 (3/11) Installing libmenuw (6.4_p20230506-r0) 05:58:09 (4/11) Installing libpanelw (6.4_p20230506-r0) 05:58:09 (5/11) Installing libncurses++ (6.4_p20230506-r0) 05:58:09 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 05:58:09 (7/11) Installing libblkid (2.38.1-r8) 05:58:09 (8/11) Installing libfdisk (2.38.1-r8) 05:58:09 (9/11) Installing libmount (2.38.1-r8) 05:58:09 (10/11) Installing libsmartcols (2.38.1-r8) 05:58:09 (11/11) Installing util-linux-dev (2.38.1-r8) 05:58:09 Executing busybox-1.36.1-r7.trigger 05:58:09 OK: 336 MiB in 99 packages 05:58:09 Removing intermediate container 529f303efe5f 05:58:09 ---> b1a2c226185a 05:58:09 Step 7/18 : RUN apk --no-cache upgrade 05:58:09 ---> Running in 76286ffd281a 05:58:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 05:58:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 05:58:10 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 05:58:10 WARNING: This apk-tools is OLD! Some packages might not function properly. 05:58:10 OK: 336 MiB in 99 packages 05:58:11 Removing intermediate container 76286ffd281a 05:58:11 ---> 44bb9e82324b 05:58:11 Step 8/18 : COPY VERSION /edgex-c-sdk/ 05:58:11 ---> e7bc36e250ab 05:58:11 Step 9/18 : COPY src /edgex-c-sdk/src/ 05:58:11 ---> 7617747bad43 05:58:11 Step 10/18 : COPY include /edgex-c-sdk/include/ 05:58:11 ---> 42a3e81fbd65 05:58:11 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 05:58:12 ---> 5edab87cdaf9 05:58:12 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 05:58:12 ---> 77708b4063d5 05:58:12 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 05:58:12 ---> 82b494a203a7 05:58:12 Step 14/18 : WORKDIR /edgex-c-sdk 05:58:12 ---> Running in 69743e897f9a 05:58:12 Removing intermediate container 69743e897f9a 05:58:12 ---> f84b62f33ebc 05:58:12 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 05:58:12 ---> Running in a3c7e87b933b 05:58:12 Removing intermediate container a3c7e87b933b 05:58:12 ---> 202481c80963 05:58:12 Step 16/18 : LABEL arch=amd64 05:58:12 ---> Running in 3b73ee84d8a5 05:58:12 Removing intermediate container 3b73ee84d8a5 05:58:12 ---> 6ae9e4eadf62 05:58:12 Step 17/18 : LABEL git_sha=adaa8bf9886c2317242fda4f4c52fd6e41c2eb59 05:58:12 ---> Running in 5b1d9f296a33 05:58:12 Removing intermediate container 5b1d9f296a33 05:58:12 ---> 6398901afb5c 05:58:12 Step 18/18 : LABEL version=0.0.0 05:58:12 ---> Running in bdded55595c1 05:58:12 Removing intermediate container bdded55595c1 05:58:12 ---> 3ad344613e51 05:58:12 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:58:12 Successfully built 3ad344613e51 05:58:12 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:58:13 05:58:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:58:14 latest: Pulling from edgex-lftools-log-publisher 05:58:14 5eb5b503b376: Pulling fs layer 05:58:14 5c69ac0246d0: Pulling fs layer 05:58:14 ec43610c2a17: Pulling fs layer 05:58:14 3a2ae6a8a46f: Pulling fs layer 05:58:14 33b1e0a273af: Pulling fs layer 05:58:14 5d3b04190fa2: Pulling fs layer 05:58:14 2f39f015ded8: Pulling fs layer 05:58:14 33b1e0a273af: Waiting 05:58:14 5d3b04190fa2: Waiting 05:58:14 2f39f015ded8: Waiting 05:58:14 5c69ac0246d0: Verifying Checksum 05:58:14 5c69ac0246d0: Download complete 05:58:14 3a2ae6a8a46f: Download complete 05:58:14 33b1e0a273af: Verifying Checksum 05:58:14 33b1e0a273af: Download complete 05:58:14 5d3b04190fa2: Verifying Checksum 05:58:14 5d3b04190fa2: Download complete 05:58:14 ec43610c2a17: Verifying Checksum 05:58:14 ec43610c2a17: Download complete 05:58:14 5eb5b503b376: Verifying Checksum 05:58:14 5eb5b503b376: Download complete 05:58:14 2f39f015ded8: Download complete 05:58:15 5eb5b503b376: Pull complete 05:58:15 5c69ac0246d0: Pull complete 05:58:16 ec43610c2a17: Pull complete 05:58:16 3a2ae6a8a46f: Pull complete 05:58:16 33b1e0a273af: Pull complete 05:58:16 5d3b04190fa2: Pull complete 05:58:20 2f39f015ded8: Pull complete 05:58:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:58:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:58:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:21 prd-ubuntu20.04-docker-8c-8g-35372 does not seem to be running inside a container 05:58:21 $ 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-535 -v /w/workspace/edgexfoundry_device-sdk-c_PR-535:/w/workspace/edgexfoundry_device-sdk-c_PR-535:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-535@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-535@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 05:58:25 $ docker top 47718af9beb1dd64d0ead54106115396887ad10ca72b1984e9ceedb1ea2371eb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:26 ---> job-cost.sh 05:58:26 lf-activate-venv: SKIPPING 05:58:26 INFO: No Stack... 05:58:26 INFO: Retrieving Pricing Info for: v3-standard-8 05:58:26 INFO: Archiving Costs [Pipeline] sh 05:58:27 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-535/archives/cost.csv 05:58:27 + cut -d, -f6 [Pipeline] lock 05:58:27 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-535-1-stack-cost] 05:58:27 Resource [jenkins-edgexfoundry-device-sdk-c-PR-535-1-stack-cost] did not exist. Created. 05:58:27 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-535-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:58:27 + echo total: 0.2199999988079071 [Pipeline] stash 05:58:27 Stashed 1 file(s) [Pipeline] } 05:58:27 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-535-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:58:27 $ docker stop --time=1 47718af9beb1dd64d0ead54106115396887ad10ca72b1984e9ceedb1ea2371eb 05:58:29 $ docker rm -f --volumes 47718af9beb1dd64d0ead54106115396887ad10ca72b1984e9ceedb1ea2371eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:58:30 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-535/archives ] 05:58:30 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-535/archives 05:58:30 total 16 05:58:30 drwxr-xr-x 3 root root 4096 Dec 19 05:58 . 05:58:30 drwxrwxr-x 10 jenkins jenkins 4096 Dec 19 05:58 .. 05:58:30 drwxr-xr-x 2 root root 4096 Dec 19 05:58 cost 05:58:30 -rw-r--r-- 1 root root 84 Dec 19 05:58 cost.csv 05:58:30 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-535/archives 05:58:30 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-535/archives 05:58:30 total 16 05:58:30 drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 05:58 . 05:58:30 drwxrwxr-x 10 jenkins jenkins 4096 Dec 19 05:58 .. 05:58:30 drwxr-xr-x 2 jenkins jenkins 4096 Dec 19 05:58 cost 05:58:30 -rw-r--r-- 1 jenkins jenkins 84 Dec 19 05:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:58:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:58:31 ---> package-listing.sh 05:58:31 ++ facter osfamily 05:58:31 ++ tr '[:upper:]' '[:lower:]' 05:58:32 + OS_FAMILY=debian 05:58:32 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-535 05:58:32 + START_PACKAGES=/tmp/packages_start.txt 05:58:32 + END_PACKAGES=/tmp/packages_end.txt 05:58:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:58:32 + PACKAGES=/tmp/packages_start.txt 05:58:32 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-535 ']' 05:58:32 + PACKAGES=/tmp/packages_end.txt 05:58:32 + case "${OS_FAMILY}" in 05:58:32 + dpkg -l 05:58:32 + grep '^ii' 05:58:32 + '[' -f /tmp/packages_start.txt ']' 05:58:32 + '[' -f /tmp/packages_end.txt ']' 05:58:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:58:32 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-535 ']' 05:58:32 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-535/archives/ 05:58:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-535/archives/ [Pipeline] echo 05:58:32 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-535/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:58:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:58:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:33 prd-ubuntu20.04-docker-8c-8g-35372 does not seem to be running inside a container 05:58:33 $ 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-535/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-535 -v /w/workspace/edgexfoundry_device-sdk-c_PR-535:/w/workspace/edgexfoundry_device-sdk-c_PR-535:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-535@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-535@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:58:33 $ docker top f2a09b09e7a7e3e0c9ac53c7b61645ae35d3d7dc53155622ea5a55f1ba40b98d -eo pid,comm [Pipeline] { [Pipeline] sh 05:58:34 + touch /tmp/pre-build-complete [Pipeline] sh 05:58:34 + mkdir -p /var/log/sysstat [Pipeline] sh 05:58:34 + ls /var/log/sa-host 05:58:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:58:34 provisioning config files... 05:58:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-535@tmp/config3267078839776958486tmp [Pipeline] { [Pipeline] echo 05:58:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:58:35 ---> create-netrc.sh [Pipeline] } 05:58:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:58:35 ---> python-tools-install.sh [Pipeline] echo 05:58:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:58:36 ---> sudo-logs.sh 05:58:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:58:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:58:36 ---> job-cost.sh 05:58:36 lf-activate-venv: SKIPPING 05:58:36 DEBUG: total: 0.2199999988079071 05:58:36 INFO: Retrieving Stack Cost... 05:58:36 INFO: Retrieving Pricing Info for: v3-standard-8 05:58:36 INFO: Archiving Costs [Pipeline] echo 05:58:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:58:37 ---> logs-deploy.sh 05:58:37 lf-activate-venv: SKIPPING 05:58:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-535/1 05:58:37 INFO: archiving workspace using pattern(s): 05:58:38 Archives upload complete. 05:58:38 INFO: archiving logs to Nexus