Branch indexing 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 edgego for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 02161a6b4618232bfcf286377d256226a622bc2b rather than 8f822df88842add76d792b0fcf38c18213008c44 Obtained Jenkinsfile from 02161a6b4618232bfcf286377d256226a622bc2b 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-ssh12131203414554522458.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh16254250467465954283.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-388/workspace@libs/edgex-global-pipelines/.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-388/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12383831787609031065.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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 shared 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-ssh16165193387007681729.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-388/workspace@libs/lf-pipelines/.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-388/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11035035801108900961.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 shared 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: [[centos7-docker-4c-2g, ubuntu18.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 ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5020 in /w/workspace/edgexfoundry_device-sdk-c_PR-388 [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-388 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/jenkins-gitclient-ssh4522497771885227351.key > 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 Merging remotes/origin/main commit 02161a6b4618232bfcf286377d256226a622bc2b into PR head commit 8f822df88842add76d792b0fcf38c18213008c44 Merge succeeded, producing 0d9da475c5ef773547cc035c525a2884bb0eb5fd Checking out Revision 0d9da475c5ef773547cc035c525a2884bb0eb5fd (PR-388) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/jenkins-gitclient-ssh2988388332377455558.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/388/head:refs/remotes/origin/PR-388 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f822df88842add76d792b0fcf38c18213008c44 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/jenkins-gitclient-ssh7964364191953120948.key > git merge 02161a6b4618232bfcf286377d256226a622bc2b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d9da475c5ef773547cc035c525a2884bb0eb5fd # timeout=10 Commit message: "Merge commit '02161a6b4618232bfcf286377d256226a622bc2b' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 5a56bf886f75408540c8052fcd24f980bc1a292b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:55:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:55:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:55:20 ========================================================= 22:55:20 EdgeX Global Pipelines Version Info 22:55:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:55:21 ------------------- 22:55:21 stable info: 22:55:21 ------------------- 22:55:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:55:21 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 22:55:21 Message: update stable to v1.0.220 22:55:21 ------------------- 22:55:21 experimental info: 22:55:21 ------------------- 22:55:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:55:21 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 22:55:21 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:55:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 22:55:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 22:55:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:55:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:55:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:55:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 22:55:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 22:55:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:55:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:55:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 22:55:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:55:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:55:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:55:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:55:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:55:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:55:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:55:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-388 [Pipeline] echo 22:55:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-388 [Pipeline] echo 22:55:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-388 [Pipeline] echo 22:55:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0d9da475c5ef773547cc035c525a2884bb0eb5fd [Pipeline] echo 22:55:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0d9da47 [Pipeline] echo 22:55:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:55:22 provisioning config files... 22:55:22 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/config1723212384099561874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:55:22 ---> docker-login.sh 22:55:22 nexus3.edgexfoundry.org:10001 22:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:22 Configure a credential helper to remove this warning. See 22:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:22 22:55:22 Login Succeeded 22:55:22 nexus3.edgexfoundry.org:10002 22:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:22 Configure a credential helper to remove this warning. See 22:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:22 22:55:22 Login Succeeded 22:55:22 nexus3.edgexfoundry.org:10003 22:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:23 Configure a credential helper to remove this warning. See 22:55:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:23 22:55:23 Login Succeeded 22:55:23 nexus3.edgexfoundry.org:10004 22:55:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:23 Configure a credential helper to remove this warning. See 22:55:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:23 22:55:23 Login Succeeded 22:55:23 docker.io 22:55:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:23 Configure a credential helper to remove this warning. See 22:55:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:23 22:55:23 Login Succeeded 22:55:23 ---> docker-login.sh ends [Pipeline] } 22:55:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 22:55:23 + git rev-list -1 --merges 0d9da475c5ef773547cc035c525a2884bb0eb5fd~1..0d9da475c5ef773547cc035c525a2884bb0eb5fd [Pipeline] echo 22:55:23 -----------> git rev-list -1 --merges 0d9da475c5ef773547cc035c525a2884bb0eb5fd~1..0d9da475c5ef773547cc035c525a2884bb0eb5fd 0d9da475c5ef773547cc035c525a2884bb0eb5fd 22:55:23 0d9da475c5ef773547cc035c525a2884bb0eb5fd [false] [Pipeline] sh 22:55:24 + git log --format=format:%s -1 0d9da475c5ef773547cc035c525a2884bb0eb5fd [Pipeline] echo 22:55:24 ========================================================= 22:55:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:55:24 ========================================================= 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 22:55:24 + git rev-list -1 --merges 0d9da475c5ef773547cc035c525a2884bb0eb5fd~1..0d9da475c5ef773547cc035c525a2884bb0eb5fd [Pipeline] echo 22:55:24 -----------> git rev-list -1 --merges 0d9da475c5ef773547cc035c525a2884bb0eb5fd~1..0d9da475c5ef773547cc035c525a2884bb0eb5fd 0d9da475c5ef773547cc035c525a2884bb0eb5fd 22:55:24 0d9da475c5ef773547cc035c525a2884bb0eb5fd [false] [Pipeline] sh 22:55:24 + git log --format=format:%s -1 0d9da475c5ef773547cc035c525a2884bb0eb5fd [Pipeline] echo 22:55:24 ========================================================= 22:55:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:55:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 22:55:25 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 22:55:25 + grep -v github /etc/ssh/ssh_known_hosts 22:55:25 + '[' -e /tmp/ssh_known_hosts ']' 22:55:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:55:25 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 22:55:25 + sudo tee -a /etc/ssh/ssh_known_hosts 22:55:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:55:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:55:25 22:55:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:55:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:55:26 latest: Pulling from edgex-devops/git-semver 22:55:26 a0d0a0d46f8b: Pulling fs layer 22:55:26 3e5f54012d9b: Pulling fs layer 22:55:26 4c7163046ea9: Pulling fs layer 22:55:26 0c2d73faf560: Pulling fs layer 22:55:26 0c2d73faf560: Waiting 22:55:26 3e5f54012d9b: Verifying Checksum 22:55:26 3e5f54012d9b: Download complete 22:55:26 a0d0a0d46f8b: Verifying Checksum 22:55:26 a0d0a0d46f8b: Download complete 22:55:26 4c7163046ea9: Verifying Checksum 22:55:26 4c7163046ea9: Download complete 22:55:26 0c2d73faf560: Verifying Checksum 22:55:26 0c2d73faf560: Download complete 22:55:26 a0d0a0d46f8b: Pull complete 22:55:26 3e5f54012d9b: Pull complete 22:55:26 4c7163046ea9: Pull complete 22:55:26 0c2d73faf560: Pull complete 22:55:26 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 22:55:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:55:26 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:55:26 prd-centos7-docker-4c-2g-5020 does not seem to be running inside a container 22:55:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-388 -v /w/workspace/edgexfoundry_device-sdk-c_PR-388:/w/workspace/edgexfoundry_device-sdk-c_PR-388:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-388@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:10004/edgex-devops/git-semver:latest cat 22:55:27 $ docker top abe5638d977bbb9ad636d80d569a182d57179e0a6e0fed2d4a41a86eff86ab00 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:55:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:55:27 [ssh-agent] Looking for ssh-agent implementation... 22:55:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:55:27 $ docker exec abe5638d977bbb9ad636d80d569a182d57179e0a6e0fed2d4a41a86eff86ab00 ssh-agent 22:55:27 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoAalOb/agent.14 22:55:27 SSH_AGENT_PID=20 22:55:27 Running ssh-add (command line suppressed) 22:55:27 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/private_key_8347845754944451428.key (/w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/private_key_8347845754944451428.key) 22:55:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:55:28 + git tag --points-at HEAD [Pipeline] } 22:55:28 $ docker exec --env ******** --env ******** abe5638d977bbb9ad636d80d569a182d57179e0a6e0fed2d4a41a86eff86ab00 ssh-agent -k 22:55:28 unset SSH_AUTH_SOCK; 22:55:28 unset SSH_AGENT_PID; 22:55:28 echo Agent pid 20 killed; 22:55:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:55:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:55:28 [ssh-agent] Looking for ssh-agent implementation... 22:55:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:55:28 $ docker exec abe5638d977bbb9ad636d80d569a182d57179e0a6e0fed2d4a41a86eff86ab00 ssh-agent 22:55:28 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpfIMgc/agent.53 22:55:28 SSH_AGENT_PID=59 22:55:28 Running ssh-add (command line suppressed) 22:55:28 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/private_key_6830901444229571228.key (/w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/private_key_6830901444229571228.key) 22:55:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:55:29 + git semver init 22:55:29 # -> Open(): unable to determine branch for HEAD 22:55:29 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-388/.git 22:55:29 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-c_PR-388 22:55:29 # $SEMVER_REMOTE_NAME = origin 22:55:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:55:29 # $SEMVER_USER_NAME = edgex-jenkins 22:55:29 # $SEMVER_BRANCH = PR-388 22:55:29 # $SEMVER_TEMP = /tmp/semver-314577458 22:55:29 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-c.git $SEMVER_TEMP 22:55:29 # '/tmp/semver-314577458' -> '/w/workspace/edgexfoundry_device-sdk-c_PR-388/.semver' 22:55:29 # -> Force: false 22:55:29 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-c_PR-388/.semver [Pipeline] } 22:55:29 $ docker exec --env ******** --env ******** abe5638d977bbb9ad636d80d569a182d57179e0a6e0fed2d4a41a86eff86ab00 ssh-agent -k 22:55:30 unset SSH_AUTH_SOCK; 22:55:30 unset SSH_AGENT_PID; 22:55:30 echo Agent pid 59 killed; 22:55:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:55:30 + git semver [Pipeline] } 22:55:30 $ docker stop --time=1 abe5638d977bbb9ad636d80d569a182d57179e0a6e0fed2d4a41a86eff86ab00 22:55:31 $ docker rm -f abe5638d977bbb9ad636d80d569a182d57179e0a6e0fed2d4a41a86eff86ab00 [Pipeline] // withDockerContainer [Pipeline] sh 22:55:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:55:32 Stashed 1 file(s) [Pipeline] echo 22:55: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) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:55:32 provisioning config files... 22:55:32 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/config779619331950884460tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:55:32 ---> docker-login.sh 22:55:32 nexus3.edgexfoundry.org:10001 22:55:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:32 Configure a credential helper to remove this warning. See 22:55:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:32 22:55:32 Login Succeeded 22:55:32 nexus3.edgexfoundry.org:10002 22:55:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:32 Configure a credential helper to remove this warning. See 22:55:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:32 22:55:32 Login Succeeded 22:55:32 nexus3.edgexfoundry.org:10003 22:55:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:32 Configure a credential helper to remove this warning. See 22:55:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:32 22:55:32 Login Succeeded 22:55:32 nexus3.edgexfoundry.org:10004 22:55:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:32 Configure a credential helper to remove this warning. See 22:55:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:32 22:55:32 Login Succeeded 22:55:32 docker.io 22:55:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:33 Configure a credential helper to remove this warning. See 22:55:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:33 22:55:33 Login Succeeded 22:55:33 ---> docker-login.sh ends [Pipeline] } 22:55:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:55:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:55:33 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 22:55:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:55:33 ========================================================= 22:55:33 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 22:55:33 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:55: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 . 22:55:33 Sending build context to Docker daemon 19.73MB 22:55:33 Step 1/24 : ARG BASE=alpine:3.14 22:55:33 Step 2/24 : FROM ${BASE} as builder 22:55:33 latest: Pulling from edgex-devops/edgex-gcc-base 22:55:33 97518928ae5f: Pulling fs layer 22:55:33 7363053e1ea0: Pulling fs layer 22:55:33 51a0b06becb3: Pulling fs layer 22:55:34 7363053e1ea0: Verifying Checksum 22:55:34 7363053e1ea0: Download complete 22:55:34 97518928ae5f: Verifying Checksum 22:55:34 97518928ae5f: Download complete 22:55:34 97518928ae5f: Pull complete 22:55:34 7363053e1ea0: Pull complete 22:55:34 51a0b06becb3: Verifying Checksum 22:55:34 51a0b06becb3: Download complete 22:55:37 51a0b06becb3: Pull complete 22:55:37 Digest: sha256:87c36446de1e177a99674a7135a8e1d07a26632dff751204c3634b3409cb465c 22:55:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 22:55:37 ---> 621855499e4c 22:55:37 Step 3/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 22:55:38 ---> Running in 5d65013d41e4 22:55:38 Connecting to iotech.jfrog.io (54.195.244.87:443) 22:55:38 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 22:55:38 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 22:55:38 '/etc/apk/keys/alpine.dev.rsa.pub' saved 22:55:38 Removing intermediate container 5d65013d41e4 22:55:38 ---> 4ed23f3ba1a8 22:55:38 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 22:55:38 ---> Running in 355a985f4e96 22:55:39 Removing intermediate container 355a985f4e96 22:55:39 ---> bb548dd8807d 22:55:39 Step 5/24 : RUN apk add --update --no-cache build-base bash wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev 22:55:39 ---> Running in 33a2295f199f 22:55:39 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:55:44 WARNING: Ignoring https://nl.alpinelinux.org/alpine/v3.14/main: temporary error (try again later) 22:55:44 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:55:47 Still waiting to schedule task 22:55:47 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 22:55:48 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/x86_64/APKINDEX.tar.gz 22:55:48 WARNING: This apk-tools is OLD! Some packages might not function properly. 22:55:48 ERROR: unable to select packages: 22:55:48  bash (no such package): 22:55:48 required by: world[bash] 22:55:48 hiredis-dev (no such package): 22:55:48 required by: world[hiredis-dev] 22:55:48 ncurses-dev (no such package): 22:55:48 required by: world[ncurses-dev] 22:55:48 util-linux-dev (no such package): 22:55:48 required by: world[util-linux-dev] 22:55:48 wget (no such package): 22:55:48 required by: world[wget] 22:55:48 The command '/bin/sh -c apk add --update --no-cache build-base bash wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev' returned a non-zero code: 5 [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 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:55:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:55:48 22:55:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:55:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:55:49 latest: Pulling from edgex-lftools-log-publisher 22:55:49 b4d181a07f80: Pulling fs layer 22:55:49 a1111a8f2ec3: Pulling fs layer 22:55:49 ed53099fbce6: Pulling fs layer 22:55:49 dc539afda2c1: Pulling fs layer 22:55:49 77bc0d833cb6: Pulling fs layer 22:55:49 9065ff56babe: Pulling fs layer 22:55:49 d287ab97295c: Pulling fs layer 22:55:49 dc539afda2c1: Waiting 22:55:49 77bc0d833cb6: Waiting 22:55:49 9065ff56babe: Waiting 22:55:49 d287ab97295c: Waiting 22:55:49 a1111a8f2ec3: Verifying Checksum 22:55:49 a1111a8f2ec3: Download complete 22:55:49 dc539afda2c1: Verifying Checksum 22:55:49 dc539afda2c1: Download complete 22:55:49 77bc0d833cb6: Verifying Checksum 22:55:49 77bc0d833cb6: Download complete 22:55:49 ed53099fbce6: Verifying Checksum 22:55:49 ed53099fbce6: Download complete 22:55:49 9065ff56babe: Verifying Checksum 22:55:49 9065ff56babe: Download complete 22:55:49 b4d181a07f80: Verifying Checksum 22:55:49 b4d181a07f80: Download complete 22:55:49 d287ab97295c: Verifying Checksum 22:55:49 d287ab97295c: Download complete 22:55:50 b4d181a07f80: Pull complete 22:55:50 a1111a8f2ec3: Pull complete 22:55:51 ed53099fbce6: Pull complete 22:55:51 dc539afda2c1: Pull complete 22:55:51 77bc0d833cb6: Pull complete 22:55:51 9065ff56babe: Pull complete 22:55:56 d287ab97295c: Pull complete 22:55:56 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 22:55:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:55:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:55:57 prd-centos7-docker-4c-2g-5020 does not seem to be running inside a container 22:55:57 $ 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-388 -v /w/workspace/edgexfoundry_device-sdk-c_PR-388:/w/workspace/edgexfoundry_device-sdk-c_PR-388:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-388@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 22:55:59 $ docker top e47d0431688d909ef59947a5cb4e2a8b05c3422651b83aa0fb2cff5974721b90 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:55:59 ---> job-cost.sh 22:55:59 lf-activate-venv: SKIPPING 22:55:59 INFO: No Stack... 22:55:59 INFO: Retrieving Pricing Info for: v3-standard-2 22:56:00 INFO: Archiving Costs [Pipeline] sh 22:56:00 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-388/archives/cost.csv 22:56:00 + cut -d, -f6 [Pipeline] lock 22:56:00 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-388-5-stack-cost] 22:56:00 Resource [jenkins-edgexfoundry-device-sdk-c-PR-388-5-stack-cost] did not exist. Created. 22:56:00 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-388-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:56:01 + echo total: 0.05999999865889549 [Pipeline] stash 22:56:01 Stashed 1 file(s) [Pipeline] } 22:56:01 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-388-5-stack-cost] [Pipeline] // lock [Pipeline] } 22:56:01 $ docker stop --time=1 e47d0431688d909ef59947a5cb4e2a8b05c3422651b83aa0fb2cff5974721b90 22:56:02 $ docker rm -f e47d0431688d909ef59947a5cb4e2a8b05c3422651b83aa0fb2cff5974721b90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:56:02 Failed in branch amd64 22:57:15 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5021 in /w/workspace/edgexfoundry_device-sdk-c_PR-388 [Pipeline] { [Pipeline] ws 22:57:15 Running in /w/workspace/device-sdk-c/5 [Pipeline] { [Pipeline] checkout 22:57:15 Selected Git installation does not exist. Using Default 22:57:15 The recommended git tool is: NONE 22:57:20 using credential edgex-jenkins-ssh 22:57:20 Cloning the remote Git repository 22:57:20 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 22:57:20 > git init /w/workspace/device-sdk-c/5 # timeout=10 22:57:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 22:57:20 > git --version # timeout=10 22:57:20 > git --version # 'git version 2.17.1' 22:57:20 using GIT_SSH to set credentials SSH Credentials for GitHub 22:57:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:57:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 22:57:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:57:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 22:57:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 22:57:22 using GIT_SSH to set credentials SSH Credentials for GitHub 22:57:22 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/388/head:refs/remotes/origin/PR-388 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:57:24 Merging remotes/origin/main commit 02161a6b4618232bfcf286377d256226a622bc2b into PR head commit 8f822df88842add76d792b0fcf38c18213008c44 22:57:24 Merge succeeded, producing bc65a5ed20e6bb789596f266e449c4dbfe71156b 22:57:24 Checking out Revision bc65a5ed20e6bb789596f266e449c4dbfe71156b (PR-388) 22:57:24 > git config core.sparsecheckout # timeout=10 22:57:24 > git checkout -f 8f822df88842add76d792b0fcf38c18213008c44 # timeout=10 22:57:24 > git remote # timeout=10 22:57:24 > git config --get remote.origin.url # timeout=10 22:57:24 using GIT_SSH to set credentials SSH Credentials for GitHub 22:57:24 > git merge 02161a6b4618232bfcf286377d256226a622bc2b # timeout=10 22:57:24 > git rev-parse HEAD^{commit} # timeout=10 22:57:24 > git config core.sparsecheckout # timeout=10 22:57:24 > git checkout -f bc65a5ed20e6bb789596f266e449c4dbfe71156b # timeout=10 22:57:28 Commit message: "Merge commit '02161a6b4618232bfcf286377d256226a622bc2b' into HEAD" 22:57:28 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:57:28 > git rev-list --no-walk 5a56bf886f75408540c8052fcd24f980bc1a292b # timeout=10 22:57:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:57:29 % Total % Received % Xferd Average Speed Time Time Time Current 22:57:29 Dload Upload Total Spent Left Speed 22:57:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 26613 0 --:--:-- --:--:-- --:--:-- 26673 [Pipeline] sh 22:57:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:57:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:57:30 + sudo tee /etc/docker/daemon.new 22:57:30 { 22:57:30 "registry-mirrors": [ 22:57:30 "https://nexus3.edgexfoundry.org:10001" 22:57:30 ], 22:57:30 "bip": "10.250.0.254/24", 22:57:30 "hosts": [ 22:57:30 "tcp://0.0.0.0:5555", 22:57:30 "unix:///var/run/docker.sock" 22:57:30 ], 22:57:30 "mtu": 1458, 22:57:30 "selinux-enabled": true, 22:57:30 "seccomp-profile": "/etc/docker/seccomp.json" 22:57:30 } [Pipeline] sh 22:57:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:57:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:57:49 provisioning config files... 22:57:49 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/5@tmp/config1636671944003005768tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:57:50 ---> docker-login.sh 22:57:50 nexus3.edgexfoundry.org:10001 22:57:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:51 Configure a credential helper to remove this warning. See 22:57:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:51 22:57:51 Login Succeeded 22:57:51 nexus3.edgexfoundry.org:10002 22:57:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:51 Configure a credential helper to remove this warning. See 22:57:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:51 22:57:51 Login Succeeded 22:57:51 nexus3.edgexfoundry.org:10003 22:57:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:51 Configure a credential helper to remove this warning. See 22:57:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:51 22:57:51 Login Succeeded 22:57:51 nexus3.edgexfoundry.org:10004 22:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:52 Configure a credential helper to remove this warning. See 22:57:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:52 22:57:52 Login Succeeded 22:57:52 docker.io 22:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:53 Configure a credential helper to remove this warning. See 22:57:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:53 22:57:53 Login Succeeded 22:57:53 ---> docker-login.sh ends [Pipeline] } 22:57:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:57:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:57:53 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 22:57:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:57:53 ========================================================= 22:57:53 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 22:57:53 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:57:54 + 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 . 22:57:54 Sending build context to Docker daemon 17.98MB 22:57:54 Step 1/24 : ARG BASE=alpine:3.14 22:57:54 Step 2/24 : FROM ${BASE} as builder 22:57:54 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 22:57:54 be307f383ecc: Pulling fs layer 22:57:54 1d4f7adf69d7: Pulling fs layer 22:57:54 52c5421e0b32: Pulling fs layer 22:57:54 1d4f7adf69d7: Verifying Checksum 22:57:54 1d4f7adf69d7: Download complete 22:57:54 be307f383ecc: Download complete 22:57:55 be307f383ecc: Pull complete 22:57:55 1d4f7adf69d7: Pull complete 22:57:56 52c5421e0b32: Verifying Checksum 22:57:56 52c5421e0b32: Download complete 22:58:05 52c5421e0b32: Pull complete 22:58:05 Digest: sha256:b0641e156c351091e85aa6c9760f8a7bff2808f91974893ca31a3cc47f05c631 22:58:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 22:58:05 ---> 3722cfcf980c 22:58:05 Step 3/24 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 22:58:05 ---> Running in 1bb5f90f8662 22:58:06 Connecting to iotech.jfrog.io (54.74.239.58:443) 22:58:07 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 22:58:07 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 22:58:07 '/etc/apk/keys/alpine.dev.rsa.pub' saved 22:58:07 Removing intermediate container 1bb5f90f8662 22:58:07 ---> 32e89b2db3b2 22:58:07 Step 4/24 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main' >> /etc/apk/repositories 22:58:07 ---> Running in 2611d86600d2 22:58:09 Removing intermediate container 2611d86600d2 22:58:09 ---> 4bc80f6acf43 22:58:09 Step 5/24 : RUN apk add --update --no-cache build-base bash wget git gcc cmake make yaml-dev libcurl curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev paho-mqtt-c-dev-1.3 hiredis-dev 22:58:09 ---> Running in 1691f6083360 22:58:10 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:58:11 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:58:11 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.14/main/aarch64/APKINDEX.tar.gz 22:58:12 WARNING: This apk-tools is OLD! Some packages might not function properly. 22:58:12 (1/29) Installing readline (8.1.0-r0) 22:58:12 (2/29) Installing bash (5.1.4-r0) 22:58:12 Executing bash-5.1.4-r0.post-install 22:58:12 (3/29) Installing hiredis (1.0.0-r0) 22:58:12 (4/29) Installing hiredis-dev (1.0.0-r0) 22:58:12 (5/29) Installing ncurses-dev (6.2_p20210612-r0) 22:58:12 (6/29) Installing paho-mqtt-c-dev-1.3 (1.3.9-r0) 22:58:13 (7/29) Installing libblkid (2.37.3-r0) 22:58:14 (8/29) Installing blkid (2.37.3-r0) 22:58:14 (9/29) Installing libcap-ng (0.8.2-r0) 22:58:14 (10/29) Installing setpriv (2.37.3-r0) 22:58:14 (11/29) Installing libmount (2.37.3-r0) 22:58:14 (12/29) Installing libsmartcols (2.37.3-r0) 22:58:14 (13/29) Installing findmnt (2.37.3-r0) 22:58:14 (14/29) Installing mcookie (2.37.3-r0) 22:58:14 (15/29) Installing hexdump (2.37.3-r0) 22:58:14 (16/29) Installing lsblk (2.37.3-r0) 22:58:14 (17/29) Installing libuuid (2.37.3-r0) 22:58:14 (18/29) Installing libfdisk (2.37.3-r0) 22:58:15 (19/29) Installing sfdisk (2.37.3-r0) 22:58:15 (20/29) Installing cfdisk (2.37.3-r0) 22:58:15 (21/29) Installing partx (2.37.3-r0) 22:58:15 (22/29) Installing flock (2.37.3-r0) 22:58:15 (23/29) Installing logger (2.37.3-r0) 22:58:15 (24/29) Installing uuidgen (2.37.3-r0) 22:58:15 (25/29) Installing libeconf (0.3.8-r1) 22:58:15 (26/29) Installing util-linux (2.37.3-r0) 22:58:16 (27/29) Installing util-linux-dev (2.37.3-r0) 22:58:16 (28/29) Installing libidn2 (2.3.1-r0) 22:58:16 (29/29) Installing wget (1.21.1-r1) 22:58:16 Executing busybox-1.33.1-r6.trigger 22:58:16 OK: 288 MiB in 106 packages 22:58:18 Removing intermediate container 1691f6083360 22:58:18 ---> 6aa70f4c18c7 22:58:18 Step 6/24 : ENV CBOR_VERSION=0.5.0 22:58:18 ---> Running in d276174e7ea5 22:58:18 Removing intermediate container d276174e7ea5 22:58:18 ---> 8cb1fe0341df 22:58:18 Step 7/24 : RUN mkdir /tmp/cbor && cd /tmp/cbor && wget -O - https://github.com/PJK/libcbor/archive/v${CBOR_VERSION}.tar.gz | tar -z -x -f - && sed -e 's/-flto//' -i libcbor-${CBOR_VERSION}/CMakeLists.txt && cmake -DCMAKE_BUILD_TYPE=Release -DCBOR_CUSTOM_ALLOC=ON libcbor-${CBOR_VERSION} && make && make install 22:58:18 ---> Running in 5959f61a8de6 22:58:19 --2022-02-10 22:58:19-- https://github.com/PJK/libcbor/archive/v0.5.0.tar.gz 22:58:19 Resolving github.com (github.com)... 140.82.112.3 22:58:19 Connecting to github.com (github.com)|140.82.112.3|:443... connected. 22:58:19 HTTP request sent, awaiting response... 302 Found 22:58:19 Location: https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 [following] 22:58:19 --2022-02-10 22:58:19-- https://codeload.github.com/PJK/libcbor/tar.gz/v0.5.0 22:58:19 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 22:58:19 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. 22:58:19 HTTP request sent, awaiting response... 200 OK 22:58:19 Length: unspecified [application/x-gzip] 22:58:19 Saving to: 'STDOUT' 22:58:19 22:58:19 0K .......... .......... .......... .......... .......... 1.22M 22:58:19 50K .......... .......... .......... .......... .......... 2.37M 22:58:19 100K .......... .......... .......... .......... .......... 18.2M 22:58:19 150K .......... .......... .......... .......... .......... 2.72M 22:58:19 200K .......... .......... .......... .......... .......... 19.4M 22:58:19 250K .......... .......... .......... .......... .......... 2.91M 22:58:19 300K .......... .......... .......... .......... .......... 5.48M 22:58:19 350K .......... .......... .......... .......... .......... 4.59M 22:58:19 400K .......... .......... .......... .......... .......... 4.28M 22:58:19 450K .......... .......... .......... .......... .......... 3.83M 22:58:19 500K .......... .......... .......... .......... .......... 6.63M 22:58:19 550K .......... .......... .......... .......... .......... 3.59M 22:58:20 600K .......... .......... .......... .......... .......... 719K 22:58:20 650K .......... .......... .......... .......... .......... 2.28M 22:58:20 700K .. 8.91M=0.3s 22:58:20 22:58:20 2022-02-10 22:58:19 (2.68 MB/s) - written to stdout [719348] 22:58:20 22:58:20 -- The C compiler identification is GNU 10.3.1 22:58:20 -- The CXX compiler identification is GNU 10.3.1 22:58:20 -- Detecting C compiler ABI info 22:58:20 -- Detecting C compiler ABI info - done 22:58:20 -- Check for working C compiler: /usr/bin/cc - skipped 22:58:20 -- Detecting C compile features 22:58:20 -- Detecting C compile features - done 22:58:20 -- Detecting CXX compiler ABI info 22:58:21 -- Detecting CXX compiler ABI info - done 22:58:21 -- Check for working CXX compiler: /usr/bin/c++ - skipped 22:58:21 -- Detecting CXX compile features 22:58:21 -- Detecting CXX compile features - done 22:58:21 -- Looking for include file endian.h 22:58:21 -- Looking for include file endian.h - found 22:58:21 -- Looking for sys/types.h 22:58:22 -- Looking for sys/types.h - found 22:58:22 -- Looking for stdint.h 22:58:22 -- Looking for stdint.h - found 22:58:22 -- Looking for stddef.h 22:58:22 -- Looking for stddef.h - found 22:58:22 -- Check size of size_t 22:58:22 -- Check size of size_t - done 22:58:22 CMake Warning at examples/CMakeLists.txt:16 (find_package): 22:58:22 By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has 22:58:22 asked CMake to find a package configuration file provided by "cJSON", but 22:58:22 CMake did not find one. 22:58:22 22:58:22 Could not find a package configuration file provided by "cJSON" with any of 22:58:22 the following names: 22:58:22 22:58:22 cJSONConfig.cmake 22:58:22 cjson-config.cmake 22:58:22 22:58:22 Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set 22:58:22 "cJSON_DIR" to a directory containing one of the above files. If "cJSON" 22:58:22 provides a separate development package or SDK, be sure it has been 22:58:22 installed. 22:58:22 22:58:22 22:58:22 -- Configuring done 22:58:23 -- Generating done 22:58:23 -- Build files have been written to: /tmp/cbor 22:58:23 [ 1%] Building C object src/CMakeFiles/cbor_shared.dir/cbor.c.o 22:58:24 [ 3%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/streaming.c.o 22:58:25 [ 5%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/encoders.c.o 22:58:25 [ 7%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/builder_callbacks.c.o 22:58:26 [ 9%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/loaders.c.o 22:58:26 [ 11%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/memory_utils.c.o 22:58:26 [ 13%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/stack.c.o 22:58:26 [ 15%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/internal/unicode.c.o 22:58:26 [ 17%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/encoding.c.o 22:58:27 [ 19%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/serialization.c.o 22:58:27 [ 21%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/arrays.c.o 22:58:28 [ 23%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/common.c.o 22:58:28 [ 25%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/floats_ctrls.c.o 22:58:29 [ 26%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/bytestrings.c.o 22:58:29 [ 28%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/callbacks.c.o 22:58:29 [ 30%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/strings.c.o 22:58:30 [ 32%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/maps.c.o 22:58:30 [ 34%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/tags.c.o 22:58:30 [ 36%] Building C object src/CMakeFiles/cbor_shared.dir/cbor/ints.c.o 22:58:31 [ 38%] Building C object src/CMakeFiles/cbor_shared.dir/allocators.c.o 22:58:31 [ 40%] Linking C shared library libcbor.so 22:58:31 [ 40%] Built target cbor_shared 22:58:31 [ 42%] Building C object src/CMakeFiles/cbor.dir/cbor.c.o 22:58:32 [ 44%] Building C object src/CMakeFiles/cbor.dir/cbor/streaming.c.o 22:58:33 [ 46%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/encoders.c.o 22:58:33 [ 48%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/builder_callbacks.c.o 22:58:35 [ 50%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/loaders.c.o 22:58:35 [ 51%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/memory_utils.c.o 22:58:35 [ 53%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/stack.c.o 22:58:36 [ 55%] Building C object src/CMakeFiles/cbor.dir/cbor/internal/unicode.c.o 22:58:36 [ 57%] Building C object src/CMakeFiles/cbor.dir/cbor/encoding.c.o 22:58:36 [ 59%] Building C object src/CMakeFiles/cbor.dir/cbor/serialization.c.o 22:58:37 [ 61%] Building C object src/CMakeFiles/cbor.dir/cbor/arrays.c.o 22:58:37 [ 63%] Building C object src/CMakeFiles/cbor.dir/cbor/common.c.o 22:58:38 [ 65%] Building C object src/CMakeFiles/cbor.dir/cbor/floats_ctrls.c.o 22:58:38 [ 67%] Building C object src/CMakeFiles/cbor.dir/cbor/bytestrings.c.o 22:58:39 [ 69%] Building C object src/CMakeFiles/cbor.dir/cbor/callbacks.c.o 22:58:39 [ 71%] Building C object src/CMakeFiles/cbor.dir/cbor/strings.c.o 22:58:40 [ 73%] Building C object src/CMakeFiles/cbor.dir/cbor/maps.c.o 22:58:40 [ 75%] Building C object src/CMakeFiles/cbor.dir/cbor/tags.c.o 22:58:40 [ 76%] Building C object src/CMakeFiles/cbor.dir/cbor/ints.c.o 22:58:40 [ 78%] Building C object src/CMakeFiles/cbor.dir/allocators.c.o 22:58:40 [ 80%] Linking C static library libcbor.a 22:58:41 [ 80%] Built target cbor 22:58:41 [ 82%] Building C object examples/CMakeFiles/readfile.dir/readfile.c.o 22:58:41 [ 84%] Linking C executable readfile 22:58:41 [ 84%] Built target readfile 22:58:41 [ 86%] Building C object examples/CMakeFiles/create_items.dir/create_items.c.o 22:58:41 [ 88%] Linking C executable create_items 22:58:42 [ 88%] Built target create_items 22:58:42 [ 90%] Building C object examples/CMakeFiles/sort.dir/sort.c.o 22:58:42 [ 92%] Linking C executable sort 22:58:42 [ 92%] Built target sort 22:58:42 [ 94%] Building C object examples/CMakeFiles/hello.dir/hello.c.o 22:58:42 [ 96%] Linking C executable hello 22:58:42 [ 96%] Built target hello 22:58:42 [ 98%] Building C object examples/CMakeFiles/streaming_parser.dir/streaming_parser.c.o 22:58:42 [100%] Linking C executable streaming_parser 22:58:43 [100%] Built target streaming_parser 22:58:43 Install the project... 22:58:43 -- Install configuration: "Release" 22:58:43 -- Installing: /usr/local/include/cbor/configuration.h 22:58:43 -- Installing: /usr/local/lib/libcbor.a 22:58:43 -- Installing: /usr/local/lib/libcbor.so.0.0.0 22:58:43 -- Installing: /usr/local/lib/libcbor.so.0 22:58:43 -- Installing: /usr/local/lib/libcbor.so 22:58:43 -- Up-to-date: /usr/local/include/cbor 22:58:43 -- Installing: /usr/local/include/cbor/data.h 22:58:43 -- Installing: /usr/local/include/cbor/callbacks.h 22:58:43 -- Installing: /usr/local/include/cbor/ints.h 22:58:43 -- Installing: /usr/local/include/cbor/arrays.h 22:58:43 -- Installing: /usr/local/include/cbor/maps.h 22:58:43 -- Installing: /usr/local/include/cbor/tags.h 22:58:43 -- Installing: /usr/local/include/cbor/serialization.h 22:58:43 -- Installing: /usr/local/include/cbor/common.h 22:58:43 -- Installing: /usr/local/include/cbor/floats_ctrls.h 22:58:43 -- Installing: /usr/local/include/cbor/internal 22:58:43 -- Installing: /usr/local/include/cbor/internal/encoders.h 22:58:43 -- Installing: /usr/local/include/cbor/internal/memory_utils.h 22:58:43 -- Installing: /usr/local/include/cbor/internal/stack.h 22:58:43 -- Installing: /usr/local/include/cbor/internal/builder_callbacks.h 22:58:43 -- Installing: /usr/local/include/cbor/internal/unicode.h 22:58:43 -- Installing: /usr/local/include/cbor/internal/loaders.h 22:58:43 -- Installing: /usr/local/include/cbor/bytestrings.h 22:58:43 -- Installing: /usr/local/include/cbor/encoding.h 22:58:43 -- Installing: /usr/local/include/cbor/streaming.h 22:58:43 -- Installing: /usr/local/include/cbor/strings.h 22:58:43 -- Installing: /usr/local/include/cbor.h 22:58:43 -- Installing: /usr/local/lib/pkgconfig/libcbor.pc 22:58:45 Removing intermediate container 5959f61a8de6 22:58:45 ---> 55cbcce8d1dc 22:58:45 Step 8/24 : RUN mkdir /tmp/sdk 22:58:45 ---> Running in b3b88dc349ad 22:58:46 Removing intermediate container b3b88dc349ad 22:58:46 ---> 5d7de0eed388 22:58:46 Step 9/24 : COPY VERSION /tmp/sdk 22:58:47 ---> 7763038f4b6f 22:58:47 Step 10/24 : COPY src /tmp/sdk/src 22:58:48 ---> 698e69611efc 22:58:48 Step 11/24 : COPY include /tmp/sdk/include 22:58:48 ---> da9848d7767b 22:58:48 Step 12/24 : COPY scripts /tmp/sdk/scripts 22:58:49 ---> 150d5344675c 22:58:49 Step 13/24 : COPY LICENSE /tmp/sdk 22:58:49 ---> 23e7c61c2163 22:58:49 Step 14/24 : COPY Attribution.txt /tmp/sdk 22:58:50 ---> 9485673df75e 22:58:50 Step 15/24 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 22:58:50 ---> Running in e497e3b21491 22:58:51 + CPPCHECK=false 22:58:51 + DOCGEN=false 22:58:51 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 22:58:51 + TOMLVER=SDK-0.2 22:58:51 + CUTILVER=1.2.2 22:58:51 + '[' 0 -gt 0 ] 22:58:51 + readlink -f ./scripts/build.sh 22:58:51 + dirname /tmp/sdk/scripts/build.sh 22:58:51 + dirname /tmp/sdk/scripts 22:58:51 + ROOT=/tmp/sdk 22:58:51 + cd /tmp/sdk 22:58:51 + '[' '!' -d deps ] 22:58:51 + mkdir deps 22:58:51 + wget -O - https://github.com.cnpmjs.org/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 22:58:51 + tar -C deps -z -x -f - 22:58:51 --2022-02-10 22:58:51-- https://github.com.cnpmjs.org/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 22:58:51 Resolving github.com.cnpmjs.org (github.com.cnpmjs.org)... failed: Name does not resolve. 22:58:51 wget: unable to resolve host address 'github.com.cnpmjs.org' 22:58:51 tar: invalid magic 22:58:51 tar: short read 22:58:51 The command '/bin/sh -c cd /tmp/sdk && ./scripts/build.sh && make -C build/release install' returned a non-zero code: 1 [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] sh 22:58:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:58:52 22:58:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:58:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:58:53 arm64: Pulling from edgex-lftools-log-publisher 22:58:53 448f6bf000e3: Pulling fs layer 22:58:53 f757da607395: Pulling fs layer 22:58:53 05883995daec: Pulling fs layer 22:58:53 8603b9c90790: Pulling fs layer 22:58:53 1560dd03e051: Pulling fs layer 22:58:53 27f5ce0e4adf: Pulling fs layer 22:58:53 c2d8d7efcc4b: Pulling fs layer 22:58:53 1560dd03e051: Waiting 22:58:53 27f5ce0e4adf: Waiting 22:58:53 c2d8d7efcc4b: Waiting 22:58:53 8603b9c90790: Waiting 22:58:53 f757da607395: Verifying Checksum 22:58:53 f757da607395: Download complete 22:58:53 8603b9c90790: Verifying Checksum 22:58:53 8603b9c90790: Download complete 22:58:53 1560dd03e051: Verifying Checksum 22:58:53 1560dd03e051: Download complete 22:58:53 27f5ce0e4adf: Verifying Checksum 22:58:53 27f5ce0e4adf: Download complete 22:58:53 05883995daec: Verifying Checksum 22:58:53 05883995daec: Download complete 22:58:53 448f6bf000e3: Verifying Checksum 22:58:53 448f6bf000e3: Download complete 22:58:56 c2d8d7efcc4b: Verifying Checksum 22:58:56 c2d8d7efcc4b: Download complete 22:58:56 448f6bf000e3: Pull complete 22:58:57 f757da607395: Pull complete 22:58:59 05883995daec: Pull complete 22:58:59 8603b9c90790: Pull complete 22:59:00 1560dd03e051: Pull complete 22:59:00 27f5ce0e4adf: Pull complete 22:59:15 c2d8d7efcc4b: Pull complete 22:59:15 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 22:59:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:59:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:59:15 prd-ubuntu18.04-docker-arm64-4c-16g-5021 does not seem to be running inside a container 22:59:15 $ 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/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@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:arm64 cat 22:59:18 $ docker top 883e5a4895205757390ecaeece0ed671b74063797e95a3f756c6e9f360e384da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:59:19 ---> job-cost.sh 22:59:19 lf-activate-venv: SKIPPING 22:59:19 INFO: No Stack... 22:59:19 INFO: Retrieving Pricing Info for: v3-standard-4 22:59:19 INFO: Archiving Costs [Pipeline] sh 22:59:20 + cut -d, -f6 22:59:20 + cat /w/workspace/device-sdk-c/5/archives/cost.csv [Pipeline] lock 22:59:20 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-388-5-stack-cost] 22:59:20 Resource [jenkins-edgexfoundry-device-sdk-c-PR-388-5-stack-cost] did not exist. Created. 22:59:20 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-388-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:59:20 /w/workspace/device-sdk-c/5@tmp/durable-fe9db8af/script.sh: 1: /w/workspace/device-sdk-c/5@tmp/durable-fe9db8af/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 22:59:21 + echo total: 0.10999999940395355 [Pipeline] stash 22:59:21 Warning: overwriting stash ‘stack-cost’ 22:59:22 Stashed 1 file(s) [Pipeline] } 22:59:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-388-5-stack-cost] [Pipeline] // lock [Pipeline] } 22:59:22 $ docker stop --time=1 883e5a4895205757390ecaeece0ed671b74063797e95a3f756c6e9f360e384da 22:59:23 $ docker rm -f 883e5a4895205757390ecaeece0ed671b74063797e95a3f756c6e9f360e384da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:59:23 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 22:59:24 + '[' -d /w/workspace/edgexfoundry_device-sdk-c_PR-388/archives ']' 22:59:24 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-388/archives 22:59:24 total 8 22:59:24 drwxr-xr-x. 3 root root 34 Feb 10 22:56 . 22:59:24 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 10 22:56 .. 22:59:24 drwxr-xr-x. 2 root root 6 Feb 10 22:56 cost 22:59:24 -rw-r--r--. 1 root root 82 Feb 10 22:56 cost.csv 22:59:24 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-388/archives 22:59:24 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-388/archives 22:59:24 total 8 22:59:24 drwxr-xr-x. 3 jenkins jenkins 34 Feb 10 22:56 . 22:59:24 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 10 22:56 .. 22:59:24 drwxr-xr-x. 2 jenkins jenkins 6 Feb 10 22:56 cost 22:59:24 -rw-r--r--. 1 jenkins jenkins 82 Feb 10 22:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:59:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:59:25 ---> package-listing.sh 22:59:25 ++ tr '[:upper:]' '[:lower:]' 22:59:25 ++ facter osfamily 22:59:25 + OS_FAMILY=redhat 22:59:25 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-388 22:59:25 + START_PACKAGES=/tmp/packages_start.txt 22:59:25 + END_PACKAGES=/tmp/packages_end.txt 22:59:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:59:25 + PACKAGES=/tmp/packages_start.txt 22:59:25 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-388 ']' 22:59:25 + PACKAGES=/tmp/packages_end.txt 22:59:25 + case "${OS_FAMILY}" in 22:59:25 + rpm -qa 22:59:25 + sort 22:59:26 + '[' -f /tmp/packages_start.txt ']' 22:59:26 + '[' -f /tmp/packages_end.txt ']' 22:59:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:59:26 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-388 ']' 22:59:26 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-388/archives/ 22:59:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-388/archives/ [Pipeline] echo 22:59:26 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-388/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:59:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:59:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:59:26 . [Pipeline] withDockerContainer 22:59:27 prd-centos7-docker-4c-2g-5020 does not seem to be running inside a container 22:59:27 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-388/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-388 -v /w/workspace/edgexfoundry_device-sdk-c_PR-388:/w/workspace/edgexfoundry_device-sdk-c_PR-388:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-388@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 22:59:27 $ docker top 93666e7a821505df7f88e5505eed6fa3fb63b3686daf810c86d40bb5def07fc8 -eo pid,comm [Pipeline] { [Pipeline] sh 22:59:27 + touch /tmp/pre-build-complete [Pipeline] sh 22:59:27 + mkdir -p /var/log/sysstat [Pipeline] sh 22:59:28 + ls /var/log/sa-host 22:59:28 + sadf -c /var/log/sa-host/sa10 22:59:28 file_magic: OK 22:59:28 HZ: Using current value: 100 22:59:28 file_header: OK 22:59:28 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 22:59:28 Statistics: 22:59:28 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:59:28 File successfully converted to sysstat format version 12.0.3 22:59:28 + sadf -c /var/log/sa-host/sa17 22:59:28 file_magic: OK 22:59:28 HZ: Using current value: 100 22:59:28 file_header: OK 22:59:28 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 22:59:28 Statistics: 22:59:28 Hnuu...uuuununununu...Hnuu...uuuununununu... 22:59:28 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:59:28 provisioning config files... 22:59:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-388@tmp/config912357902182279144tmp [Pipeline] { [Pipeline] echo 22:59:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:59:28 ---> create-netrc.sh [Pipeline] } 22:59:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:59:29 ---> python-tools-install.sh [Pipeline] echo 22:59:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:59:29 ---> sudo-logs.sh 22:59:29 Archiving 'sudo' log.. 22:59:29 sudo: unable to resolve host prd-centos7-docker-4c-2g-5020.novalocal: Name or service not known 22:59:29 sudo: unable to resolve host prd-centos7-docker-4c-2g-5020.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 22:59:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:59:29 ---> job-cost.sh 22:59:29 lf-activate-venv: SKIPPING 22:59:29 DEBUG: total: 0.05999999865889549 22:59:29 INFO: Retrieving Stack Cost... 22:59:30 INFO: Retrieving Pricing Info for: v3-standard-2 22:59:30 INFO: Archiving Costs [Pipeline] echo 22:59:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:59:30 ---> logs-deploy.sh 22:59:30 lf-activate-venv: SKIPPING 22:59:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-388/5 22:59:30 INFO: archiving workspace using pattern(s): 22:59:31 Archives upload complete. 22:59:31 INFO: archiving logs to Nexus