Pull request #447 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 iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 1e70547fd5e0af83b7d333a1569819e4c4d6a6d0+21f79343dd353c602474ef88d38fd1373f48e545 (ac9d2c85a80bd624853d4b2984fbbbcf7c67b095) 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-ssh6790268342234899685.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh11490872865305521630.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-447/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-447/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7314158730423778340.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-447/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15316877739765242157.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh12295185784716699678.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-447/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-447/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6960997928725991188.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-9610 in /w/workspace/edgexfoundry_device-sdk-c_PR-447 [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-447 # 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/447/head:refs/remotes/origin/PR-447 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 21f79343dd353c602474ef88d38fd1373f48e545 into PR head commit 1e70547fd5e0af83b7d333a1569819e4c4d6a6d0 Merge succeeded, producing 1e70547fd5e0af83b7d333a1569819e4c4d6a6d0 Checking out Revision 1e70547fd5e0af83b7d333a1569819e4c4d6a6d0 (PR-447) > git config core.sparsecheckout # timeout=10 > git checkout -f 1e70547fd5e0af83b7d333a1569819e4c4d6a6d0 # 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 21f79343dd353c602474ef88d38fd1373f48e545 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1e70547fd5e0af83b7d333a1569819e4c4d6a6d0 # timeout=10 Commit message: "refactor: abstraction for MessageBus" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:10:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:10:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:10:01 ========================================================= 10:10:01 EdgeX Global Pipelines Version Info 10:10:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:10:02 ------------------- 10:10:02 stable info: 10:10:02 ------------------- 10:10:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:10:02 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 10:10:02 Message: update stable to v1.0.244 10:10:02 ------------------- 10:10:02 experimental info: 10:10:02 ------------------- 10:10:02 Commited By: **** collab-it+edgex@linuxfoundation.org 10:10:02 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 10:10:02 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-447 [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-447 [Pipeline] echo 10:10:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-447 [Pipeline] echo 10:10:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e70547fd5e0af83b7d333a1569819e4c4d6a6d0 [Pipeline] echo 10:10:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e70547 [Pipeline] echo 10:10:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:10:04 provisioning config files... 10:10:04 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp/config8027751110116185720tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:04 ---> docker-login.sh 10:10:04 nexus3.edgexfoundry.org:10001 10:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:04 Configure a credential helper to remove this warning. See 10:10:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:04 10:10:04 Login Succeeded 10:10:04 nexus3.edgexfoundry.org:10002 10:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:05 Configure a credential helper to remove this warning. See 10:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:05 10:10:05 Login Succeeded 10:10:05 nexus3.edgexfoundry.org:10003 10:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:05 Configure a credential helper to remove this warning. See 10:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:05 10:10:05 Login Succeeded 10:10:05 nexus3.edgexfoundry.org:10004 10:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:05 Configure a credential helper to remove this warning. See 10:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:05 10:10:05 Login Succeeded 10:10:05 docker.io 10:10:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:05 Configure a credential helper to remove this warning. See 10:10:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:05 10:10:05 Login Succeeded 10:10:05 ---> docker-login.sh ends [Pipeline] } 10:10:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 10:10:06 + git rev-list -1 --merges 1e70547fd5e0af83b7d333a1569819e4c4d6a6d0~1..1e70547fd5e0af83b7d333a1569819e4c4d6a6d0 [Pipeline] echo 10:10:06 -----------> git rev-list -1 --merges 1e70547fd5e0af83b7d333a1569819e4c4d6a6d0~1..1e70547fd5e0af83b7d333a1569819e4c4d6a6d0 1e70547fd5e0af83b7d333a1569819e4c4d6a6d0 [false] [Pipeline] sh 10:10:06 + git log --format=format:%s -1 1e70547fd5e0af83b7d333a1569819e4c4d6a6d0 [Pipeline] echo 10:10:06 ========================================================= 10:10:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:10:06 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:10:07 + git rev-list -1 --merges 1e70547fd5e0af83b7d333a1569819e4c4d6a6d0~1..1e70547fd5e0af83b7d333a1569819e4c4d6a6d0 [Pipeline] echo 10:10:07 -----------> git rev-list -1 --merges 1e70547fd5e0af83b7d333a1569819e4c4d6a6d0~1..1e70547fd5e0af83b7d333a1569819e4c4d6a6d0 1e70547fd5e0af83b7d333a1569819e4c4d6a6d0 [false] [Pipeline] sh 10:10:08 + git log --format=format:%s -1 1e70547fd5e0af83b7d333a1569819e4c4d6a6d0 [Pipeline] echo 10:10:08 ========================================================= 10:10:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:10:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 10:10:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:10:08 + grep -v github /etc/ssh/ssh_known_hosts 10:10:08 + [ -e /tmp/ssh_known_hosts ] 10:10:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:10:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:10:08 + sudo tee -a /etc/ssh/ssh_known_hosts 10:10:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:10:09 10:10:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:10:09 0.1.4: Pulling from edgex-devops/py-git-semver 10:10:09 b85a868b505f: Pulling fs layer 10:10:09 e2be974225ed: Pulling fs layer 10:10:09 339a4e72a1f5: Pulling fs layer 10:10:09 988bab9f4d93: Pulling fs layer 10:10:09 1469e6f7b9e6: Pulling fs layer 10:10:09 eaf3925da568: Pulling fs layer 10:10:09 bab4dde63d76: Pulling fs layer 10:10:09 bde34c3a00c8: Pulling fs layer 10:10:09 b352a97aabf1: Pulling fs layer 10:10:09 4872d77fe225: Pulling fs layer 10:10:09 5851b861e8e6: Pulling fs layer 10:10:09 eaf3925da568: Waiting 10:10:09 bab4dde63d76: Waiting 10:10:09 bde34c3a00c8: Waiting 10:10:09 b352a97aabf1: Waiting 10:10:09 4872d77fe225: Waiting 10:10:09 5851b861e8e6: Waiting 10:10:09 988bab9f4d93: Waiting 10:10:09 e2be974225ed: Verifying Checksum 10:10:09 e2be974225ed: Download complete 10:10:09 988bab9f4d93: Verifying Checksum 10:10:09 988bab9f4d93: Download complete 10:10:09 1469e6f7b9e6: Verifying Checksum 10:10:09 1469e6f7b9e6: Download complete 10:10:09 eaf3925da568: Verifying Checksum 10:10:09 eaf3925da568: Download complete 10:10:09 339a4e72a1f5: Verifying Checksum 10:10:09 339a4e72a1f5: Download complete 10:10:09 bde34c3a00c8: Verifying Checksum 10:10:09 bde34c3a00c8: Download complete 10:10:09 b352a97aabf1: Verifying Checksum 10:10:09 b352a97aabf1: Download complete 10:10:10 4872d77fe225: Verifying Checksum 10:10:10 4872d77fe225: Download complete 10:10:10 5851b861e8e6: Verifying Checksum 10:10:10 5851b861e8e6: Download complete 10:10:10 b85a868b505f: Download complete 10:10:10 bab4dde63d76: Verifying Checksum 10:10:10 bab4dde63d76: Download complete 10:10:11 b85a868b505f: Pull complete 10:10:11 e2be974225ed: Pull complete 10:10:11 339a4e72a1f5: Pull complete 10:10:12 988bab9f4d93: Pull complete 10:10:12 1469e6f7b9e6: Pull complete 10:10:12 eaf3925da568: Pull complete 10:10:14 bab4dde63d76: Pull complete 10:10:14 bde34c3a00c8: Pull complete 10:10:14 b352a97aabf1: Pull complete 10:10:14 4872d77fe225: Pull complete 10:10:14 5851b861e8e6: Pull complete 10:10:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:10:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:10:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:10:14 prd-ubuntu20.04-docker-8c-8g-9610 does not seem to be running inside a container 10:10:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-447 -v /w/workspace/edgexfoundry_device-sdk-c_PR-447:/w/workspace/edgexfoundry_device-sdk-c_PR-447:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:10:17 $ docker top ea55ad0cafcdfd9f26dbc94d1326f12a0af6d6020dc3f4285ba753e47bcfd6cb -eo pid,comm 10:10:17 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). 10:10:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:10:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:10:17 [ssh-agent] Looking for ssh-agent implementation... 10:10:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:10:17 $ docker exec ea55ad0cafcdfd9f26dbc94d1326f12a0af6d6020dc3f4285ba753e47bcfd6cb ssh-agent 10:10:18 SSH_AUTH_SOCK=/tmp/ssh-kdIvaG0gmEYk/agent.31 10:10:18 SSH_AGENT_PID=37 10:10:18 Running ssh-add (command line suppressed) 10:10:18 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp/private_key_12284696943598386342.key (/w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp/private_key_12284696943598386342.key) 10:10:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:10:18 + git tag --points-at HEAD [Pipeline] } 10:10:18 $ docker exec --env ******** --env ******** ea55ad0cafcdfd9f26dbc94d1326f12a0af6d6020dc3f4285ba753e47bcfd6cb ssh-agent -k 10:10:18 unset SSH_AUTH_SOCK; 10:10:18 unset SSH_AGENT_PID; 10:10:18 echo Agent pid 37 killed; 10:10:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:10:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:10:18 [ssh-agent] Looking for ssh-agent implementation... 10:10:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:10:18 $ docker exec ea55ad0cafcdfd9f26dbc94d1326f12a0af6d6020dc3f4285ba753e47bcfd6cb ssh-agent 10:10:18 SSH_AUTH_SOCK=/tmp/ssh-dAGVgK1Bj8G6/agent.71 10:10:18 SSH_AGENT_PID=77 10:10:18 Running ssh-add (command line suppressed) 10:10:19 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp/private_key_4641095095528708097.key (/w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp/private_key_4641095095528708097.key) 10:10:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:10:19 + git semver init 10:10:19 2023-03-10 10:10:19,517 [run_init] DEBUG init version:0.0.0 force:False 10:10:19 2023-03-10 10:10:19,517 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-447/.semver 10:10:19 2023-03-10 10:10:19,518 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-447/.semver 10:10:19 2023-03-10 10:10:19,518 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-447/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-447, universal_newlines=False, shell=None, istream=None) 10:10:20 2023-03-10 10:10:20,333 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-447/.git/info/exclude 10:10:20 2023-03-10 10:10:20,334 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-447/.semver/PR-447 with force:False 10:10:20 2023-03-10 10:10:20,334 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-447/.semver/PR-447 10:10:20 2023-03-10 10:10:20,337 [execute] INFO git cat-file --batch-check 10:10:20 2023-03-10 10:10:20,337 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-447/.semver, universal_newlines=False, shell=None, istream=) 10:10:20 2023-03-10 10:10:20,345 [execute] INFO git cat-file --batch 10:10:20 2023-03-10 10:10:20,346 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-447/.semver, universal_newlines=False, shell=None, istream=) 10:10:20 2023-03-10 10:10:20,349 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-447/.semver/PR-447 10:10:20 0.0.0 [Pipeline] } 10:10:20 $ docker exec --env ******** --env ******** ea55ad0cafcdfd9f26dbc94d1326f12a0af6d6020dc3f4285ba753e47bcfd6cb ssh-agent -k 10:10:20 unset SSH_AUTH_SOCK; 10:10:20 unset SSH_AGENT_PID; 10:10:20 echo Agent pid 77 killed; 10:10:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:10:21 + git semver [Pipeline] } 10:10:21 $ docker stop --time=1 ea55ad0cafcdfd9f26dbc94d1326f12a0af6d6020dc3f4285ba753e47bcfd6cb 10:10:22 $ docker rm -f --volumes ea55ad0cafcdfd9f26dbc94d1326f12a0af6d6020dc3f4285ba753e47bcfd6cb [Pipeline] // withDockerContainer [Pipeline] sh 10:10:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:10:23 Stashed 1 file(s) [Pipeline] echo 10:10:23 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:10:23 provisioning config files... 10:10:23 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp/config3967942463137100608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:24 ---> docker-login.sh 10:10:24 nexus3.edgexfoundry.org:10001 10:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:24 Configure a credential helper to remove this warning. See 10:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:24 10:10:24 Login Succeeded 10:10:24 nexus3.edgexfoundry.org:10002 10:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:24 Configure a credential helper to remove this warning. See 10:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:24 10:10:24 Login Succeeded 10:10:24 nexus3.edgexfoundry.org:10003 10:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:24 Configure a credential helper to remove this warning. See 10:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:24 10:10:24 Login Succeeded 10:10:24 nexus3.edgexfoundry.org:10004 10:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:24 Configure a credential helper to remove this warning. See 10:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:24 10:10:24 Login Succeeded 10:10:24 docker.io 10:10:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:24 Configure a credential helper to remove this warning. See 10:10:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:24 10:10:24 Login Succeeded 10:10:24 ---> docker-login.sh ends [Pipeline] } 10:10:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:10:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:10:25 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 10:10:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:10:25 ========================================================= 10:10:25 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 10:10:25 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:25 + 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 . 10:10:25 Sending build context to Docker daemon 4.808MB 10:10:25 Step 1/21 : ARG BASE=alpine:3.16 10:10:25 Step 2/21 : FROM ${BASE} as builder 10:10:25 latest: Pulling from edgex-devops/edgex-gcc-base 10:10:25 213ec9aee27d: Pulling fs layer 10:10:25 0f09ad1b1b37: Pulling fs layer 10:10:25 213ec9aee27d: Verifying Checksum 10:10:25 213ec9aee27d: Download complete 10:10:25 213ec9aee27d: Pull complete 10:10:26 0f09ad1b1b37: Verifying Checksum 10:10:26 0f09ad1b1b37: Download complete 10:10:28 0f09ad1b1b37: Pull complete 10:10:28 Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 10:10:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 10:10:28 ---> b2bbfebb3566 10:10:28 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:10:30 ---> Running in d49d60a53ccb 10:10:30 Connecting to iotech.jfrog.io (52.212.183.138:443) 10:10:31 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:10:31 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:10:31 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:10:31 Removing intermediate container d49d60a53ccb 10:10:31 ---> 50f7d1feceff 10:10:31 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:10:31 ---> Running in 5a28570a054c 10:10:31 Removing intermediate container 5a28570a054c 10:10:31 ---> 971b8d429dca 10:10:31 Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.4-dev hiredis-dev 10:10:31 ---> Running in df40dcfcbc82 10:10:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:10:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:10:32 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 10:10:32 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:10:32 (1/14) Installing hiredis (1.0.2-r0) 10:10:32 (2/14) Installing hiredis-dev (1.0.2-r0) 10:10:33 (3/14) Installing iotech-iot-1.4 (1.4.1-r0) 10:10:34 (4/14) Installing iotech-iot-1.4-dev (1.4.1-r0) 10:10:34 (5/14) Installing libcbor (0.9.0-r1) 10:10:34 (6/14) Installing libcbor-dev (0.9.0-r1) 10:10:34 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 10:10:34 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 10:10:35 (9/14) Installing libblkid (2.38-r1) 10:10:35 (10/14) Installing libuuid (2.38-r1) 10:10:35 (11/14) Installing libfdisk (2.38-r1) 10:10:35 (12/14) Installing libmount (2.38-r1) 10:10:35 (13/14) Installing libsmartcols (2.38-r1) 10:10:35 (14/14) Installing util-linux-dev (2.38-r1) 10:10:35 Executing busybox-1.35.0-r17.trigger 10:10:35 OK: 280 MiB in 90 packages 10:10:35 Removing intermediate container df40dcfcbc82 10:10:35 ---> 93e251c67333 10:10:35 Step 6/21 : RUN mkdir /tmp/sdk 10:10:35 ---> Running in 109c8e27935a 10:10:36 Removing intermediate container 109c8e27935a 10:10:36 ---> 7c101a6804c4 10:10:36 Step 7/21 : COPY VERSION /tmp/sdk 10:10:36 ---> c2dae6298ebc 10:10:36 Step 8/21 : COPY src /tmp/sdk/src 10:10:36 ---> ab87a954dd8b 10:10:36 Step 9/21 : COPY include /tmp/sdk/include 10:10:36 ---> 9348314535cb 10:10:36 Step 10/21 : COPY scripts /tmp/sdk/scripts 10:10:36 ---> bc7b76c309b5 10:10:36 Step 11/21 : COPY LICENSE /tmp/sdk 10:10:37 ---> 0721ce196c1a 10:10:37 Step 12/21 : COPY Attribution.txt /tmp/sdk 10:10:37 ---> bdf0f27fd6e3 10:10:37 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 10:10:37 ---> Running in b01b25494daa 10:10:37 + CPPCHECK=false 10:10:37 + DOCGEN=false 10:10:37 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 10:10:37 + TOMLVER=SDK-0.2 10:10:37 + CUTILVER=1.4 10:10:37 + '[' 0 -gt 0 ] 10:10:37 + readlink -f ./scripts/build.sh 10:10:37 + dirname /tmp/sdk/scripts/build.sh 10:10:37 + dirname /tmp/sdk/scripts 10:10:37 + ROOT=/tmp/sdk 10:10:37 + cd /tmp/sdk 10:10:37 + '[' '!' -d deps ] 10:10:37 + mkdir deps 10:10:37 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 10:10:37 + tar -C deps -z -x -f - 10:10:37 Connecting to github.com (140.82.112.3:443) 10:10:37 Connecting to codeload.github.com (140.82.112.9:443) 10:10:38 writing to stdout 10:10:38 - 100% |********************************| 16451 0:00:00 ETA 10:10:38 written to stdout 10:10:38 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 10:10:38 + mkdir -p /tmp/sdk/build/release 10:10:38 + cd /tmp/sdk/build/release 10:10:38 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 10:10:38 -- The C compiler identification is GNU 11.2.1 10:10:38 -- Detecting C compiler ABI info 10:10:38 -- Detecting C compiler ABI info - done 10:10:38 -- Check for working C compiler: /usr/bin/cc - skipped 10:10:38 -- Detecting C compile features 10:10:38 -- Detecting C compile features - done 10:10:38 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:10:38 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 10:10:38 -- Found LIBYAML: /usr/lib/libyaml.so 10:10:38 -- Found LIBUUID: /usr/lib/libuuid.so 10:10:38 -- Found LIBCBOR: /usr/lib/libcbor.so 10:10:38 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:10:38 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:10:38 CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): 10:10:38 Could NOT find IOT (missing: IOT_LIBRARY IOT_INCLUDE_DIR) 10:10:38 Call Stack (most recent call first): 10:10:38 /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) 10:10:38 cmake/FindIOT.cmake:4 (find_package_handle_standard_args) 10:10:38 CMakeLists.txt:50 (find_package) 10:10:38 10:10:38 10:10:38 -- Configuring incomplete, errors occurred! 10:10:38 See also "/tmp/sdk/build/release/CMakeFiles/CMakeOutput.log". 10:10:38 The command '/bin/sh -c cd /tmp/sdk && ./scripts/build.sh && make -C build/release install' returned a non-zero code: 1 [Pipeline] } [Pipeline] // withEnv [Pipeline] } 10:10:38 Still waiting to schedule task 10:10:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:10:39 10:10:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:10:40 latest: Pulling from edgex-lftools-log-publisher 10:10:40 5eb5b503b376: Pulling fs layer 10:10:40 5c69ac0246d0: Pulling fs layer 10:10:40 ec43610c2a17: Pulling fs layer 10:10:40 3a2ae6a8a46f: Pulling fs layer 10:10:40 33b1e0a273af: Pulling fs layer 10:10:40 5d3b04190fa2: Pulling fs layer 10:10:40 2f39f015ded8: Pulling fs layer 10:10:40 5d3b04190fa2: Waiting 10:10:40 3a2ae6a8a46f: Waiting 10:10:40 33b1e0a273af: Waiting 10:10:40 2f39f015ded8: Waiting 10:10:40 5c69ac0246d0: Verifying Checksum 10:10:40 5c69ac0246d0: Download complete 10:10:40 3a2ae6a8a46f: Download complete 10:10:40 33b1e0a273af: Verifying Checksum 10:10:40 33b1e0a273af: Download complete 10:10:40 5d3b04190fa2: Download complete 10:10:40 ec43610c2a17: Verifying Checksum 10:10:40 ec43610c2a17: Download complete 10:10:40 5eb5b503b376: Verifying Checksum 10:10:40 5eb5b503b376: Download complete 10:10:40 2f39f015ded8: Download complete 10:10:41 5eb5b503b376: Pull complete 10:10:41 5c69ac0246d0: Pull complete 10:10:42 ec43610c2a17: Pull complete 10:10:42 3a2ae6a8a46f: Pull complete 10:10:42 33b1e0a273af: Pull complete 10:10:42 5d3b04190fa2: Pull complete 10:10:46 2f39f015ded8: Pull complete 10:10:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:10:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:10:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:10:47 prd-ubuntu20.04-docker-8c-8g-9610 does not seem to be running inside a container 10:10:47 $ 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-447 -v /w/workspace/edgexfoundry_device-sdk-c_PR-447:/w/workspace/edgexfoundry_device-sdk-c_PR-447:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:10:50 $ docker top fb48e99aef332d2f0f0cbe2d22a007645d25b6409212d873ca72d2367a71d6e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:51 ---> job-cost.sh 10:10:51 lf-activate-venv: SKIPPING 10:10:51 INFO: No Stack... 10:10:51 INFO: Retrieving Pricing Info for: v3-standard-8 10:10:52 INFO: Archiving Costs [Pipeline] sh 10:10:52 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-447/archives/cost.csv 10:10:52 + cut -d, -f6 [Pipeline] lock 10:10:52 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-447-1-stack-cost] 10:10:52 Resource [jenkins-edgexfoundry-device-sdk-c-PR-447-1-stack-cost] did not exist. Created. 10:10:52 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-447-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:10:52 + echo total: 0.2199999988079071 [Pipeline] stash 10:10:52 Stashed 1 file(s) [Pipeline] } 10:10:52 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-447-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:10:52 $ docker stop --time=1 fb48e99aef332d2f0f0cbe2d22a007645d25b6409212d873ca72d2367a71d6e1 10:10:54 $ docker rm -f --volumes fb48e99aef332d2f0f0cbe2d22a007645d25b6409212d873ca72d2367a71d6e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:10:54 Failed in branch amd64 10:12:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9611 in /w/workspace/edgexfoundry_device-sdk-c_PR-447 [Pipeline] { [Pipeline] ws 10:12:14 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 10:12:14 Selected Git installation does not exist. Using Default 10:12:14 The recommended git tool is: NONE 10:12:19 using credential edgex-jenkins-ssh 10:12:19 Cloning the remote Git repository 10:12:19 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 10:12:19 > git init /w/workspace/device-sdk-c/1 # timeout=10 10:12:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 10:12:19 > git --version # timeout=10 10:12:19 > git --version # 'git version 2.25.1' 10:12:19 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:12:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 10:12:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:12:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 10:12:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 10:12:21 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/447/head:refs/remotes/origin/PR-447 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:12:22 Merging remotes/origin/main commit 21f79343dd353c602474ef88d38fd1373f48e545 into PR head commit 1e70547fd5e0af83b7d333a1569819e4c4d6a6d0 10:12:22 Merge succeeded, producing 1e70547fd5e0af83b7d333a1569819e4c4d6a6d0 10:12:22 Checking out Revision 1e70547fd5e0af83b7d333a1569819e4c4d6a6d0 (PR-447) 10:12:22 > git config core.sparsecheckout # timeout=10 10:12:22 > git checkout -f 1e70547fd5e0af83b7d333a1569819e4c4d6a6d0 # timeout=10 10:12:22 > git remote # timeout=10 10:12:22 > git config --get remote.origin.url # timeout=10 10:12:22 using GIT_SSH to set credentials SSH Credentials for GitHub 10:12:22 > git merge 21f79343dd353c602474ef88d38fd1373f48e545 # timeout=10 10:12:22 > git rev-parse HEAD^{commit} # timeout=10 10:12:22 > git config core.sparsecheckout # timeout=10 10:12:22 > git checkout -f 1e70547fd5e0af83b7d333a1569819e4c4d6a6d0 # timeout=10 10:12:25 Commit message: "refactor: abstraction for MessageBus" 10:12:25 > git --version # timeout=10 10:12:25 > git --version # 'git version 2.25.1' 10:12:25 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:12:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:12:26 % Total % Received % Xferd Average Speed Time Time Time Current 10:12:26 Dload Upload Total Spent Left Speed 10:12:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 86155 [Pipeline] sh 10:12:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:12:27 + sudo tee /etc/docker/daemon.new 10:12:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:12:27 { 10:12:27 "registry-mirrors": [ 10:12:27 "https://nexus3.edgexfoundry.org:10001" 10:12:27 ], 10:12:27 "bip": "10.250.0.254/24", 10:12:27 "hosts": [ 10:12:27 "tcp://0.0.0.0:5555", 10:12:27 "unix:///var/run/docker.sock" 10:12:27 ], 10:12:27 "mtu": 1458, 10:12:27 "selinux-enabled": true, 10:12:27 "seccomp-profile": "/etc/docker/seccomp.json" 10:12:27 } [Pipeline] sh 10:12:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:12:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:12:46 provisioning config files... 10:12:46 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config14700975811427776869tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:12:47 ---> docker-login.sh 10:12:47 nexus3.edgexfoundry.org:10001 10:12:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:47 Configure a credential helper to remove this warning. See 10:12:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:47 10:12:47 Login Succeeded 10:12:47 nexus3.edgexfoundry.org:10002 10:12:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:48 Configure a credential helper to remove this warning. See 10:12:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:48 10:12:48 Login Succeeded 10:12:48 nexus3.edgexfoundry.org:10003 10:12:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:48 Configure a credential helper to remove this warning. See 10:12:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:48 10:12:48 Login Succeeded 10:12:48 nexus3.edgexfoundry.org:10004 10:12:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:48 Configure a credential helper to remove this warning. See 10:12:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:48 10:12:48 Login Succeeded 10:12:48 docker.io 10:12:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:49 Configure a credential helper to remove this warning. See 10:12:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:49 10:12:49 Login Succeeded 10:12:49 ---> docker-login.sh ends [Pipeline] } 10:12:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:12:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:12:49 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 10:12:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:12:49 ========================================================= 10:12:49 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 10:12:49 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:12:50 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 10:12:52 Sending build context to Docker daemon 2.93MB 10:12:52 Step 1/21 : ARG BASE=alpine:3.16 10:12:52 Step 2/21 : FROM ${BASE} as builder 10:12:52 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 10:12:52 9b18e9b68314: Pulling fs layer 10:12:52 1def92ead452: Pulling fs layer 10:12:52 9b18e9b68314: Verifying Checksum 10:12:52 9b18e9b68314: Download complete 10:12:53 9b18e9b68314: Pull complete 10:12:54 1def92ead452: Verifying Checksum 10:12:54 1def92ead452: Download complete 10:13:02 1def92ead452: Pull complete 10:13:02 Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c 10:13:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 10:13:02 ---> 9a9802766715 10:13:02 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:13:02 ---> Running in ee2be1cff222 10:13:03 Connecting to iotech.jfrog.io (54.170.201.254:443) 10:13:03 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:13:03 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:13:03 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:13:06 Removing intermediate container ee2be1cff222 10:13:06 ---> cde00335abaf 10:13:06 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:13:06 ---> Running in 1f4821348ddb 10:13:07 Removing intermediate container 1f4821348ddb 10:13:07 ---> 47f18ac03f5e 10:13:07 Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.4-dev hiredis-dev 10:13:07 ---> Running in 82d9c9c3c926 10:13:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:13:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:13:09 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 10:13:10 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:13:10 (1/14) Installing hiredis (1.0.2-r0) 10:13:10 (2/14) Installing hiredis-dev (1.0.2-r0) 10:13:10 (3/14) Installing iotech-iot-1.4 (1.4.1-r0) 10:13:11 (4/14) Installing iotech-iot-1.4-dev (1.4.1-r0) 10:13:11 (5/14) Installing libcbor (0.9.0-r1) 10:13:11 (6/14) Installing libcbor-dev (0.9.0-r1) 10:13:11 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 10:13:11 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 10:13:12 (9/14) Installing libblkid (2.38-r1) 10:13:12 (10/14) Installing libuuid (2.38-r1) 10:13:12 (11/14) Installing libfdisk (2.38-r1) 10:13:12 (12/14) Installing libmount (2.38-r1) 10:13:12 (13/14) Installing libsmartcols (2.38-r1) 10:13:12 (14/14) Installing util-linux-dev (2.38-r1) 10:13:12 Executing busybox-1.35.0-r17.trigger 10:13:13 OK: 286 MiB in 90 packages 10:13:14 Removing intermediate container 82d9c9c3c926 10:13:14 ---> d829f40d916c 10:13:14 Step 6/21 : RUN mkdir /tmp/sdk 10:13:14 ---> Running in 8250f0f87c81 10:13:15 Removing intermediate container 8250f0f87c81 10:13:15 ---> c67a3e3f9d9f 10:13:15 Step 7/21 : COPY VERSION /tmp/sdk 10:13:16 ---> ed4f1eaee9b6 10:13:16 Step 8/21 : COPY src /tmp/sdk/src 10:13:16 ---> d8ca668870c2 10:13:16 Step 9/21 : COPY include /tmp/sdk/include 10:13:18 ---> 4e4a18983111 10:13:18 Step 10/21 : COPY scripts /tmp/sdk/scripts 10:13:18 ---> 42e89439ab22 10:13:18 Step 11/21 : COPY LICENSE /tmp/sdk 10:13:19 ---> 0fde8a799d55 10:13:19 Step 12/21 : COPY Attribution.txt /tmp/sdk 10:13:19 ---> aa5096ac1dec 10:13:19 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 10:13:19 ---> Running in 08d26ff1e378 10:13:20 + CPPCHECK=false 10:13:20 + DOCGEN=false 10:13:20 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 10:13:20 + TOMLVER=SDK-0.2 10:13:20 + CUTILVER=1.4 10:13:20 + '[' 0 -gt 0 ] 10:13:20 + readlink -f ./scripts/build.sh 10:13:20 + dirname /tmp/sdk/scripts/build.sh 10:13:20 + dirname /tmp/sdk/scripts 10:13:20 + ROOT=/tmp/sdk 10:13:20 + cd /tmp/sdk 10:13:20 + '[' '!' -d deps ] 10:13:20 + mkdir deps 10:13:20 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 10:13:20 + tar -C deps -z -x -f - 10:13:20 Connecting to github.com (140.82.114.3:443) 10:13:20 Connecting to codeload.github.com (140.82.112.10:443) 10:13:21 writing to stdout 10:13:21 - 100% |********************************| 16451 0:00:00 ETA 10:13:21 written to stdout 10:13:21 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 10:13:21 + mkdir -p /tmp/sdk/build/release 10:13:21 + cd /tmp/sdk/build/release 10:13:21 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 10:13:21 -- The C compiler identification is GNU 11.2.1 10:13:21 -- Detecting C compiler ABI info 10:13:21 -- Detecting C compiler ABI info - done 10:13:21 -- Check for working C compiler: /usr/bin/cc - skipped 10:13:21 -- Detecting C compile features 10:13:21 -- Detecting C compile features - done 10:13:21 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:13:22 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 10:13:22 -- Found LIBYAML: /usr/lib/libyaml.so 10:13:22 -- Found LIBUUID: /usr/lib/libuuid.so 10:13:22 -- Found LIBCBOR: /usr/lib/libcbor.so 10:13:22 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:13:22 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:13:22 CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): 10:13:22 Could NOT find IOT (missing: IOT_LIBRARY IOT_INCLUDE_DIR) 10:13:22 Call Stack (most recent call first): 10:13:22 /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) 10:13:22 cmake/FindIOT.cmake:4 (find_package_handle_standard_args) 10:13:22 CMakeLists.txt:50 (find_package) 10:13:22 10:13:22 10:13:22 -- Configuring incomplete, errors occurred! 10:13:22 See also "/tmp/sdk/build/release/CMakeFiles/CMakeOutput.log". 10:13:22 The command '/bin/sh -c cd /tmp/sdk && ./scripts/build.sh && make -C build/release install' returned a non-zero code: 1 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:13:23 10:13:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:13:24 arm64: Pulling from edgex-lftools-log-publisher 10:13:24 8998bd30e6a1: Pulling fs layer 10:13:24 04944245beec: Pulling fs layer 10:13:24 699f458cf7ca: Pulling fs layer 10:13:24 765212b225bb: Pulling fs layer 10:13:24 f23df028b6ca: Pulling fs layer 10:13:24 d65c8cfc05b1: Pulling fs layer 10:13:24 2437ff75d9bd: Pulling fs layer 10:13:24 765212b225bb: Waiting 10:13:24 f23df028b6ca: Waiting 10:13:24 d65c8cfc05b1: Waiting 10:13:24 2437ff75d9bd: Waiting 10:13:24 04944245beec: Verifying Checksum 10:13:24 04944245beec: Download complete 10:13:24 765212b225bb: Verifying Checksum 10:13:24 765212b225bb: Download complete 10:13:24 f23df028b6ca: Verifying Checksum 10:13:24 f23df028b6ca: Download complete 10:13:24 d65c8cfc05b1: Verifying Checksum 10:13:24 d65c8cfc05b1: Download complete 10:13:24 699f458cf7ca: Verifying Checksum 10:13:24 699f458cf7ca: Download complete 10:13:25 8998bd30e6a1: Verifying Checksum 10:13:25 8998bd30e6a1: Download complete 10:13:27 2437ff75d9bd: Verifying Checksum 10:13:27 2437ff75d9bd: Download complete 10:13:29 8998bd30e6a1: Pull complete 10:13:29 04944245beec: Pull complete 10:13:31 699f458cf7ca: Pull complete 10:13:31 765212b225bb: Pull complete 10:13:31 f23df028b6ca: Pull complete 10:13:32 d65c8cfc05b1: Pull complete 10:13:44 2437ff75d9bd: Pull complete 10:13:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:13:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:13:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:44 prd-ubuntu20.04-docker-arm64-4c-16g-9611 does not seem to be running inside a container 10:13:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:13:47 $ docker top e21a9ffdc478041081df96f1e845bd33ea35ad7a9af6536b42ca22837d245613 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:13:47 ---> job-cost.sh 10:13:47 lf-activate-venv: SKIPPING 10:13:47 INFO: No Stack... 10:13:48 INFO: Retrieving Pricing Info for: v3-standard-4 10:13:49 INFO: Archiving Costs [Pipeline] sh 10:13:49 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 10:13:49 + cut -d, -f6 [Pipeline] lock 10:13:49 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-447-1-stack-cost] 10:13:49 Resource [jenkins-edgexfoundry-device-sdk-c-PR-447-1-stack-cost] did not exist. Created. 10:13:49 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-447-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:13:50 /w/workspace/device-sdk-c/1@tmp/durable-bb50a7ca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:13:50 + echo total: 0.10999999940395355 [Pipeline] stash 10:13:50 Warning: overwriting stash ‘stack-cost’ 10:13:51 Stashed 1 file(s) [Pipeline] } 10:13:51 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-447-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:13:51 $ docker stop --time=1 e21a9ffdc478041081df96f1e845bd33ea35ad7a9af6536b42ca22837d245613 10:13:52 $ docker rm -f --volumes e21a9ffdc478041081df96f1e845bd33ea35ad7a9af6536b42ca22837d245613 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 10:13:53 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:13:54 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-447/archives ] 10:13:54 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-447/archives 10:13:54 total 16 10:13:54 drwxr-xr-x 3 root root 4096 Mar 10 10:10 . 10:13:54 drwxrwxr-x 10 jenkins jenkins 4096 Mar 10 10:10 .. 10:13:54 drwxr-xr-x 2 root root 4096 Mar 10 10:10 cost 10:13:54 -rw-r--r-- 1 root root 84 Mar 10 10:10 cost.csv 10:13:54 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-447/archives 10:13:54 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-447/archives 10:13:54 total 16 10:13:54 drwxr-xr-x 3 jenkins jenkins 4096 Mar 10 10:10 . 10:13:54 drwxrwxr-x 10 jenkins jenkins 4096 Mar 10 10:10 .. 10:13:54 drwxr-xr-x 2 jenkins jenkins 4096 Mar 10 10:10 cost 10:13:54 -rw-r--r-- 1 jenkins jenkins 84 Mar 10 10:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:13:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:13:55 ---> package-listing.sh 10:13:55 ++ facter osfamily 10:13:55 ++ tr '[:upper:]' '[:lower:]' 10:13:55 + OS_FAMILY=debian 10:13:55 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-447 10:13:55 + START_PACKAGES=/tmp/packages_start.txt 10:13:55 + END_PACKAGES=/tmp/packages_end.txt 10:13:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:13:55 + PACKAGES=/tmp/packages_start.txt 10:13:55 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-447 ']' 10:13:55 + PACKAGES=/tmp/packages_end.txt 10:13:55 + case "${OS_FAMILY}" in 10:13:55 + dpkg -l 10:13:55 + grep '^ii' 10:13:55 + '[' -f /tmp/packages_start.txt ']' 10:13:55 + '[' -f /tmp/packages_end.txt ']' 10:13:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:13:55 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-447 ']' 10:13:55 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-447/archives/ 10:13:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-447/archives/ [Pipeline] echo 10:13:55 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-447/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:13:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:13:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:56 prd-ubuntu20.04-docker-8c-8g-9610 does not seem to be running inside a container 10:13:56 $ 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-447/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-447 -v /w/workspace/edgexfoundry_device-sdk-c_PR-447:/w/workspace/edgexfoundry_device-sdk-c_PR-447:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-447@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 10:13:57 $ docker top a9f1bc26ad333b7db3d23dd6c41c38978e89623e8c215e5add0eb7f6249fb8ff -eo pid,comm [Pipeline] { [Pipeline] sh 10:13:57 + touch /tmp/pre-build-complete [Pipeline] sh 10:13:57 + mkdir -p /var/log/sysstat [Pipeline] sh 10:13:58 + ls /var/log/sa-host 10:13:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:13:58 provisioning config files... 10:13:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-447@tmp/config8847548986226584451tmp [Pipeline] { [Pipeline] echo 10:13:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:13:58 ---> create-netrc.sh [Pipeline] } 10:13:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:13:59 ---> python-tools-install.sh [Pipeline] echo 10:13:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:13:59 ---> sudo-logs.sh 10:13:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:13:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:13:59 ---> job-cost.sh 10:13:59 lf-activate-venv: SKIPPING 10:13:59 DEBUG: total: 0.2199999988079071 10:13:59 INFO: Retrieving Stack Cost... 10:14:00 INFO: Retrieving Pricing Info for: v3-standard-8 10:14:00 INFO: Archiving Costs [Pipeline] echo 10:14:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:14:00 ---> logs-deploy.sh 10:14:00 lf-activate-venv: SKIPPING 10:14:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-447/1 10:14:00 INFO: archiving workspace using pattern(s): 10:14:01 Archives upload complete. 10:14:01 INFO: archiving logs to Nexus