Started by upstream project "edgexfoundry/cd-management/release" build number 144 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ad65e45309f8995a17d27a3f59962ea35e988788 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-ssh9391505076859816433.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh8267794974843760428.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17731362638309405223.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. 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-ssh15024217913058621978.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17423393437233034939.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [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-16791 in /w/workspace/edgexfoundry_device-sdk-c_main [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_main # 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 Avoid second fetch Checking out Revision ad65e45309f8995a17d27a3f59962ea35e988788 (main) Commit message: "docs: update changelog and version number for Minnesota (#457)" > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ad65e45309f8995a17d27a3f59962ea35e988788 # timeout=10 > git rev-list --no-walk ad65e45309f8995a17d27a3f59962ea35e988788 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:36:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:36:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:36:18 ========================================================= 21:36:18 EdgeX Global Pipelines Version Info 21:36:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:36:19 ------------------- 21:36:19 stable info: 21:36:19 ------------------- 21:36:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:36:19 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:36:19 Message: update stable to v1.0.249 21:36:20 ------------------- 21:36:20 experimental info: 21:36:20 ------------------- 21:36:20 Commited By: **** collab-it+edgex@linuxfoundation.org 21:36:20 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:36:20 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ad65e45309f8995a17d27a3f59962ea35e988788 [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ad65e45 [Pipeline] echo 21:36:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:36:20 provisioning config files... 21:36:20 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8184822142129032593tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:20 ---> docker-login.sh 21:36:20 nexus3.edgexfoundry.org:10001 21:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:21 Configure a credential helper to remove this warning. See 21:36:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:21 21:36:21 Login Succeeded 21:36:21 nexus3.edgexfoundry.org:10002 21:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:21 Configure a credential helper to remove this warning. See 21:36:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:21 21:36:21 Login Succeeded 21:36:21 nexus3.edgexfoundry.org:10003 21:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:21 Configure a credential helper to remove this warning. See 21:36:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:21 21:36:21 Login Succeeded 21:36:21 nexus3.edgexfoundry.org:10004 21:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:21 Configure a credential helper to remove this warning. See 21:36:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:21 21:36:21 Login Succeeded 21:36:21 docker.io 21:36:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:21 Configure a credential helper to remove this warning. See 21:36:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:21 21:36:21 Login Succeeded 21:36:21 ---> docker-login.sh ends [Pipeline] } 21:36:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 21:36:21 + git rev-list -1 --merges ad65e45309f8995a17d27a3f59962ea35e988788~1..ad65e45309f8995a17d27a3f59962ea35e988788 [Pipeline] echo 21:36:22 -----------> git rev-list -1 --merges ad65e45309f8995a17d27a3f59962ea35e988788~1..ad65e45309f8995a17d27a3f59962ea35e988788 ad65e45309f8995a17d27a3f59962ea35e988788 [false] [Pipeline] sh 21:36:22 + git log --format=format:%s -1 ad65e45309f8995a17d27a3f59962ea35e988788 [Pipeline] echo 21:36:22 ========================================================= 21:36:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 21:36:22 ========================================================= 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 21:36:22 + git rev-list -1 --merges ad65e45309f8995a17d27a3f59962ea35e988788~1..ad65e45309f8995a17d27a3f59962ea35e988788 [Pipeline] echo 21:36:22 -----------> git rev-list -1 --merges ad65e45309f8995a17d27a3f59962ea35e988788~1..ad65e45309f8995a17d27a3f59962ea35e988788 ad65e45309f8995a17d27a3f59962ea35e988788 [false] [Pipeline] sh 21:36:23 + git log --format=format:%s -1 ad65e45309f8995a17d27a3f59962ea35e988788 [Pipeline] echo 21:36:23 ========================================================= 21:36:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 21:36:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 21:36:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:36:23 + grep -v github /etc/ssh/ssh_known_hosts 21:36:23 + [ -e /tmp/ssh_known_hosts ] 21:36:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:36:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:36:23 + sudo tee -a /etc/ssh/ssh_known_hosts 21:36:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:23 21:36:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:24 0.1.4: Pulling from edgex-devops/py-git-semver 21:36:24 b85a868b505f: Pulling fs layer 21:36:24 e2be974225ed: Pulling fs layer 21:36:24 339a4e72a1f5: Pulling fs layer 21:36:24 988bab9f4d93: Pulling fs layer 21:36:24 1469e6f7b9e6: Pulling fs layer 21:36:24 988bab9f4d93: Waiting 21:36:24 eaf3925da568: Pulling fs layer 21:36:24 bab4dde63d76: Pulling fs layer 21:36:24 1469e6f7b9e6: Waiting 21:36:24 bde34c3a00c8: Pulling fs layer 21:36:24 b352a97aabf1: Pulling fs layer 21:36:24 4872d77fe225: Pulling fs layer 21:36:24 5851b861e8e6: Pulling fs layer 21:36:24 eaf3925da568: Waiting 21:36:24 bab4dde63d76: Waiting 21:36:24 4872d77fe225: Waiting 21:36:24 5851b861e8e6: Waiting 21:36:24 bde34c3a00c8: Waiting 21:36:24 b352a97aabf1: Waiting 21:36:24 e2be974225ed: Verifying Checksum 21:36:24 e2be974225ed: Download complete 21:36:24 988bab9f4d93: Verifying Checksum 21:36:24 988bab9f4d93: Download complete 21:36:24 1469e6f7b9e6: Verifying Checksum 21:36:24 1469e6f7b9e6: Download complete 21:36:24 eaf3925da568: Download complete 21:36:24 339a4e72a1f5: Verifying Checksum 21:36:24 339a4e72a1f5: Download complete 21:36:24 bde34c3a00c8: Verifying Checksum 21:36:24 bde34c3a00c8: Download complete 21:36:24 b352a97aabf1: Download complete 21:36:24 4872d77fe225: Download complete 21:36:24 5851b861e8e6: Download complete 21:36:24 b85a868b505f: Verifying Checksum 21:36:24 b85a868b505f: Download complete 21:36:24 bab4dde63d76: Verifying Checksum 21:36:24 bab4dde63d76: Download complete 21:36:25 b85a868b505f: Pull complete 21:36:25 e2be974225ed: Pull complete 21:36:26 339a4e72a1f5: Pull complete 21:36:26 988bab9f4d93: Pull complete 21:36:26 1469e6f7b9e6: Pull complete 21:36:26 eaf3925da568: Pull complete 21:36:27 bab4dde63d76: Pull complete 21:36:27 bde34c3a00c8: Pull complete 21:36:27 b352a97aabf1: Pull complete 21:36:27 4872d77fe225: Pull complete 21:36:28 5851b861e8e6: Pull complete 21:36:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:36:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:36:28 prd-ubuntu20.04-docker-8c-8g-16791 does not seem to be running inside a container 21:36:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:36:29 $ docker top 11be06eba96daa7cf1751729a9c3b57c9db9e46b5e4116d4390a686eff047031 -eo pid,comm 21:36:29 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). 21:36:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:36:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:36:29 [ssh-agent] Looking for ssh-agent implementation... 21:36:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:36:29 $ docker exec 11be06eba96daa7cf1751729a9c3b57c9db9e46b5e4116d4390a686eff047031 ssh-agent 21:36:29 SSH_AUTH_SOCK=/tmp/ssh-7JadPASaQmTR/agent.31 21:36:29 SSH_AGENT_PID=38 21:36:29 Running ssh-add (command line suppressed) 21:36:30 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2940304332220278480.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2940304332220278480.key) 21:36:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:36:30 + git tag --points-at ad65e45309f8995a17d27a3f59962ea35e988788 [Pipeline] } 21:36:30 $ docker exec --env ******** --env ******** 11be06eba96daa7cf1751729a9c3b57c9db9e46b5e4116d4390a686eff047031 ssh-agent -k 21:36:30 unset SSH_AUTH_SOCK; 21:36:30 unset SSH_AGENT_PID; 21:36:30 echo Agent pid 38 killed; 21:36:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 21:36:30 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.3.1-dev.11|v3.0.0' [Pipeline] sshagent 21:36:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:36:30 [ssh-agent] Looking for ssh-agent implementation... 21:36:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:36:30 $ docker exec 11be06eba96daa7cf1751729a9c3b57c9db9e46b5e4116d4390a686eff047031 ssh-agent 21:36:30 SSH_AUTH_SOCK=/tmp/ssh-bzjG50cXDZnf/agent.70 21:36:30 SSH_AGENT_PID=76 21:36:30 Running ssh-add (command line suppressed) 21:36:30 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15269408175716664339.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15269408175716664339.key) 21:36:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:36:31 + git semver init 21:36:31 2023-05-24 21:36:31,253 [run_init] DEBUG init version:0.0.0 force:False 21:36:31 2023-05-24 21:36:31,254 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 21:36:31 2023-05-24 21:36:31,254 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 21:36:31 2023-05-24 21:36:31,255 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 21:36:32 2023-05-24 21:36:32,042 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 21:36:32 2023-05-24 21:36:32,042 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 21:36:32 2023-05-24 21:36:32,042 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 21:36:32 2023-05-24 21:36:32,043 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 21:36:32 3.0.0 [Pipeline] } 21:36:32 $ docker exec --env ******** --env ******** 11be06eba96daa7cf1751729a9c3b57c9db9e46b5e4116d4390a686eff047031 ssh-agent -k 21:36:32 unset SSH_AUTH_SOCK; 21:36:32 unset SSH_AGENT_PID; 21:36:32 echo Agent pid 76 killed; 21:36:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:36:32 + git semver [Pipeline] } 21:36:32 $ docker stop --time=1 11be06eba96daa7cf1751729a9c3b57c9db9e46b5e4116d4390a686eff047031 21:36:34 $ docker rm -f --volumes 11be06eba96daa7cf1751729a9c3b57c9db9e46b5e4116d4390a686eff047031 [Pipeline] // withDockerContainer [Pipeline] sh 21:36:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:36:34 Stashed 1 file(s) [Pipeline] echo 21:36:34 [edgeXSemver]: initialized semver on version 3.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] sh 21:36:35 + git checkout ad65e45309f8995a17d27a3f59962ea35e988788 21:36:35 HEAD is now at ad65e45 docs: update changelog and version number for Minnesota (#457) 21:36:35 M VERSION [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:36:35 provisioning config files... 21:36:35 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6609819661022491102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:35 ---> docker-login.sh 21:36:35 nexus3.edgexfoundry.org:10001 21:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:35 Configure a credential helper to remove this warning. See 21:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:35 21:36:35 Login Succeeded 21:36:35 nexus3.edgexfoundry.org:10002 21:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:35 Configure a credential helper to remove this warning. See 21:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:35 21:36:35 Login Succeeded 21:36:35 nexus3.edgexfoundry.org:10003 21:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:35 Configure a credential helper to remove this warning. See 21:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:35 21:36:35 Login Succeeded 21:36:35 nexus3.edgexfoundry.org:10004 21:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:35 Configure a credential helper to remove this warning. See 21:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:35 21:36:35 Login Succeeded 21:36:35 docker.io 21:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:36 Configure a credential helper to remove this warning. See 21:36:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:36 21:36:36 Login Succeeded 21:36:36 ---> docker-login.sh ends [Pipeline] } 21:36:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:36:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:36:36 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 21:36:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:36:36 ========================================================= 21:36:36 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 21:36:36 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:36 + 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 . 21:36:36 Sending build context to Docker daemon 4.846MB 21:36:36 Step 1/21 : ARG BASE=alpine:3.16 21:36:36 Step 2/21 : FROM ${BASE} as builder 21:36:36 latest: Pulling from edgex-devops/edgex-gcc-base 21:36:36 91d30c5bc195: Pulling fs layer 21:36:36 316e5a4585fb: Pulling fs layer 21:36:36 91d30c5bc195: Verifying Checksum 21:36:36 91d30c5bc195: Download complete 21:36:36 91d30c5bc195: Pull complete 21:36:37 316e5a4585fb: Verifying Checksum 21:36:37 316e5a4585fb: Download complete 21:36:39 316e5a4585fb: Pull complete 21:36:39 Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 21:36:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 21:36:39 ---> e83ffa357ff4 21:36:39 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 21:36:40 ---> Running in f7bca54e9f56 21:36:40 Connecting to iotech.jfrog.io (52.50.209.154:443) 21:36:40 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 21:36:40 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 21:36:40 '/etc/apk/keys/alpine.dev.rsa.pub' saved 21:36:41 Removing intermediate container f7bca54e9f56 21:36:41 ---> ebc4910abb67 21:36:41 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 21:36:41 ---> Running in 89605a1a1123 21:36:41 Removing intermediate container 89605a1a1123 21:36:41 ---> 927a37fdfcc1 21:36:41 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 21:36:41 ---> Running in 8ae15a127686 21:36:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:36:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:36:42 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 21:36:42 WARNING: This apk-tools is OLD! Some packages might not function properly. 21:36:42 (1/14) Installing hiredis (1.0.2-r0) 21:36:42 (2/14) Installing hiredis-dev (1.0.2-r0) 21:36:42 (3/14) Installing iotech-iot-1.5 (1.5.0-r0) 21:36:43 (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) 21:36:43 (5/14) Installing libcbor (0.9.0-r1) 21:36:43 (6/14) Installing libcbor-dev (0.9.0-r1) 21:36:43 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 21:36:43 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 21:36:44 (9/14) Installing libblkid (2.38-r1) 21:36:44 (10/14) Installing libuuid (2.38-r1) 21:36:44 (11/14) Installing libfdisk (2.38-r1) 21:36:44 (12/14) Installing libmount (2.38-r1) 21:36:44 (13/14) Installing libsmartcols (2.38-r1) 21:36:44 (14/14) Installing util-linux-dev (2.38-r1) 21:36:44 Executing busybox-1.35.0-r17.trigger 21:36:44 OK: 280 MiB in 90 packages 21:36:44 Removing intermediate container 8ae15a127686 21:36:44 ---> 2467f8700858 21:36:44 Step 6/21 : RUN mkdir /tmp/sdk 21:36:44 ---> Running in 5864433d5b6f 21:36:45 Removing intermediate container 5864433d5b6f 21:36:45 ---> cd3da3fd94a4 21:36:45 Step 7/21 : COPY VERSION /tmp/sdk 21:36:45 ---> 6a56f396f2e6 21:36:45 Step 8/21 : COPY src /tmp/sdk/src 21:36:45 ---> f33df5ae20d1 21:36:45 Step 9/21 : COPY include /tmp/sdk/include 21:36:45 ---> b99e53f0c0ac 21:36:45 Step 10/21 : COPY scripts /tmp/sdk/scripts 21:36:46 ---> 73ac032e47db 21:36:46 Step 11/21 : COPY LICENSE /tmp/sdk 21:36:46 ---> 176f05fb9e7b 21:36:46 Step 12/21 : COPY Attribution.txt /tmp/sdk 21:36:46 ---> 4f9b7801c2bd 21:36:46 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 21:36:46 ---> Running in ee9f041bb86e 21:36:46 + CPPCHECK=false 21:36:46 + DOCGEN=false 21:36:46 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 21:36:46 + '[' 0 -gt 0 ] 21:36:46 + readlink -f ./scripts/build.sh 21:36:46 + dirname /tmp/sdk/scripts/build.sh 21:36:46 + dirname /tmp/sdk/scripts 21:36:46 + ROOT=/tmp/sdk 21:36:46 + cd /tmp/sdk 21:36:46 + mkdir -p /tmp/sdk/build/release 21:36:46 + cd /tmp/sdk/build/release 21:36:46 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 21:36:46 -- The C compiler identification is GNU 11.2.1 21:36:46 -- Detecting C compiler ABI info 21:36:46 -- Detecting C compiler ABI info - done 21:36:46 -- Check for working C compiler: /usr/bin/cc - skipped 21:36:46 -- Detecting C compile features 21:36:46 -- Detecting C compile features - done 21:36:46 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 21:36:46 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 21:36:46 -- Found LIBYAML: /usr/lib/libyaml.so 21:36:46 -- Found LIBUUID: /usr/lib/libuuid.so 21:36:46 -- Found LIBCBOR: /usr/lib/libcbor.so 21:36:46 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 21:36:46 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 21:36:46 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 21:36:46 -- /opt/iotech/iot/1.5/include 21:36:46 -- C SDK 3.0.0 for Linux 21:36:46 -- Performing Test CSDK_HAVE_ATOMIC 21:36:46 -- Performing Test CSDK_HAVE_ATOMIC - Success 21:36:46 -- Found Curses: /usr/lib/libcurses.so 21:36:46 -- Configuring done 21:36:47 -- Generating done 21:36:47 -- Build files have been written to: /tmp/sdk/build/release 21:36:47 + make all package 21:36:47 + tee release.log 21:36:47 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 21:36:47 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 21:36:47 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 21:36:47 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 21:36:47 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 21:36:47 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 21:36:48 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 21:36:48 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 21:36:48 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 21:36:48 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 21:36:48 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 21:36:49 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 21:36:49 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 21:36:49 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 21:36:49 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 21:36:49 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 21:36:49 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 21:36:49 Still waiting to schedule task 21:36:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:36:50 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 21:36:50 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 21:36:50 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 21:36:50 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 21:36:51 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 21:36:51 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 21:36:51 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 21:36:51 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 21:36:51 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 21:36:51 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 21:36:52 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 21:36:52 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 21:36:52 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 21:36:52 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 21:36:53 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 21:36:53 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 21:36:53 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 21:36:53 [ 68%] Linking C shared library libcsdk.so 21:36:53 [ 68%] Built target csdk 21:36:53 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 21:36:53 [ 72%] Linking C executable template 21:36:53 [ 72%] Built target template 21:36:53 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 21:36:53 [ 76%] Linking C executable device-counter 21:36:53 [ 76%] Built target device-counter 21:36:53 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 21:36:53 [ 80%] Linking C executable device-random 21:36:53 [ 80%] Built target device-random 21:36:53 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 21:36:53 [ 84%] Linking C executable device-gyro 21:36:54 [ 84%] Built target device-gyro 21:36:54 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 21:36:54 [ 88%] Linking C executable device-bitfields 21:36:54 [ 88%] Built target device-bitfields 21:36:54 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 21:36:54 [ 92%] Linking C executable template-discovery 21:36:54 [ 92%] Built target template-discovery 21:36:54 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 21:36:54 [ 96%] Linking C executable device-file 21:36:54 [ 96%] Built target device-file 21:36:54 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 21:36:55 [100%] Linking C executable device-terminal 21:36:55 [100%] Built target device-terminal 21:36:55 Run CPack packaging tool... 21:36:55 CPack: Create package using TGZ 21:36:55 CPack: Install projects 21:36:55 CPack: - Run preinstall target for: Csdk 21:36:55 CPack: - Install project: Csdk [] 21:36:55 CPack: Create package 21:36:55 CPack: - package: /tmp/sdk/build/release/csdk-3.0.0.tar.gz generated. 21:36:55 + '[' false '=' true ] 21:36:55 + '[' false '=' true ] 21:36:55 + mkdir -p /tmp/sdk/build/debug 21:36:55 + cd /tmp/sdk/build/debug 21:36:55 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 21:36:55 -- The C compiler identification is GNU 11.2.1 21:36:55 -- Detecting C compiler ABI info 21:36:55 -- Detecting C compiler ABI info - done 21:36:55 -- Check for working C compiler: /usr/bin/cc - skipped 21:36:55 -- Detecting C compile features 21:36:55 -- Detecting C compile features - done 21:36:55 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 21:36:55 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 21:36:55 -- Found LIBYAML: /usr/lib/libyaml.so 21:36:55 -- Found LIBUUID: /usr/lib/libuuid.so 21:36:55 -- Found LIBCBOR: /usr/lib/libcbor.so 21:36:55 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 21:36:55 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 21:36:55 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 21:36:55 -- /opt/iotech/iot/1.5/include 21:36:55 -- C SDK 3.0.0 for Linux 21:36:55 -- Performing Test CSDK_HAVE_ATOMIC 21:36:55 -- Performing Test CSDK_HAVE_ATOMIC - Success 21:36:55 -- Found Curses: /usr/lib/libcurses.so 21:36:55 -- Configuring done 21:36:55 -- Generating done 21:36:55 -- Build files have been written to: /tmp/sdk/build/debug 21:36:55 + make+ 21:36:55 tee debug.log 21:36:55 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 21:36:55 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 21:36:55 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 21:36:56 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 21:36:56 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 21:36:56 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 21:36:56 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 21:36:56 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 21:36:56 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 21:36:56 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 21:36:56 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 21:36:56 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 21:36:56 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 21:36:56 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 21:36:56 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 21:36:56 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 21:36:57 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 21:36:57 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 21:36:57 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 21:36:57 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 21:36:57 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 21:36:57 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 21:36:57 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 21:36:57 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 21:36:57 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 21:36:57 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 21:36:57 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 21:36:58 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 21:36:58 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 21:36:58 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 21:36:58 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 21:36:58 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 21:36:58 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 21:36:58 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 21:36:58 [ 68%] Linking C shared library libcsdk.so 21:36:58 [ 68%] Built target csdk 21:36:58 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 21:36:58 [ 72%] Linking C executable template 21:36:58 [ 72%] Built target template 21:36:58 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 21:36:59 [ 76%] Linking C executable device-counter 21:36:59 [ 76%] Built target device-counter 21:36:59 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 21:36:59 [ 80%] Linking C executable device-random 21:36:59 [ 80%] Built target device-random 21:36:59 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 21:36:59 [ 84%] Linking C executable device-gyro 21:36:59 [ 84%] Built target device-gyro 21:36:59 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 21:36:59 [ 88%] Linking C executable device-bitfields 21:36:59 [ 88%] Built target device-bitfields 21:36:59 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 21:36:59 [ 92%] Linking C executable template-discovery 21:36:59 [ 92%] Built target template-discovery 21:36:59 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 21:36:59 [ 96%] Linking C executable device-file 21:36:59 [ 96%] Built target device-file 21:36:59 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 21:36:59 [100%] Linking C executable device-terminal 21:36:59 [100%] Built target device-terminal 21:36:59 make: Entering directory '/tmp/sdk/build/release' 21:36:59 make[1]: Entering directory '/tmp/sdk/build/release' 21:36:59 make[2]: Entering directory '/tmp/sdk/build/release' 21:36:59 make[2]: Leaving directory '/tmp/sdk/build/release' 21:36:59 [ 68%] Built target csdk 21:36:59 make[2]: Entering directory '/tmp/sdk/build/release' 21:36:59 make[2]: Leaving directory '/tmp/sdk/build/release' 21:37:00 [ 72%] Built target template 21:37:00 make[2]: Entering directory '/tmp/sdk/build/release' 21:37:00 make[2]: Leaving directory '/tmp/sdk/build/release' 21:37:00 [ 76%] Built target device-counter 21:37:00 make[2]: Entering directory '/tmp/sdk/build/release' 21:37:00 make[2]: Leaving directory '/tmp/sdk/build/release' 21:37:00 [ 80%] Built target device-random 21:37:00 make[2]: Entering directory '/tmp/sdk/build/release' 21:37:00 make[2]: Leaving directory '/tmp/sdk/build/release' 21:37:00 [ 84%] Built target device-gyro 21:37:00 make[2]: Entering directory '/tmp/sdk/build/release' 21:37:00 make[2]: Leaving directory '/tmp/sdk/build/release' 21:37:00 [ 88%] Built target device-bitfields 21:37:00 make[2]: Entering directory '/tmp/sdk/build/release' 21:37:00 make[2]: Leaving directory '/tmp/sdk/build/release' 21:37:00 [ 92%] Built target template-discovery 21:37:00 make[2]: Entering directory '/tmp/sdk/build/release' 21:37:00 make[2]: Leaving directory '/tmp/sdk/build/release' 21:37:00 [ 96%] Built target device-file 21:37:00 make[2]: Entering directory '/tmp/sdk/build/release' 21:37:00 make[2]: Leaving directory '/tmp/sdk/build/release' 21:37:00 [100%] Built target device-terminal 21:37:00 make[1]: Leaving directory '/tmp/sdk/build/release' 21:37:00 Install the project... 21:37:00 -- Install configuration: "Release" 21:37:00 -- Installing: /usr/local/lib/libcsdk.so 21:37:00 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 21:37:00 -- Installing: /usr/local/include 21:37:00 -- Installing: /usr/local/include/devsdk 21:37:00 -- Installing: /usr/local/include/devsdk/devsdk.h 21:37:00 -- Installing: /usr/local/include/devsdk/devsdk-base.h 21:37:00 -- Installing: /usr/local/include/edgex 21:37:00 -- Installing: /usr/local/include/edgex/edgex.h 21:37:00 -- Installing: /usr/local/include/edgex/devices.h 21:37:00 -- Installing: /usr/local/include/edgex/profiles.h 21:37:00 -- Installing: /usr/local/include/edgex/edgex-base.h 21:37:00 -- Installing: /usr/local/include/edgex/rest-server.h 21:37:00 -- Installing: /usr/local/include/edgex/csdk-defs.h 21:37:00 -- Installing: /usr/local/share/device-sdk-c/LICENSE 21:37:00 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 21:37:00 make: Leaving directory '/tmp/sdk/build/release' 21:37:00 Removing intermediate container ee9f041bb86e 21:37:00 ---> 8f253fbe6cb6 21:37:00 Step 14/21 : FROM ${BASE} 21:37:00 ---> e83ffa357ff4 21:37:00 Step 15/21 : LABEL maintainer="IOTech " 21:37:00 ---> Running in ad5af25d1d9f 21:37:00 Removing intermediate container ad5af25d1d9f 21:37:00 ---> a9861421a2f3 21:37:00 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 21:37:00 ---> Running in 9dddd6de22bc 21:37:01 Connecting to iotech.jfrog.io (52.212.11.232:443) 21:37:01 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 21:37:01 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 21:37:01 '/etc/apk/keys/alpine.dev.rsa.pub' saved 21:37:01 Removing intermediate container 9dddd6de22bc 21:37:01 ---> 5dacf6005e47 21:37:01 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 21:37:01 ---> Running in 4f248c659fec 21:37:02 Removing intermediate container 4f248c659fec 21:37:02 ---> 5b0c8cffd1d3 21:37:02 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 21:37:02 ---> Running in f1ddd877676b 21:37:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:37:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:37:02 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 21:37:03 WARNING: This apk-tools is OLD! Some packages might not function properly. 21:37:03 (1/7) Installing curl (8.1.1-r0) 21:37:03 (2/7) Installing hiredis (1.0.2-r0) 21:37:03 (3/7) Installing hiredis-dev (1.0.2-r0) 21:37:03 (4/7) Installing iotech-iot-1.4 (1.4.2-r0) 21:37:04 (5/7) Installing libcbor (0.9.0-r1) 21:37:04 (6/7) Installing libuuid (2.38-r1) 21:37:04 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 21:37:05 Executing busybox-1.35.0-r17.trigger 21:37:05 OK: 276 MiB in 83 packages 21:37:05 Removing intermediate container f1ddd877676b 21:37:05 ---> a937da4835b7 21:37:05 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 21:37:05 ---> 1382070449c5 21:37:05 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 21:37:05 ---> 80a1b9276ecf 21:37:05 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 21:37:05 ---> a6ec4b6a3d6e 21:37:05 Successfully built a6ec4b6a3d6e 21:37:05 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 21:37:06 + docker inspect -f . ci-base-image-x86_64 21:37:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:37:06 prd-ubuntu20.04-docker-8c-8g-16791 does not seem to be running inside a container 21:37:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** ci-base-image-x86_64 cat 21:37:06 $ docker top 66c84a2a6dafb5012aba019e4986e5156b3293ee69f0a1a78d258caba7963183 -eo pid,comm [Pipeline] { [Pipeline] sh 21:37:06 + make test 21:37:06 echo "make test" 21:37:06 make test [Pipeline] } 21:37:06 $ docker stop --time=1 66c84a2a6dafb5012aba019e4986e5156b3293ee69f0a1a78d258caba7963183 21:37:08 $ docker rm -f --volumes 66c84a2a6dafb5012aba019e4986e5156b3293ee69f0a1a78d258caba7963183 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:37:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:37:09 + ls -al . 21:37:09 total 212 21:37:09 drwxrwxr-x 9 jenkins jenkins 4096 May 24 21:36 . 21:37:09 drwxrwxr-x 4 jenkins jenkins 4096 May 24 21:36 .. 21:37:09 drwxrwxr-x 8 jenkins jenkins 4096 May 24 21:36 .git 21:37:09 drwxrwxr-x 2 jenkins jenkins 4096 May 24 21:36 .github 21:37:09 -rw-rw-r-- 1 jenkins jenkins 176 May 24 21:36 .gitignore 21:37:09 drwxr-xr-x 3 jenkins jenkins 4096 May 24 21:36 .semver 21:37:09 -rw-rw-r-- 1 jenkins jenkins 2908 May 24 21:36 Attribution.txt 21:37:09 -rw-rw-r-- 1 jenkins jenkins 9209 May 24 21:36 CHANGES 21:37:09 -rw-rw-r-- 1 jenkins jenkins 108574 May 24 21:36 Doxyfile 21:37:09 -rw-rw-r-- 1 jenkins jenkins 677 May 24 21:36 GOVERNANCE.md 21:37:09 -rw-rw-r-- 1 jenkins jenkins 784 May 24 21:36 Jenkinsfile 21:37:09 -rw-rw-r-- 1 jenkins jenkins 10174 May 24 21:36 LICENSE 21:37:09 -rw-rw-r-- 1 jenkins jenkins 444 May 24 21:36 Makefile 21:37:09 -rw-rw-r-- 1 jenkins jenkins 618 May 24 21:36 OWNERS.md 21:37:09 -rw-rw-r-- 1 jenkins jenkins 1651 May 24 21:36 README.IOT.md 21:37:09 -rw-rw-r-- 1 jenkins jenkins 4215 May 24 21:36 README.md 21:37:09 -rw-rw-r-- 1 jenkins jenkins 1245 May 24 21:36 README.v3.md 21:37:09 -rw-rw-r-- 1 jenkins jenkins 5 May 24 21:36 VERSION 21:37:09 drwxrwxr-x 2 jenkins jenkins 4096 May 24 21:36 docs 21:37:09 drwxrwxr-x 4 jenkins jenkins 4096 May 24 21:36 include 21:37:09 drwxrwxr-x 2 jenkins jenkins 4096 May 24 21:36 scripts 21:37:09 drwxrwxr-x 4 jenkins jenkins 4096 May 24 21:36 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:09 + 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=ad65e45309f8995a17d27a3f59962ea35e988788 --label arch=amd64 --label version=3.0.0 . 21:37:09 Sending build context to Docker daemon 4.846MB 21:37:09 Step 1/17 : ARG BASE=alpine:3.16 21:37:09 Step 2/17 : FROM ${BASE} 21:37:09 ---> a6ec4b6a3d6e 21:37:09 Step 3/17 : LABEL maintainer="IOTech " 21:37:09 ---> Running in 645a29644edd 21:37:09 Removing intermediate container 645a29644edd 21:37:09 ---> fd72d5f43535 21:37:09 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 21:37:09 ---> Running in a0aa81ac4e6d 21:37:09 Connecting to iotech.jfrog.io (52.19.119.212:443) 21:37:10 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 21:37:10 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 21:37:10 '/etc/apk/keys/alpine.dev.rsa.pub' saved 21:37:10 Removing intermediate container a0aa81ac4e6d 21:37:10 ---> 13e678b8bf0b 21:37:10 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 21:37:10 ---> Running in ff76daabe4ae 21:37:11 Removing intermediate container ff76daabe4ae 21:37:11 ---> 9c79cb6bb3f7 21:37:11 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 21:37:11 ---> Running in 8db06191015c 21:37:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:37:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:37:11 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 21:37:11 WARNING: This apk-tools is OLD! Some packages might not function properly. 21:37:12 (1/9) Installing iotech-iot-1.5 (1.5.0-r0) 21:37:12 (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) 21:37:12 (3/9) Installing libcbor-dev (0.9.0-r1) 21:37:12 (4/9) Installing ncurses-dev (6.3_p20220521-r0) 21:37:12 (5/9) Installing libblkid (2.38-r1) 21:37:12 (6/9) Installing libfdisk (2.38-r1) 21:37:12 (7/9) Installing libmount (2.38-r1) 21:37:12 (8/9) Installing libsmartcols (2.38-r1) 21:37:12 (9/9) Installing util-linux-dev (2.38-r1) 21:37:12 Executing busybox-1.35.0-r17.trigger 21:37:12 OK: 281 MiB in 92 packages 21:37:13 Removing intermediate container 8db06191015c 21:37:13 ---> d4990df290a0 21:37:13 Step 7/17 : COPY VERSION /edgex-c-sdk/ 21:37:13 ---> 78944b95fe3a 21:37:13 Step 8/17 : COPY src /edgex-c-sdk/src/ 21:37:13 ---> 3734b86e1e1c 21:37:13 Step 9/17 : COPY include /edgex-c-sdk/include/ 21:37:13 ---> 7afbea1512d9 21:37:13 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 21:37:13 ---> fd9b067fed7f 21:37:13 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 21:37:13 ---> 5efaba3e6e6d 21:37:13 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 21:37:13 ---> 238d3e8f0c87 21:37:13 Step 13/17 : WORKDIR /edgex-c-sdk 21:37:13 ---> Running in d7231682d1b3 21:37:14 Removing intermediate container d7231682d1b3 21:37:14 ---> 07e6eae87a07 21:37:14 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 21:37:14 ---> Running in 70b67f8e8665 21:37:14 Removing intermediate container 70b67f8e8665 21:37:14 ---> a092a431eb23 21:37:14 Step 15/17 : LABEL arch=amd64 21:37:14 ---> Running in afd5f8c83c00 21:37:14 Removing intermediate container afd5f8c83c00 21:37:14 ---> 4ca33543d3cf 21:37:14 Step 16/17 : LABEL git_sha=ad65e45309f8995a17d27a3f59962ea35e988788 21:37:14 ---> Running in 6d5e7b7b3d36 21:37:14 Removing intermediate container 6d5e7b7b3d36 21:37:14 ---> ef5774eeb786 21:37:14 Step 17/17 : LABEL version=3.0.0 21:37:14 ---> Running in e68a44acc45d 21:37:14 Removing intermediate container e68a44acc45d 21:37:14 ---> 51c36508d519 21:37:14 [Warning] One or more build-args [ARCH MAKE] were not consumed 21:37:14 Successfully built 51c36508d519 21:37:14 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 21:37:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:37:14 21:37:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:37:15 latest: Pulling from edgex-lftools-log-publisher 21:37:15 5eb5b503b376: Pulling fs layer 21:37:15 5c69ac0246d0: Pulling fs layer 21:37:15 ec43610c2a17: Pulling fs layer 21:37:15 3a2ae6a8a46f: Pulling fs layer 21:37:15 33b1e0a273af: Pulling fs layer 21:37:15 5d3b04190fa2: Pulling fs layer 21:37:15 2f39f015ded8: Pulling fs layer 21:37:15 33b1e0a273af: Waiting 21:37:15 2f39f015ded8: Waiting 21:37:15 5d3b04190fa2: Waiting 21:37:15 3a2ae6a8a46f: Waiting 21:37:15 5c69ac0246d0: Verifying Checksum 21:37:15 5c69ac0246d0: Download complete 21:37:15 3a2ae6a8a46f: Download complete 21:37:15 33b1e0a273af: Verifying Checksum 21:37:15 33b1e0a273af: Download complete 21:37:15 5d3b04190fa2: Verifying Checksum 21:37:15 5d3b04190fa2: Download complete 21:37:15 ec43610c2a17: Verifying Checksum 21:37:15 ec43610c2a17: Download complete 21:37:15 5eb5b503b376: Verifying Checksum 21:37:15 5eb5b503b376: Download complete 21:37:15 2f39f015ded8: Download complete 21:37:16 5eb5b503b376: Pull complete 21:37:16 5c69ac0246d0: Pull complete 21:37:17 ec43610c2a17: Pull complete 21:37:17 3a2ae6a8a46f: Pull complete 21:37:17 33b1e0a273af: Pull complete 21:37:17 5d3b04190fa2: Pull complete 21:37:21 2f39f015ded8: Pull complete 21:37:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:37:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:37:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:37:21 prd-ubuntu20.04-docker-8c-8g-16791 does not seem to be running inside a container 21:37:21 $ 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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:37:23 $ docker top 4c7c0d71f0e4dac71041548a443ffa06128f322f9f58bbc191ef31d9eed97247 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:37:23 ---> job-cost.sh 21:37:23 lf-activate-venv: SKIPPING 21:37:23 INFO: No Stack... 21:37:23 INFO: Retrieving Pricing Info for: v3-standard-8 21:37:24 INFO: Archiving Costs [Pipeline] sh 21:37:24 + + cut -d, -f6 21:37:24 cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [Pipeline] lock 21:37:24 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-47-stack-cost] 21:37:24 Resource [jenkins-edgexfoundry-device-sdk-c-main-47-stack-cost] did not exist. Created. 21:37:24 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:37:24 + echo total: 0.2199999988079071 [Pipeline] stash 21:37:25 Stashed 1 file(s) [Pipeline] } 21:37:25 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-47-stack-cost] [Pipeline] // lock [Pipeline] } 21:37:25 $ docker stop --time=1 4c7c0d71f0e4dac71041548a443ffa06128f322f9f58bbc191ef31d9eed97247 21:37:26 $ docker rm -f --volumes 4c7c0d71f0e4dac71041548a443ffa06128f322f9f58bbc191ef31d9eed97247 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:38:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16792 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 21:38:25 Running in /w/workspace/device-sdk-c/47 [Pipeline] { [Pipeline] checkout 21:38:25 Selected Git installation does not exist. Using Default 21:38:25 The recommended git tool is: NONE 21:38:31 using credential edgex-jenkins-ssh 21:38:31 Cloning the remote Git repository 21:38:31 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 21:38:31 > git init /w/workspace/device-sdk-c/47 # timeout=10 21:38:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 21:38:31 > git --version # timeout=10 21:38:31 > git --version # 'git version 2.25.1' 21:38:31 using GIT_SSH to set credentials SSH Credentials for GitHub 21:38:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:38:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 21:38:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:38:33 Avoid second fetch 21:38:33 Checking out Revision ad65e45309f8995a17d27a3f59962ea35e988788 (main) 21:38:34 Commit message: "docs: update changelog and version number for Minnesota (#457)" 21:38:33 > git config core.sparsecheckout # timeout=10 21:38:33 > git checkout -f ad65e45309f8995a17d27a3f59962ea35e988788 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:38:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:38:35 % Total % Received % Xferd Average Speed Time Time Time Current 21:38:35 Dload Upload Total Spent Left Speed 21:38:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 21:38:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:38:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:38:36 + sudo tee /etc/docker/daemon.new 21:38:36 { 21:38:36 "registry-mirrors": [ 21:38:36 "https://nexus3.edgexfoundry.org:10001" 21:38:36 ], 21:38:36 "bip": "10.250.0.254/24", 21:38:36 "hosts": [ 21:38:36 "tcp://0.0.0.0:5555", 21:38:36 "unix:///var/run/docker.sock" 21:38:36 ], 21:38:36 "mtu": 1458, 21:38:36 "selinux-enabled": true, 21:38:36 "seccomp-profile": "/etc/docker/seccomp.json" 21:38:36 } [Pipeline] sh 21:38:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:38:36 + sudo service docker restart [Pipeline] sh 21:38:55 + git checkout ad65e45309f8995a17d27a3f59962ea35e988788 21:38:55 HEAD is now at ad65e45 docs: update changelog and version number for Minnesota (#457) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:38:55 provisioning config files... 21:38:55 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/47@tmp/config14485544513537475650tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:38:56 ---> docker-login.sh 21:38:56 nexus3.edgexfoundry.org:10001 21:38:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:56 Configure a credential helper to remove this warning. See 21:38:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:56 21:38:56 Login Succeeded 21:38:56 nexus3.edgexfoundry.org:10002 21:38:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:57 Configure a credential helper to remove this warning. See 21:38:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:57 21:38:57 Login Succeeded 21:38:57 nexus3.edgexfoundry.org:10003 21:38:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:57 Configure a credential helper to remove this warning. See 21:38:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:57 21:38:57 Login Succeeded 21:38:57 nexus3.edgexfoundry.org:10004 21:38:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:57 Configure a credential helper to remove this warning. See 21:38:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:57 21:38:57 Login Succeeded 21:38:57 docker.io 21:38:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:38:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:38:58 Configure a credential helper to remove this warning. See 21:38:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:38:58 21:38:58 Login Succeeded 21:38:58 ---> docker-login.sh ends [Pipeline] } 21:38:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:38:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:38:58 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 21:38:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:38:58 ========================================================= 21:38:58 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 21:38:58 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:58 + 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 . 21:38:59 Sending build context to Docker daemon 2.9MB 21:38:59 Step 1/21 : ARG BASE=alpine:3.16 21:38:59 Step 2/21 : FROM ${BASE} as builder 21:38:59 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 21:38:59 547446be3368: Pulling fs layer 21:38:59 76bd08e1cacc: Pulling fs layer 21:38:59 547446be3368: Verifying Checksum 21:38:59 547446be3368: Download complete 21:39:00 547446be3368: Pull complete 21:39:01 76bd08e1cacc: Verifying Checksum 21:39:01 76bd08e1cacc: Download complete 21:39:10 76bd08e1cacc: Pull complete 21:39:10 Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe 21:39:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 21:39:10 ---> 295cd00e64f4 21:39:10 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 21:39:10 ---> Running in 942bef7a34bf 21:39:11 Connecting to iotech.jfrog.io (46.137.53.172:443) 21:39:12 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 21:39:12 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 21:39:12 '/etc/apk/keys/alpine.dev.rsa.pub' saved 21:39:12 Removing intermediate container 942bef7a34bf 21:39:12 ---> 33f18a543658 21:39:12 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 21:39:12 ---> Running in b26c372b0e90 21:39:14 Removing intermediate container b26c372b0e90 21:39:14 ---> a0399e411ad6 21:39:14 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 21:39:14 ---> Running in 15ad3e83955c 21:39:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:39:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:39:16 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 21:39:17 WARNING: This apk-tools is OLD! Some packages might not function properly. 21:39:17 (1/14) Installing hiredis (1.0.2-r0) 21:39:17 (2/14) Installing hiredis-dev (1.0.2-r0) 21:39:17 (3/14) Installing iotech-iot-1.5 (1.5.0-r0) 21:39:17 (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) 21:39:18 (5/14) Installing libcbor (0.9.0-r1) 21:39:18 (6/14) Installing libcbor-dev (0.9.0-r1) 21:39:18 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 21:39:18 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 21:39:19 (9/14) Installing libblkid (2.38-r1) 21:39:19 (10/14) Installing libuuid (2.38-r1) 21:39:19 (11/14) Installing libfdisk (2.38-r1) 21:39:19 (12/14) Installing libmount (2.38-r1) 21:39:19 (13/14) Installing libsmartcols (2.38-r1) 21:39:19 (14/14) Installing util-linux-dev (2.38-r1) 21:39:19 Executing busybox-1.35.0-r17.trigger 21:39:19 OK: 286 MiB in 90 packages 21:39:20 Removing intermediate container 15ad3e83955c 21:39:20 ---> 90e158bfdf32 21:39:20 Step 6/21 : RUN mkdir /tmp/sdk 21:39:20 ---> Running in 99e731f60483 21:39:21 Removing intermediate container 99e731f60483 21:39:21 ---> 48d28c21a727 21:39:21 Step 7/21 : COPY VERSION /tmp/sdk 21:39:22 ---> 3f2ffec7d43a 21:39:22 Step 8/21 : COPY src /tmp/sdk/src 21:39:23 ---> 544fc2faa72a 21:39:23 Step 9/21 : COPY include /tmp/sdk/include 21:39:23 ---> 1ab9680633f9 21:39:23 Step 10/21 : COPY scripts /tmp/sdk/scripts 21:39:24 ---> cb88b1845db6 21:39:24 Step 11/21 : COPY LICENSE /tmp/sdk 21:39:24 ---> 6cfdaca7263f 21:39:24 Step 12/21 : COPY Attribution.txt /tmp/sdk 21:39:25 ---> ee37e52bcd16 21:39:25 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 21:39:25 ---> Running in ec823ea53153 21:39:26 + CPPCHECK=false 21:39:26 + DOCGEN=false 21:39:26 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 21:39:26 + '[' 0 -gt 0 ] 21:39:26 + readlink -f ./scripts/build.sh 21:39:26 + dirname /tmp/sdk/scripts/build.sh 21:39:26 + dirname /tmp/sdk/scripts 21:39:26 + ROOT=/tmp/sdk 21:39:26 + cd /tmp/sdk 21:39:26 + mkdir -p /tmp/sdk/build/release 21:39:26 + cd /tmp/sdk/build/release 21:39:26 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 21:39:26 -- The C compiler identification is GNU 11.2.1 21:39:26 -- Detecting C compiler ABI info 21:39:26 -- Detecting C compiler ABI info - done 21:39:26 -- Check for working C compiler: /usr/bin/cc - skipped 21:39:26 -- Detecting C compile features 21:39:26 -- Detecting C compile features - done 21:39:26 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 21:39:27 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 21:39:27 -- Found LIBYAML: /usr/lib/libyaml.so 21:39:27 -- Found LIBUUID: /usr/lib/libuuid.so 21:39:27 -- Found LIBCBOR: /usr/lib/libcbor.so 21:39:27 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 21:39:27 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 21:39:27 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 21:39:27 -- /opt/iotech/iot/1.5/include 21:39:27 -- C SDK 3.0.0 for Linux 21:39:27 -- Performing Test CSDK_HAVE_ATOMIC 21:39:27 -- Performing Test CSDK_HAVE_ATOMIC - Success 21:39:27 -- Found Curses: /usr/lib/libcurses.so 21:39:27 -- Configuring done 21:39:28 -- Generating done 21:39:28 -- Build files have been written to: /tmp/sdk/build/release 21:39:28 + make all package 21:39:28 + tee release.log 21:39:28 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 21:39:29 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 21:39:30 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 21:39:31 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 21:39:32 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 21:39:33 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 21:39:35 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 21:39:36 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 21:39:36 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 21:39:37 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 21:39:40 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 21:39:41 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 21:39:42 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 21:39:43 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 21:39:43 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 21:39:44 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 21:39:45 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 21:39:47 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 21:39:47 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 21:39:48 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 21:39:50 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 21:39:56 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 21:39:56 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 21:39:57 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 21:39:57 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 21:39:58 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 21:40:00 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 21:40:02 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 21:40:02 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 21:40:03 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 21:40:04 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 21:40:07 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 21:40:08 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 21:40:09 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 21:40:09 [ 68%] Linking C shared library libcsdk.so 21:40:10 [ 68%] Built target csdk 21:40:10 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 21:40:11 [ 72%] Linking C executable template 21:40:11 [ 72%] Built target template 21:40:11 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 21:40:12 [ 76%] Linking C executable device-counter 21:40:12 [ 76%] Built target device-counter 21:40:12 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 21:40:13 [ 80%] Linking C executable device-random 21:40:13 [ 80%] Built target device-random 21:40:13 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 21:40:14 [ 84%] Linking C executable device-gyro 21:40:14 [ 84%] Built target device-gyro 21:40:14 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 21:40:15 [ 88%] Linking C executable device-bitfields 21:40:15 [ 88%] Built target device-bitfields 21:40:15 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 21:40:16 [ 92%] Linking C executable template-discovery 21:40:17 [ 92%] Built target template-discovery 21:40:17 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 21:40:18 [ 96%] Linking C executable device-file 21:40:18 [ 96%] Built target device-file 21:40:18 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 21:40:19 [100%] Linking C executable device-terminal 21:40:19 [100%] Built target device-terminal 21:40:19 Run CPack packaging tool... 21:40:19 CPack: Create package using TGZ 21:40:19 CPack: Install projects 21:40:19 CPack: - Run preinstall target for: Csdk 21:40:20 CPack: - Install project: Csdk [] 21:40:20 CPack: Create package 21:40:20 CPack: - package: /tmp/sdk/build/release/csdk-3.0.0.tar.gz generated. 21:40:20 + '[' false '=' true ] 21:40:20 + '[' false '=' true ] 21:40:20 + mkdir -p /tmp/sdk/build/debug 21:40:20 + cd /tmp/sdk/build/debug 21:40:20 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 21:40:21 -- The C compiler identification is GNU 11.2.1 21:40:21 -- Detecting C compiler ABI info 21:40:21 -- Detecting C compiler ABI info - done 21:40:21 -- Check for working C compiler: /usr/bin/cc - skipped 21:40:21 -- Detecting C compile features 21:40:21 -- Detecting C compile features - done 21:40:21 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 21:40:21 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 21:40:21 -- Found LIBYAML: /usr/lib/libyaml.so 21:40:21 -- Found LIBUUID: /usr/lib/libuuid.so 21:40:21 -- Found LIBCBOR: /usr/lib/libcbor.so 21:40:21 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 21:40:21 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 21:40:21 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 21:40:21 -- /opt/iotech/iot/1.5/include 21:40:21 -- C SDK 3.0.0 for Linux 21:40:21 -- Performing Test CSDK_HAVE_ATOMIC 21:40:24 -- Performing Test CSDK_HAVE_ATOMIC - Success 21:40:24 -- Found Curses: /usr/lib/libcurses.so 21:40:24 -- Configuring done 21:40:24 -- Generating done 21:40:24 -- Build files have been written to: /tmp/sdk/build/debug 21:40:24 + + maketee 21:40:24 debug.log 21:40:24 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 21:40:25 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 21:40:26 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 21:40:26 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 21:40:26 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 21:40:27 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 21:40:28 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 21:40:28 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 21:40:28 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 21:40:29 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 21:40:29 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 21:40:30 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 21:40:31 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 21:40:31 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 21:40:31 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 21:40:32 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 21:40:32 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 21:40:33 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 21:40:33 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 21:40:34 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 21:40:35 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 21:40:36 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 21:40:36 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 21:40:37 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 21:40:37 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 21:40:37 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 21:40:38 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 21:40:40 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 21:40:40 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 21:40:41 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 21:40:41 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 21:40:42 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 21:40:42 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 21:40:43 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 21:40:43 [ 68%] Linking C shared library libcsdk.so 21:40:43 [ 68%] Built target csdk 21:40:43 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 21:40:44 [ 72%] Linking C executable template 21:40:44 [ 72%] Built target template 21:40:44 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 21:40:44 [ 76%] Linking C executable device-counter 21:40:45 [ 76%] Built target device-counter 21:40:45 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 21:40:45 [ 80%] Linking C executable device-random 21:40:45 [ 80%] Built target device-random 21:40:45 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 21:40:46 [ 84%] Linking C executable device-gyro 21:40:46 [ 84%] Built target device-gyro 21:40:46 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 21:40:47 [ 88%] Linking C executable device-bitfields 21:40:47 [ 88%] Built target device-bitfields 21:40:47 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 21:40:47 [ 92%] Linking C executable template-discovery 21:40:48 [ 92%] Built target template-discovery 21:40:48 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 21:40:48 [ 96%] Linking C executable device-file 21:40:49 [ 96%] Built target device-file 21:40:49 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 21:40:49 [100%] Linking C executable device-terminal 21:40:49 [100%] Built target device-terminal 21:40:49 make: Entering directory '/tmp/sdk/build/release' 21:40:49 make[1]: Entering directory '/tmp/sdk/build/release' 21:40:49 make[2]: Entering directory '/tmp/sdk/build/release' 21:40:49 make[2]: Leaving directory '/tmp/sdk/build/release' 21:40:49 [ 68%] Built target csdk 21:40:49 make[2]: Entering directory '/tmp/sdk/build/release' 21:40:49 make[2]: Leaving directory '/tmp/sdk/build/release' 21:40:50 [ 72%] Built target template 21:40:50 make[2]: Entering directory '/tmp/sdk/build/release' 21:40:50 make[2]: Leaving directory '/tmp/sdk/build/release' 21:40:50 [ 76%] Built target device-counter 21:40:50 make[2]: Entering directory '/tmp/sdk/build/release' 21:40:50 make[2]: Leaving directory '/tmp/sdk/build/release' 21:40:50 [ 80%] Built target device-random 21:40:50 make[2]: Entering directory '/tmp/sdk/build/release' 21:40:50 make[2]: Leaving directory '/tmp/sdk/build/release' 21:40:50 [ 84%] Built target device-gyro 21:40:50 make[2]: Entering directory '/tmp/sdk/build/release' 21:40:50 make[2]: Leaving directory '/tmp/sdk/build/release' 21:40:50 [ 88%] Built target device-bitfields 21:40:50 make[2]: Entering directory '/tmp/sdk/build/release' 21:40:50 make[2]: Leaving directory '/tmp/sdk/build/release' 21:40:50 [ 92%] Built target template-discovery 21:40:50 make[2]: Entering directory '/tmp/sdk/build/release' 21:40:50 make[2]: Leaving directory '/tmp/sdk/build/release' 21:40:50 [ 96%] Built target device-file 21:40:50 make[2]: Entering directory '/tmp/sdk/build/release' 21:40:50 make[2]: Leaving directory '/tmp/sdk/build/release' 21:40:50 [100%] Built target device-terminal 21:40:50 make[1]: Leaving directory '/tmp/sdk/build/release' 21:40:50 Install the project... 21:40:50 -- Install configuration: "Release" 21:40:50 -- Installing: /usr/local/lib/libcsdk.so 21:40:50 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 21:40:50 -- Installing: /usr/local/include 21:40:50 -- Installing: /usr/local/include/devsdk 21:40:50 -- Installing: /usr/local/include/devsdk/devsdk.h 21:40:50 -- Installing: /usr/local/include/devsdk/devsdk-base.h 21:40:50 -- Installing: /usr/local/include/edgex 21:40:50 -- Installing: /usr/local/include/edgex/rest-server.h 21:40:50 -- Installing: /usr/local/include/edgex/edgex.h 21:40:50 -- Installing: /usr/local/include/edgex/edgex-base.h 21:40:50 -- Installing: /usr/local/include/edgex/devices.h 21:40:50 -- Installing: /usr/local/include/edgex/profiles.h 21:40:50 -- Installing: /usr/local/include/edgex/csdk-defs.h 21:40:50 -- Installing: /usr/local/share/device-sdk-c/LICENSE 21:40:50 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 21:40:50 make: Leaving directory '/tmp/sdk/build/release' 21:40:52 Removing intermediate container ec823ea53153 21:40:52 ---> 3a7d06586249 21:40:52 Step 14/21 : FROM ${BASE} 21:40:52 ---> 295cd00e64f4 21:40:52 Step 15/21 : LABEL maintainer="IOTech " 21:40:52 ---> Running in 6f64af931916 21:40:53 Removing intermediate container 6f64af931916 21:40:53 ---> 578292ea2284 21:40:53 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 21:40:53 ---> Running in acc56e6e8d84 21:40:54 Connecting to iotech.jfrog.io (52.215.121.178:443) 21:40:54 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 21:40:54 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 21:40:54 '/etc/apk/keys/alpine.dev.rsa.pub' saved 21:40:55 Removing intermediate container acc56e6e8d84 21:40:55 ---> 4b1f4d52ad66 21:40:55 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 21:40:55 ---> Running in 4293f7fe5286 21:40:56 Removing intermediate container 4293f7fe5286 21:40:56 ---> b4238a12dac4 21:40:56 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 21:40:56 ---> Running in 9e9c753e89f0 21:40:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:40:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:40:58 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 21:40:59 WARNING: This apk-tools is OLD! Some packages might not function properly. 21:40:59 (1/7) Installing curl (8.1.1-r0) 21:40:59 (2/7) Installing hiredis (1.0.2-r0) 21:40:59 (3/7) Installing hiredis-dev (1.0.2-r0) 21:40:59 (4/7) Installing iotech-iot-1.4 (1.4.2-r0) 21:41:00 (5/7) Installing libcbor (0.9.0-r1) 21:41:00 (6/7) Installing libuuid (2.38-r1) 21:41:00 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 21:41:01 Executing busybox-1.35.0-r17.trigger 21:41:01 OK: 281 MiB in 83 packages 21:41:02 Removing intermediate container 9e9c753e89f0 21:41:02 ---> b3cdabc1256f 21:41:02 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 21:41:05 ---> 27fca73ca29e 21:41:05 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 21:41:05 ---> 19f97f335fa7 21:41:05 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 21:41:05 ---> cef80a90ec4a 21:41:05 Successfully built cef80a90ec4a 21:41:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:06 + docker inspect -f . ci-base-image-arm64 21:41:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:41:06 prd-ubuntu20.04-docker-arm64-4c-16g-16792 does not seem to be running inside a container 21:41:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/47 -v /w/workspace/device-sdk-c/47:/w/workspace/device-sdk-c/47:rw,z -v /w/workspace/device-sdk-c/47@tmp:/w/workspace/device-sdk-c/47@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 ******** ci-base-image-arm64 cat 21:41:07 $ docker top 4e902ffff6035b439990879dfa10de23afda9c638ebfa4a364dddbcc078bb7c7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:41:08 + make test 21:41:08 echo "make test" 21:41:08 make test [Pipeline] } 21:41:08 $ docker stop --time=1 4e902ffff6035b439990879dfa10de23afda9c638ebfa4a364dddbcc078bb7c7 21:41:10 $ docker rm -f --volumes 4e902ffff6035b439990879dfa10de23afda9c638ebfa4a364dddbcc078bb7c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:41:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:41:11 + ls -al . 21:41:11 total 208 21:41:11 drwxrwxr-x 8 jenkins jenkins 4096 May 24 21:38 . 21:41:11 drwxrwxr-x 4 jenkins jenkins 4096 May 24 21:38 .. 21:41:11 drwxrwxr-x 8 jenkins jenkins 4096 May 24 21:38 .git 21:41:11 drwxrwxr-x 2 jenkins jenkins 4096 May 24 21:38 .github 21:41:11 -rw-rw-r-- 1 jenkins jenkins 176 May 24 21:38 .gitignore 21:41:11 -rw-rw-r-- 1 jenkins jenkins 2908 May 24 21:38 Attribution.txt 21:41:11 -rw-rw-r-- 1 jenkins jenkins 9209 May 24 21:38 CHANGES 21:41:11 -rw-rw-r-- 1 jenkins jenkins 108574 May 24 21:38 Doxyfile 21:41:11 -rw-rw-r-- 1 jenkins jenkins 677 May 24 21:38 GOVERNANCE.md 21:41:11 -rw-rw-r-- 1 jenkins jenkins 784 May 24 21:38 Jenkinsfile 21:41:11 -rw-rw-r-- 1 jenkins jenkins 10174 May 24 21:38 LICENSE 21:41:11 -rw-rw-r-- 1 jenkins jenkins 444 May 24 21:38 Makefile 21:41:11 -rw-rw-r-- 1 jenkins jenkins 618 May 24 21:38 OWNERS.md 21:41:11 -rw-rw-r-- 1 jenkins jenkins 1651 May 24 21:38 README.IOT.md 21:41:11 -rw-rw-r-- 1 jenkins jenkins 4215 May 24 21:38 README.md 21:41:11 -rw-rw-r-- 1 jenkins jenkins 1245 May 24 21:38 README.v3.md 21:41:11 -rw-rw-r-- 1 jenkins jenkins 5 May 24 21:36 VERSION 21:41:11 drwxrwxr-x 2 jenkins jenkins 4096 May 24 21:38 docs 21:41:11 drwxrwxr-x 4 jenkins jenkins 4096 May 24 21:38 include 21:41:11 drwxrwxr-x 2 jenkins jenkins 4096 May 24 21:38 scripts 21:41:11 drwxrwxr-x 4 jenkins jenkins 4096 May 24 21:38 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:11 + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ad65e45309f8995a17d27a3f59962ea35e988788 --label arch=arm64 --label version=3.0.0 . 21:41:12 Sending build context to Docker daemon 2.9MB 21:41:12 Step 1/17 : ARG BASE=alpine:3.16 21:41:12 Step 2/17 : FROM ${BASE} 21:41:12 ---> cef80a90ec4a 21:41:12 Step 3/17 : LABEL maintainer="IOTech " 21:41:12 ---> Running in e861ab5bb4b6 21:41:12 Removing intermediate container e861ab5bb4b6 21:41:12 ---> 3bc475cd6bce 21:41:12 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 21:41:12 ---> Running in 59465cfe0d42 21:41:13 Connecting to iotech.jfrog.io (52.215.121.178:443) 21:41:14 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 21:41:14 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 21:41:14 '/etc/apk/keys/alpine.dev.rsa.pub' saved 21:41:14 Removing intermediate container 59465cfe0d42 21:41:14 ---> 87eb122f7601 21:41:14 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 21:41:14 ---> Running in a945839c495b 21:41:20 Removing intermediate container a945839c495b 21:41:20 ---> 2039c03e8665 21:41:20 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 21:41:20 ---> Running in 87e2188bb12a 21:41:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:41:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:41:21 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 21:41:22 WARNING: This apk-tools is OLD! Some packages might not function properly. 21:41:22 (1/9) Installing iotech-iot-1.5 (1.5.0-r0) 21:41:22 (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) 21:41:22 (3/9) Installing libcbor-dev (0.9.0-r1) 21:41:22 (4/9) Installing ncurses-dev (6.3_p20220521-r0) 21:41:22 (5/9) Installing libblkid (2.38-r1) 21:41:22 (6/9) Installing libfdisk (2.38-r1) 21:41:22 (7/9) Installing libmount (2.38-r1) 21:41:22 (8/9) Installing libsmartcols (2.38-r1) 21:41:22 (9/9) Installing util-linux-dev (2.38-r1) 21:41:22 Executing busybox-1.35.0-r17.trigger 21:41:22 OK: 287 MiB in 92 packages 21:41:24 Removing intermediate container 87e2188bb12a 21:41:24 ---> ca9242012cc0 21:41:24 Step 7/17 : COPY VERSION /edgex-c-sdk/ 21:41:24 ---> cf40cad083cb 21:41:24 Step 8/17 : COPY src /edgex-c-sdk/src/ 21:41:25 ---> 826f58679c69 21:41:25 Step 9/17 : COPY include /edgex-c-sdk/include/ 21:41:25 ---> f2d650e67ad6 21:41:25 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 21:41:26 ---> 96c3305e0059 21:41:26 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 21:41:26 ---> e62f4fd5d604 21:41:26 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 21:41:27 ---> 65e8b4cc346d 21:41:27 Step 13/17 : WORKDIR /edgex-c-sdk 21:41:27 ---> Running in 8e6597c611cf 21:41:27 Removing intermediate container 8e6597c611cf 21:41:27 ---> fa232865581d 21:41:27 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 21:41:27 ---> Running in 5e07faade0b5 21:41:27 Removing intermediate container 5e07faade0b5 21:41:27 ---> 801417a551d0 21:41:27 Step 15/17 : LABEL arch=arm64 21:41:27 ---> Running in 3c52be4ff0af 21:41:28 Removing intermediate container 3c52be4ff0af 21:41:28 ---> bb7b84e75452 21:41:28 Step 16/17 : LABEL git_sha=ad65e45309f8995a17d27a3f59962ea35e988788 21:41:28 ---> Running in 4f592f9a109b 21:41:28 Removing intermediate container 4f592f9a109b 21:41:28 ---> 280878f83fc5 21:41:28 Step 17/17 : LABEL version=3.0.0 21:41:28 ---> Running in 75eef2f45b2b 21:41:29 Removing intermediate container 75eef2f45b2b 21:41:29 ---> 63db052ffc68 21:41:29 [Warning] One or more build-args [MAKE ARCH] were not consumed 21:41:29 Successfully built 63db052ffc68 21:41:29 Successfully tagged device-sdk-arm64: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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:41:29 21:41:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:41:29 arm64: Pulling from edgex-lftools-log-publisher 21:41:30 8998bd30e6a1: Pulling fs layer 21:41:30 04944245beec: Pulling fs layer 21:41:30 699f458cf7ca: Pulling fs layer 21:41:30 765212b225bb: Pulling fs layer 21:41:30 f23df028b6ca: Pulling fs layer 21:41:30 765212b225bb: Waiting 21:41:30 f23df028b6ca: Waiting 21:41:30 d65c8cfc05b1: Pulling fs layer 21:41:30 2437ff75d9bd: Pulling fs layer 21:41:30 d65c8cfc05b1: Waiting 21:41:30 2437ff75d9bd: Waiting 21:41:30 04944245beec: Verifying Checksum 21:41:30 04944245beec: Download complete 21:41:30 765212b225bb: Verifying Checksum 21:41:30 765212b225bb: Download complete 21:41:30 f23df028b6ca: Verifying Checksum 21:41:30 f23df028b6ca: Download complete 21:41:30 d65c8cfc05b1: Verifying Checksum 21:41:30 d65c8cfc05b1: Download complete 21:41:30 699f458cf7ca: Verifying Checksum 21:41:30 699f458cf7ca: Download complete 21:41:30 8998bd30e6a1: Download complete 21:41:33 2437ff75d9bd: Download complete 21:41:34 8998bd30e6a1: Pull complete 21:41:34 04944245beec: Pull complete 21:41:36 699f458cf7ca: Pull complete 21:41:36 765212b225bb: Pull complete 21:41:37 f23df028b6ca: Pull complete 21:41:37 d65c8cfc05b1: Pull complete 21:41:52 2437ff75d9bd: Pull complete 21:41:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:41:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:41:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:41:52 prd-ubuntu20.04-docker-arm64-4c-16g-16792 does not seem to be running inside a container 21:41:52 $ 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/47 -v /w/workspace/device-sdk-c/47:/w/workspace/device-sdk-c/47:rw,z -v /w/workspace/device-sdk-c/47@tmp:/w/workspace/device-sdk-c/47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:41:55 $ docker top 4a3a42f361605fdc28ebd5e30e5d3027d62bf62cdcae7927789f3bc7ac09b9ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:41:55 ---> job-cost.sh 21:41:55 lf-activate-venv: SKIPPING 21:41:55 INFO: No Stack... 21:41:56 INFO: Retrieving Pricing Info for: v3-standard-4 21:41:57 INFO: Archiving Costs [Pipeline] sh 21:41:57 + cat /w/workspace/device-sdk-c/47/archives/cost.csv 21:41:57 + cut -d, -f6 [Pipeline] lock 21:41:57 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-47-stack-cost] 21:41:57 Resource [jenkins-edgexfoundry-device-sdk-c-main-47-stack-cost] did not exist. Created. 21:41:57 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:41:58 /w/workspace/device-sdk-c/47@tmp/durable-d4812fcf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:41:58 + echo total: 0.10999999940395355 [Pipeline] stash 21:41:58 Warning: overwriting stash ‘stack-cost’ 21:41:59 Stashed 1 file(s) [Pipeline] } 21:41:59 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-47-stack-cost] [Pipeline] // lock [Pipeline] } 21:41:59 $ docker stop --time=1 4a3a42f361605fdc28ebd5e30e5d3027d62bf62cdcae7927789f3bc7ac09b9ed 21:42:00 $ docker rm -f --volumes 4a3a42f361605fdc28ebd5e30e5d3027d62bf62cdcae7927789f3bc7ac09b9ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh 21:42:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:42:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:42:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:42:01 prd-ubuntu20.04-docker-8c-8g-16791 does not seem to be running inside a container 21:42:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 21:42:01 $ docker top 497038534b34fdfc6aa2774dbc8eb38629f933135e4d2752be6cb521d9038219 -eo pid,comm 21:42:01 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). 21:42:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:42:01 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.3.1-dev.11|v3.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:42:02 + git semver [Pipeline] } 21:42:02 $ docker stop --time=1 497038534b34fdfc6aa2774dbc8eb38629f933135e4d2752be6cb521d9038219 21:42:03 $ docker rm -f --volumes 497038534b34fdfc6aa2774dbc8eb38629f933135e4d2752be6cb521d9038219 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:42:04 21:42:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:42:04 0.23.1-centos7: Pulling from edgex-lftools 21:42:04 ab5ef0e58194: Pulling fs layer 21:42:04 9712f1f96733: Pulling fs layer 21:42:04 63f879dbbcfc: Pulling fs layer 21:42:04 0d9ebad4ef96: Pulling fs layer 21:42:04 e9a5061849ea: Pulling fs layer 21:42:04 d747dcd14b5f: Pulling fs layer 21:42:04 2de7ff778b66: Pulling fs layer 21:42:04 d747dcd14b5f: Waiting 21:42:04 0d9ebad4ef96: Waiting 21:42:04 2de7ff778b66: Waiting 21:42:04 e9a5061849ea: Waiting 21:42:04 9712f1f96733: Download complete 21:42:04 63f879dbbcfc: Verifying Checksum 21:42:04 63f879dbbcfc: Download complete 21:42:04 ab5ef0e58194: Verifying Checksum 21:42:04 ab5ef0e58194: Download complete 21:42:04 d747dcd14b5f: Verifying Checksum 21:42:04 d747dcd14b5f: Download complete 21:42:04 e9a5061849ea: Verifying Checksum 21:42:04 e9a5061849ea: Download complete 21:42:04 0d9ebad4ef96: Verifying Checksum 21:42:04 0d9ebad4ef96: Download complete 21:42:04 2de7ff778b66: Verifying Checksum 21:42:04 2de7ff778b66: Download complete 21:42:07 ab5ef0e58194: Pull complete 21:42:07 9712f1f96733: Pull complete 21:42:08 63f879dbbcfc: Pull complete 21:42:11 0d9ebad4ef96: Pull complete 21:42:11 e9a5061849ea: Pull complete 21:42:11 d747dcd14b5f: Pull complete 21:42:12 2de7ff778b66: Pull complete 21:42:12 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:42:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:42:12 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:42:12 prd-ubuntu20.04-docker-8c-8g-16791 does not seem to be running inside a container 21:42:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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-lftools:0.23.1-centos7 cat 21:42:14 $ docker top 91bf1941da0031a45ec77be2935ecd42d1ee2430742ad88e60435d6c924b520f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:42:14 provisioning config files... 21:42:14 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config11878365141912364200tmp 21:42:14 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config17948267797392232607tmp 21:42:14 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config10422200367444173128tmp [Pipeline] { [Pipeline] echo 21:42:14 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:42:14 ---> sigul-configuration.sh 21:42:14 gpg: directory `/root/.gnupg' created 21:42:14 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:42:14 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:42:14 gpg: keyring `/root/.gnupg/secring.gpg' created 21:42:14 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:42:14 gpg: CAST5 encrypted data 21:42:14 gpg: encrypted with 1 passphrase 21:42:14 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:42:15 + mkdir /home/jenkins 21:42:15 + mkdir /home/jenkins/sigul [Pipeline] sh 21:42:15 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 21:42:15 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:42:15 ---> sigul-install.sh 21:42:15 Sigul already installed; skipping installation. [Pipeline] sh 21:42:15 + git tag --list 21:42:15 0.7.0 21:42:15 0.7.1 21:42:15 1.0.0 21:42:15 v1.0.1 21:42:15 v1.0.2 21:42:15 v1.0.3 21:42:15 v1.1.0 21:42:15 v1.1.1 21:42:15 v1.2.0 21:42:15 v1.2.1 21:42:15 v1.2.2 21:42:15 v1.3.0 21:42:15 v1.3.1 21:42:15 v2.0.0 21:42:15 v2.1.0 21:42:15 v2.2.0 21:42:15 v2.2.0-dev.1 21:42:15 v2.2.0-dev.10 21:42:15 v2.2.0-dev.11 21:42:15 v2.2.0-dev.12 21:42:15 v2.2.0-dev.13 21:42:15 v2.2.0-dev.2 21:42:15 v2.2.0-dev.3 21:42:15 v2.2.0-dev.4 21:42:15 v2.2.0-dev.5 21:42:15 v2.2.0-dev.6 21:42:15 v2.2.0-dev.7 21:42:15 v2.2.0-dev.8 21:42:15 v2.2.0-dev.9 21:42:15 v2.2.1-dev.1 21:42:15 v2.2.1-dev.2 21:42:15 v2.2.1-dev.3 21:42:15 v2.3.0 21:42:15 v2.3.1-dev.1 21:42:15 v2.3.1-dev.10 21:42:15 v2.3.1-dev.11 21:42:15 v2.3.1-dev.2 21:42:15 v2.3.1-dev.3 21:42:15 v2.3.1-dev.4 21:42:15 v2.3.1-dev.5 21:42:15 v2.3.1-dev.6 21:42:15 v2.3.1-dev.7 21:42:15 v2.3.1-dev.8 21:42:15 v2.3.1-dev.9 21:42:15 v3.0.0 [Pipeline] sh 21:42:16 + lftools sign git-tag v3.0.0 21:42:16 Signing Git tag with Sigul... 21:42:16 Signing v3.0.0 [Pipeline] echo 21:42:17 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:42:17 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:42:17 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:42:17 $ docker stop --time=1 91bf1941da0031a45ec77be2935ecd42d1ee2430742ad88e60435d6c924b520f 21:42:18 $ docker rm -f --volumes 91bf1941da0031a45ec77be2935ecd42d1ee2430742ad88e60435d6c924b520f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:42:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:42:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:42:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:42:19 prd-ubuntu20.04-docker-8c-8g-16791 does not seem to be running inside a container 21:42:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 21:42:19 $ docker top 64bfd436fd24415ef4f11eec104733adbc313b2c5f6d0047caf076b352d180aa -eo pid,comm 21:42:19 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). 21:42:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:42:19 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.3.1-dev.11|v3.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:42:20 + git semver [Pipeline] } 21:42:20 $ docker stop --time=1 64bfd436fd24415ef4f11eec104733adbc313b2c5f6d0047caf076b352d180aa 21:42:21 $ docker rm -f --volumes 64bfd436fd24415ef4f11eec104733adbc313b2c5f6d0047caf076b352d180aa [Pipeline] // withDockerContainer [Pipeline] sh 21:42:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:42:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:42:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:42:22 prd-ubuntu20.04-docker-8c-8g-16791 does not seem to be running inside a container 21:42:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 21:42:22 $ docker top a719076a0367fdd6f36adbb2e2bfeb63b2a8d1b9434b51cda2c40624d4ce0270 -eo pid,comm 21:42:22 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). 21:42:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:42:22 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.3.1-dev.11|v3.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:42:23 + git semver [Pipeline] } 21:42:23 $ docker stop --time=1 a719076a0367fdd6f36adbb2e2bfeb63b2a8d1b9434b51cda2c40624d4ce0270 21:42:24 $ docker rm -f --volumes a719076a0367fdd6f36adbb2e2bfeb63b2a8d1b9434b51cda2c40624d4ce0270 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:42:25 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 21:42:25 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 21:42:25 total 16 21:42:25 drwxr-xr-x 3 root root 4096 May 24 21:37 . 21:42:25 drwxrwxr-x 10 jenkins jenkins 4096 May 24 21:42 .. 21:42:25 drwxr-xr-x 2 root root 4096 May 24 21:37 cost 21:42:25 -rw-r--r-- 1 root root 83 May 24 21:37 cost.csv 21:42:25 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 21:42:25 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 21:42:25 total 16 21:42:25 drwxr-xr-x 3 jenkins jenkins 4096 May 24 21:37 . 21:42:25 drwxrwxr-x 10 jenkins jenkins 4096 May 24 21:42 .. 21:42:25 drwxr-xr-x 2 jenkins jenkins 4096 May 24 21:37 cost 21:42:25 -rw-r--r-- 1 jenkins jenkins 83 May 24 21:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:42:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:42:26 ---> package-listing.sh 21:42:26 ++ facter osfamily 21:42:26 ++ tr '[:upper:]' '[:lower:]' 21:42:26 + OS_FAMILY=debian 21:42:26 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 21:42:26 + START_PACKAGES=/tmp/packages_start.txt 21:42:26 + END_PACKAGES=/tmp/packages_end.txt 21:42:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:42:26 + PACKAGES=/tmp/packages_start.txt 21:42:26 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 21:42:26 + PACKAGES=/tmp/packages_end.txt 21:42:26 + case "${OS_FAMILY}" in 21:42:26 + dpkg -l 21:42:26 + grep '^ii' 21:42:26 + '[' -f /tmp/packages_start.txt ']' 21:42:26 + '[' -f /tmp/packages_end.txt ']' 21:42:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:42:26 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 21:42:26 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 21:42:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 21:42:26 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:42:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:42:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:42:27 prd-ubuntu20.04-docker-8c-8g-16791 does not seem to be running inside a container 21:42:27 $ 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_main/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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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-lftools-log-publisher:latest cat 21:42:27 $ docker top d098aa08cb46296053597cc18ceab19a5e1982c1742661fff3b24b38f79c27e4 -eo pid,comm [Pipeline] { [Pipeline] sh 21:42:27 + touch /tmp/pre-build-complete [Pipeline] sh 21:42:28 + mkdir -p /var/log/sysstat [Pipeline] sh 21:42:28 + ls /var/log/sa-host 21:42:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:42:28 provisioning config files... 21:42:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5724743004806460498tmp [Pipeline] { [Pipeline] echo 21:42:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:42:28 ---> create-netrc.sh [Pipeline] } 21:42:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:42:29 ---> python-tools-install.sh [Pipeline] echo 21:42:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:42:29 ---> sudo-logs.sh 21:42:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:42:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:42:29 ---> job-cost.sh 21:42:29 lf-activate-venv: SKIPPING 21:42:29 DEBUG: total: 0.2199999988079071 21:42:29 INFO: Retrieving Stack Cost... 21:42:30 INFO: Retrieving Pricing Info for: v3-standard-8 21:42:30 INFO: Archiving Costs [Pipeline] echo 21:42:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:42:30 ---> logs-deploy.sh 21:42:30 lf-activate-venv: SKIPPING 21:42:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/47 21:42:30 INFO: archiving workspace using pattern(s): 21:42:31 Archives upload complete. 21:42:31 INFO: archiving logs to Nexus