Pull request #467 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 4504df9bdc42e67ccb7a3eb990460bb7d9735de7+e7fd64e96379a16422cca1ca57683b7b4003cc62 (a26438a856eab4655cac3fa36b2e5c5b3f3e9529) 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-ssh9525466792905100522.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh16563763888382287093.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-467/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-467/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9648217825976058518.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-467/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh419090007722664287.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh10913984532813938804.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-467/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-467/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15331256890663059550.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-743 in /w/workspace/edgexfoundry_device-sdk-c_PR-467 [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-467 # 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 Merging remotes/origin/main commit e7fd64e96379a16422cca1ca57683b7b4003cc62 into PR head commit 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 Merge succeeded, producing 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 Checking out Revision 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 (PR-467) > 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/467/head:refs/remotes/origin/PR-467 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 # 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 e7fd64e96379a16422cca1ca57683b7b4003cc62 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 # timeout=10 Commit message: "fix: update edgex_data_to_b64 to ignore the last null character" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:16:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:16:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:16:18 ========================================================= 11:16:18 EdgeX Global Pipelines Version Info 11:16:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:16:19 ------------------- 11:16:19 stable info: 11:16:19 ------------------- 11:16:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:16:19 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 11:16:19 Message: update stable to v1.0.250 11:16:20 ------------------- 11:16:20 experimental info: 11:16:20 ------------------- 11:16:20 Commited By: **** collab-it+edgex@linuxfoundation.org 11:16:20 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 11:16:20 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:16:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 11:16:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 11:16:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:16:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:16:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:16:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 11:16:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 11:16:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:16:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:16:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 11:16:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:16:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:16:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:16:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 11:16:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:16:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:16:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:16:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-467 [Pipeline] echo 11:16:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-467 [Pipeline] echo 11:16:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-467 [Pipeline] echo 11:16:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 [Pipeline] echo 11:16:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4504df9 [Pipeline] echo 11:16:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:16:21 provisioning config files... 11:16:21 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/config13040409500286316131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:16:21 ---> docker-login.sh 11:16:21 nexus3.edgexfoundry.org:10001 11:16:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:16:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:16:22 Configure a credential helper to remove this warning. See 11:16:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:16:22 11:16:22 Login Succeeded 11:16:22 nexus3.edgexfoundry.org:10002 11:16:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:16:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:16:22 Configure a credential helper to remove this warning. See 11:16:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:16:22 11:16:22 Login Succeeded 11:16:22 nexus3.edgexfoundry.org:10003 11:16:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:16:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:16:22 Configure a credential helper to remove this warning. See 11:16:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:16:22 11:16:22 Login Succeeded 11:16:22 nexus3.edgexfoundry.org:10004 11:16:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:16:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:16:22 Configure a credential helper to remove this warning. See 11:16:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:16:22 11:16:22 Login Succeeded 11:16:22 docker.io 11:16:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:16:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:16:22 Configure a credential helper to remove this warning. See 11:16:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:16:22 11:16:22 Login Succeeded 11:16:22 ---> docker-login.sh ends [Pipeline] } 11:16:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 11:16:23 + git rev-list -1 --merges 4504df9bdc42e67ccb7a3eb990460bb7d9735de7~1..4504df9bdc42e67ccb7a3eb990460bb7d9735de7 [Pipeline] echo 11:16:23 -----------> git rev-list -1 --merges 4504df9bdc42e67ccb7a3eb990460bb7d9735de7~1..4504df9bdc42e67ccb7a3eb990460bb7d9735de7 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 [false] [Pipeline] sh 11:16:23 + git log --format=format:%s -1 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 [Pipeline] echo 11:16:23 ========================================================= 11:16:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:16:23 ========================================================= 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 11:16:24 + git rev-list -1 --merges 4504df9bdc42e67ccb7a3eb990460bb7d9735de7~1..4504df9bdc42e67ccb7a3eb990460bb7d9735de7 [Pipeline] echo 11:16:24 -----------> git rev-list -1 --merges 4504df9bdc42e67ccb7a3eb990460bb7d9735de7~1..4504df9bdc42e67ccb7a3eb990460bb7d9735de7 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 [false] [Pipeline] sh 11:16:24 + git log --format=format:%s -1 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 [Pipeline] echo 11:16:25 ========================================================= 11:16:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:16:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 11:16:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:16:25 + grep -v github /etc/ssh/ssh_known_hosts 11:16:25 + [ -e /tmp/ssh_known_hosts ] 11:16:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:16:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:16:25 + sudo tee -a /etc/ssh/ssh_known_hosts 11:16:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:16:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:16:26 11:16:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:16:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:16:26 0.1.4: Pulling from edgex-devops/py-git-semver 11:16:26 b85a868b505f: Pulling fs layer 11:16:26 e2be974225ed: Pulling fs layer 11:16:26 339a4e72a1f5: Pulling fs layer 11:16:26 988bab9f4d93: Pulling fs layer 11:16:26 1469e6f7b9e6: Pulling fs layer 11:16:26 eaf3925da568: Pulling fs layer 11:16:26 bab4dde63d76: Pulling fs layer 11:16:26 bde34c3a00c8: Pulling fs layer 11:16:26 b352a97aabf1: Pulling fs layer 11:16:26 4872d77fe225: Pulling fs layer 11:16:26 5851b861e8e6: Pulling fs layer 11:16:26 bde34c3a00c8: Waiting 11:16:26 b352a97aabf1: Waiting 11:16:26 4872d77fe225: Waiting 11:16:26 eaf3925da568: Waiting 11:16:26 988bab9f4d93: Waiting 11:16:26 bab4dde63d76: Waiting 11:16:26 e2be974225ed: Verifying Checksum 11:16:26 e2be974225ed: Download complete 11:16:26 988bab9f4d93: Verifying Checksum 11:16:26 988bab9f4d93: Download complete 11:16:26 1469e6f7b9e6: Verifying Checksum 11:16:26 1469e6f7b9e6: Download complete 11:16:26 eaf3925da568: Verifying Checksum 11:16:26 eaf3925da568: Download complete 11:16:26 339a4e72a1f5: Verifying Checksum 11:16:26 339a4e72a1f5: Download complete 11:16:26 bde34c3a00c8: Verifying Checksum 11:16:26 bde34c3a00c8: Download complete 11:16:26 b352a97aabf1: Verifying Checksum 11:16:26 b352a97aabf1: Download complete 11:16:26 4872d77fe225: Verifying Checksum 11:16:26 4872d77fe225: Download complete 11:16:26 5851b861e8e6: Verifying Checksum 11:16:26 5851b861e8e6: Download complete 11:16:26 b85a868b505f: Download complete 11:16:26 bab4dde63d76: Verifying Checksum 11:16:26 bab4dde63d76: Download complete 11:16:27 b85a868b505f: Pull complete 11:16:28 e2be974225ed: Pull complete 11:16:28 339a4e72a1f5: Pull complete 11:16:28 988bab9f4d93: Pull complete 11:16:28 1469e6f7b9e6: Pull complete 11:16:28 eaf3925da568: Pull complete 11:16:30 bab4dde63d76: Pull complete 11:16:30 bde34c3a00c8: Pull complete 11:16:31 b352a97aabf1: Pull complete 11:16:31 4872d77fe225: Pull complete 11:16:31 5851b861e8e6: Pull complete 11:16:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:16:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:16:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:16:31 prd-ubuntu20.04-docker-8c-8g-743 does not seem to be running inside a container 11:16:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-467 -v /w/workspace/edgexfoundry_device-sdk-c_PR-467:/w/workspace/edgexfoundry_device-sdk-c_PR-467:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:16:35 $ docker top 6041fd885349f0a428418253027be452dba28d017de088b9a2cc57847e03babc -eo pid,comm 11:16:35 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). 11:16:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:16:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:16:35 [ssh-agent] Looking for ssh-agent implementation... 11:16:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:16:35 $ docker exec 6041fd885349f0a428418253027be452dba28d017de088b9a2cc57847e03babc ssh-agent 11:16:35 SSH_AUTH_SOCK=/tmp/ssh-oIOe7OyL4dek/agent.32 11:16:35 SSH_AGENT_PID=38 11:16:35 Running ssh-add (command line suppressed) 11:16:35 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/private_key_17245810207160628881.key (/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/private_key_17245810207160628881.key) 11:16:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:16:35 + git tag --points-at HEAD [Pipeline] } 11:16:35 $ docker exec --env ******** --env ******** 6041fd885349f0a428418253027be452dba28d017de088b9a2cc57847e03babc ssh-agent -k 11:16:36 unset SSH_AUTH_SOCK; 11:16:36 unset SSH_AGENT_PID; 11:16:36 echo Agent pid 38 killed; 11:16:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:16:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:16:36 [ssh-agent] Looking for ssh-agent implementation... 11:16:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:16:36 $ docker exec 6041fd885349f0a428418253027be452dba28d017de088b9a2cc57847e03babc ssh-agent 11:16:36 SSH_AUTH_SOCK=/tmp/ssh-j685axNrIGVx/agent.70 11:16:36 SSH_AGENT_PID=76 11:16:36 Running ssh-add (command line suppressed) 11:16:36 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/private_key_15529187776948148760.key (/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/private_key_15529187776948148760.key) 11:16:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:16:36 + git semver init 11:16:37 2023-07-10 11:16:36,984 [run_init] DEBUG init version:0.0.0 force:False 11:16:37 2023-07-10 11:16:36,985 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver 11:16:37 2023-07-10 11:16:36,985 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver 11:16:37 2023-07-10 11:16:36,986 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-467, universal_newlines=False, shell=None, istream=None) 11:16:37 2023-07-10 11:16:37,809 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-467/.git/info/exclude 11:16:37 2023-07-10 11:16:37,809 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver/PR-467 with force:False 11:16:37 2023-07-10 11:16:37,810 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver/PR-467 11:16:37 2023-07-10 11:16:37,812 [execute] INFO git cat-file --batch-check 11:16:37 2023-07-10 11:16:37,812 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver, universal_newlines=False, shell=None, istream=) 11:16:37 2023-07-10 11:16:37,817 [execute] INFO git cat-file --batch 11:16:37 2023-07-10 11:16:37,817 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver, universal_newlines=False, shell=None, istream=) 11:16:37 2023-07-10 11:16:37,822 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver/PR-467 11:16:37 0.0.0 [Pipeline] } 11:16:38 $ docker exec --env ******** --env ******** 6041fd885349f0a428418253027be452dba28d017de088b9a2cc57847e03babc ssh-agent -k 11:16:38 unset SSH_AUTH_SOCK; 11:16:38 unset SSH_AGENT_PID; 11:16:38 echo Agent pid 76 killed; 11:16:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:16:38 + git semver [Pipeline] } 11:16:38 $ docker stop --time=1 6041fd885349f0a428418253027be452dba28d017de088b9a2cc57847e03babc 11:16:40 $ docker rm -f --volumes 6041fd885349f0a428418253027be452dba28d017de088b9a2cc57847e03babc [Pipeline] // withDockerContainer [Pipeline] sh 11:16:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:16:40 Stashed 1 file(s) [Pipeline] echo 11:16:40 [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 11:16:41 provisioning config files... 11:16:41 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/config6665483767037915109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:16:41 ---> docker-login.sh 11:16:41 nexus3.edgexfoundry.org:10001 11:16:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:16:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:16:41 Configure a credential helper to remove this warning. See 11:16:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:16:41 11:16:41 Login Succeeded 11:16:41 nexus3.edgexfoundry.org:10002 11:16:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:16:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:16:41 Configure a credential helper to remove this warning. See 11:16:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:16:41 11:16:41 Login Succeeded 11:16:41 nexus3.edgexfoundry.org:10003 11:16:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:16:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:16:41 Configure a credential helper to remove this warning. See 11:16:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:16:41 11:16:41 Login Succeeded 11:16:41 nexus3.edgexfoundry.org:10004 11:16:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:16:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:16:41 Configure a credential helper to remove this warning. See 11:16:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:16:41 11:16:41 Login Succeeded 11:16:41 docker.io 11:16:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:16:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:16:42 Configure a credential helper to remove this warning. See 11:16:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:16:42 11:16:42 Login Succeeded 11:16:42 ---> docker-login.sh ends [Pipeline] } 11:16:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:16:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:16:42 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 11:16:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:16:42 ========================================================= 11:16:42 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 11:16:42 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:16:42 + 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 . 11:16:42 Sending build context to Docker daemon 4.826MB 11:16:42 Step 1/21 : ARG BASE=alpine:3.16 11:16:42 Step 2/21 : FROM ${BASE} as builder 11:16:42 latest: Pulling from edgex-devops/edgex-gcc-base 11:16:42 91d30c5bc195: Pulling fs layer 11:16:42 316e5a4585fb: Pulling fs layer 11:16:43 91d30c5bc195: Verifying Checksum 11:16:43 91d30c5bc195: Download complete 11:16:43 91d30c5bc195: Pull complete 11:16:43 316e5a4585fb: Verifying Checksum 11:16:43 316e5a4585fb: Download complete 11:16:47 316e5a4585fb: Pull complete 11:16:47 Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 11:16:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 11:16:47 ---> e83ffa357ff4 11:16:47 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 11:16:49 ---> Running in f34cd5f0c031 11:16:50 Connecting to iotech.jfrog.io (52.30.11.221:443) 11:16:50 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:16:50 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 11:16:50 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:16:50 Removing intermediate container f34cd5f0c031 11:16:50 ---> 7dada166120a 11:16:50 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 11:16:50 ---> Running in 70dcf1bb2108 11:16:51 Removing intermediate container 70dcf1bb2108 11:16:51 ---> 95c722c6919f 11:16:51 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.5-dev hiredis-dev 11:16:51 ---> Running in 765a8b363e14 11:16:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:16:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:16:51 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 11:16:52 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:16:52 (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 11:16:52 (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 11:16:52 (3/16) Installing hiredis (1.0.2-r0) 11:16:52 (4/16) Installing hiredis-dev (1.0.2-r0) 11:16:52 (5/16) Installing iotech-iot-1.5 (1.5.0-r0) 11:16:53 (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) 11:16:53 (7/16) Installing libcbor (0.9.0-r1) 11:16:53 (8/16) Installing libcbor-dev (0.9.0-r1) 11:16:53 (9/16) Installing ncurses-dev (6.3_p20220521-r1) 11:16:53 (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 11:16:54 (11/16) Installing libblkid (2.38-r1) 11:16:54 (12/16) Installing libuuid (2.38-r1) 11:16:54 (13/16) Installing libfdisk (2.38-r1) 11:16:54 (14/16) Installing libmount (2.38-r1) 11:16:54 (15/16) Installing libsmartcols (2.38-r1) 11:16:54 (16/16) Installing util-linux-dev (2.38-r1) 11:16:54 Executing busybox-1.35.0-r17.trigger 11:16:54 OK: 280 MiB in 90 packages 11:16:55 Removing intermediate container 765a8b363e14 11:16:55 ---> 2ae921bc89fa 11:16:55 Step 6/21 : RUN mkdir /tmp/sdk 11:16:55 ---> Running in 6dbe34e8b5a1 11:16:55 Removing intermediate container 6dbe34e8b5a1 11:16:55 ---> ddcb7bfffc4c 11:16:55 Step 7/21 : COPY VERSION /tmp/sdk 11:16:55 ---> f6552da56f5b 11:16:55 Step 8/21 : COPY src /tmp/sdk/src 11:16:55 ---> 2db8c6ffaa24 11:16:55 Step 9/21 : COPY include /tmp/sdk/include 11:16:55 ---> e211c931bcb5 11:16:55 Step 10/21 : COPY scripts /tmp/sdk/scripts 11:16:56 ---> 5a9e30429025 11:16:56 Step 11/21 : COPY LICENSE /tmp/sdk 11:16:56 ---> 40b76254afdd 11:16:56 Step 12/21 : COPY Attribution.txt /tmp/sdk 11:16:56 Still waiting to schedule task 11:16:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:16:56 ---> 08c63207cd64 11:16:56 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 11:16:56 ---> Running in dea1f11111ca 11:16:56 + CPPCHECK=false 11:16:56 + DOCGEN=false 11:16:56 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 11:16:56 + '[' 0 -gt 0 ] 11:16:56 + readlink -f ./scripts/build.sh 11:16:56 + dirname /tmp/sdk/scripts/build.sh 11:16:56 + dirname /tmp/sdk/scripts 11:16:56 + ROOT=/tmp/sdk 11:16:56 + cd /tmp/sdk 11:16:56 + mkdir -p /tmp/sdk/build/release 11:16:56 + cd /tmp/sdk/build/release 11:16:56 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 11:16:56 -- The C compiler identification is GNU 11.2.1 11:16:56 -- Detecting C compiler ABI info 11:16:56 -- Detecting C compiler ABI info - done 11:16:56 -- Check for working C compiler: /usr/bin/cc - skipped 11:16:56 -- Detecting C compile features 11:16:56 -- Detecting C compile features - done 11:16:56 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:16:56 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 11:16:56 -- Found LIBYAML: /usr/lib/libyaml.so 11:16:56 -- Found LIBUUID: /usr/lib/libuuid.so 11:16:56 -- Found LIBCBOR: /usr/lib/libcbor.so 11:16:56 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:16:56 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 11:16:56 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 11:16:56 -- /opt/iotech/iot/1.5/include 11:16:56 -- C SDK 0.0.0 for Linux 11:16:56 -- Performing Test CSDK_HAVE_ATOMIC 11:16:56 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:16:56 -- Found Curses: /usr/lib/libcurses.so 11:16:56 -- Configuring done 11:16:57 -- Generating done 11:16:57 -- Build files have been written to: /tmp/sdk/build/release 11:16:57 + make all package 11:16:57 + tee release.log 11:16:57 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:16:57 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 11:16:57 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 11:16:57 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 11:16:57 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 11:16:57 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:16:58 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:16:58 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:16:58 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:16:58 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:16:58 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:16:58 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:16:58 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:16:59 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:16:59 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 11:16:59 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:16:59 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:17:00 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:17:00 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:17:00 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:17:00 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:17:01 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:17:01 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:17:01 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:17:01 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 11:17:01 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:17:01 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:17:02 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 11:17:02 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 11:17:02 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 11:17:02 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:17:03 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:17:03 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 11:17:03 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:17:03 [ 68%] Linking C shared library libcsdk.so 11:17:03 [ 68%] Built target csdk 11:17:03 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:17:03 [ 72%] Linking C executable template 11:17:03 [ 72%] Built target template 11:17:03 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:17:03 [ 76%] Linking C executable device-counter 11:17:03 [ 76%] Built target device-counter 11:17:03 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:17:03 [ 80%] Linking C executable device-random 11:17:03 [ 80%] Built target device-random 11:17:03 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:17:04 [ 84%] Linking C executable device-gyro 11:17:04 [ 84%] Built target device-gyro 11:17:04 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:17:04 [ 88%] Linking C executable device-bitfields 11:17:04 [ 88%] Built target device-bitfields 11:17:04 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:17:04 [ 92%] Linking C executable template-discovery 11:17:04 [ 92%] Built target template-discovery 11:17:04 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:17:04 [ 96%] Linking C executable device-file 11:17:04 [ 96%] Built target device-file 11:17:04 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:17:04 [100%] Linking C executable device-terminal 11:17:04 [100%] Built target device-terminal 11:17:04 Run CPack packaging tool... 11:17:04 CPack: Create package using TGZ 11:17:04 CPack: Install projects 11:17:04 CPack: - Run preinstall target for: Csdk 11:17:05 CPack: - Install project: Csdk [] 11:17:05 CPack: Create package 11:17:05 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 11:17:05 + '[' false '=' true ] 11:17:05 + '[' false '=' true ] 11:17:05 + mkdir -p /tmp/sdk/build/debug 11:17:05 + cd /tmp/sdk/build/debug 11:17:05 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 11:17:05 -- The C compiler identification is GNU 11.2.1 11:17:05 -- Detecting C compiler ABI info 11:17:05 -- Detecting C compiler ABI info - done 11:17:05 -- Check for working C compiler: /usr/bin/cc - skipped 11:17:05 -- Detecting C compile features 11:17:05 -- Detecting C compile features - done 11:17:05 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:17:05 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 11:17:05 -- Found LIBYAML: /usr/lib/libyaml.so 11:17:05 -- Found LIBUUID: /usr/lib/libuuid.so 11:17:05 -- Found LIBCBOR: /usr/lib/libcbor.so 11:17:05 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:17:05 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 11:17:05 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 11:17:05 -- /opt/iotech/iot/1.5/include 11:17:05 -- C SDK 0.0.0 for Linux 11:17:05 -- Performing Test CSDK_HAVE_ATOMIC 11:17:05 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:17:05 -- Found Curses: /usr/lib/libcurses.so 11:17:05 -- Configuring done 11:17:05 -- Generating done 11:17:05 -- Build files have been written to: /tmp/sdk/build/debug 11:17:05 + make 11:17:05 + tee debug.log 11:17:05 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:17:06 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 11:17:06 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 11:17:06 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 11:17:06 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 11:17:06 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:17:06 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:17:06 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:17:06 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:17:06 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:17:06 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:17:06 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:17:06 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:17:06 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:17:07 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 11:17:07 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:17:07 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:17:07 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:17:07 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:17:07 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:17:07 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:17:07 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:17:07 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:17:07 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:17:07 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 11:17:08 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:17:08 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:17:08 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 11:17:08 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 11:17:08 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 11:17:08 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:17:08 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:17:08 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 11:17:08 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:17:09 [ 68%] Linking C shared library libcsdk.so 11:17:09 [ 68%] Built target csdk 11:17:09 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:17:09 [ 72%] Linking C executable template 11:17:09 [ 72%] Built target template 11:17:09 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:17:09 [ 76%] Linking C executable device-counter 11:17:09 [ 76%] Built target device-counter 11:17:09 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:17:09 [ 80%] Linking C executable device-random 11:17:09 [ 80%] Built target device-random 11:17:09 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:17:09 [ 84%] Linking C executable device-gyro 11:17:09 [ 84%] Built target device-gyro 11:17:09 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:17:09 [ 88%] Linking C executable device-bitfields 11:17:09 [ 88%] Built target device-bitfields 11:17:09 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:17:09 [ 92%] Linking C executable template-discovery 11:17:09 [ 92%] Built target template-discovery 11:17:09 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:17:10 [ 96%] Linking C executable device-file 11:17:10 [ 96%] Built target device-file 11:17:10 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:17:10 [100%] Linking C executable device-terminal 11:17:10 [100%] Built target device-terminal 11:17:10 make: Entering directory '/tmp/sdk/build/release' 11:17:10 make[1]: Entering directory '/tmp/sdk/build/release' 11:17:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:17:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:17:10 [ 68%] Built target csdk 11:17:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:17:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:17:10 [ 72%] Built target template 11:17:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:17:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:17:10 [ 76%] Built target device-counter 11:17:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:17:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:17:10 [ 80%] Built target device-random 11:17:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:17:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:17:10 [ 84%] Built target device-gyro 11:17:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:17:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:17:10 [ 88%] Built target device-bitfields 11:17:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:17:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:17:10 [ 92%] Built target template-discovery 11:17:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:17:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:17:10 [ 96%] Built target device-file 11:17:10 make[2]: Entering directory '/tmp/sdk/build/release' 11:17:10 make[2]: Leaving directory '/tmp/sdk/build/release' 11:17:10 [100%] Built target device-terminal 11:17:10 make[1]: Leaving directory '/tmp/sdk/build/release' 11:17:10 Install the project... 11:17:10 -- Install configuration: "Release" 11:17:10 -- Installing: /usr/local/lib/libcsdk.so 11:17:10 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 11:17:10 -- Installing: /usr/local/include 11:17:10 -- Installing: /usr/local/include/devsdk 11:17:10 -- Installing: /usr/local/include/devsdk/devsdk.h 11:17:10 -- Installing: /usr/local/include/devsdk/devsdk-base.h 11:17:10 -- Installing: /usr/local/include/edgex 11:17:10 -- Installing: /usr/local/include/edgex/edgex.h 11:17:10 -- Installing: /usr/local/include/edgex/devices.h 11:17:10 -- Installing: /usr/local/include/edgex/profiles.h 11:17:10 -- Installing: /usr/local/include/edgex/edgex-base.h 11:17:10 -- Installing: /usr/local/include/edgex/rest-server.h 11:17:10 -- Installing: /usr/local/include/edgex/csdk-defs.h 11:17:10 -- Installing: /usr/local/share/device-sdk-c/LICENSE 11:17:10 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 11:17:10 make: Leaving directory '/tmp/sdk/build/release' 11:17:11 Removing intermediate container dea1f11111ca 11:17:11 ---> 69edaee2effd 11:17:11 Step 14/21 : FROM ${BASE} 11:17:11 ---> e83ffa357ff4 11:17:11 Step 15/21 : LABEL maintainer="IOTech " 11:17:11 ---> Running in 83ae68cf75e6 11:17:11 Removing intermediate container 83ae68cf75e6 11:17:11 ---> 827aea19e68b 11:17:11 Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 11:17:11 ---> Running in 2dacb1f528d5 11:17:11 Connecting to iotech.jfrog.io (52.208.202.221:443) 11:17:12 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:17:12 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 11:17:12 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:17:12 Removing intermediate container 2dacb1f528d5 11:17:12 ---> 54139aae3bfd 11:17:12 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 11:17:12 ---> Running in b02bc33a60b6 11:17:12 Removing intermediate container b02bc33a60b6 11:17:12 ---> b5a9fead103e 11:17:12 Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev 11:17:12 ---> Running in ffbeaf7d7811 11:17:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:17:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:17:13 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 11:17:14 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:17:14 (1/7) Installing curl (8.1.2-r0) 11:17:14 (2/7) Installing hiredis (1.0.2-r0) 11:17:14 (3/7) Installing hiredis-dev (1.0.2-r0) 11:17:14 (4/7) Installing iotech-iot-1.4 (1.4.2-r0) 11:17:14 (5/7) Installing libcbor (0.9.0-r1) 11:17:14 (6/7) Installing libuuid (2.38-r1) 11:17:14 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 11:17:15 Executing busybox-1.35.0-r17.trigger 11:17:15 OK: 276 MiB in 83 packages 11:17:15 Removing intermediate container ffbeaf7d7811 11:17:15 ---> cd572737ffce 11:17:15 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 11:17:15 ---> d753f53a7b93 11:17:15 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 11:17:15 ---> 873ed573ee4b 11:17:15 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 11:17:15 ---> ecab4f44cd15 11:17:16 Successfully built ecab4f44cd15 11:17:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:17:16 + docker inspect -f . ci-base-image-x86_64 11:17:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:17:17 prd-ubuntu20.04-docker-8c-8g-743 does not seem to be running inside a container 11:17:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-467 -v /w/workspace/edgexfoundry_device-sdk-c_PR-467:/w/workspace/edgexfoundry_device-sdk-c_PR-467:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:17:17 $ docker top 0c0f3bd42a30505779654ab712c8ab74e805bf6226e64a415b971cb061028c55 -eo pid,comm [Pipeline] { [Pipeline] sh 11:17:17 + make test 11:17:17 echo "make test" 11:17:17 make test [Pipeline] } 11:17:17 $ docker stop --time=1 0c0f3bd42a30505779654ab712c8ab74e805bf6226e64a415b971cb061028c55 11:17:19 $ docker rm -f --volumes 0c0f3bd42a30505779654ab712c8ab74e805bf6226e64a415b971cb061028c55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:17:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:17:20 + ls -al . 11:17:20 total 212 11:17:20 drwxrwxr-x 9 jenkins jenkins 4096 Jul 10 11:16 . 11:17:20 drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 11:16 .. 11:17:20 drwxrwxr-x 8 jenkins jenkins 4096 Jul 10 11:16 .git 11:17:20 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 11:16 .github 11:17:20 -rw-rw-r-- 1 jenkins jenkins 176 Jul 10 11:16 .gitignore 11:17:20 drwxr-xr-x 3 jenkins jenkins 4096 Jul 10 11:16 .semver 11:17:20 -rw-rw-r-- 1 jenkins jenkins 2908 Jul 10 11:16 Attribution.txt 11:17:20 -rw-rw-r-- 1 jenkins jenkins 9268 Jul 10 11:16 CHANGES 11:17:20 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 10 11:16 Doxyfile 11:17:20 -rw-rw-r-- 1 jenkins jenkins 677 Jul 10 11:16 GOVERNANCE.md 11:17:20 -rw-rw-r-- 1 jenkins jenkins 784 Jul 10 11:16 Jenkinsfile 11:17:20 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 10 11:16 LICENSE 11:17:20 -rw-rw-r-- 1 jenkins jenkins 444 Jul 10 11:16 Makefile 11:17:20 -rw-rw-r-- 1 jenkins jenkins 618 Jul 10 11:16 OWNERS.md 11:17:20 -rw-rw-r-- 1 jenkins jenkins 1651 Jul 10 11:16 README.IOT.md 11:17:20 -rw-rw-r-- 1 jenkins jenkins 4215 Jul 10 11:16 README.md 11:17:20 -rw-rw-r-- 1 jenkins jenkins 1245 Jul 10 11:16 README.v3.md 11:17:20 -rw-rw-r-- 1 jenkins jenkins 5 Jul 10 11:16 VERSION 11:17:20 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 11:16 docs 11:17:20 drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 11:16 include 11:17:20 drwxrwxr-x 2 jenkins jenkins 4096 Jul 10 11:16 scripts 11:17:20 drwxrwxr-x 4 jenkins jenkins 4096 Jul 10 11:16 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:17:20 + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=4504df9bdc42e67ccb7a3eb990460bb7d9735de7 --label arch=amd64 --label version=0.0.0 . 11:17:20 Sending build context to Docker daemon 4.826MB 11:17:20 Step 1/17 : ARG BASE=alpine:3.16 11:17:20 Step 2/17 : FROM ${BASE} 11:17:20 ---> ecab4f44cd15 11:17:20 Step 3/17 : LABEL maintainer="IOTech " 11:17:20 ---> Running in 38b7c0a42886 11:17:20 Removing intermediate container 38b7c0a42886 11:17:20 ---> d613e86eda49 11:17:20 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 11:17:20 ---> Running in 836d202484d7 11:17:21 Connecting to iotech.jfrog.io (52.210.202.53:443) 11:17:21 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:17:21 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 11:17:21 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:17:21 Removing intermediate container 836d202484d7 11:17:21 ---> df89fcfc9758 11:17:21 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 11:17:21 ---> Running in c3a33d0dc900 11:17:22 Removing intermediate container c3a33d0dc900 11:17:22 ---> 5d1331281a43 11:17:22 Step 6/17 : 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 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build 11:17:22 ---> Running in c542148d40aa 11:17:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:17:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:17:22 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 11:17:23 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:17:23 (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 11:17:23 (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 11:17:23 (3/11) Installing iotech-iot-1.5 (1.5.0-r0) 11:17:24 (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 11:17:24 (5/11) Installing libcbor-dev (0.9.0-r1) 11:17:24 (6/11) Installing ncurses-dev (6.3_p20220521-r1) 11:17:24 (7/11) Installing libblkid (2.38-r1) 11:17:24 (8/11) Installing libfdisk (2.38-r1) 11:17:24 (9/11) Installing libmount (2.38-r1) 11:17:24 (10/11) Installing libsmartcols (2.38-r1) 11:17:24 (11/11) Installing util-linux-dev (2.38-r1) 11:17:24 Executing busybox-1.35.0-r17.trigger 11:17:24 OK: 281 MiB in 92 packages 11:17:24 Removing intermediate container c542148d40aa 11:17:24 ---> acbaa2e7e094 11:17:24 Step 7/17 : COPY VERSION /edgex-c-sdk/ 11:17:24 ---> aa1a6689649f 11:17:24 Step 8/17 : COPY src /edgex-c-sdk/src/ 11:17:24 ---> 8804314b2193 11:17:24 Step 9/17 : COPY include /edgex-c-sdk/include/ 11:17:25 ---> b30d95a06f4b 11:17:25 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 11:17:25 ---> 7894a9cd004e 11:17:25 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 11:17:25 ---> fbc3492bfcc1 11:17:25 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 11:17:25 ---> 75699b5f45e2 11:17:25 Step 13/17 : WORKDIR /edgex-c-sdk 11:17:25 ---> Running in 6a479ea34120 11:17:25 Removing intermediate container 6a479ea34120 11:17:25 ---> 77df236c0930 11:17:25 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 11:17:25 ---> Running in 6ab3c1f6f01d 11:17:25 Removing intermediate container 6ab3c1f6f01d 11:17:25 ---> ddfe3ef2cbed 11:17:25 Step 15/17 : LABEL arch=amd64 11:17:25 ---> Running in 680abd362585 11:17:25 Removing intermediate container 680abd362585 11:17:25 ---> d4b580e4c828 11:17:25 Step 16/17 : LABEL git_sha=4504df9bdc42e67ccb7a3eb990460bb7d9735de7 11:17:25 ---> Running in 272c7130bd87 11:17:25 Removing intermediate container 272c7130bd87 11:17:25 ---> b5b88c3f3100 11:17:25 Step 17/17 : LABEL version=0.0.0 11:17:25 ---> Running in d786f6595877 11:17:25 Removing intermediate container d786f6595877 11:17:25 ---> ff6ff017fbc3 11:17:25 [Warning] One or more build-args [ARCH MAKE] were not consumed 11:17:25 Successfully built ff6ff017fbc3 11:17:25 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:17:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:17:27 11:17:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:17:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:17:27 latest: Pulling from edgex-lftools-log-publisher 11:17:27 5eb5b503b376: Pulling fs layer 11:17:27 5c69ac0246d0: Pulling fs layer 11:17:27 ec43610c2a17: Pulling fs layer 11:17:27 3a2ae6a8a46f: Pulling fs layer 11:17:27 33b1e0a273af: Pulling fs layer 11:17:27 5d3b04190fa2: Pulling fs layer 11:17:27 2f39f015ded8: Pulling fs layer 11:17:27 33b1e0a273af: Waiting 11:17:27 5d3b04190fa2: Waiting 11:17:27 2f39f015ded8: Waiting 11:17:27 3a2ae6a8a46f: Waiting 11:17:27 5c69ac0246d0: Verifying Checksum 11:17:27 5c69ac0246d0: Download complete 11:17:27 3a2ae6a8a46f: Verifying Checksum 11:17:27 3a2ae6a8a46f: Download complete 11:17:27 33b1e0a273af: Verifying Checksum 11:17:27 33b1e0a273af: Download complete 11:17:27 5d3b04190fa2: Verifying Checksum 11:17:27 5d3b04190fa2: Download complete 11:17:27 ec43610c2a17: Download complete 11:17:27 5eb5b503b376: Verifying Checksum 11:17:27 5eb5b503b376: Download complete 11:17:28 2f39f015ded8: Download complete 11:17:28 5eb5b503b376: Pull complete 11:17:28 5c69ac0246d0: Pull complete 11:17:29 ec43610c2a17: Pull complete 11:17:29 3a2ae6a8a46f: Pull complete 11:17:29 33b1e0a273af: Pull complete 11:17:29 5d3b04190fa2: Pull complete 11:17:33 2f39f015ded8: Pull complete 11:17:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:17:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:17:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:17:34 prd-ubuntu20.04-docker-8c-8g-743 does not seem to be running inside a container 11:17:34 $ 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-467 -v /w/workspace/edgexfoundry_device-sdk-c_PR-467:/w/workspace/edgexfoundry_device-sdk-c_PR-467:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-467@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 11:17:40 $ docker top 06643ba4bbcf2ab82ec0f8535ea53bb1a7147b9ac135142e283fd69e891f2d94 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:17:41 ---> job-cost.sh 11:17:41 lf-activate-venv: SKIPPING 11:17:41 INFO: No Stack... 11:17:41 INFO: Retrieving Pricing Info for: v3-standard-8 11:17:41 INFO: Archiving Costs [Pipeline] sh 11:17:41 + cut -d, -f6 11:17:41 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives/cost.csv [Pipeline] lock 11:17:41 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-467-1-stack-cost] 11:17:41 Resource [jenkins-edgexfoundry-device-sdk-c-PR-467-1-stack-cost] did not exist. Created. 11:17:41 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-467-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:17:42 + echo total: 0.2199999988079071 [Pipeline] stash 11:17:42 Stashed 1 file(s) [Pipeline] } 11:17:42 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-467-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:17:42 $ docker stop --time=1 06643ba4bbcf2ab82ec0f8535ea53bb1a7147b9ac135142e283fd69e891f2d94 11:17:43 $ docker rm -f --volumes 06643ba4bbcf2ab82ec0f8535ea53bb1a7147b9ac135142e283fd69e891f2d94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:18:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-744 in /w/workspace/edgexfoundry_device-sdk-c_PR-467 [Pipeline] { [Pipeline] ws 11:18:26 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 11:18:26 Selected Git installation does not exist. Using Default 11:18:26 The recommended git tool is: NONE 11:18:30 using credential edgex-jenkins-ssh 11:18:30 Cloning the remote Git repository 11:18:31 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 11:18:31 > git init /w/workspace/device-sdk-c/1 # timeout=10 11:18:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:18:31 > git --version # timeout=10 11:18:31 > git --version # 'git version 2.25.1' 11:18:31 using GIT_SSH to set credentials SSH Credentials for GitHub 11:18:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:18:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:18:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:18:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:18:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:18:33 using GIT_SSH to set credentials SSH Credentials for GitHub 11:18:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:18:33 Merging remotes/origin/main commit e7fd64e96379a16422cca1ca57683b7b4003cc62 into PR head commit 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 11:18:34 Merge succeeded, producing 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 11:18:34 Checking out Revision 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 (PR-467) 11:18:33 > git config core.sparsecheckout # timeout=10 11:18:33 > git checkout -f 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 # timeout=10 11:18:34 > git remote # timeout=10 11:18:34 > git config --get remote.origin.url # timeout=10 11:18:34 using GIT_SSH to set credentials SSH Credentials for GitHub 11:18:34 > git merge e7fd64e96379a16422cca1ca57683b7b4003cc62 # timeout=10 11:18:34 > git rev-parse HEAD^{commit} # timeout=10 11:18:34 > git config core.sparsecheckout # timeout=10 11:18:34 > git checkout -f 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 # timeout=10 11:18:37 Commit message: "fix: update edgex_data_to_b64 to ignore the last null character" 11:18:37 > git --version # timeout=10 11:18:37 > git --version # 'git version 2.25.1' 11:18:37 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:18:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:18:38 % Total % Received % Xferd Average Speed Time Time Time Current 11:18:38 Dload Upload Total Spent Left Speed 11:18:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh 11:18:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:18:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:18:39 + sudo tee /etc/docker/daemon.new 11:18:39 { 11:18:39 "registry-mirrors": [ 11:18:39 "https://nexus3.edgexfoundry.org:10001" 11:18:39 ], 11:18:39 "bip": "10.250.0.254/24", 11:18:39 "hosts": [ 11:18:39 "tcp://0.0.0.0:5555", 11:18:39 "unix:///var/run/docker.sock" 11:18:39 ], 11:18:39 "mtu": 1458, 11:18:39 "selinux-enabled": true, 11:18:39 "seccomp-profile": "/etc/docker/seccomp.json" 11:18:39 } [Pipeline] sh 11:18:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:18:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:18:58 provisioning config files... 11:18:58 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config16112414732901299313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:18:59 ---> docker-login.sh 11:18:59 nexus3.edgexfoundry.org:10001 11:18:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:19:17 Error response from daemon: Get "https://nexus3.edgexfoundry.org:10001/v2/": net/http: request canceled (Client.Timeout exceeded while awaiting headers) [Pipeline] } 11:19:17 Deleting 1 temporary files [Pipeline] // configFileProvider [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 11:19:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:19:19 11:19:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:19:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:19:27 arm64: Pulling from edgex-lftools-log-publisher 11:19:27 8998bd30e6a1: Pulling fs layer 11:19:27 04944245beec: Pulling fs layer 11:19:27 699f458cf7ca: Pulling fs layer 11:19:27 765212b225bb: Pulling fs layer 11:19:27 f23df028b6ca: Pulling fs layer 11:19:27 d65c8cfc05b1: Pulling fs layer 11:19:27 2437ff75d9bd: Pulling fs layer 11:19:27 f23df028b6ca: Waiting 11:19:27 d65c8cfc05b1: Waiting 11:19:27 765212b225bb: Waiting 11:19:27 2437ff75d9bd: Waiting 11:19:27 04944245beec: Verifying Checksum 11:19:27 04944245beec: Download complete 11:19:27 765212b225bb: Download complete 11:19:27 f23df028b6ca: Verifying Checksum 11:19:27 f23df028b6ca: Download complete 11:19:27 8998bd30e6a1: Verifying Checksum 11:19:27 8998bd30e6a1: Download complete 11:19:30 2437ff75d9bd: Verifying Checksum 11:19:30 2437ff75d9bd: Download complete 11:19:30 699f458cf7ca: Verifying Checksum 11:19:30 699f458cf7ca: Download complete 11:19:31 8998bd30e6a1: Pull complete 11:19:31 04944245beec: Pull complete 11:19:32 699f458cf7ca: Pull complete 11:19:32 765212b225bb: Pull complete 11:19:33 f23df028b6ca: Pull complete 11:19:35 d65c8cfc05b1: Verifying Checksum 11:19:35 d65c8cfc05b1: Download complete 11:19:35 d65c8cfc05b1: Pull complete 11:19:50 2437ff75d9bd: Pull complete 11:19:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:19:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:19:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:19:50 prd-ubuntu20.04-docker-arm64-4c-16g-744 does not seem to be running inside a container 11:19:50 $ 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 11:19:53 $ docker top 1e93ce263ac9e11ec3a42de87c6943bded89dd2dc3d135b50a301d8fae38e96c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:19:53 ---> job-cost.sh 11:19:53 lf-activate-venv: SKIPPING 11:19:53 INFO: No Stack... 11:19:54 INFO: Retrieving Pricing Info for: v3-standard-4 11:19:55 INFO: Archiving Costs [Pipeline] sh 11:19:55 + cut -d, -f6 11:19:55 + cat /w/workspace/device-sdk-c/1/archives/cost.csv [Pipeline] lock 11:19:55 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-467-1-stack-cost] 11:19:55 Resource [jenkins-edgexfoundry-device-sdk-c-PR-467-1-stack-cost] did not exist. Created. 11:19:55 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-467-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:19:56 /w/workspace/device-sdk-c/1@tmp/durable-37f48197/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:19:56 + echo total: 0.10999999940395355 [Pipeline] stash 11:19:57 Warning: overwriting stash ‘stack-cost’ 11:19:57 Stashed 1 file(s) [Pipeline] } 11:19:57 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-467-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:19:57 $ docker stop --time=1 1e93ce263ac9e11ec3a42de87c6943bded89dd2dc3d135b50a301d8fae38e96c 11:20:00 $ docker rm -f --volumes 1e93ce263ac9e11ec3a42de87c6943bded89dd2dc3d135b50a301d8fae38e96c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 11:20:00 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 11:20:01 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives ] 11:20:01 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives 11:20:01 total 16 11:20:01 drwxr-xr-x 3 root root 4096 Jul 10 11:17 . 11:20:01 drwxrwxr-x 10 jenkins jenkins 4096 Jul 10 11:17 .. 11:20:01 drwxr-xr-x 2 root root 4096 Jul 10 11:17 cost 11:20:01 -rw-r--r-- 1 root root 84 Jul 10 11:17 cost.csv 11:20:01 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives 11:20:01 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives 11:20:01 total 16 11:20:01 drwxr-xr-x 3 jenkins jenkins 4096 Jul 10 11:17 . 11:20:01 drwxrwxr-x 10 jenkins jenkins 4096 Jul 10 11:17 .. 11:20:01 drwxr-xr-x 2 jenkins jenkins 4096 Jul 10 11:17 cost 11:20:01 -rw-r--r-- 1 jenkins jenkins 84 Jul 10 11:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:20:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:20:03 ---> package-listing.sh 11:20:03 ++ facter osfamily 11:20:03 ++ tr '[:upper:]' '[:lower:]' 11:20:03 + OS_FAMILY=debian 11:20:03 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-467 11:20:03 + START_PACKAGES=/tmp/packages_start.txt 11:20:03 + END_PACKAGES=/tmp/packages_end.txt 11:20:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:20:03 + PACKAGES=/tmp/packages_start.txt 11:20:03 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-467 ']' 11:20:03 + PACKAGES=/tmp/packages_end.txt 11:20:03 + case "${OS_FAMILY}" in 11:20:03 + dpkg -l 11:20:03 + grep '^ii' 11:20:03 + '[' -f /tmp/packages_start.txt ']' 11:20:03 + '[' -f /tmp/packages_end.txt ']' 11:20:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:20:03 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-467 ']' 11:20:03 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives/ 11:20:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives/ [Pipeline] echo 11:20:03 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-467/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:20:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:20:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:20:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:20:04 prd-ubuntu20.04-docker-8c-8g-743 does not seem to be running inside a container 11:20:04 $ 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-467/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-467 -v /w/workspace/edgexfoundry_device-sdk-c_PR-467:/w/workspace/edgexfoundry_device-sdk-c_PR-467:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:20:04 $ docker top f2d0cd40541f5f3f3ca21ea03174db8635234ba968cb90837f42b29588f60e58 -eo pid,comm [Pipeline] { [Pipeline] sh 11:20:05 + touch /tmp/pre-build-complete [Pipeline] sh 11:20:05 + mkdir -p /var/log/sysstat [Pipeline] sh 11:20:05 + ls /var/log/sa-host 11:20:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:20:05 provisioning config files... 11:20:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/config4654797083309879796tmp [Pipeline] { [Pipeline] echo 11:20:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:20:06 ---> create-netrc.sh [Pipeline] } 11:20:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:20:06 ---> python-tools-install.sh [Pipeline] echo 11:20:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:20:07 ---> sudo-logs.sh 11:20:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:20:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:20:07 ---> job-cost.sh 11:20:07 lf-activate-venv: SKIPPING 11:20:07 DEBUG: total: 0.2199999988079071 11:20:07 INFO: Retrieving Stack Cost... 11:20:08 INFO: Retrieving Pricing Info for: v3-standard-8 11:20:08 INFO: Archiving Costs [Pipeline] echo 11:20:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:20:08 ---> logs-deploy.sh 11:20:08 lf-activate-venv: SKIPPING 11:20:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-467/1 11:20:08 INFO: archiving workspace using pattern(s): 11:20:09 Archives upload complete. 11:20:09 INFO: archiving logs to Nexus