Started by user Felix Ting Replayed #7 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 eaton-coreymutter for edgexfoundry/device-sdk-c Obtained Jenkinsfile from c3442cc74ec8b65f1284546aceb8079855459ced+62fc64c90db9bc421ef18031b23432b09bce4dbe (577a26e79d4b654473885d5b732e9086d22bcbfc) 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-ssh2947350533590722605.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-ssh11207966403286152064.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-517/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-517/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16217151649280601783.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 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. Replacing contents of vars/edgeXBuildGoParallel.groovy Replacing contents of vars/edgeXBuildCApp.groovy Replacing contents of vars/edgeXRelease.groovy Replacing contents of vars/edgeXCodecov.groovy Replacing contents of vars/edgeXReleaseDockerImage.groovy Replacing contents of vars/edgeXBuildDocker.groovy Replacing contents of vars/edgeXEmail.groovy Replacing contents of vars/edgeXNexusPublish.groovy Replacing contents of vars/edgeXSwaggerPublish.groovy Replacing contents of vars/edgeXSnyk.groovy Replacing contents of vars/edgeXSnap.groovy Replacing contents of vars/edgeXReleaseGitTagUtil.groovy Replacing contents of vars/edgeXClair.groovy Replacing contents of vars/edgeXReleaseOpenApi.groovy Replacing contents of vars/edgex.groovy Replacing contents of vars/edgeXUpdateNamedTag.groovy Replacing contents of vars/edgeXReleaseGitHubAssets.groovy Replacing contents of vars/edgeXBuildGoMod.groovy Replacing contents of src/main/groovy/edgeXDocGenerator.groovy Replacing contents of vars/edgeXSemver.groovy Replacing contents of vars/edgeXLTS.groovy Replacing contents of vars/edgeXInfraPublish.groovy Replacing contents of vars/edgeXDockerLogin.groovy Replacing contents of vars/edgeXReleaseGitTag.groovy Replacing contents of vars/edgeXEmailUtil.groovy Replacing contents of vars/edgeXBuildGoApp.groovy Replacing contents of vars/edgeXReleaseSnap.groovy Replacing contents of vars/edgeXReleaseDocs.groovy Replacing contents of vars/edgeXSetupEnvironment.groovy Replacing contents of vars/edgeXInfraLFToolsSign.groovy Replacing contents of vars/edgeXGeneric.groovy Replacing contents of vars/edgeXGHPagesPublish.groovy Replacing contents of vars/edgeXDocker.groovy Replacing contents of vars/edgeXInfraShipLogs.groovy 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-ssh5083549848729669518.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-517/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-517/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12566165172588539944.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Replacing contents of vars/lfCommon.groovy Replacing contents of vars/lfNode.groovy Replacing contents of vars/lfJava.groovy Replacing contents of vars/lfDocker.groovy Replacing contents of vars/lfDefaults.groovy Replacing contents of vars/lfInfraShipLogs.groovy Replacing contents of vars/lfParallelCostCapture.groovy [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-34610 in /w/workspace/edgexfoundry_device-sdk-c_PR-517 [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-517 # 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/517/head:refs/remotes/origin/PR-517 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1dcfe63ad036bf8d78932132d5dcad6aabcde801 into PR head commit c3442cc74ec8b65f1284546aceb8079855459ced Merge succeeded, producing 56cc238fa63f16b3132711d0d96cfd4c1b501e04 Checking out Revision 56cc238fa63f16b3132711d0d96cfd4c1b501e04 (PR-517) > git config core.sparsecheckout # timeout=10 > git checkout -f c3442cc74ec8b65f1284546aceb8079855459ced # 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 1dcfe63ad036bf8d78932132d5dcad6aabcde801 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 56cc238fa63f16b3132711d0d96cfd4c1b501e04 # timeout=10 Commit message: "Merge commit '1dcfe63ad036bf8d78932132d5dcad6aabcde801' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk b0f562f23b8c4ac7f8f7dc6303f99a8ff64909f6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:04:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:04:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:04:11 ========================================================= 08:04:11 EdgeX Global Pipelines Version Info 08:04:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:04:11 ------------------- 08:04:11 stable info: 08:04:11 ------------------- 08:04:11 Commited By: Cherry Wang cherry@iotechsys.com 08:04:11 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 08:04:11 Message: update stable to v1.0.269 08:04:12 ------------------- 08:04:12 experimental info: 08:04:12 ------------------- 08:04:12 Commited By: **** collab-it+edgex@linuxfoundation.org 08:04:12 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 08:04:12 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:04:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 08:04:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 08:04:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:04:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:04:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 08:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 08:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 08:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:04:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:04:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:04:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:04:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:04:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:04:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:04:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-517 [Pipeline] echo 08:04:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-517 [Pipeline] echo 08:04:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-517 [Pipeline] echo 08:04:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 56cc238fa63f16b3132711d0d96cfd4c1b501e04 [Pipeline] echo 08:04:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 56cc238 [Pipeline] echo 08:04:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:04:12 provisioning config files... 08:04:13 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/config4557911126500241959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:04:13 ---> ****-login.sh 08:04:13 nexus3.edgexfoundry.org:10001 08:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:13 Configure a credential helper to remove this warning. See 08:04:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:13 08:04:13 Login Succeeded 08:04:13 nexus3.edgexfoundry.org:10002 08:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:13 Configure a credential helper to remove this warning. See 08:04:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:13 08:04:13 Login Succeeded 08:04:13 nexus3.edgexfoundry.org:10003 08:04:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:13 Configure a credential helper to remove this warning. See 08:04:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:13 08:04:13 Login Succeeded 08:04:13 nexus3.edgexfoundry.org:10004 08:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:14 Configure a credential helper to remove this warning. See 08:04:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:14 08:04:14 Login Succeeded 08:04:14 ****.io 08:04:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:14 Configure a credential helper to remove this warning. See 08:04:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:14 08:04:14 Login Succeeded 08:04:14 ---> ****-login.sh ends [Pipeline] } 08:04:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 08:04:14 + git rev-list -1 --merges 56cc238fa63f16b3132711d0d96cfd4c1b501e04~1..56cc238fa63f16b3132711d0d96cfd4c1b501e04 [Pipeline] echo 08:04:14 -----------> git rev-list -1 --merges 56cc238fa63f16b3132711d0d96cfd4c1b501e04~1..56cc238fa63f16b3132711d0d96cfd4c1b501e04 56cc238fa63f16b3132711d0d96cfd4c1b501e04 08:04:14 56cc238fa63f16b3132711d0d96cfd4c1b501e04 [false] [Pipeline] sh 08:04:15 + git log --format=format:%s -1 56cc238fa63f16b3132711d0d96cfd4c1b501e04 [Pipeline] echo 08:04:15 ========================================================= 08:04:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:04:15 ========================================================= 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 08:04:15 + git rev-list -1 --merges 56cc238fa63f16b3132711d0d96cfd4c1b501e04~1..56cc238fa63f16b3132711d0d96cfd4c1b501e04 [Pipeline] echo 08:04:15 -----------> git rev-list -1 --merges 56cc238fa63f16b3132711d0d96cfd4c1b501e04~1..56cc238fa63f16b3132711d0d96cfd4c1b501e04 56cc238fa63f16b3132711d0d96cfd4c1b501e04 08:04:15 56cc238fa63f16b3132711d0d96cfd4c1b501e04 [false] [Pipeline] sh 08:04:15 + git log --format=format:%s -1 56cc238fa63f16b3132711d0d96cfd4c1b501e04 [Pipeline] echo 08:04:15 ========================================================= 08:04:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:04:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 08:04:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:04:16 + grep -v github /etc/ssh/ssh_known_hosts 08:04:16 + [ -e /tmp/ssh_known_hosts ] 08:04:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:04:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 08:04:16 sudo tee -a /etc/ssh/ssh_known_hosts 08:04:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:04:17 08:04:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:04:17 0.1.4: Pulling from edgex-devops/py-git-semver 08:04:17 b85a868b505f: Pulling fs layer 08:04:17 e2be974225ed: Pulling fs layer 08:04:17 339a4e72a1f5: Pulling fs layer 08:04:17 988bab9f4d93: Pulling fs layer 08:04:17 1469e6f7b9e6: Pulling fs layer 08:04:17 eaf3925da568: Pulling fs layer 08:04:17 bab4dde63d76: Pulling fs layer 08:04:17 bde34c3a00c8: Pulling fs layer 08:04:17 b352a97aabf1: Pulling fs layer 08:04:17 4872d77fe225: Pulling fs layer 08:04:17 5851b861e8e6: Pulling fs layer 08:04:17 bab4dde63d76: Waiting 08:04:17 bde34c3a00c8: Waiting 08:04:17 b352a97aabf1: Waiting 08:04:17 4872d77fe225: Waiting 08:04:17 5851b861e8e6: Waiting 08:04:17 988bab9f4d93: Waiting 08:04:17 eaf3925da568: Waiting 08:04:17 e2be974225ed: Verifying Checksum 08:04:17 e2be974225ed: Download complete 08:04:17 988bab9f4d93: Verifying Checksum 08:04:17 988bab9f4d93: Download complete 08:04:17 1469e6f7b9e6: Verifying Checksum 08:04:17 1469e6f7b9e6: Download complete 08:04:17 eaf3925da568: Download complete 08:04:17 339a4e72a1f5: Verifying Checksum 08:04:17 339a4e72a1f5: Download complete 08:04:17 bde34c3a00c8: Verifying Checksum 08:04:17 bde34c3a00c8: Download complete 08:04:17 b352a97aabf1: Verifying Checksum 08:04:17 b352a97aabf1: Download complete 08:04:17 4872d77fe225: Verifying Checksum 08:04:17 4872d77fe225: Download complete 08:04:17 5851b861e8e6: Download complete 08:04:17 b85a868b505f: Verifying Checksum 08:04:17 b85a868b505f: Download complete 08:04:17 bab4dde63d76: Verifying Checksum 08:04:17 bab4dde63d76: Download complete 08:04:19 b85a868b505f: Pull complete 08:04:19 e2be974225ed: Pull complete 08:04:19 339a4e72a1f5: Pull complete 08:04:19 988bab9f4d93: Pull complete 08:04:20 1469e6f7b9e6: Pull complete 08:04:20 eaf3925da568: Pull complete 08:04:21 bab4dde63d76: Pull complete 08:04:21 bde34c3a00c8: Pull complete 08:04:22 b352a97aabf1: Pull complete 08:04:22 4872d77fe225: Pull complete 08:04:22 5851b861e8e6: Pull complete 08:04:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:04:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:04:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:04:22 prd-ubuntu20.04-docker-8c-8g-34610 does not seem to be running inside a container 08:04:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-517 -v /w/workspace/edgexfoundry_device-sdk-c_PR-517:/w/workspace/edgexfoundry_device-sdk-c_PR-517:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-517@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-devops/py-git-semver:0.1.4 cat 08:04:26 $ docker top 1d08d4cd3bb882bb6ed4522934bb472083abbde107b3eaf79afa77ec8f810c78 -eo pid,comm 08:04:26 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). 08:04:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:04:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:04:26 [ssh-agent] Looking for ssh-agent implementation... 08:04:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:04:26 $ docker exec 1d08d4cd3bb882bb6ed4522934bb472083abbde107b3eaf79afa77ec8f810c78 ssh-agent 08:04:26 SSH_AUTH_SOCK=/tmp/ssh-GEkXQsCWOXX1/agent.32 08:04:26 SSH_AGENT_PID=38 08:04:26 Running ssh-add (command line suppressed) 08:04:26 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_2719348446744634873.key (/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_2719348446744634873.key) 08:04:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:04:27 + git tag --points-at HEAD [Pipeline] } 08:04:27 $ docker exec --env ******** --env ******** 1d08d4cd3bb882bb6ed4522934bb472083abbde107b3eaf79afa77ec8f810c78 ssh-agent -k 08:04:27 unset SSH_AUTH_SOCK; 08:04:27 unset SSH_AGENT_PID; 08:04:27 echo Agent pid 38 killed; 08:04:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:04:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:04:27 [ssh-agent] Looking for ssh-agent implementation... 08:04:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:04:27 $ docker exec 1d08d4cd3bb882bb6ed4522934bb472083abbde107b3eaf79afa77ec8f810c78 ssh-agent 08:04:27 SSH_AUTH_SOCK=/tmp/ssh-xr3z136UkEqB/agent.71 08:04:27 SSH_AGENT_PID=77 08:04:27 Running ssh-add (command line suppressed) 08:04:27 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_17794160001087801945.key (/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_17794160001087801945.key) 08:04:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:04:28 + git semver init 08:04:28 2024-12-06 08:04:28,215 [run_init] DEBUG init version:0.0.0 force:False 08:04:28 2024-12-06 08:04:28,216 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver 08:04:28 2024-12-06 08:04:28,217 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver 08:04:28 2024-12-06 08:04:28,217 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-517, universal_newlines=False, shell=None, istream=None) 08:04:29 2024-12-06 08:04:29,148 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.git/info/exclude 08:04:29 2024-12-06 08:04:29,149 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver/PR-517 with force:False 08:04:29 2024-12-06 08:04:29,149 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver/PR-517 08:04:29 2024-12-06 08:04:29,153 [execute] INFO git cat-file --batch-check 08:04:29 2024-12-06 08:04:29,153 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver, universal_newlines=False, shell=None, istream=) 08:04:29 2024-12-06 08:04:29,159 [execute] INFO git cat-file --batch 08:04:29 2024-12-06 08:04:29,159 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver, universal_newlines=False, shell=None, istream=) 08:04:29 2024-12-06 08:04:29,164 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver/PR-517 08:04:29 0.0.0 [Pipeline] } 08:04:29 $ docker exec --env ******** --env ******** 1d08d4cd3bb882bb6ed4522934bb472083abbde107b3eaf79afa77ec8f810c78 ssh-agent -k 08:04:29 unset SSH_AUTH_SOCK; 08:04:29 unset SSH_AGENT_PID; 08:04:29 echo Agent pid 77 killed; 08:04:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:04:29 + git semver [Pipeline] } 08:04:29 $ docker stop --time=1 1d08d4cd3bb882bb6ed4522934bb472083abbde107b3eaf79afa77ec8f810c78 08:04:31 $ docker rm -f --volumes 1d08d4cd3bb882bb6ed4522934bb472083abbde107b3eaf79afa77ec8f810c78 [Pipeline] // withDockerContainer [Pipeline] sh 08:04:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:04:32 Stashed 1 file(s) [Pipeline] echo 08:04:32 [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 08:04:32 provisioning config files... [Pipeline] // stage [Pipeline] } 08:04:32 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/config7010355408926712030tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 08:04:32 ---> ****-login.sh 08:04:32 nexus3.edgexfoundry.org:10001 08:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:32 Configure a credential helper to remove this warning. See 08:04:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:32 08:04:32 Login Succeeded 08:04:32 nexus3.edgexfoundry.org:10002 08:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:32 Configure a credential helper to remove this warning. See 08:04:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:32 08:04:32 Login Succeeded 08:04:32 nexus3.edgexfoundry.org:10003 08:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:32 Configure a credential helper to remove this warning. See 08:04:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:32 08:04:32 Login Succeeded 08:04:32 nexus3.edgexfoundry.org:10004 08:04:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:32 Configure a credential helper to remove this warning. See 08:04:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:32 08:04:32 Login Succeeded 08:04:32 ****.io 08:04:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:33 Configure a credential helper to remove this warning. See 08:04:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:33 08:04:33 Login Succeeded 08:04:33 ---> ****-login.sh ends [Pipeline] } 08:04:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:04:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:04:33 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 08:04:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:04:33 ========================================================= 08:04:33 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 08:04:33 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:33 + 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 . 08:04:33 Sending build context to Docker daemon 5.187MB 08:04:33 Step 1/22 : ARG BASE=alpine:3.18 08:04:33 Step 2/22 : FROM ${BASE} as builder 08:04:33 latest: Pulling from edgex-devops/edgex-gcc-base 08:04:33 96526aa774ef: Pulling fs layer 08:04:33 da60e534fd72: Pulling fs layer 08:04:33 96526aa774ef: Download complete 08:04:33 96526aa774ef: Pull complete 08:04:34 da60e534fd72: Verifying Checksum 08:04:34 da60e534fd72: Download complete 08:04:38 da60e534fd72: Pull complete 08:04:38 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 08:04:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 08:04:38 ---> 6605166a5db4 08:04:38 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 08:04:40 ---> Running in 742e6677d454 08:04:40 Connecting to iotech.jfrog.io (34.246.139.145:443) 08:04:40 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 08:04:40 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 08:04:40 '/etc/apk/keys/alpine.dev.rsa.pub' saved 08:04:41 Removing intermediate container 742e6677d454 08:04:41 ---> 3719830923da 08:04:41 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 08:04:41 ---> Running in f08d95f495a8 08:04:41 Removing intermediate container f08d95f495a8 08:04:41 ---> 6b7273737e11 08:04:41 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 08:04:41 ---> Running in 3a8ad5563536 08:04:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:04:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:04:42 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 08:04:43 WARNING: This apk-tools is OLD! Some packages might not function properly. 08:04:43 (1/15) Installing libcbor (0.10.2-r1) 08:04:43 (2/15) Installing iotech-iot-1.5 (1.5.5-r0) 08:04:43 (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) 08:04:43 (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 08:04:44 (5/15) Installing libcbor-dev (0.10.2-r1) 08:04:44 (6/15) Installing libmenuw (6.4_p20230506-r0) 08:04:44 (7/15) Installing libpanelw (6.4_p20230506-r0) 08:04:44 (8/15) Installing libncurses++ (6.4_p20230506-r0) 08:04:44 (9/15) Installing ncurses-dev (6.4_p20230506-r0) 08:04:44 (10/15) Installing libblkid (2.38.1-r8) 08:04:44 (11/15) Installing libuuid (2.38.1-r8) 08:04:44 (12/15) Installing libfdisk (2.38.1-r8) 08:04:44 (13/15) Installing libmount (2.38.1-r8) 08:04:44 (14/15) Installing libsmartcols (2.38.1-r8) 08:04:44 (15/15) Installing util-linux-dev (2.38.1-r8) 08:04:44 Executing busybox-1.36.1-r4.trigger 08:04:44 OK: 336 MiB in 97 packages 08:04:44 Removing intermediate container 3a8ad5563536 08:04:44 ---> 6a893ea1f29d 08:04:44 Step 6/22 : RUN mkdir /tmp/sdk 08:04:45 ---> Running in 6c176ed22e53 08:04:45 Removing intermediate container 6c176ed22e53 08:04:45 ---> 51c52491729c 08:04:45 Step 7/22 : COPY VERSION /tmp/sdk 08:04:45 ---> 6d1936e6aa4b 08:04:45 Step 8/22 : COPY src /tmp/sdk/src 08:04:46 ---> f5e554802f3f 08:04:46 Step 9/22 : COPY include /tmp/sdk/include 08:04:46 ---> f6afde2e8cba 08:04:46 Step 10/22 : COPY scripts /tmp/sdk/scripts 08:04:46 ---> 15cbed476a5f 08:04:46 Step 11/22 : COPY LICENSE /tmp/sdk 08:04:46 ---> f60ddae2e25b 08:04:46 Step 12/22 : COPY Attribution.txt /tmp/sdk 08:04:46 ---> 25cf461e68ab 08:04:46 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 08:04:46 ---> Running in 8bb48849235a 08:04:46 + CPPCHECK=false 08:04:46 + DOCGEN=false 08:04:46 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 08:04:46 + '[' 0 -gt 0 ] 08:04:46 + readlink -f ./scripts/build.sh 08:04:46 + dirname /tmp/sdk/scripts/build.sh 08:04:46 + dirname /tmp/sdk/scripts 08:04:46 + ROOT=/tmp/sdk 08:04:46 + cd /tmp/sdk 08:04:46 + mkdir -p /tmp/sdk/build/release 08:04:46 + cd /tmp/sdk/build/release 08:04:46 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 08:04:47 -- The C compiler identification is GNU 12.2.1 08:04:47 -- Detecting C compiler ABI info 08:04:47 -- Detecting C compiler ABI info - done 08:04:47 -- Check for working C compiler: /usr/bin/cc - skipped 08:04:47 -- Detecting C compile features 08:04:47 -- Detecting C compile features - done 08:04:47 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 08:04:47 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 08:04:47 -- Found LIBYAML: /usr/lib/libyaml.so 08:04:47 -- Found LIBUUID: /usr/lib/libuuid.so 08:04:47 -- Found LIBCBOR: /usr/lib/libcbor.so 08:04:47 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 08:04:47 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 08:04:47 -- /opt/iotech/iot/1.5/include 08:04:47 -- C SDK 0.0.0 for Linux 08:04:47 -- Performing Test CSDK_HAVE_ATOMIC 08:04:47 -- Performing Test CSDK_HAVE_ATOMIC - Success 08:04:47 -- Found Curses: /usr/lib/libcurses.so 08:04:47 -- Configuring done (0.4s) 08:04:47 -- Generating done (0.0s) 08:04:47 -- Build files have been written to: /tmp/sdk/build/release 08:04:47 + make all package 08:04:47 + tee release.log 08:04:47 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 08:04:47 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 08:04:47 from /tmp/sdk/src/c/service.h:12, 08:04:47 from /tmp/sdk/src/c/autoevent.h:12, 08:04:47 from /tmp/sdk/src/c/autoevent.c:9: 08:04:47 /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': 08:04:47 /tmp/sdk/src/c/autoevent.c:81:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 08:04:47 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 08:04:47 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 08:04:47 | | 08:04:47 | size_t {aka long unsigned int} 08:04:47 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 08:04:47 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 08:04:47 | ^~~~~~~~~~~ 08:04:47 /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here 08:04:47 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 08:04:47 | ~^ 08:04:47 | | 08:04:47 | int 08:04:47 | %ld 08:04:47 [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 08:04:47 /tmp/sdk/src/c/bus-mqtt.c: In function 'edgex_bus_mqtt_subscribe': 08:04:47 /tmp/sdk/src/c/bus-mqtt.c:85:13: error: invalid storage class for function 'edgex_bus_mqtt_post' 08:04:47 85 | static void edgex_bus_mqtt_post (void *ctx, const char *topic, const iot_data_t *envelope) 08:04:47 | ^~~~~~~~~~~~~~~~~~~ 08:04:47 /tmp/sdk/src/c/bus-mqtt.c:108:13: error: invalid storage class for function 'edgex_bus_mqtt_onconnect' 08:04:47 108 | static void edgex_bus_mqtt_onconnect(void *context, MQTTAsync_successData *response) 08:04:47 | ^~~~~~~~~~~~~~~~~~~~~~~~ 08:04:47 /tmp/sdk/src/c/bus-mqtt.c:118:13: error: invalid storage class for function 'edgex_bus_mqtt_onconnectfail' 08:04:47 118 | static void edgex_bus_mqtt_onconnectfail (void *context, MQTTAsync_failureData *response) 08:04:47 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 08:04:47 /tmp/sdk/src/c/bus-mqtt.c:131:12: error: invalid storage class for function 'edgex_bus_mqtt_msgarrvd' 08:04:47 131 | static int edgex_bus_mqtt_msgarrvd (void *context, char *topicName, int topicLen, MQTTAsync_message *message) 08:04:47 | ^~~~~~~~~~~~~~~~~~~~~~~ 08:04:47 /tmp/sdk/src/c/bus-mqtt.c:318:1: error: expected declaration or statement at end of input 08:04:47 318 | } 08:04:47 | ^ 08:04:47 /tmp/sdk/src/c/bus-mqtt.c: At top level: 08:04:47 /tmp/sdk/src/c/bus-mqtt.c:161:14: warning: 'edgex_bus_create_mqtt' defined but not used [-Wunused-function] 08:04:47 161 | edgex_bus_t *edgex_bus_create_mqtt (iot_logger_t *lc, const char *svcname, const iot_data_t *cfg, edgex_secret_provider_t *secstore, iot_threadpool_t *queue, const devsdk_timeout *tm) 08:04:47 | ^~~~~~~~~~~~~~~~~~~~~ 08:04:47 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:90: c/CMakeFiles/csdk.dir/bus-mqtt.c.o] Error 1 08:04:47 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 08:04:47 make: *** [Makefile:156: all] Error 2 08:04:47 + '[' false '=' true ] 08:04:47 + '[' false '=' true ] 08:04:47 + mkdir -p /tmp/sdk/build/debug 08:04:47 + cd /tmp/sdk/build/debug 08:04:47 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 08:04:47 -- The C compiler identification is GNU 12.2.1 08:04:47 -- Detecting C compiler ABI info 08:04:47 -- Detecting C compiler ABI info - done 08:04:48 -- Check for working C compiler: /usr/bin/cc - skipped 08:04:48 -- Detecting C compile features 08:04:48 -- Detecting C compile features - done 08:04:48 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 08:04:48 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 08:04:48 -- Found LIBYAML: /usr/lib/libyaml.so 08:04:48 -- Found LIBUUID: /usr/lib/libuuid.so 08:04:48 -- Found LIBCBOR: /usr/lib/libcbor.so 08:04:48 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 08:04:48 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 08:04:48 -- /opt/iotech/iot/1.5/include 08:04:48 -- C SDK 0.0.0 for Linux 08:04:48 -- Performing Test CSDK_HAVE_ATOMIC 08:04:48 -- Performing Test CSDK_HAVE_ATOMIC - Success 08:04:48 -- Found Curses: /usr/lib/libcurses.so 08:04:48 -- Configuring done (0.4s) 08:04:48 -- Generating done (0.0s) 08:04:48 -- Build files have been written to: /tmp/sdk/build/debug 08:04:48 + make 08:04:48 + tee debug.log 08:04:48 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 08:04:48 In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, 08:04:48 from /tmp/sdk/src/c/service.h:12, 08:04:48 from /tmp/sdk/src/c/autoevent.h:12, 08:04:48 from /tmp/sdk/src/c/autoevent.c:9: 08:04:48 /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': 08:04:48 /tmp/sdk/src/c/autoevent.c:81:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 08:04:48 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 08:04:48 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 08:04:48 | | 08:04:48 | size_t {aka long unsigned int} 08:04:48 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 08:04:48 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 08:04:48 | ^~~~~~~~~~~ 08:04:48 /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here 08:04:48 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); 08:04:48 | ~^ 08:04:48 | | 08:04:48 | int 08:04:48 | %ld 08:04:48 [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 08:04:48 /tmp/sdk/src/c/bus-mqtt.c: In function 'edgex_bus_mqtt_subscribe': 08:04:48 /tmp/sdk/src/c/bus-mqtt.c:85:13: error: invalid storage class for function 'edgex_bus_mqtt_post' 08:04:48 85 | static void edgex_bus_mqtt_post (void *ctx, const char *topic, const iot_data_t *envelope) 08:04:48 | ^~~~~~~~~~~~~~~~~~~ 08:04:48 /tmp/sdk/src/c/bus-mqtt.c:108:13: error: invalid storage class for function 'edgex_bus_mqtt_onconnect' 08:04:48 108 | static void edgex_bus_mqtt_onconnect(void *context, MQTTAsync_successData *response) 08:04:48 | ^~~~~~~~~~~~~~~~~~~~~~~~ 08:04:48 /tmp/sdk/src/c/bus-mqtt.c:118:13: error: invalid storage class for function 'edgex_bus_mqtt_onconnectfail' 08:04:48 118 | static void edgex_bus_mqtt_onconnectfail (void *context, MQTTAsync_failureData *response) 08:04:48 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 08:04:48 /tmp/sdk/src/c/bus-mqtt.c:131:12: error: invalid storage class for function 'edgex_bus_mqtt_msgarrvd' 08:04:48 131 | static int edgex_bus_mqtt_msgarrvd (void *context, char *topicName, int topicLen, MQTTAsync_message *message) 08:04:48 | ^~~~~~~~~~~~~~~~~~~~~~~ 08:04:48 /tmp/sdk/src/c/bus-mqtt.c:318:1: error: expected declaration or statement at end of input 08:04:48 318 | } 08:04:48 | ^ 08:04:48 /tmp/sdk/src/c/bus-mqtt.c: At top level: 08:04:48 /tmp/sdk/src/c/bus-mqtt.c:161:14: warning: 'edgex_bus_create_mqtt' defined but not used [-Wunused-function] 08:04:48 161 | edgex_bus_t *edgex_bus_create_mqtt (iot_logger_t *lc, const char *svcname, const iot_data_t *cfg, edgex_secret_provider_t *secstore, iot_threadpool_t *queue, const devsdk_timeout *tm) 08:04:48 | ^~~~~~~~~~~~~~~~~~~~~ 08:04:48 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:90: c/CMakeFiles/csdk.dir/bus-mqtt.c.o] Error 1 08:04:48 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 08:04:48 make: *** [Makefile:156: all] Error 2 08:04:48 make: Entering directory '/tmp/sdk/build/release' 08:04:48 [ 2%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 08:04:48 /tmp/sdk/src/c/bus-mqtt.c: In function 'edgex_bus_mqtt_subscribe': 08:04:48 /tmp/sdk/src/c/bus-mqtt.c:85:13: error: invalid storage class for function 'edgex_bus_mqtt_post' 08:04:48 85 | static void edgex_bus_mqtt_post (void *ctx, const char *topic, const iot_data_t *envelope) 08:04:48 | ^~~~~~~~~~~~~~~~~~~ 08:04:48 /tmp/sdk/src/c/bus-mqtt.c:108:13: error: invalid storage class for function 'edgex_bus_mqtt_onconnect' 08:04:48 108 | static void edgex_bus_mqtt_onconnect(void *context, MQTTAsync_successData *response) 08:04:48 | ^~~~~~~~~~~~~~~~~~~~~~~~ 08:04:48 /tmp/sdk/src/c/bus-mqtt.c:118:13: error: invalid storage class for function 'edgex_bus_mqtt_onconnectfail' 08:04:48 118 | static void edgex_bus_mqtt_onconnectfail (void *context, MQTTAsync_failureData *response) 08:04:48 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 08:04:48 /tmp/sdk/src/c/bus-mqtt.c:131:12: error: invalid storage class for function 'edgex_bus_mqtt_msgarrvd' 08:04:48 131 | static int edgex_bus_mqtt_msgarrvd (void *context, char *topicName, int topicLen, MQTTAsync_message *message) 08:04:48 | ^~~~~~~~~~~~~~~~~~~~~~~ 08:04:48 /tmp/sdk/src/c/bus-mqtt.c:318:1: error: expected declaration or statement at end of input 08:04:48 318 | } 08:04:48 | ^ 08:04:48 /tmp/sdk/src/c/bus-mqtt.c: At top level: 08:04:48 /tmp/sdk/src/c/bus-mqtt.c:161:14: warning: 'edgex_bus_create_mqtt' defined but not used [-Wunused-function] 08:04:48 161 | edgex_bus_t *edgex_bus_create_mqtt (iot_logger_t *lc, const char *svcname, const iot_data_t *cfg, edgex_secret_provider_t *secstore, iot_threadpool_t *queue, const devsdk_timeout *tm) 08:04:48 | ^~~~~~~~~~~~~~~~~~~~~ 08:04:48 make[2]: *** [c/CMakeFiles/csdk.dir/build.make:90: c/CMakeFiles/csdk.dir/bus-mqtt.c.o] Error 1 08:04:48 make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 08:04:48 make: *** [Makefile:156: all] Error 2 08:04:48 make: Leaving directory '/tmp/sdk/build/release' 08:04:48 The command '/bin/sh -c cd /tmp/sdk && ./scripts/build.sh && make -C build/release install' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:04:49 08:04:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:04:49 latest: Pulling from edgex-lftools-log-publisher 08:04:49 5eb5b503b376: Pulling fs layer 08:04:49 5c69ac0246d0: Pulling fs layer 08:04:49 ec43610c2a17: Pulling fs layer 08:04:49 3a2ae6a8a46f: Pulling fs layer 08:04:49 33b1e0a273af: Pulling fs layer 08:04:49 5d3b04190fa2: Pulling fs layer 08:04:49 2f39f015ded8: Pulling fs layer 08:04:49 3a2ae6a8a46f: Waiting 08:04:49 33b1e0a273af: Waiting 08:04:49 2f39f015ded8: Waiting 08:04:49 5d3b04190fa2: Waiting 08:04:49 5c69ac0246d0: Verifying Checksum 08:04:49 3a2ae6a8a46f: Download complete 08:04:49 33b1e0a273af: Verifying Checksum 08:04:49 33b1e0a273af: Download complete 08:04:49 ec43610c2a17: Verifying Checksum 08:04:49 ec43610c2a17: Download complete 08:04:49 5d3b04190fa2: Verifying Checksum 08:04:49 5d3b04190fa2: Download complete 08:04:49 5eb5b503b376: Verifying Checksum 08:04:49 5eb5b503b376: Download complete 08:04:50 2f39f015ded8: Download complete 08:04:50 5eb5b503b376: Pull complete 08:04:51 5c69ac0246d0: Pull complete 08:04:51 ec43610c2a17: Pull complete 08:04:51 3a2ae6a8a46f: Pull complete 08:04:51 33b1e0a273af: Pull complete 08:04:51 5d3b04190fa2: Pull complete 08:04:56 2f39f015ded8: Pull complete 08:04:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:04:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:04:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:04:56 prd-ubuntu20.04-docker-8c-8g-34610 does not seem to be running inside a container 08:04:56 $ 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-517 -v /w/workspace/edgexfoundry_device-sdk-c_PR-517:/w/workspace/edgexfoundry_device-sdk-c_PR-517:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:05:00 $ docker top b86d1daf091743b467f77e09acb4dd6814c6ab79e9b70855f34407ef31aeb528 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:05:01 ---> job-cost.sh 08:05:01 lf-activate-venv: SKIPPING 08:05:01 INFO: No Stack... 08:05:01 INFO: Retrieving Pricing Info for: v3-standard-8 08:05:01 INFO: Archiving Costs [Pipeline] sh 08:05:02 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives/cost.csv 08:05:02 + cut -d, -f6 [Pipeline] lock 08:05:02 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-8-stack-cost] 08:05:02 Resource [jenkins-edgexfoundry-device-sdk-c-PR-517-8-stack-cost] did not exist. Created. 08:05:02 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:05:02 + echo total: 0.2199999988079071 [Pipeline] stash 08:05:02 Stashed 1 file(s) [Pipeline] } 08:05:02 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-8-stack-cost] [Pipeline] // lock [Pipeline] } 08:05:02 $ docker stop --time=1 b86d1daf091743b467f77e09acb4dd6814c6ab79e9b70855f34407ef31aeb528 08:05:03 $ docker rm -f --volumes b86d1daf091743b467f77e09acb4dd6814c6ab79e9b70855f34407ef31aeb528 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:05:04 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [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 08:05:04 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives ] 08:05:04 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives 08:05:04 total 16 08:05:04 drwxr-xr-x 3 root root 4096 Dec 6 08:05 . 08:05:04 drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 08:05 .. 08:05:04 drwxr-xr-x 2 root root 4096 Dec 6 08:05 cost 08:05:04 -rw-r--r-- 1 root root 84 Dec 6 08:05 cost.csv 08:05:04 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives 08:05:04 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives 08:05:04 total 16 08:05:04 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 08:05 . 08:05:04 drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 08:05 .. 08:05:04 drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 08:05 cost 08:05:04 -rw-r--r-- 1 jenkins jenkins 84 Dec 6 08:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:05:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:05:05 ---> package-listing.sh 08:05:05 ++ facter osfamily 08:05:05 ++ tr '[:upper:]' '[:lower:]' 08:05:06 + OS_FAMILY=debian 08:05:06 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-517 08:05:06 + START_PACKAGES=/tmp/packages_start.txt 08:05:06 + END_PACKAGES=/tmp/packages_end.txt 08:05:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:05:06 + PACKAGES=/tmp/packages_start.txt 08:05:06 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-517 ']' 08:05:06 + PACKAGES=/tmp/packages_end.txt 08:05:06 + case "${OS_FAMILY}" in 08:05:06 + dpkg -l 08:05:06 + grep '^ii' 08:05:06 + '[' -f /tmp/packages_start.txt ']' 08:05:06 + '[' -f /tmp/packages_end.txt ']' 08:05:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:05:06 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-517 ']' 08:05:06 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives/ 08:05:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives/ [Pipeline] echo 08:05:06 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-517/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:05:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:05:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:05:06 prd-ubuntu20.04-docker-8c-8g-34610 does not seem to be running inside a container 08:05:07 $ 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-517/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-517 -v /w/workspace/edgexfoundry_device-sdk-c_PR-517:/w/workspace/edgexfoundry_device-sdk-c_PR-517:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:05:07 $ docker top bdf5c1ee775658a8818570e0cf66e51809cc664d37fead728728b892d239c783 -eo pid,comm [Pipeline] { [Pipeline] sh 08:05:07 + touch /tmp/pre-build-complete [Pipeline] sh 08:05:07 + mkdir -p /var/log/sysstat [Pipeline] sh 08:05:08 + ls /var/log/sa-host 08:05:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:05:08 provisioning config files... 08:05:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/config4282233248185127027tmp [Pipeline] { [Pipeline] echo 08:05:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:05:08 ---> create-netrc.sh [Pipeline] } 08:05:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:05:09 ---> python-tools-install.sh [Pipeline] echo 08:05:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:05:09 ---> sudo-logs.sh 08:05:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:05:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:05:09 ---> job-cost.sh 08:05:09 lf-activate-venv: SKIPPING 08:05:09 DEBUG: total: 0.2199999988079071 08:05:09 INFO: Retrieving Stack Cost... 08:05:09 INFO: Retrieving Pricing Info for: v3-standard-8 08:05:09 INFO: Archiving Costs [Pipeline] echo 08:05:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:05:10 ---> logs-deploy.sh 08:05:10 lf-activate-venv: SKIPPING 08:05:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-517/8 08:05:10 INFO: archiving workspace using pattern(s): 08:05:11 Archives upload complete. 08:05:11 INFO: archiving logs to Nexus