Pull request #604 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 TysonBoer-eaton for edgexfoundry/device-sdk-c Loading trusted files from base branch main at ec1c5ebf205add5361e4a23d8a9261f9ef892148 rather than 6afae418023e9513abc58811424410b07e54fb4e Obtained Jenkinsfile from ec1c5ebf205add5361e4a23d8a9261f9ef892148 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-ssh9595440175141220589.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 67d2f908f88f8156fbe481f59f373e57362cafe7 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-ssh3113627791255797366.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 67d2f908f88f8156fbe481f59f373e57362cafe7 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-604/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-604/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14016796304170197448.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-604/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8080203484487868288.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 67d2f908f88f8156fbe481f59f373e57362cafe7 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 67d2f908f88f8156fbe481f59f373e57362cafe7 # timeout=10 Commit message: "Merge pull request #476 from cherrycl/issue-475" > 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-ssh11404481154518582393.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-604/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-604/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2929443263781475489.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 67d2f908f88f8156fbe481f59f373e57362cafe7 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4446 in /w/workspace/edgexfoundry_device-sdk-c_PR-604 [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-604 # 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/604/head:refs/remotes/origin/PR-604 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ec1c5ebf205add5361e4a23d8a9261f9ef892148 into PR head commit 6afae418023e9513abc58811424410b07e54fb4e Merge succeeded, producing 6afae418023e9513abc58811424410b07e54fb4e Checking out Revision 6afae418023e9513abc58811424410b07e54fb4e (PR-604) > git config core.sparsecheckout # timeout=10 > git checkout -f 6afae418023e9513abc58811424410b07e54fb4e # 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 ec1c5ebf205add5361e4a23d8a9261f9ef892148 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6afae418023e9513abc58811424410b07e54fb4e # timeout=10 Commit message: "feat: EF-441 fix a memory leak in command client free, fix compiler warnings" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 67d2f908f88f8156fbe481f59f373e57362cafe7 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:40:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:40:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:40:22 ========================================================= 12:40:22 EdgeX Global Pipelines Version Info 12:40:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:40:23 ------------------- 12:40:23 stable info: 12:40:23 ------------------- 12:40:23 Commited By: Cherry Wang cherry@iotechsys.com 12:40:23 Commit SHA: 67d2f908f88f8156fbe481f59f373e57362cafe7 12:40:23 Message: update stable to v1.0.278 12:40:23 ------------------- 12:40:23 experimental info: 12:40:23 ------------------- 12:40:23 Commited By: **** collab-it+edgex@linuxfoundation.org 12:40:23 Commit SHA: cefbf83a7544ec8ad1f65f559367c3ce5893bda8 12:40:23 Message: update experimental to v1.0.279 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:40:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 12:40:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 12:40:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:40:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:40:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:40:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 12:40:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 12:40:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:40:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:40:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 12:40:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:40:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:40:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:40:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 12:40:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:40:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:40:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:40:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-604 [Pipeline] echo 12:40:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-604 [Pipeline] echo 12:40:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-604 [Pipeline] echo 12:40:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6afae418023e9513abc58811424410b07e54fb4e [Pipeline] echo 12:40:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6afae41 [Pipeline] echo 12:40:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:40:25 provisioning config files... 12:40:25 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-604@tmp/config16858093735170376317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:40:25 ---> ****-login.sh 12:40:25 nexus3.edgexfoundry.org:10001 12:40:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:26 12:40:26 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 12:40:26 Configure a credential helper to remove this warning. See 12:40:26 https://docs.****.com/go/credential-store/ 12:40:26 12:40:26 Login Succeeded 12:40:26 nexus3.edgexfoundry.org:10002 12:40:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:26 12:40:26 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 12:40:26 Configure a credential helper to remove this warning. See 12:40:26 https://docs.****.com/go/credential-store/ 12:40:26 12:40:26 Login Succeeded 12:40:26 nexus3.edgexfoundry.org:10003 12:40:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:26 12:40:26 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 12:40:26 Configure a credential helper to remove this warning. See 12:40:26 https://docs.****.com/go/credential-store/ 12:40:26 12:40:26 Login Succeeded 12:40:26 nexus3.edgexfoundry.org:10004 12:40:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:26 12:40:26 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 12:40:26 Configure a credential helper to remove this warning. See 12:40:26 https://docs.****.com/go/credential-store/ 12:40:26 12:40:26 Login Succeeded 12:40:26 ****.io 12:40:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:26 12:40:26 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 12:40:26 Configure a credential helper to remove this warning. See 12:40:26 https://docs.****.com/go/credential-store/ 12:40:26 12:40:26 Login Succeeded 12:40:26 ---> ****-login.sh ends [Pipeline] } 12:40:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 12:40:27 + git rev-list -1 --merges 6afae418023e9513abc58811424410b07e54fb4e~1..6afae418023e9513abc58811424410b07e54fb4e [Pipeline] echo 12:40:27 -----------> git rev-list -1 --merges 6afae418023e9513abc58811424410b07e54fb4e~1..6afae418023e9513abc58811424410b07e54fb4e 6afae418023e9513abc58811424410b07e54fb4e [false] [Pipeline] sh 12:40:27 + git log --format=format:%s -1 6afae418023e9513abc58811424410b07e54fb4e [Pipeline] echo 12:40:27 ========================================================= 12:40:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:40:27 ========================================================= 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 12:40:28 + git rev-list -1 --merges 6afae418023e9513abc58811424410b07e54fb4e~1..6afae418023e9513abc58811424410b07e54fb4e [Pipeline] echo 12:40:28 -----------> git rev-list -1 --merges 6afae418023e9513abc58811424410b07e54fb4e~1..6afae418023e9513abc58811424410b07e54fb4e 6afae418023e9513abc58811424410b07e54fb4e [false] [Pipeline] sh 12:40:29 + git log --format=format:%s -1 6afae418023e9513abc58811424410b07e54fb4e [Pipeline] echo 12:40:29 ========================================================= 12:40:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:40:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 12:40:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:40:29 + grep -v github /etc/ssh/ssh_known_hosts 12:40:29 + [ -e /tmp/ssh_known_hosts ] 12:40:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:40:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:40:29 + sudo tee -a /etc/ssh/ssh_known_hosts 12:40:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:40:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:40:30 12:40:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:40:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:40:30 0.1.4: Pulling from edgex-devops/py-git-semver 12:40:30 3dae71ba6b94: Pulling fs layer 12:40:30 6bf1a483ea7c: Pulling fs layer 12:40:30 f5dfc541a4d3: Pulling fs layer 12:40:30 461d9e800cba: Pulling fs layer 12:40:30 80192f66455f: Pulling fs layer 12:40:30 461d9e800cba: Waiting 12:40:30 2e8e34ca0e6c: Pulling fs layer 12:40:30 a29436f7fd5d: Pulling fs layer 12:40:30 923cac83aea3: Pulling fs layer 12:40:30 25ad8b0a4227: Pulling fs layer 12:40:30 db01528c6b51: Pulling fs layer 12:40:30 28988de357af: Pulling fs layer 12:40:30 80192f66455f: Waiting 12:40:30 2e8e34ca0e6c: Waiting 12:40:30 a29436f7fd5d: Waiting 12:40:30 923cac83aea3: Waiting 12:40:30 db01528c6b51: Waiting 12:40:30 25ad8b0a4227: Waiting 12:40:30 28988de357af: Waiting 12:40:30 6bf1a483ea7c: Verifying Checksum 12:40:30 6bf1a483ea7c: Download complete 12:40:30 461d9e800cba: Download complete 12:40:30 80192f66455f: Verifying Checksum 12:40:30 80192f66455f: Download complete 12:40:30 f5dfc541a4d3: Verifying Checksum 12:40:30 f5dfc541a4d3: Download complete 12:40:30 3dae71ba6b94: Verifying Checksum 12:40:30 3dae71ba6b94: Download complete 12:40:30 923cac83aea3: Verifying Checksum 12:40:30 923cac83aea3: Download complete 12:40:31 25ad8b0a4227: Verifying Checksum 12:40:31 25ad8b0a4227: Download complete 12:40:31 db01528c6b51: Verifying Checksum 12:40:31 db01528c6b51: Download complete 12:40:31 28988de357af: Download complete 12:40:31 a29436f7fd5d: Verifying Checksum 12:40:31 a29436f7fd5d: Download complete 12:40:31 2e8e34ca0e6c: Verifying Checksum 12:40:31 2e8e34ca0e6c: Download complete 12:40:32 3dae71ba6b94: Pull complete 12:40:32 6bf1a483ea7c: Pull complete 12:40:33 f5dfc541a4d3: Pull complete 12:40:33 461d9e800cba: Pull complete 12:40:33 80192f66455f: Pull complete 12:40:37 2e8e34ca0e6c: Pull complete 12:40:37 a29436f7fd5d: Pull complete 12:40:38 923cac83aea3: Pull complete 12:40:38 25ad8b0a4227: Pull complete 12:40:38 db01528c6b51: Pull complete 12:40:38 28988de357af: Pull complete 12:40:38 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 12:40:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:40:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:40:38 prd-ubuntu20.04-docker-8c-8g-4446 does not seem to be running inside a container 12:40:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-604 -v /w/workspace/edgexfoundry_device-sdk-c_PR-604:/w/workspace/edgexfoundry_device-sdk-c_PR-604:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-604@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-604@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:40:42 $ docker top d8a51edb3237001c789c298af6ee0ec7a6701672bd26aabff14c3558ece401da -eo pid,comm 12:40:42 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). 12:40:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:40:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:40:42 [ssh-agent] Looking for ssh-agent implementation... 12:40:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:40:42 $ docker exec d8a51edb3237001c789c298af6ee0ec7a6701672bd26aabff14c3558ece401da ssh-agent 12:40:42 SSH_AUTH_SOCK=/tmp/ssh-VCx76KkiY4jG/agent.31 12:40:42 SSH_AGENT_PID=37 12:40:42 Running ssh-add (command line suppressed) 12:40:43 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-604@tmp/private_key_10408565511579902871.key (/w/workspace/edgexfoundry_device-sdk-c_PR-604@tmp/private_key_10408565511579902871.key) 12:40:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:40:43 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-c_PR-604 [Pipeline] sh 12:40:43 + git tag --points-at HEAD [Pipeline] } 12:40:43 $ docker exec --env ******** --env ******** d8a51edb3237001c789c298af6ee0ec7a6701672bd26aabff14c3558ece401da ssh-agent -k 12:40:43 unset SSH_AUTH_SOCK; 12:40:43 unset SSH_AGENT_PID; 12:40:43 echo Agent pid 37 killed; 12:40:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:40:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:40:43 [ssh-agent] Looking for ssh-agent implementation... 12:40:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:40:44 $ docker exec d8a51edb3237001c789c298af6ee0ec7a6701672bd26aabff14c3558ece401da ssh-agent 12:40:44 SSH_AUTH_SOCK=/tmp/ssh-PuHTFO3pJHzM/agent.84 12:40:44 SSH_AGENT_PID=90 12:40:44 Running ssh-add (command line suppressed) 12:40:44 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-604@tmp/private_key_12341940568733102009.key (/w/workspace/edgexfoundry_device-sdk-c_PR-604@tmp/private_key_12341940568733102009.key) 12:40:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:40:44 + git semver init 12:40:44 2026-04-01 12:40:44,801 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 12:40:44 2026-04-01 12:40:44,804 [run_init] DEBUG init version:0.0.0 force:False 12:40:44 2026-04-01 12:40:44,804 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-604/.semver 12:40:44 2026-04-01 12:40:44,805 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-604/.semver 12:40:44 2026-04-01 12:40:44,805 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-604/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-604, stdin=None, shell=False, universal_newlines=False) 12:40:45 2026-04-01 12:40:45,660 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-604/.git/info/exclude 12:40:45 2026-04-01 12:40:45,660 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-604/.semver/PR-604 with force:False 12:40:45 2026-04-01 12:40:45,660 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-604/.semver/PR-604 12:40:45 2026-04-01 12:40:45,664 [execute] INFO git cat-file --batch-check 12:40:45 2026-04-01 12:40:45,665 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-604/.semver, stdin=, shell=False, universal_newlines=False) 12:40:45 2026-04-01 12:40:45,669 [execute] INFO git cat-file --batch 12:40:45 2026-04-01 12:40:45,669 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-604/.semver, stdin=, shell=False, universal_newlines=False) 12:40:45 2026-04-01 12:40:45,672 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-604/.semver/PR-604 12:40:45 0.0.0 [Pipeline] } 12:40:45 $ docker exec --env ******** --env ******** d8a51edb3237001c789c298af6ee0ec7a6701672bd26aabff14c3558ece401da ssh-agent -k 12:40:45 unset SSH_AUTH_SOCK; 12:40:45 unset SSH_AGENT_PID; 12:40:45 echo Agent pid 90 killed; 12:40:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:40:46 + git semver [Pipeline] } 12:40:46 $ docker stop --time=1 d8a51edb3237001c789c298af6ee0ec7a6701672bd26aabff14c3558ece401da 12:40:47 $ docker rm -f --volumes d8a51edb3237001c789c298af6ee0ec7a6701672bd26aabff14c3558ece401da [Pipeline] // withDockerContainer [Pipeline] sh 12:40:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:40:48 Stashed 1 file(s) [Pipeline] echo 12:40:48 [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 12:40:49 provisioning config files... 12:40:49 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-604@tmp/config6835411491903491866tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 12:40:49 ---> ****-login.sh 12:40:49 nexus3.edgexfoundry.org:10001 12:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:49 Login Succeeded 12:40:49 nexus3.edgexfoundry.org:10002 12:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:49 Login Succeeded 12:40:49 nexus3.edgexfoundry.org:10003 12:40:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:50 Login Succeeded 12:40:50 nexus3.edgexfoundry.org:10004 12:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:50 Login Succeeded 12:40:50 ****.io 12:40:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:50 Login Succeeded 12:40:50 ---> ****-login.sh ends [Pipeline] } 12:40:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:40:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 12:40:50 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 12:40:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 12:40:50 ========================================================= 12:40:50 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 12:40:50 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:40:51 + 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 . 12:40:51 #0 building with "default" instance using docker driver 12:40:51 12:40:51 #1 [internal] load build definition from Dockerfile.alpine-base 12:40:51 #1 transferring dockerfile: 2.13kB done 12:40:51 #1 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 18) 12:40:51 #1 DONE 0.0s 12:40:51 12:40:51 #2 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 12:40:51 #2 DONE 0.1s 12:40:52 12:40:52 #3 [internal] load .dockerignore 12:40:52 #3 transferring context: 2B done 12:40:52 #3 DONE 0.0s 12:40:52 12:40:52 #4 [internal] load build context 12:40:52 #4 transferring context: 695.62kB 0.0s done 12:40:52 #4 DONE 0.1s 12:40:52 12:40:52 #5 [builder 1/12] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest@sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 12:40:52 #5 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest@sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 0.0s done 12:40:52 #5 sha256:96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa 3.40MB / 3.40MB 0.1s done 12:40:52 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 15.73MB / 118.14MB 0.2s 12:40:52 #5 sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 741B / 741B done 12:40:52 #5 sha256:6605166a5db42c9ef4e3b8366138377c430980df3f34fe18e3a1340b6ab951b9 2.56kB / 2.56kB done 12:40:52 #5 extracting sha256:96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa 12:40:52 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 30.41MB / 118.14MB 0.3s 12:40:52 #5 extracting sha256:96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa 0.1s done 12:40:52 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 53.48MB / 118.14MB 0.4s 12:40:52 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 102.76MB / 118.14MB 0.6s 12:40:52 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 118.14MB / 118.14MB 0.8s 12:40:53 #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 118.14MB / 118.14MB 1.4s done 12:40:53 #5 extracting sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 12:40:57 #5 extracting sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 3.8s done 12:40:57 #5 DONE 5.3s 12:40:57 12:40:57 #6 [builder 2/12] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 12:40:57 #6 0.244 Connecting to iotech.jfrog.io (34.247.22.236:443) 12:40:57 #6 0.661 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 12:40:58 #6 0.662 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 12:40:58 #6 0.662 '/etc/apk/keys/alpine.dev.rsa.pub' saved 12:41:00 #6 DONE 2.9s 12:41:00 12:41:00 #7 [builder 3/12] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main' >> /etc/apk/repositories 12:41:00 #7 DONE 0.3s 12:41:00 12:41:00 #8 [stage-1 4/8] 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.6 dumb-init 12:41:01 #8 0.442 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:41:01 #8 0.658 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:41:01 #8 0.840 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main/x86_64/APKINDEX.tar.gz 12:41:02 #8 1.421 WARNING: This apk-tools is OLD! Some packages might not function properly. 12:41:02 #8 1.428 (1/11) Installing libpsl (0.21.5-r0) 12:41:02 #8 1.432 (2/11) Upgrading libcurl (8.4.0-r0 -> 8.12.1-r0) 12:41:02 #8 1.443 (3/11) Installing curl (8.12.1-r0) 12:41:02 #8 1.450 (4/11) Installing libpsl-utils (0.21.5-r0) 12:41:02 #8 1.538 (5/11) Installing libpsl-dev (0.21.5-r0) 12:41:02 #8 1.627 (6/11) Upgrading curl-dev (8.4.0-r0 -> 8.12.1-r0) 12:41:02 #8 1.718 (7/11) Installing dumb-init (1.2.5-r2) 12:41:02 #8 1.810 (8/11) Installing libcbor (0.10.2-r1) 12:41:02 #8 1.815 (9/11) Installing iotech-iot-1.6 (1.6.3-r0) 12:41:03 #8 2.517 (10/11) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.135-r0) 12:41:03 #8 2.735 (11/11) Installing libuuid (2.38.1-r8) 12:41:03 #8 2.739 Executing busybox-1.36.1-r4.trigger 12:41:03 #8 2.749 OK: 331 MiB in 91 packages 12:41:03 #8 DONE 2.9s 12:41:03 12:41:03 #9 [builder 4/12] 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.6-dev 12:41:03 #9 0.440 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:41:03 #9 0.649 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:41:03 #9 0.836 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main/x86_64/APKINDEX.tar.gz 12:41:03 #9 1.421 WARNING: This apk-tools is OLD! Some packages might not function properly. 12:41:03 #9 1.427 (1/15) Installing libcbor (0.10.2-r1) 12:41:03 #9 1.517 (2/15) Installing iotech-iot-1.6 (1.6.3-r0) 12:41:03 #9 2.307 (3/15) Installing iotech-iot-1.6-dev (1.6.3-r0) 12:41:03 #9 2.439 (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.135-r0) 12:41:03 #9 2.725 (5/15) Installing libcbor-dev (0.10.2-r1) 12:41:03 #9 2.816 (6/15) Installing libmenuw (6.4_p20230506-r0) 12:41:03 #9 2.821 (7/15) Installing libpanelw (6.4_p20230506-r0) 12:41:03 #9 2.824 (8/15) Installing libncurses++ (6.4_p20230506-r0) 12:41:03 #9 2.827 (9/15) Installing ncurses-dev (6.4_p20230506-r0) 12:41:03 #9 2.836 (10/15) Installing libblkid (2.38.1-r8) 12:41:03 #9 2.843 (11/15) Installing libuuid (2.38.1-r8) 12:41:03 #9 2.846 (12/15) Installing libfdisk (2.38.1-r8) 12:41:03 #9 2.855 (13/15) Installing libmount (2.38.1-r8) 12:41:03 #9 2.862 (14/15) Installing libsmartcols (2.38.1-r8) 12:41:03 #9 2.869 (15/15) Installing util-linux-dev (2.38.1-r8) 12:41:03 #9 2.897 Executing busybox-1.36.1-r4.trigger 12:41:03 #9 2.907 OK: 335 MiB in 97 packages 12:41:03 #9 DONE 3.0s 12:41:03 12:41:03 #10 [stage-1 5/8] RUN apk --no-cache upgrade 12:41:03 #10 0.388 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:41:03 #10 ... 12:41:03 12:41:03 #11 [builder 5/12] RUN mkdir /tmp/sdk 12:41:03 #11 DONE 0.4s 12:41:03 12:41:03 #10 [stage-1 5/8] RUN apk --no-cache upgrade 12:41:03 #10 0.471 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:41:04 #10 ... 12:41:04 12:41:04 #12 [builder 6/12] COPY VERSION /tmp/sdk 12:41:04 #12 DONE 0.1s 12:41:04 12:41:04 #13 [builder 7/12] COPY src /tmp/sdk/src 12:41:04 #13 DONE 0.1s 12:41:04 12:41:04 #10 [stage-1 5/8] RUN apk --no-cache upgrade 12:41:04 #10 0.601 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main/x86_64/APKINDEX.tar.gz 12:41:04 #10 ... 12:41:04 12:41:04 #14 [builder 8/12] COPY include /tmp/sdk/include 12:41:04 #14 DONE 0.1s 12:41:04 12:41:04 #15 [builder 9/12] COPY scripts /tmp/sdk/scripts 12:41:04 #15 DONE 0.0s 12:41:04 12:41:04 #16 [builder 10/12] COPY LICENSE /tmp/sdk 12:41:04 #16 DONE 0.1s 12:41:04 12:41:04 #17 [builder 11/12] COPY Attribution.txt /tmp/sdk 12:41:04 #17 DONE 0.0s 12:41:04 12:41:04 #18 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 12:41:04 #18 0.225 + CPPCHECK=false 12:41:04 #18 0.225 + DOCGEN=false 12:41:04 #18 0.225 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 12:41:04 #18 0.225 + '[' 0 -gt 0 ] 12:41:04 #18 0.225 + readlink -f ./scripts/build.sh 12:41:04 #18 0.227 + dirname /tmp/sdk/scripts/build.sh 12:41:04 #18 0.227 + dirname /tmp/sdk/scripts 12:41:04 #18 0.228 + ROOT=/tmp/sdk 12:41:04 #18 0.228 + cd /tmp/sdk 12:41:04 #18 0.228 + mkdir -p /tmp/sdk/build/release 12:41:04 #18 0.229 + cd /tmp/sdk/build/release 12:41:04 #18 0.229 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 12:41:04 #18 0.302 -- The C compiler identification is GNU 12.2.1 12:41:04 #18 0.318 -- Detecting C compiler ABI info 12:41:04 #18 0.410 -- Detecting C compiler ABI info - done 12:41:04 #18 0.430 -- Check for working C compiler: /usr/bin/cc - skipped 12:41:04 #18 0.431 -- Detecting C compile features 12:41:04 #18 0.431 -- Detecting C compile features - done 12:41:04 #18 0.435 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:41:04 #18 0.484 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 12:41:04 #18 0.488 -- Found LIBYAML: /usr/lib/libyaml.so 12:41:04 #18 0.490 -- Found LIBUUID: /usr/lib/libuuid.so 12:41:04 #18 0.493 -- Found LIBCBOR: /usr/lib/libcbor.so 12:41:04 #18 0.495 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 12:41:04 #18 0.498 -- Found IOT: /opt/iotech/iot/1.6/lib/libiot.so 12:41:04 #18 0.498 -- /opt/iotech/iot/1.6/include 12:41:04 #18 0.498 -- C SDK 0.0.0 for Linux 12:41:04 #18 0.500 -- Performing Test CSDK_HAVE_ATOMIC 12:41:04 #18 0.580 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:41:04 #18 0.626 -- Found Curses: /usr/lib/libcurses.so 12:41:05 #18 0.649 -- Configuring done (0.4s) 12:41:05 #18 0.678 -- Generating done (0.0s) 12:41:05 #18 0.681 -- Build files have been written to: /tmp/sdk/build/release 12:41:05 #18 0.684 + make all package 12:41:05 #18 0.684 + tee release.log 12:41:05 #18 0.725 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:41:05 #18 0.860 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 12:41:05 #18 1.007 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 12:41:05 #18 1.150 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 12:41:05 #18 1.243 [ 9%] Building C object c/CMakeFiles/csdk.dir/command.c.o 12:41:05 #18 1.392 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:41:05 #18 1.749 [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:41:06 #18 ... 12:41:06 12:41:06 #10 [stage-1 5/8] RUN apk --no-cache upgrade 12:41:06 #10 1.116 WARNING: This apk-tools is OLD! Some packages might not function properly. 12:41:06 #10 1.121 Upgrading critical system libraries and apk-tools: 12:41:06 #10 1.121 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 12:41:06 #10 1.131 Executing busybox-1.36.1-r4.trigger 12:41:06 #10 1.175 Continuing the upgrade transaction with new apk-tools: 12:41:06 #10 1.180 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:41:06 #10 1.260 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:41:06 #10 1.363 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main/x86_64/APKINDEX.tar.gz 12:41:06 #10 1.841 WARNING: This apk-tools is OLD! Some packages might not function properly. 12:41:06 #10 1.846 (1/22) Upgrading musl (1.2.4-r2 -> 1.2.4-r3) 12:41:06 #10 1.859 (2/22) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 12:41:06 #10 1.875 Executing busybox-1.36.1-r7.post-upgrade 12:41:06 #10 1.889 (3/22) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 12:41:06 #10 1.893 (4/22) Upgrading ca-certificates-bundle (20230506-r0 -> 20241121-r1) 12:41:06 #10 1.901 (5/22) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.8-r0) 12:41:06 #10 1.937 (6/22) Upgrading libssl3 (3.1.4-r0 -> 3.1.8-r0) 12:41:06 #10 1.945 (7/22) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 12:41:06 #10 1.949 (8/22) Upgrading binutils (2.40-r7 -> 2.40-r8) 12:41:06 #10 2.007 (9/22) Upgrading musl-dev (1.2.4-r2 -> 1.2.4-r3) 12:41:06 #10 2.059 (10/22) Upgrading libexpat (2.5.0-r1 -> 2.7.0-r0) 12:41:06 #10 2.063 (11/22) Upgrading xz-libs (5.4.3-r0 -> 5.4.3-r1) 12:41:06 #10 2.073 (12/22) Upgrading libarchive (3.7.2-r0 -> 3.8.0-r0) 12:41:06 #10 2.172 (13/22) Upgrading ca-certificates (20230506-r0 -> 20241121-r1) 12:41:06 #10 2.184 (14/22) Upgrading openssl-dev (3.1.4-r0 -> 3.1.8-r0) 12:41:06 #10 2.207 (15/22) Upgrading git (2.40.1-r0 -> 2.40.4-r0) 12:41:06 #10 2.266 (16/22) Upgrading musl-utils (1.2.4-r2 -> 1.2.4-r3) 12:41:06 #10 2.270 (17/22) Upgrading libtasn1 (4.19.0-r1 -> 4.20.0-r0) 12:41:06 #10 2.274 (18/22) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 12:41:06 #10 2.297 (19/22) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 12:41:06 #10 2.300 (20/22) Upgrading libtasn1-progs (4.19.0-r1 -> 4.20.0-r0) 12:41:06 #10 2.304 (21/22) Upgrading libtasn1-dev (4.19.0-r1 -> 4.20.0-r0) 12:41:06 #10 2.309 (22/22) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 12:41:06 #10 2.319 Executing busybox-1.36.1-r7.trigger 12:41:06 #10 2.323 Executing ca-certificates-20241121-r1.trigger 12:41:06 #10 2.370 OK: 331 MiB in 91 packages 12:41:06 #10 DONE 2.7s 12:41:06 12:41:06 #18 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 12:41:06 #18 1.787 [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:41:06 #18 1.940 [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:41:06 #18 2.225 [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:41:06 #18 2.318 [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:41:06 #18 2.449 [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:41:06 #18 2.577 [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:41:06 #18 2.671 [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 12:41:06 #18 2.827 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:41:07 #18 2.884 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:41:07 #18 3.192 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 12:41:07 #18 3.255 [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 12:41:07 #18 3.504 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:41:07 #18 3.608 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:41:08 #18 3.828 [ 40%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 12:41:08 #18 3.920 [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:41:09 #18 4.915 [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:41:09 #18 5.017 [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:41:09 #18 5.088 [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:41:09 #18 5.171 [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 12:41:09 #18 5.224 [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:41:09 #18 5.446 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:41:10 #18 5.783 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 12:41:10 #18 5.852 [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 12:41:10 #18 5.978 [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 12:41:10 #18 6.067 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:41:10 #18 6.549 [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:41:11 #18 6.665 [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 12:41:11 #18 6.727 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:41:11 #18 6.836 [ 69%] Linking C shared library libcsdk.so 12:41:11 #18 6.886 [ 69%] Built target csdk 12:41:11 #18 6.905 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:41:11 #18 7.037 [ 73%] Linking C executable template 12:41:11 #18 7.064 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 12:41:11 #18 7.104 [ 73%] Built target template 12:41:11 #18 7.124 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:41:11 #18 7.215 [ 76%] Linking C executable device-counter 12:41:11 #18 7.241 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 12:41:11 #18 7.281 [ 76%] Built target device-counter 12:41:11 #18 7.301 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:41:11 #18 7.390 [ 80%] Linking C executable device-random 12:41:11 #18 7.416 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 12:41:11 #18 7.457 [ 80%] Built target device-random 12:41:11 #18 7.476 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:41:11 #18 7.554 [ 84%] Linking C executable device-gyro 12:41:12 #18 7.580 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 12:41:12 #18 7.619 [ 84%] Built target device-gyro 12:41:12 #18 7.638 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:41:12 #18 7.724 [ 88%] Linking C executable device-bitfields 12:41:12 #18 7.748 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 12:41:12 #18 7.789 [ 88%] Built target device-bitfields 12:41:12 #18 7.809 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:41:12 #18 7.961 [ 92%] Linking C executable template-discovery 12:41:12 #18 7.985 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 12:41:12 #18 8.022 [ 92%] Built target template-discovery 12:41:12 #18 8.037 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:41:12 #18 8.166 [ 96%] Linking C executable device-file 12:41:12 #18 8.191 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 12:41:12 #18 8.232 [ 96%] Built target device-file 12:41:12 #18 8.249 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:41:12 #18 8.346 [100%] Linking C executable device-terminal 12:41:12 #18 8.371 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 12:41:12 #18 8.412 [100%] Built target device-terminal 12:41:12 #18 8.430 Run CPack packaging tool... 12:41:12 #18 8.446 CPack: Create package using TGZ 12:41:12 #18 8.446 CPack: Install projects 12:41:12 #18 8.446 CPack: - Run preinstall target for: Csdk 12:41:12 #18 8.688 CPack: - Install project: Csdk [] 12:41:13 #18 8.694 CPack: Create package 12:41:13 #18 8.720 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 12:41:13 #18 8.721 + '[' false '=' true ] 12:41:13 #18 8.721 + '[' false '=' true ] 12:41:13 #18 8.721 + mkdir -p /tmp/sdk/build/debug 12:41:13 #18 8.722 + cd /tmp/sdk/build/debug 12:41:13 #18 8.722 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 12:41:13 #18 8.800 -- The C compiler identification is GNU 12.2.1 12:41:13 #18 8.821 -- Detecting C compiler ABI info 12:41:13 #18 8.905 -- Detecting C compiler ABI info - done 12:41:13 #18 8.927 -- Check for working C compiler: /usr/bin/cc - skipped 12:41:13 #18 8.928 -- Detecting C compile features 12:41:13 #18 8.929 -- Detecting C compile features - done 12:41:13 #18 8.932 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:41:13 #18 8.985 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 12:41:13 #18 8.988 -- Found LIBYAML: /usr/lib/libyaml.so 12:41:13 #18 8.991 -- Found LIBUUID: /usr/lib/libuuid.so 12:41:13 #18 8.994 -- Found LIBCBOR: /usr/lib/libcbor.so 12:41:13 #18 8.996 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 12:41:13 #18 8.998 -- Found IOT: /opt/iotech/iot/1.6/lib/libiot.so 12:41:13 #18 8.998 -- /opt/iotech/iot/1.6/include 12:41:13 #18 8.998 -- C SDK 0.0.0 for Linux 12:41:13 #18 9.001 -- Performing Test CSDK_HAVE_ATOMIC 12:41:13 #18 9.080 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:41:13 #18 9.128 -- Found Curses: /usr/lib/libcurses.so 12:41:13 #18 9.148 -- Configuring done (0.4s) 12:41:13 #18 9.178 -- Generating done (0.0s) 12:41:13 #18 9.180 -- Build files have been written to: /tmp/sdk/build/debug 12:41:13 #18 9.183 + make 12:41:13 #18 9.183 + tee debug.log 12:41:13 #18 9.223 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:41:13 #18 9.303 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 12:41:13 #18 9.381 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 12:41:13 #18 9.459 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 12:41:13 #18 9.531 [ 9%] Building C object c/CMakeFiles/csdk.dir/command.c.o 12:41:13 #18 9.630 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:41:14 #18 9.751 [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:41:14 #18 9.789 [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:41:14 #18 9.871 [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:41:14 #18 9.988 [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:41:14 #18 10.06 [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:41:14 #18 10.13 [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:41:14 #18 10.21 [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:41:14 #18 10.27 [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 12:41:14 #18 10.34 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:41:14 #18 10.39 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:41:14 #18 10.52 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 12:41:14 #18 10.57 [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 12:41:14 #18 10.67 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:41:15 #18 10.72 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:41:15 #18 10.83 [ 40%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 12:41:15 #18 10.90 [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:41:15 #18 11.09 [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:41:15 #18 11.17 [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:41:15 #18 11.22 [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:41:15 #18 11.28 [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 12:41:15 #18 11.33 [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:41:15 #18 11.43 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:41:15 #18 11.65 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 12:41:15 #18 11.70 [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 12:41:15 #18 11.77 [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 12:41:16 #18 11.84 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:41:16 #18 12.00 [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:41:16 #18 12.06 [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 12:41:16 #18 12.11 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:41:16 #18 12.18 [ 69%] Linking C shared library libcsdk.so 12:41:16 #18 12.24 [ 69%] Built target csdk 12:41:16 #18 12.25 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:41:16 #18 12.32 [ 73%] Linking C executable template 12:41:16 #18 12.34 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 12:41:16 #18 12.38 [ 73%] Built target template 12:41:16 #18 12.40 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:41:16 #18 12.45 [ 76%] Linking C executable device-counter 12:41:16 #18 12.48 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 12:41:16 #18 12.51 [ 76%] Built target device-counter 12:41:16 #18 12.52 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:41:16 #18 12.58 [ 80%] Linking C executable device-random 12:41:17 #18 12.61 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 12:41:17 #18 12.65 [ 80%] Built target device-random 12:41:17 #18 12.66 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:41:17 #18 12.72 [ 84%] Linking C executable device-gyro 12:41:17 #18 12.74 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 12:41:17 #18 12.78 [ 84%] Built target device-gyro 12:41:17 #18 12.79 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:41:17 #18 12.85 [ 88%] Linking C executable device-bitfields 12:41:17 #18 12.88 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 12:41:17 #18 12.92 [ 88%] Built target device-bitfields 12:41:17 #18 12.93 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:41:17 #18 13.00 [ 92%] Linking C executable template-discovery 12:41:17 #18 13.03 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 12:41:17 #18 13.06 [ 92%] Built target template-discovery 12:41:17 #18 13.08 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:41:17 #18 13.14 [ 96%] Linking C executable device-file 12:41:17 #18 13.17 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 12:41:17 #18 13.21 [ 96%] Built target device-file 12:41:17 #18 13.22 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:41:17 #18 13.29 [100%] Linking C executable device-terminal 12:41:17 #18 13.31 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 12:41:17 #18 13.36 [100%] Built target device-terminal 12:41:17 #18 13.36 make: Entering directory '/tmp/sdk/build/release' 12:41:17 #18 13.41 [ 69%] Built target csdk 12:41:17 #18 13.43 [ 73%] Built target template 12:41:17 #18 13.45 [ 76%] Built target device-counter 12:41:17 #18 13.46 [ 80%] Built target device-random 12:41:17 #18 13.48 [ 84%] Built target device-gyro 12:41:17 #18 13.50 [ 88%] Built target device-bitfields 12:41:17 #18 13.52 [ 92%] Built target template-discovery 12:41:18 #18 13.54 [ 96%] Built target device-file 12:41:18 #18 13.56 [100%] Built target device-terminal 12:41:18 #18 13.58 Install the project... 12:41:18 #18 13.58 -- Install configuration: "Release" 12:41:18 #18 13.58 -- Installing: /usr/local/lib/libcsdk.so 12:41:18 #18 13.59 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 12:41:18 #18 13.59 -- Installing: /usr/local/include 12:41:18 #18 13.59 -- Installing: /usr/local/include/devsdk 12:41:18 #18 13.59 -- Installing: /usr/local/include/devsdk/devsdk.h 12:41:18 #18 13.59 -- Installing: /usr/local/include/devsdk/devsdk-base.h 12:41:18 #18 13.59 -- Installing: /usr/local/include/edgex 12:41:18 #18 13.59 -- Installing: /usr/local/include/edgex/edgex.h 12:41:18 #18 13.59 -- Installing: /usr/local/include/edgex/devices.h 12:41:18 #18 13.59 -- Installing: /usr/local/include/edgex/profiles.h 12:41:18 #18 13.59 -- Installing: /usr/local/include/edgex/edgex-base.h 12:41:18 #18 13.59 -- Installing: /usr/local/include/edgex/rest-server.h 12:41:18 #18 13.59 -- Installing: /usr/local/include/edgex/csdk-defs.h 12:41:18 #18 13.59 -- Installing: /usr/local/share/device-sdk-c/LICENSE 12:41:18 #18 13.59 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 12:41:18 #18 13.59 make: Leaving directory '/tmp/sdk/build/release' 12:41:18 #18 DONE 13.7s 12:41:18 12:41:18 #19 [stage-1 6/8] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 12:41:18 #19 DONE 0.1s 12:41:18 12:41:18 #20 [stage-1 7/8] COPY --from=builder /usr/local/lib /usr/local/lib 12:41:18 #20 DONE 0.0s 12:41:18 12:41:18 #21 [stage-1 8/8] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 12:41:18 #21 DONE 0.0s 12:41:18 12:41:18 #22 exporting to image 12:41:18 #22 exporting layers 12:41:18 #22 exporting layers 0.3s done 12:41:18 #22 writing image sha256:c4960523df640c168e3d7a335182739a7bde26396e065ca7033698a5b0a413a4 done 12:41:18 #22 naming to docker.io/library/ci-base-image-x86_64 done 12:41:18 #22 DONE 0.3s 12:41:18 12:41:18 1 warning found (use docker --debug to expand): 12:41:18  - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 18) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:41:19 + docker inspect -f . ci-base-image-x86_64 12:41:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:41:19 prd-ubuntu20.04-docker-8c-8g-4446 does not seem to be running inside a container 12:41:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-604 -v /w/workspace/edgexfoundry_device-sdk-c_PR-604:/w/workspace/edgexfoundry_device-sdk-c_PR-604:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-604@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-604@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 ******** ci-base-image-x86_64 cat 12:41:19 $ docker top f2650001b3cf78cb69c932b0f5b3f4871f4ad5c40ab1ed377bfd00d9b15cd4e1 -eo pid,comm [Pipeline] { [Pipeline] sh 12:41:20 + make test 12:41:20 echo "make test" 12:41:20 make test [Pipeline] } 12:41:20 $ docker stop --time=1 f2650001b3cf78cb69c932b0f5b3f4871f4ad5c40ab1ed377bfd00d9b15cd4e1 12:41:21 $ docker rm -f --volumes f2650001b3cf78cb69c932b0f5b3f4871f4ad5c40ab1ed377bfd00d9b15cd4e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:41:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:41:22 + ls -al . 12:41:22 total 220 12:41:22 drwxrwxr-x 9 jenkins jenkins 4096 Apr 1 12:40 . 12:41:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 12:40 .. 12:41:22 drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 12:40 .git 12:41:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 12:40 .github 12:41:22 -rw-rw-r-- 1 jenkins jenkins 176 Apr 1 12:40 .gitignore 12:41:22 drwxr-xr-x 3 jenkins jenkins 4096 Apr 1 12:40 .semver 12:41:22 -rw-rw-r-- 1 jenkins jenkins 2908 Apr 1 12:40 Attribution.txt 12:41:22 -rw-rw-r-- 1 jenkins jenkins 17404 Apr 1 12:40 CHANGELOG.md 12:41:22 -rw-rw-r-- 1 jenkins jenkins 108574 Apr 1 12:40 Doxyfile 12:41:22 -rw-rw-r-- 1 jenkins jenkins 677 Apr 1 12:40 GOVERNANCE.md 12:41:22 -rw-rw-r-- 1 jenkins jenkins 784 Apr 1 12:40 Jenkinsfile 12:41:22 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 1 12:40 LICENSE 12:41:22 -rw-rw-r-- 1 jenkins jenkins 444 Apr 1 12:40 Makefile 12:41:22 -rw-rw-r-- 1 jenkins jenkins 618 Apr 1 12:40 OWNERS.md 12:41:22 -rw-rw-r-- 1 jenkins jenkins 1651 Apr 1 12:40 README.IOT.md 12:41:22 -rw-rw-r-- 1 jenkins jenkins 4173 Apr 1 12:40 README.md 12:41:22 -rw-rw-r-- 1 jenkins jenkins 1245 Apr 1 12:40 README.v3.md 12:41:22 -rw-rw-r-- 1 jenkins jenkins 5 Apr 1 12:40 VERSION 12:41:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 12:40 docs 12:41:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 12:40 include 12:41:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 12:40 scripts 12:41:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 12:40 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:41:22 + 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=6afae418023e9513abc58811424410b07e54fb4e --label arch=amd64 --label version=0.0.0 . 12:41:23 #0 building with "default" instance using docker driver 12:41:23 12:41:23 #1 [internal] load build definition from Dockerfile.alpine 12:41:23 #1 transferring dockerfile: 1.52kB done 12:41:23 #1 DONE 0.0s 12:41:23 12:41:23 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 12:41:23 #2 DONE 0.0s 12:41:23 12:41:23 #3 [internal] load .dockerignore 12:41:23 #3 transferring context: 2B done 12:41:23 #3 DONE 0.0s 12:41:23 12:41:23 #4 [internal] load build context 12:41:23 #4 transferring context: 8.60kB 0.0s done 12:41:23 #4 DONE 0.0s 12:41:23 12:41:23 #5 [ 1/11] FROM docker.io/library/ci-base-image-x86_64:latest 12:41:23 #5 DONE 0.1s 12:41:23 12:41:23 #6 [ 2/11] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 12:41:23 #6 0.192 Connecting to iotech.jfrog.io (34.246.139.145:443) 12:41:23 #6 0.633 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 12:41:24 #6 0.633 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 12:41:24 #6 0.633 '/etc/apk/keys/alpine.dev.rsa.pub' saved 12:41:24 #6 DONE 0.7s 12:41:24 12:41:24 #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main' >> /etc/apk/repositories 12:41:24 #7 DONE 0.3s 12:41:24 12:41:24 #8 [ 4/11] 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.6-dev dumb-init && mkdir -p /edgex-c-sdk/build 12:41:24 #8 0.245 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:41:24 #8 0.420 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:41:24 #8 0.613 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main/x86_64/APKINDEX.tar.gz 12:41:25 #8 1.089 WARNING: This apk-tools is OLD! Some packages might not function properly. 12:41:25 #8 1.095 (1/11) Installing iotech-iot-1.6-dev (1.6.3-r0) 12:41:25 #8 1.292 (2/11) Installing libcbor-dev (0.10.2-r1) 12:41:25 #8 1.299 (3/11) Installing libmenuw (6.4_p20230506-r0) 12:41:25 #8 1.303 (4/11) Installing libpanelw (6.4_p20230506-r0) 12:41:25 #8 1.307 (5/11) Installing libncurses++ (6.4_p20230506-r0) 12:41:25 #8 1.311 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 12:41:25 #8 1.319 (7/11) Installing libblkid (2.38.1-r8) 12:41:25 #8 1.326 (8/11) Installing libfdisk (2.38.1-r8) 12:41:25 #8 1.333 (9/11) Installing libmount (2.38.1-r8) 12:41:25 #8 1.340 (10/11) Installing libsmartcols (2.38.1-r8) 12:41:25 #8 1.346 (11/11) Installing util-linux-dev (2.38.1-r8) 12:41:25 #8 1.369 Executing busybox-1.36.1-r7.trigger 12:41:25 #8 1.377 OK: 336 MiB in 102 packages 12:41:25 #8 DONE 1.5s 12:41:25 12:41:25 #9 [ 5/11] RUN apk --no-cache upgrade 12:41:25 #9 0.241 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:41:26 #9 0.326 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:41:26 #9 0.433 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main/x86_64/APKINDEX.tar.gz 12:41:26 #9 0.921 WARNING: This apk-tools is OLD! Some packages might not function properly. 12:41:26 #9 0.930 OK: 336 MiB in 102 packages 12:41:26 #9 DONE 1.0s 12:41:26 12:41:26 #10 [ 6/11] COPY src /edgex-c-sdk/src/ 12:41:26 #10 DONE 0.1s 12:41:26 12:41:26 #11 [ 7/11] COPY include /edgex-c-sdk/include/ 12:41:26 #11 DONE 0.0s 12:41:26 12:41:26 #12 [ 8/11] COPY scripts /edgex-c-sdk/scripts 12:41:26 #12 DONE 0.0s 12:41:26 12:41:26 #13 [ 9/11] COPY LICENSE /edgex-c-sdk/ 12:41:26 #13 DONE 0.0s 12:41:26 12:41:26 #14 [10/11] COPY Attribution.txt /edgex-c-sdk/ 12:41:26 #14 DONE 0.0s 12:41:26 12:41:26 #15 [11/11] WORKDIR /edgex-c-sdk 12:41:26 #15 DONE 0.0s 12:41:26 12:41:26 #16 exporting to image 12:41:26 #16 exporting layers 0.1s done 12:41:26 #16 writing image sha256:0c3d52dde9349baddede3831483c9c8ce1a8000790c7427a2388dd472c4f86e7 done 12:41:26 #16 naming to docker.io/library/device-sdk done 12:41:26 #16 DONE 0.2s [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 12:41:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:41:27 12:41:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:41:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:41:28 latest: Pulling from edgex-lftools-log-publisher 12:41:28 5eb5b503b376: Pulling fs layer 12:41:28 5c69ac0246d0: Pulling fs layer 12:41:28 ec43610c2a17: Pulling fs layer 12:41:28 3a2ae6a8a46f: Pulling fs layer 12:41:28 33b1e0a273af: Pulling fs layer 12:41:28 5d3b04190fa2: Pulling fs layer 12:41:28 2f39f015ded8: Pulling fs layer 12:41:28 3a2ae6a8a46f: Waiting 12:41:28 33b1e0a273af: Waiting 12:41:28 5d3b04190fa2: Waiting 12:41:28 2f39f015ded8: Waiting 12:41:28 5c69ac0246d0: Verifying Checksum 12:41:28 5c69ac0246d0: Download complete 12:41:28 3a2ae6a8a46f: Verifying Checksum 12:41:28 3a2ae6a8a46f: Download complete 12:41:28 33b1e0a273af: Verifying Checksum 12:41:28 33b1e0a273af: Download complete 12:41:28 5d3b04190fa2: Verifying Checksum 12:41:28 5d3b04190fa2: Download complete 12:41:28 ec43610c2a17: Verifying Checksum 12:41:28 ec43610c2a17: Download complete 12:41:28 5eb5b503b376: Verifying Checksum 12:41:28 5eb5b503b376: Download complete 12:41:29 2f39f015ded8: Download complete 12:41:30 5eb5b503b376: Pull complete 12:41:30 5c69ac0246d0: Pull complete 12:41:31 ec43610c2a17: Pull complete 12:41:31 3a2ae6a8a46f: Pull complete 12:41:31 33b1e0a273af: Pull complete 12:41:31 5d3b04190fa2: Pull complete 12:41:37 2f39f015ded8: Pull complete 12:41:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:41:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:41:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:41:38 prd-ubuntu20.04-docker-8c-8g-4446 does not seem to be running inside a container 12:41:38 $ 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-604 -v /w/workspace/edgexfoundry_device-sdk-c_PR-604:/w/workspace/edgexfoundry_device-sdk-c_PR-604:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-604@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-604@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 12:41:41 $ docker top 8d5d4692bd6ba94a4cfcdaddbb3b569a11ff4b9e7f615e5ae315947f6f35e297 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:41:41 ---> job-cost.sh 12:41:41 lf-activate-venv: SKIPPING 12:41:41 INFO: No Stack... 12:41:41 INFO: Retrieving Pricing Info for: v3-standard-8 12:41:42 INFO: Archiving Costs [Pipeline] sh 12:41:42 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-604/archives/cost.csv 12:41:42 + cut -d, -f6 [Pipeline] lock 12:41:42 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-604-1-stack-cost] 12:41:42 Resource [jenkins-edgexfoundry-device-sdk-c-PR-604-1-stack-cost] did not exist. Created. 12:41:42 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-604-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:41:42 + echo total: 0.2199999988079071 [Pipeline] stash 12:41:43 Stashed 1 file(s) [Pipeline] } 12:41:43 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-604-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:41:43 $ docker stop --time=1 8d5d4692bd6ba94a4cfcdaddbb3b569a11ff4b9e7f615e5ae315947f6f35e297 12:41:44 $ docker rm -f --volumes 8d5d4692bd6ba94a4cfcdaddbb3b569a11ff4b9e7f615e5ae315947f6f35e297 [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 12:41:45 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-604/archives ] 12:41:45 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-604/archives 12:41:45 total 16 12:41:45 drwxr-xr-x 3 root root 4096 Apr 1 12:41 . 12:41:45 drwxrwxr-x 10 jenkins jenkins 4096 Apr 1 12:41 .. 12:41:45 drwxr-xr-x 2 root root 4096 Apr 1 12:41 cost 12:41:45 -rw-r--r-- 1 root root 84 Apr 1 12:41 cost.csv 12:41:45 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-604/archives 12:41:45 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-604/archives 12:41:45 total 16 12:41:45 drwxr-xr-x 3 jenkins jenkins 4096 Apr 1 12:41 . 12:41:45 drwxrwxr-x 10 jenkins jenkins 4096 Apr 1 12:41 .. 12:41:45 drwxr-xr-x 2 jenkins jenkins 4096 Apr 1 12:41 cost 12:41:45 -rw-r--r-- 1 jenkins jenkins 84 Apr 1 12:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:41:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:41:47 ---> package-listing.sh 12:41:47 ++ facter osfamily 12:41:47 ++ tr '[:upper:]' '[:lower:]' 12:41:47 + OS_FAMILY=debian 12:41:47 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-604 12:41:47 + START_PACKAGES=/tmp/packages_start.txt 12:41:47 + END_PACKAGES=/tmp/packages_end.txt 12:41:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:41:47 + PACKAGES=/tmp/packages_start.txt 12:41:47 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-604 ']' 12:41:47 + PACKAGES=/tmp/packages_end.txt 12:41:47 + case "${OS_FAMILY}" in 12:41:47 + dpkg -l 12:41:47 + grep '^ii' 12:41:47 + '[' -f /tmp/packages_start.txt ']' 12:41:47 + '[' -f /tmp/packages_end.txt ']' 12:41:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:41:47 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-604 ']' 12:41:47 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-604/archives/ 12:41:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-604/archives/ [Pipeline] echo 12:41:47 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-604/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:41:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:41:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:41:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:41:48 prd-ubuntu20.04-docker-8c-8g-4446 does not seem to be running inside a container 12:41:48 $ 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-604/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-604 -v /w/workspace/edgexfoundry_device-sdk-c_PR-604:/w/workspace/edgexfoundry_device-sdk-c_PR-604:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-604@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-604@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:41:48 $ docker top c5ed4eb678ee1844c4394ca9e56f6d8507f3fc14ff33d09e753dc13440927feb -eo pid,comm [Pipeline] { [Pipeline] sh 12:41:48 + touch /tmp/pre-build-complete [Pipeline] sh 12:41:49 + mkdir -p /var/log/sysstat [Pipeline] sh 12:41:49 + ls /var/log/sa-host 12:41:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:41:49 provisioning config files... 12:41:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-604@tmp/config8612844700307756147tmp [Pipeline] { [Pipeline] echo 12:41:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:41:50 ---> create-netrc.sh [Pipeline] } 12:41:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:41:50 ---> python-tools-install.sh [Pipeline] echo 12:41:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:41:50 ---> sudo-logs.sh 12:41:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:41:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:41:51 ---> job-cost.sh 12:41:51 lf-activate-venv: SKIPPING 12:41:51 DEBUG: total: 0.2199999988079071 12:41:51 INFO: Retrieving Stack Cost... 12:41:51 INFO: Retrieving Pricing Info for: v3-standard-8 12:41:51 INFO: Archiving Costs [Pipeline] echo 12:41:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:41:51 ---> logs-deploy.sh 12:41:51 lf-activate-venv: SKIPPING 12:41:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-604/1 12:41:51 INFO: archiving workspace using pattern(s): 12:41:52 Archives upload complete. 12:41:52 INFO: archiving logs to Nexus