Pull request #544 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 5244bbe1b55ad690cbdd5ffcbaa63ea04e455d7f+04baba30f483478ca9ff7e8172d483ced2db8b32 (49759da0610a05160cd71447ede70cb18d63fecf) 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-ssh11528441073284106620.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-ssh11473418040492678780.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-544/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-544/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15230567761747278913.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-544/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18292302038821119130.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-ssh4386332454706063405.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-544/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-544/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15364881493935015328.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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-38571 in /w/workspace/edgexfoundry_device-sdk-c_PR-544 [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-544 # 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/544/head:refs/remotes/origin/PR-544 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 04baba30f483478ca9ff7e8172d483ced2db8b32 into PR head commit 5244bbe1b55ad690cbdd5ffcbaa63ea04e455d7f Merge succeeded, producing 5244bbe1b55ad690cbdd5ffcbaa63ea04e455d7f Checking out Revision 5244bbe1b55ad690cbdd5ffcbaa63ea04e455d7f (PR-544) > git config core.sparsecheckout # timeout=10 > git checkout -f 5244bbe1b55ad690cbdd5ffcbaa63ea04e455d7f # 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 04baba30f483478ca9ff7e8172d483ced2db8b32 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5244bbe1b55ad690cbdd5ffcbaa63ea04e455d7f # timeout=10 Commit message: "fix: Correct map iteration in protocols_convert function" 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 01:45:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:45:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:45:46 ========================================================= 01:45:46 EdgeX Global Pipelines Version Info 01:45:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:45:47 ------------------- 01:45:47 stable info: 01:45:47 ------------------- 01:45:47 Commited By: Cherry Wang cherry@iotechsys.com 01:45:47 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 01:45:47 Message: update stable to v1.0.269 01:45:47 ------------------- 01:45:47 experimental info: 01:45:47 ------------------- 01:45:47 Commited By: **** collab-it+edgex@linuxfoundation.org 01:45:47 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 01:45:47 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:45:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 01:45:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 01:45:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-544 [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-544 [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-544 [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5244bbe1b55ad690cbdd5ffcbaa63ea04e455d7f [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5244bbe [Pipeline] echo 01:45:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:45:49 provisioning config files... 01:45:49 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-544@tmp/config18195030537553415728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:45:49 ---> ****-login.sh 01:45:49 nexus3.edgexfoundry.org:10001 01:45:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:45:49 Configure a credential helper to remove this warning. See 01:45:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:45:49 01:45:49 Login Succeeded 01:45:49 nexus3.edgexfoundry.org:10002 01:45:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:45:50 Configure a credential helper to remove this warning. See 01:45:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:45:50 01:45:50 Login Succeeded 01:45:50 nexus3.edgexfoundry.org:10003 01:45:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:45:50 Configure a credential helper to remove this warning. See 01:45:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:45:50 01:45:50 Login Succeeded 01:45:50 nexus3.edgexfoundry.org:10004 01:45:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:45:50 Configure a credential helper to remove this warning. See 01:45:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:45:50 01:45:50 Login Succeeded 01:45:50 ****.io 01:45:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:45:50 Configure a credential helper to remove this warning. See 01:45:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:45:50 01:45:50 Login Succeeded 01:45:50 ---> ****-login.sh ends [Pipeline] } 01:45:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 01:45:51 + git rev-list -1 --merges 5244bbe1b55ad690cbdd5ffcbaa63ea04e455d7f~1..5244bbe1b55ad690cbdd5ffcbaa63ea04e455d7f [Pipeline] echo 01:45:51 -----------> git rev-list -1 --merges 5244bbe1b55ad690cbdd5ffcbaa63ea04e455d7f~1..5244bbe1b55ad690cbdd5ffcbaa63ea04e455d7f 5244bbe1b55ad690cbdd5ffcbaa63ea04e455d7f [false] [Pipeline] sh 01:45:51 + git log --format=format:%s -1 5244bbe1b55ad690cbdd5ffcbaa63ea04e455d7f [Pipeline] echo 01:45:51 ========================================================= 01:45:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:45: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 01:45:52 + git rev-list -1 --merges 5244bbe1b55ad690cbdd5ffcbaa63ea04e455d7f~1..5244bbe1b55ad690cbdd5ffcbaa63ea04e455d7f [Pipeline] echo 01:45:52 -----------> git rev-list -1 --merges 5244bbe1b55ad690cbdd5ffcbaa63ea04e455d7f~1..5244bbe1b55ad690cbdd5ffcbaa63ea04e455d7f 5244bbe1b55ad690cbdd5ffcbaa63ea04e455d7f [false] [Pipeline] sh 01:45:52 + git log --format=format:%s -1 5244bbe1b55ad690cbdd5ffcbaa63ea04e455d7f [Pipeline] echo 01:45:52 ========================================================= 01:45:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:45:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 01:45:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:45:53 + grep -v github /etc/ssh/ssh_known_hosts 01:45:53 + [ -e /tmp/ssh_known_hosts ] 01:45:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:45:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:45:53 + sudo tee -a /etc/ssh/ssh_known_hosts 01:45:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:45:53 01:45:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:45:54 0.1.4: Pulling from edgex-devops/py-git-semver 01:45:54 b85a868b505f: Pulling fs layer 01:45:54 e2be974225ed: Pulling fs layer 01:45:54 339a4e72a1f5: Pulling fs layer 01:45:54 988bab9f4d93: Pulling fs layer 01:45:54 1469e6f7b9e6: Pulling fs layer 01:45:54 eaf3925da568: Pulling fs layer 01:45:54 bab4dde63d76: Pulling fs layer 01:45:54 bde34c3a00c8: Pulling fs layer 01:45:54 b352a97aabf1: Pulling fs layer 01:45:54 4872d77fe225: Pulling fs layer 01:45:54 5851b861e8e6: Pulling fs layer 01:45:54 988bab9f4d93: Waiting 01:45:54 bab4dde63d76: Waiting 01:45:54 eaf3925da568: Waiting 01:45:54 5851b861e8e6: Waiting 01:45:54 bde34c3a00c8: Waiting 01:45:54 e2be974225ed: Verifying Checksum 01:45:54 e2be974225ed: Download complete 01:45:54 988bab9f4d93: Verifying Checksum 01:45:54 988bab9f4d93: Download complete 01:45:54 1469e6f7b9e6: Verifying Checksum 01:45:54 1469e6f7b9e6: Download complete 01:45:54 339a4e72a1f5: Verifying Checksum 01:45:54 339a4e72a1f5: Download complete 01:45:54 eaf3925da568: Verifying Checksum 01:45:54 eaf3925da568: Download complete 01:45:54 bde34c3a00c8: Download complete 01:45:54 b352a97aabf1: Download complete 01:45:54 5851b861e8e6: Download complete 01:45:54 b85a868b505f: Verifying Checksum 01:45:54 b85a868b505f: Download complete 01:45:54 bab4dde63d76: Verifying Checksum 01:45:54 bab4dde63d76: Download complete 01:45:55 b85a868b505f: Pull complete 01:45:56 e2be974225ed: Pull complete 01:45:56 339a4e72a1f5: Pull complete 01:45:56 988bab9f4d93: Pull complete 01:45:56 1469e6f7b9e6: Pull complete 01:45:56 eaf3925da568: Pull complete 01:45:58 bab4dde63d76: Pull complete 01:45:58 bde34c3a00c8: Pull complete 01:45:58 b352a97aabf1: Pull complete 01:45:59 4872d77fe225: Pull complete 01:45:59 5851b861e8e6: Pull complete 01:45:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:45:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:45:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:45:59 prd-ubuntu20.04-docker-8c-8g-38571 does not seem to be running inside a container 01:45:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-544 -v /w/workspace/edgexfoundry_device-sdk-c_PR-544:/w/workspace/edgexfoundry_device-sdk-c_PR-544:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-544@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-544@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 01:46:03 $ docker top 9a0bbd7f1f71ab48fee9905e6bdc6cbf6287090369a507341811c949333726d9 -eo pid,comm 01:46:03 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). 01:46:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:46:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:46:03 [ssh-agent] Looking for ssh-agent implementation... 01:46:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:46:03 $ docker exec 9a0bbd7f1f71ab48fee9905e6bdc6cbf6287090369a507341811c949333726d9 ssh-agent 01:46:03 SSH_AUTH_SOCK=/tmp/ssh-eoZSs8g5fSXC/agent.33 01:46:03 SSH_AGENT_PID=39 01:46:03 Running ssh-add (command line suppressed) 01:46:03 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-544@tmp/private_key_18086069201667249715.key (/w/workspace/edgexfoundry_device-sdk-c_PR-544@tmp/private_key_18086069201667249715.key) 01:46:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:46:03 + git tag --points-at HEAD [Pipeline] } 01:46:04 $ docker exec --env ******** --env ******** 9a0bbd7f1f71ab48fee9905e6bdc6cbf6287090369a507341811c949333726d9 ssh-agent -k 01:46:04 unset SSH_AUTH_SOCK; 01:46:04 unset SSH_AGENT_PID; 01:46:04 echo Agent pid 39 killed; 01:46:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:46:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:46:04 [ssh-agent] Looking for ssh-agent implementation... 01:46:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:46:04 $ docker exec 9a0bbd7f1f71ab48fee9905e6bdc6cbf6287090369a507341811c949333726d9 ssh-agent 01:46:04 SSH_AUTH_SOCK=/tmp/ssh-LRLtID5YYOQA/agent.72 01:46:04 SSH_AGENT_PID=78 01:46:04 Running ssh-add (command line suppressed) 01:46:04 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-544@tmp/private_key_14047376873052679992.key (/w/workspace/edgexfoundry_device-sdk-c_PR-544@tmp/private_key_14047376873052679992.key) 01:46:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:46:04 + git semver init 01:46:05 2025-02-11 01:46:05,050 [run_init] DEBUG init version:0.0.0 force:False 01:46:05 2025-02-11 01:46:05,051 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-544/.semver 01:46:05 2025-02-11 01:46:05,051 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-544/.semver 01:46:05 2025-02-11 01:46:05,051 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-544/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-544, universal_newlines=False, shell=None, istream=None) 01:46:06 2025-02-11 01:46:05,864 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-544/.git/info/exclude 01:46:06 2025-02-11 01:46:05,864 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-544/.semver/PR-544 with force:False 01:46:06 2025-02-11 01:46:05,864 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-544/.semver/PR-544 01:46:06 2025-02-11 01:46:05,868 [execute] INFO git cat-file --batch-check 01:46:06 2025-02-11 01:46:05,869 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-544/.semver, universal_newlines=False, shell=None, istream=) 01:46:06 2025-02-11 01:46:05,875 [execute] INFO git cat-file --batch 01:46:06 2025-02-11 01:46:05,876 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-544/.semver, universal_newlines=False, shell=None, istream=) 01:46:06 2025-02-11 01:46:05,880 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-544/.semver/PR-544 01:46:06 0.0.0 [Pipeline] } 01:46:06 $ docker exec --env ******** --env ******** 9a0bbd7f1f71ab48fee9905e6bdc6cbf6287090369a507341811c949333726d9 ssh-agent -k 01:46:06 unset SSH_AUTH_SOCK; 01:46:06 unset SSH_AGENT_PID; 01:46:06 echo Agent pid 78 killed; 01:46:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:46:06 + git semver [Pipeline] } 01:46:06 $ docker stop --time=1 9a0bbd7f1f71ab48fee9905e6bdc6cbf6287090369a507341811c949333726d9 01:46:08 $ docker rm -f --volumes 9a0bbd7f1f71ab48fee9905e6bdc6cbf6287090369a507341811c949333726d9 [Pipeline] // withDockerContainer [Pipeline] sh 01:46:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:46:08 Stashed 1 file(s) [Pipeline] echo 01:46:08 [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 01:46:09 provisioning config files... 01:46:09 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-544@tmp/config626821917643182736tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 01:46:10 ---> ****-login.sh 01:46:10 nexus3.edgexfoundry.org:10001 01:46:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:46:10 Configure a credential helper to remove this warning. See 01:46:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:46:10 01:46:10 Login Succeeded 01:46:10 nexus3.edgexfoundry.org:10002 01:46:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:46:10 Configure a credential helper to remove this warning. See 01:46:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:46:10 01:46:10 Login Succeeded 01:46:10 nexus3.edgexfoundry.org:10003 01:46:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:46:10 Configure a credential helper to remove this warning. See 01:46:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:46:10 01:46:10 Login Succeeded 01:46:10 nexus3.edgexfoundry.org:10004 01:46:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:46:10 Configure a credential helper to remove this warning. See 01:46:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:46:10 01:46:10 Login Succeeded 01:46:10 ****.io 01:46:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:46:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:46:10 Configure a credential helper to remove this warning. See 01:46:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:46:10 01:46:10 Login Succeeded 01:46:10 ---> ****-login.sh ends [Pipeline] } 01:46:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:46:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:46:11 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 01:46:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:46:11 ========================================================= 01:46:11 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 01:46:11 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:11 + 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 . 01:46:11 Sending build context to Docker daemon 5.464MB 01:46:11 Step 1/22 : ARG BASE=alpine:3.18 01:46:11 Step 2/22 : FROM ${BASE} as builder 01:46:11 latest: Pulling from edgex-devops/edgex-gcc-base 01:46:11 96526aa774ef: Pulling fs layer 01:46:11 da60e534fd72: Pulling fs layer 01:46:11 96526aa774ef: Verifying Checksum 01:46:11 96526aa774ef: Download complete 01:46:11 96526aa774ef: Pull complete 01:46:12 da60e534fd72: Verifying Checksum 01:46:12 da60e534fd72: Download complete 01:46:15 da60e534fd72: Pull complete 01:46:15 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 01:46:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 01:46:15 ---> 6605166a5db4 01:46:15 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 01:46:19 ---> Running in 589468d25190 01:46:19 Connecting to iotech.jfrog.io (34.247.22.236:443) 01:46:19 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:46:19 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:46:19 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:46:19 Removing intermediate container 589468d25190 01:46:19 ---> c225c1517122 01:46:19 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 01:46:19 ---> Running in 386c993c369b 01:46:20 Removing intermediate container 386c993c369b 01:46:20 ---> 330242f46ee9 01:46:20 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 01:46:20 ---> Running in 78a1dd13f218 01:46:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:46:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:46:21 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 01:46:21 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:46:21 (1/15) Installing libcbor (0.10.2-r1) 01:46:21 (2/15) Installing iotech-iot-1.5 (1.5.5-r0) 01:46:22 (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) 01:46:22 (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 01:46:22 (5/15) Installing libcbor-dev (0.10.2-r1) 01:46:22 (6/15) Installing libmenuw (6.4_p20230506-r0) 01:46:22 (7/15) Installing libpanelw (6.4_p20230506-r0) 01:46:22 (8/15) Installing libncurses++ (6.4_p20230506-r0) 01:46:22 (9/15) Installing ncurses-dev (6.4_p20230506-r0) 01:46:22 (10/15) Installing libblkid (2.38.1-r8) 01:46:22 (11/15) Installing libuuid (2.38.1-r8) 01:46:22 (12/15) Installing libfdisk (2.38.1-r8) 01:46:22 (13/15) Installing libmount (2.38.1-r8) 01:46:22 (14/15) Installing libsmartcols (2.38.1-r8) 01:46:22 (15/15) Installing util-linux-dev (2.38.1-r8) 01:46:22 Executing busybox-1.36.1-r4.trigger 01:46:22 OK: 336 MiB in 97 packages 01:46:23 Removing intermediate container 78a1dd13f218 01:46:23 ---> be8c9c789787 01:46:23 Step 6/22 : RUN mkdir /tmp/sdk 01:46:23 ---> Running in 7b38736d766d 01:46:24 Removing intermediate container 7b38736d766d 01:46:24 ---> 2dc49eb07a9f 01:46:24 Step 7/22 : COPY VERSION /tmp/sdk 01:46:24 ---> 9841090ea1ad 01:46:24 Step 8/22 : COPY src /tmp/sdk/src 01:46:24 ---> b3deed0a493c 01:46:24 Step 9/22 : COPY include /tmp/sdk/include 01:46:25 ---> 41686fd1918c 01:46:25 Step 10/22 : COPY scripts /tmp/sdk/scripts 01:46:25 ---> 5ea681f96549 01:46:25 Step 11/22 : COPY LICENSE /tmp/sdk 01:46:25 ---> 83fd3f3a0aaf 01:46:25 Step 12/22 : COPY Attribution.txt /tmp/sdk 01:46:25 ---> 8d16fd9b3afd 01:46:25 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 01:46:25 ---> Running in cef6c08d6799 01:46:25 + CPPCHECK=false 01:46:25 + DOCGEN=false 01:46:25 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 01:46:25 + '[' 0 -gt 0 ] 01:46:25 + readlink -f ./scripts/build.sh 01:46:25 + dirname /tmp/sdk/scripts/build.sh 01:46:25 + dirname /tmp/sdk/scripts 01:46:25 + ROOT=/tmp/sdk 01:46:25 + cd /tmp/sdk 01:46:25 + mkdir -p /tmp/sdk/build/release 01:46:25 + cd /tmp/sdk/build/release 01:46:25 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 01:46:25 -- The C compiler identification is GNU 12.2.1 01:46:25 -- Detecting C compiler ABI info 01:46:25 -- Detecting C compiler ABI info - done 01:46:25 -- Check for working C compiler: /usr/bin/cc - skipped 01:46:25 -- Detecting C compile features 01:46:25 -- Detecting C compile features - done 01:46:25 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 01:46:25 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 01:46:25 -- Found LIBYAML: /usr/lib/libyaml.so 01:46:25 -- Found LIBUUID: /usr/lib/libuuid.so 01:46:25 -- Found LIBCBOR: /usr/lib/libcbor.so 01:46:25 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 01:46:25 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 01:46:25 -- /opt/iotech/iot/1.5/include 01:46:25 -- C SDK 0.0.0 for Linux 01:46:25 -- Performing Test CSDK_HAVE_ATOMIC 01:46:26 -- Performing Test CSDK_HAVE_ATOMIC - Success 01:46:26 -- Found Curses: /usr/lib/libcurses.so 01:46:26 -- Configuring done (0.4s) 01:46:26 -- Generating done (0.0s) 01:46:26 -- Build files have been written to: /tmp/sdk/build/release 01:46:26 + make all package 01:46:26 + tee release.log 01:46:26 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 01:46:26 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 01:46:26 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 01:46:26 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 01:46:26 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 01:46:26 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 01:46:27 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 01:46:27 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 01:46:27 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 01:46:27 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 01:46:27 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 01:46:27 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 01:46:27 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 01:46:28 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 01:46:28 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 01:46:28 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 01:46:28 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 01:46:28 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 01:46:28 from /tmp/sdk/src/c/registry.h:14, 01:46:28 from /tmp/sdk/src/c/registry-impl.h:12, 01:46:28 from /tmp/sdk/src/c/keeper.h:12, 01:46:28 from /tmp/sdk/src/c/keeper.c:4: 01:46:28 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 01:46:28 /tmp/sdk/src/c/keeper.c:121:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 01:46:28 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 01:46:28 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 01:46:28 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 01:46:28 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 01:46:28 | ^~~~~~~~~~~ 01:46:28 /tmp/sdk/src/c/keeper.c:121:55: note: format string is defined here 01:46:28 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 01:46:28 | ~^ 01:46:28 | | 01:46:28 | char * 01:46:28 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 01:46:28 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 01:46:28 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 01:46:29 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 01:46:30 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 01:46:30 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 01:46:30 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 01:46:30 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 01:46:30 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 01:46:30 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 01:46:30 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 01:46:31 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 01:46:31 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 01:46:31 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 01:46:31 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 01:46:31 /tmp/sdk/src/c/service.c:1063:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 01:46:31 1063 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 01:46:31 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 01:46:31 /tmp/sdk/src/c/service.c:875:21: note: 'deviceservices_config' was declared here 01:46:31 875 | const iot_data_t *deviceservices_config; 01:46:31 | ^~~~~~~~~~~~~~~~~~~~~ 01:46:31 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 01:46:31 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 01:46:32 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 01:46:32 [ 68%] Linking C shared library libcsdk.so 01:46:32 [ 68%] Built target csdk 01:46:32 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 01:46:32 [ 72%] Linking C executable template 01:46:32 [ 72%] Built target template 01:46:32 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 01:46:32 [ 76%] Linking C executable device-counter 01:46:32 [ 76%] Built target device-counter 01:46:32 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 01:46:32 [ 80%] Linking C executable device-random 01:46:32 [ 80%] Built target device-random 01:46:32 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 01:46:32 [ 84%] Linking C executable device-gyro 01:46:32 [ 84%] Built target device-gyro 01:46:32 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 01:46:32 [ 88%] Linking C executable device-bitfields 01:46:33 [ 88%] Built target device-bitfields 01:46:33 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 01:46:33 [ 92%] Linking C executable template-discovery 01:46:33 [ 92%] Built target template-discovery 01:46:33 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 01:46:33 [ 96%] Linking C executable device-file 01:46:33 [ 96%] Built target device-file 01:46:33 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 01:46:33 [100%] Linking C executable device-terminal 01:46:33 [100%] Built target device-terminal 01:46:33 Run CPack packaging tool... 01:46:33 CPack: Create package using TGZ 01:46:33 CPack: Install projects 01:46:33 CPack: - Run preinstall target for: Csdk 01:46:33 CPack: - Install project: Csdk [] 01:46:33 CPack: Create package 01:46:33 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 01:46:33 + '[' false '=' true ] 01:46:33 + '[' false '=' true ] 01:46:33 + mkdir -p /tmp/sdk/build/debug 01:46:33 + cd /tmp/sdk/build/debug 01:46:33 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 01:46:34 -- The C compiler identification is GNU 12.2.1 01:46:34 -- Detecting C compiler ABI info 01:46:34 -- Detecting C compiler ABI info - done 01:46:34 -- Check for working C compiler: /usr/bin/cc - skipped 01:46:34 -- Detecting C compile features 01:46:34 -- Detecting C compile features - done 01:46:34 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 01:46:34 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 01:46:34 -- Found LIBYAML: /usr/lib/libyaml.so 01:46:34 -- Found LIBUUID: /usr/lib/libuuid.so 01:46:34 -- Found LIBCBOR: /usr/lib/libcbor.so 01:46:34 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 01:46:34 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 01:46:34 -- /opt/iotech/iot/1.5/include 01:46:34 -- C SDK 0.0.0 for Linux 01:46:34 -- Performing Test CSDK_HAVE_ATOMIC 01:46:34 -- Performing Test CSDK_HAVE_ATOMIC - Success 01:46:34 -- Found Curses: /usr/lib/libcurses.so 01:46:34 -- Configuring done (0.4s) 01:46:34 -- Generating done (0.0s) 01:46:34 -- Build files have been written to: /tmp/sdk/build/debug 01:46:34 + make 01:46:34 + tee debug.log 01:46:34 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 01:46:34 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 01:46:34 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 01:46:34 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 01:46:34 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 01:46:34 [ 11%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 01:46:34 [ 13%] Building C object c/CMakeFiles/csdk.dir/data.c.o 01:46:34 [ 15%] Building C object c/CMakeFiles/csdk.dir/device.c.o 01:46:35 [ 17%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 01:46:35 [ 19%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 01:46:35 [ 21%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 01:46:35 [ 23%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 01:46:35 [ 25%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 01:46:35 [ 27%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 01:46:35 [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 01:46:35 [ 31%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 01:46:35 [ 33%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 01:46:35 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 01:46:35 from /tmp/sdk/src/c/registry.h:14, 01:46:35 from /tmp/sdk/src/c/registry-impl.h:12, 01:46:35 from /tmp/sdk/src/c/keeper.h:12, 01:46:35 from /tmp/sdk/src/c/keeper.c:4: 01:46:35 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 01:46:35 /tmp/sdk/src/c/keeper.c:121:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 01:46:35 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 01:46:35 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 01:46:35 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 01:46:35 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 01:46:35 | ^~~~~~~~~~~ 01:46:35 /tmp/sdk/src/c/keeper.c:121:55: note: format string is defined here 01:46:35 121 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 01:46:35 | ~^ 01:46:35 | | 01:46:35 | char * 01:46:35 [ 35%] Building C object c/CMakeFiles/csdk.dir/map.c.o 01:46:35 [ 37%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 01:46:35 [ 39%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 01:46:35 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 01:46:36 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 01:46:36 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 01:46:36 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 01:46:36 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 01:46:36 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 01:46:36 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 01:46:36 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 01:46:36 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 01:46:36 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 01:46:36 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 01:46:36 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 01:46:37 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 01:46:37 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 01:46:37 [ 68%] Linking C shared library libcsdk.so 01:46:37 [ 68%] Built target csdk 01:46:37 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 01:46:37 [ 72%] Linking C executable template 01:46:37 [ 72%] Built target template 01:46:37 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 01:46:37 [ 76%] Linking C executable device-counter 01:46:37 [ 76%] Built target device-counter 01:46:37 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 01:46:37 [ 80%] Linking C executable device-random 01:46:37 [ 80%] Built target device-random 01:46:37 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 01:46:37 [ 84%] Linking C executable device-gyro 01:46:38 [ 84%] Built target device-gyro 01:46:38 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 01:46:38 [ 88%] Linking C executable device-bitfields 01:46:38 [ 88%] Built target device-bitfields 01:46:38 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 01:46:38 [ 92%] Linking C executable template-discovery 01:46:38 [ 92%] Built target template-discovery 01:46:38 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 01:46:38 [ 96%] Linking C executable device-file 01:46:38 [ 96%] Built target device-file 01:46:38 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 01:46:38 [100%] Linking C executable device-terminal 01:46:38 [100%] Built target device-terminal 01:46:38 make: Entering directory '/tmp/sdk/build/release' 01:46:38 [ 68%] Built target csdk 01:46:38 [ 72%] Built target template 01:46:38 [ 76%] Built target device-counter 01:46:38 [ 80%] Built target device-random 01:46:38 [ 84%] Built target device-gyro 01:46:38 [ 88%] Built target device-bitfields 01:46:38 [ 92%] Built target template-discovery 01:46:38 [ 96%] Built target device-file 01:46:38 [100%] Built target device-terminal 01:46:38 Install the project... 01:46:38 -- Install configuration: "Release" 01:46:38 -- Installing: /usr/local/lib/libcsdk.so 01:46:38 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 01:46:38 -- Installing: /usr/local/include 01:46:38 -- Installing: /usr/local/include/devsdk 01:46:38 -- Installing: /usr/local/include/devsdk/devsdk.h 01:46:38 -- Installing: /usr/local/include/devsdk/devsdk-base.h 01:46:38 -- Installing: /usr/local/include/edgex 01:46:38 -- Installing: /usr/local/include/edgex/edgex.h 01:46:38 -- Installing: /usr/local/include/edgex/devices.h 01:46:38 -- Installing: /usr/local/include/edgex/profiles.h 01:46:38 -- Installing: /usr/local/include/edgex/edgex-base.h 01:46:38 -- Installing: /usr/local/include/edgex/rest-server.h 01:46:38 -- Installing: /usr/local/include/edgex/csdk-defs.h 01:46:38 -- Installing: /usr/local/share/device-sdk-c/LICENSE 01:46:38 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 01:46:38 make: Leaving directory '/tmp/sdk/build/release' 01:46:39 Removing intermediate container cef6c08d6799 01:46:39 ---> 072eb8edd08c 01:46:39 Step 14/22 : FROM ${BASE} 01:46:39 ---> 6605166a5db4 01:46:39 Step 15/22 : LABEL maintainer="IOTech " 01:46:39 ---> Running in 66654f1be189 01:46:39 Removing intermediate container 66654f1be189 01:46:39 ---> 9af59a072e43 01:46:39 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 01:46:39 ---> Running in e8e4892dd3f4 01:46:40 Connecting to iotech.jfrog.io (34.246.139.145:443) 01:46:40 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:46:40 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:46:40 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:46:40 Removing intermediate container e8e4892dd3f4 01:46:40 ---> 984d867bc2ef 01:46:40 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 01:46:40 ---> Running in 8ff7511b2749 01:46:41 Removing intermediate container 8ff7511b2749 01:46:41 ---> c466e3ebe251 01:46:41 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 01:46:41 ---> Running in a4d124006b7a 01:46:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:46:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:46:42 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 01:46:42 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:46:42 (1/11) Installing libpsl (0.21.5-r0) 01:46:42 (2/11) Upgrading libcurl (8.4.0-r0 -> 8.11.1-r1) 01:46:42 (3/11) Installing curl (8.11.1-r1) 01:46:42 (4/11) Installing libpsl-utils (0.21.5-r0) 01:46:42 (5/11) Installing libpsl-dev (0.21.5-r0) 01:46:42 (6/11) Upgrading curl-dev (8.4.0-r0 -> 8.11.1-r1) 01:46:42 (7/11) Installing dumb-init (1.2.5-r2) 01:46:43 (8/11) Installing libcbor (0.10.2-r1) 01:46:43 (9/11) Installing iotech-iot-1.5 (1.5.5-r0) 01:46:43 (10/11) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 01:46:44 (11/11) Installing libuuid (2.38.1-r8) 01:46:44 Executing busybox-1.36.1-r4.trigger 01:46:44 OK: 331 MiB in 91 packages 01:46:44 Removing intermediate container a4d124006b7a 01:46:44 ---> 5fe3c0d35fc1 01:46:44 Step 19/22 : RUN apk --no-cache upgrade 01:46:44 ---> Running in 7aea3236ba27 01:46:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:46:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:46:45 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 01:46:45 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:46:45 Upgrading critical system libraries and apk-tools: 01:46:45 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 01:46:45 Executing busybox-1.36.1-r4.trigger 01:46:45 Continuing the upgrade transaction with new apk-tools: 01:46:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:46:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:46:46 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 01:46:46 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:46:46 (1/17) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 01:46:46 Executing busybox-1.36.1-r7.post-upgrade 01:46:46 (2/17) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 01:46:46 (3/17) Upgrading ca-certificates-bundle (20230506-r0 -> 20241121-r1) 01:46:46 (4/17) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 01:46:46 (5/17) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 01:46:46 (6/17) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 01:46:46 (7/17) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 01:46:46 (8/17) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 01:46:46 (9/17) Upgrading ca-certificates (20230506-r0 -> 20241121-r1) 01:46:46 (10/17) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 01:46:46 (11/17) Upgrading git (2.40.1-r0 -> 2.40.4-r0) 01:46:46 (12/17) Upgrading libtasn1 (4.19.0-r1 -> 4.20.0-r0) 01:46:46 (13/17) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 01:46:46 (14/17) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 01:46:46 (15/17) Upgrading libtasn1-progs (4.19.0-r1 -> 4.20.0-r0) 01:46:47 (16/17) Upgrading libtasn1-dev (4.19.0-r1 -> 4.20.0-r0) 01:46:47 (17/17) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 01:46:47 Executing busybox-1.36.1-r7.trigger 01:46:47 Executing ca-certificates-20241121-r1.trigger 01:46:47 OK: 331 MiB in 91 packages 01:46:48 Removing intermediate container 7aea3236ba27 01:46:48 ---> 0adaa10324f4 01:46:48 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 01:46:48 ---> 43889bbd4e38 01:46:48 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 01:46:48 ---> 3cbeced6c812 01:46:48 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 01:46:48 ---> da9ced959de6 01:46:48 Successfully built da9ced959de6 01:46:48 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 01:46:50 + docker inspect -f . ci-base-image-x86_64 01:46:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:46:50 prd-ubuntu20.04-docker-8c-8g-38571 does not seem to be running inside a container 01:46:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-544 -v /w/workspace/edgexfoundry_device-sdk-c_PR-544:/w/workspace/edgexfoundry_device-sdk-c_PR-544:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-544@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-544@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 01:46:50 $ docker top bef4ee4d42a1d78f81af0688d7bb7f28a02201cdff40b54f537bdb1188b16f56 -eo pid,comm [Pipeline] { [Pipeline] sh 01:46:52 + make test 01:46:52 echo "make test" 01:46:52 make test [Pipeline] } 01:46:52 $ docker stop --time=1 bef4ee4d42a1d78f81af0688d7bb7f28a02201cdff40b54f537bdb1188b16f56 01:46:54 $ docker rm -f --volumes bef4ee4d42a1d78f81af0688d7bb7f28a02201cdff40b54f537bdb1188b16f56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:46:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:46:55 + ls -al . 01:46:55 total 212 01:46:55 drwxrwxr-x 9 jenkins jenkins 4096 Feb 11 01:46 . 01:46:55 drwxrwxr-x 4 jenkins jenkins 4096 Feb 11 01:45 .. 01:46:55 drwxrwxr-x 8 jenkins jenkins 4096 Feb 11 01:46 .git 01:46:55 drwxrwxr-x 3 jenkins jenkins 4096 Feb 11 01:45 .github 01:46:55 -rw-rw-r-- 1 jenkins jenkins 176 Feb 11 01:45 .gitignore 01:46:55 drwxr-xr-x 3 jenkins jenkins 4096 Feb 11 01:46 .semver 01:46:55 -rw-rw-r-- 1 jenkins jenkins 2908 Feb 11 01:45 Attribution.txt 01:46:55 -rw-rw-r-- 1 jenkins jenkins 11953 Feb 11 01:45 CHANGELOG.md 01:46:55 -rw-rw-r-- 1 jenkins jenkins 108574 Feb 11 01:45 Doxyfile 01:46:55 -rw-rw-r-- 1 jenkins jenkins 677 Feb 11 01:45 GOVERNANCE.md 01:46:55 -rw-rw-r-- 1 jenkins jenkins 784 Feb 11 01:45 Jenkinsfile 01:46:55 -rw-rw-r-- 1 jenkins jenkins 10174 Feb 11 01:45 LICENSE 01:46:55 -rw-rw-r-- 1 jenkins jenkins 444 Feb 11 01:45 Makefile 01:46:55 -rw-rw-r-- 1 jenkins jenkins 618 Feb 11 01:45 OWNERS.md 01:46:55 -rw-rw-r-- 1 jenkins jenkins 1651 Feb 11 01:45 README.IOT.md 01:46:55 -rw-rw-r-- 1 jenkins jenkins 4173 Feb 11 01:45 README.md 01:46:55 -rw-rw-r-- 1 jenkins jenkins 1245 Feb 11 01:45 README.v3.md 01:46:55 -rw-rw-r-- 1 jenkins jenkins 5 Feb 11 01:46 VERSION 01:46:55 drwxrwxr-x 2 jenkins jenkins 4096 Feb 11 01:45 docs 01:46:55 drwxrwxr-x 4 jenkins jenkins 4096 Feb 11 01:45 include 01:46:55 drwxrwxr-x 2 jenkins jenkins 4096 Feb 11 01:45 scripts 01:46:55 drwxrwxr-x 4 jenkins jenkins 4096 Feb 11 01:45 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:55 + 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=5244bbe1b55ad690cbdd5ffcbaa63ea04e455d7f --label arch=amd64 --label version=0.0.0 . 01:46:55 Sending build context to Docker daemon 5.464MB 01:46:55 Step 1/18 : ARG BASE=alpine:3.18 01:46:55 Step 2/18 : FROM ${BASE} 01:46:55 ---> da9ced959de6 01:46:55 Step 3/18 : LABEL maintainer="IOTech " 01:46:55 ---> Running in 813c0db6668c 01:46:56 Removing intermediate container 813c0db6668c 01:46:56 ---> aa8cdc8fa04e 01:46:56 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 01:46:56 ---> Running in f710c1a87ff2 01:46:56 Connecting to iotech.jfrog.io (34.247.22.236:443) 01:46:56 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:46:56 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:46:56 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:46:57 Removing intermediate container f710c1a87ff2 01:46:57 ---> 02f742d47df8 01:46:57 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 01:46:57 ---> Running in 7d9dba4e97fa 01:46:57 Removing intermediate container 7d9dba4e97fa 01:46:57 ---> faef3f36e4e5 01:46:57 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 01:46:57 ---> Running in 6c8c4cf464f2 01:46:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:46:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:46:58 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 01:46:58 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:46:58 (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) 01:46:58 (2/11) Installing libcbor-dev (0.10.2-r1) 01:46:58 (3/11) Installing libmenuw (6.4_p20230506-r0) 01:46:58 (4/11) Installing libpanelw (6.4_p20230506-r0) 01:46:58 (5/11) Installing libncurses++ (6.4_p20230506-r0) 01:46:58 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 01:46:58 (7/11) Installing libblkid (2.38.1-r8) 01:46:58 (8/11) Installing libfdisk (2.38.1-r8) 01:46:58 (9/11) Installing libmount (2.38.1-r8) 01:46:58 (10/11) Installing libsmartcols (2.38.1-r8) 01:46:58 (11/11) Installing util-linux-dev (2.38.1-r8) 01:46:59 Executing busybox-1.36.1-r7.trigger 01:46:59 OK: 336 MiB in 102 packages 01:46:59 Removing intermediate container 6c8c4cf464f2 01:46:59 ---> fec5a7bf4e41 01:46:59 Step 7/18 : RUN apk --no-cache upgrade 01:46:59 ---> Running in d53f149d4231 01:47:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:47:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:47:00 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 01:47:00 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:47:00 OK: 336 MiB in 102 packages 01:47:01 Removing intermediate container d53f149d4231 01:47:01 ---> 4e876de25291 01:47:01 Step 8/18 : COPY VERSION /edgex-c-sdk/ 01:47:01 ---> 406b5eabff9d 01:47:01 Step 9/18 : COPY src /edgex-c-sdk/src/ 01:47:01 ---> 5b7b806ed551 01:47:01 Step 10/18 : COPY include /edgex-c-sdk/include/ 01:47:01 ---> 2b67dcec1911 01:47:01 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 01:47:01 ---> 4203d91677ff 01:47:01 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 01:47:01 ---> b80811ac5ac9 01:47:01 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 01:47:02 ---> 8d610fab95e3 01:47:02 Step 14/18 : WORKDIR /edgex-c-sdk 01:47:02 ---> Running in 99ea80fbbf32 01:47:02 Removing intermediate container 99ea80fbbf32 01:47:02 ---> bb8972378ef0 01:47:02 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 01:47:02 ---> Running in 23064b5e0a68 01:47:02 Removing intermediate container 23064b5e0a68 01:47:02 ---> 452368bc6237 01:47:02 Step 16/18 : LABEL arch=amd64 01:47:02 ---> Running in 3919a8c39a4c 01:47:02 Removing intermediate container 3919a8c39a4c 01:47:02 ---> a5a434a36475 01:47:02 Step 17/18 : LABEL git_sha=5244bbe1b55ad690cbdd5ffcbaa63ea04e455d7f 01:47:02 ---> Running in ad62db119a66 01:47:02 Removing intermediate container ad62db119a66 01:47:02 ---> 25dff9155dfe 01:47:02 Step 18/18 : LABEL version=0.0.0 01:47:02 ---> Running in 3bc131568348 01:47:02 Removing intermediate container 3bc131568348 01:47:02 ---> f0642896d890 01:47:02 [Warning] One or more build-args [ARCH MAKE] were not consumed 01:47:02 Successfully built f0642896d890 01:47:02 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 01:47:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:47:03 01:47:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:47:03 latest: Pulling from edgex-lftools-log-publisher 01:47:03 5eb5b503b376: Pulling fs layer 01:47:03 5c69ac0246d0: Pulling fs layer 01:47:03 ec43610c2a17: Pulling fs layer 01:47:03 3a2ae6a8a46f: Pulling fs layer 01:47:03 33b1e0a273af: Pulling fs layer 01:47:03 5d3b04190fa2: Pulling fs layer 01:47:03 2f39f015ded8: Pulling fs layer 01:47:03 33b1e0a273af: Waiting 01:47:03 5d3b04190fa2: Waiting 01:47:03 2f39f015ded8: Waiting 01:47:03 5c69ac0246d0: Download complete 01:47:03 3a2ae6a8a46f: Download complete 01:47:03 ec43610c2a17: Verifying Checksum 01:47:03 ec43610c2a17: Download complete 01:47:03 33b1e0a273af: Verifying Checksum 01:47:03 33b1e0a273af: Download complete 01:47:03 5d3b04190fa2: Download complete 01:47:04 5eb5b503b376: Verifying Checksum 01:47:04 5eb5b503b376: Download complete 01:47:04 2f39f015ded8: Download complete 01:47:05 5eb5b503b376: Pull complete 01:47:05 5c69ac0246d0: Pull complete 01:47:06 ec43610c2a17: Pull complete 01:47:06 3a2ae6a8a46f: Pull complete 01:47:06 33b1e0a273af: Pull complete 01:47:06 5d3b04190fa2: Pull complete 01:47:11 2f39f015ded8: Pull complete 01:47:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:47:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:47:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:11 prd-ubuntu20.04-docker-8c-8g-38571 does not seem to be running inside a container 01:47:11 $ 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-544 -v /w/workspace/edgexfoundry_device-sdk-c_PR-544:/w/workspace/edgexfoundry_device-sdk-c_PR-544:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-544@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-544@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 01:47:17 $ docker top 40ad25fe8d7116d3b29656380f3bee2c70d69dd3d4b9e4999a59f0fa451ee72e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:47:18 ---> job-cost.sh 01:47:18 lf-activate-venv: SKIPPING 01:47:18 INFO: No Stack... 01:47:18 INFO: Retrieving Pricing Info for: v3-standard-8 01:47:18 INFO: Archiving Costs [Pipeline] sh 01:47:19 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-544/archives/cost.csv 01:47:19 + cut -d, -f6 [Pipeline] lock 01:47:19 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-544-1-stack-cost] 01:47:19 Resource [jenkins-edgexfoundry-device-sdk-c-PR-544-1-stack-cost] did not exist. Created. 01:47:19 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-544-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:47:19 + echo total: 0.2199999988079071 [Pipeline] stash 01:47:19 Stashed 1 file(s) [Pipeline] } 01:47:19 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-544-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:47:19 $ docker stop --time=1 40ad25fe8d7116d3b29656380f3bee2c70d69dd3d4b9e4999a59f0fa451ee72e 01:47:21 $ docker rm -f --volumes 40ad25fe8d7116d3b29656380f3bee2c70d69dd3d4b9e4999a59f0fa451ee72e [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 01:47:22 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-544/archives ] 01:47:22 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-544/archives 01:47:22 total 16 01:47:22 drwxr-xr-x 3 root root 4096 Feb 11 01:47 . 01:47:22 drwxrwxr-x 10 jenkins jenkins 4096 Feb 11 01:47 .. 01:47:22 drwxr-xr-x 2 root root 4096 Feb 11 01:47 cost 01:47:22 -rw-r--r-- 1 root root 84 Feb 11 01:47 cost.csv 01:47:22 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-544/archives 01:47:22 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-544/archives 01:47:22 total 16 01:47:22 drwxr-xr-x 3 jenkins jenkins 4096 Feb 11 01:47 . 01:47:22 drwxrwxr-x 10 jenkins jenkins 4096 Feb 11 01:47 .. 01:47:22 drwxr-xr-x 2 jenkins jenkins 4096 Feb 11 01:47 cost 01:47:22 -rw-r--r-- 1 jenkins jenkins 84 Feb 11 01:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:47:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:47:24 ---> package-listing.sh 01:47:24 ++ facter osfamily 01:47:24 ++ tr '[:upper:]' '[:lower:]' 01:47:24 + OS_FAMILY=debian 01:47:24 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-544 01:47:24 + START_PACKAGES=/tmp/packages_start.txt 01:47:24 + END_PACKAGES=/tmp/packages_end.txt 01:47:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:47:24 + PACKAGES=/tmp/packages_start.txt 01:47:24 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-544 ']' 01:47:24 + PACKAGES=/tmp/packages_end.txt 01:47:24 + case "${OS_FAMILY}" in 01:47:24 + dpkg -l 01:47:24 + grep '^ii' 01:47:24 + '[' -f /tmp/packages_start.txt ']' 01:47:24 + '[' -f /tmp/packages_end.txt ']' 01:47:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:47:24 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-544 ']' 01:47:24 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-544/archives/ 01:47:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-544/archives/ [Pipeline] echo 01:47:24 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-544/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:47:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:47:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:25 prd-ubuntu20.04-docker-8c-8g-38571 does not seem to be running inside a container 01:47:25 $ 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-544/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-544 -v /w/workspace/edgexfoundry_device-sdk-c_PR-544:/w/workspace/edgexfoundry_device-sdk-c_PR-544:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-544@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-544@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 01:47:25 $ docker top 861b01597cbf5c0423f7d48f0b7d6f4f61f72056380df05b6c4c6431d4c899be -eo pid,comm [Pipeline] { [Pipeline] sh 01:47:26 + touch /tmp/pre-build-complete [Pipeline] sh 01:47:26 + mkdir -p /var/log/sysstat [Pipeline] sh 01:47:26 + ls /var/log/sa-host 01:47:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:47:27 provisioning config files... 01:47:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-544@tmp/config6984453003032868997tmp [Pipeline] { [Pipeline] echo 01:47:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:47:27 ---> create-netrc.sh [Pipeline] } 01:47:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:47:27 ---> python-tools-install.sh [Pipeline] echo 01:47:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:47:28 ---> sudo-logs.sh 01:47:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:47:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:47:28 ---> job-cost.sh 01:47:28 lf-activate-venv: SKIPPING 01:47:28 DEBUG: total: 0.2199999988079071 01:47:28 INFO: Retrieving Stack Cost... 01:47:28 INFO: Retrieving Pricing Info for: v3-standard-8 01:47:29 INFO: Archiving Costs [Pipeline] echo 01:47:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:47:29 ---> logs-deploy.sh 01:47:29 lf-activate-venv: SKIPPING 01:47:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-544/1 01:47:29 INFO: archiving workspace using pattern(s): 01:47:30 Archives upload complete. 01:47:30 INFO: archiving logs to Nexus