Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fdd904db91670bf9b9238bf17ce25b0e9b1934c2 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-ssh10913640321082155119.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11086270907699230748.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > 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-ssh3264670944437640313.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh14660489142539105033.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-ssh14273649653711616127.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-9615 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 fdd904db91670bf9b9238bf17ce25b0e9b1934c2 (main) Commit message: "refactor: abstraction for MessageBus (#447)" > 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 fdd904db91670bf9b9238bf17ce25b0e9b1934c2 # timeout=10 > git rev-list --no-walk 21f79343dd353c602474ef88d38fd1373f48e545 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:07:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:07:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:07:47 ========================================================= 11:07:47 EdgeX Global Pipelines Version Info 11:07:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:07:47 ------------------- 11:07:47 stable info: 11:07:47 ------------------- 11:07:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:07:47 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 11:07:47 Message: update stable to v1.0.244 11:07:48 ------------------- 11:07:48 experimental info: 11:07:48 ------------------- 11:07:48 Commited By: **** collab-it+edgex@linuxfoundation.org 11:07:48 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 11:07:48 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:07:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 11:07:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 11:07:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:07:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:07:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:07:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 11:07:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 11:07:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:07:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:07:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 11:07:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:07:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:07:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:07:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 11:07:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:07:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:07:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:07:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 11:07:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 11:07:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 11:07:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fdd904db91670bf9b9238bf17ce25b0e9b1934c2 [Pipeline] echo 11:07:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fdd904d [Pipeline] echo 11:07:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:07:48 provisioning config files... 11:07:48 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2139390977973792434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:07:49 ---> docker-login.sh 11:07:49 nexus3.edgexfoundry.org:10001 11:07:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:49 Configure a credential helper to remove this warning. See 11:07:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:49 11:07:49 Login Succeeded 11:07:49 nexus3.edgexfoundry.org:10002 11:07:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:49 Configure a credential helper to remove this warning. See 11:07:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:49 11:07:49 Login Succeeded 11:07:49 nexus3.edgexfoundry.org:10003 11:07:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:49 Configure a credential helper to remove this warning. See 11:07:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:49 11:07:49 Login Succeeded 11:07:49 nexus3.edgexfoundry.org:10004 11:07:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:49 Configure a credential helper to remove this warning. See 11:07:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:49 11:07:49 Login Succeeded 11:07:49 docker.io 11:07:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:50 Configure a credential helper to remove this warning. See 11:07:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:50 11:07:50 Login Succeeded 11:07:50 ---> docker-login.sh ends [Pipeline] } 11:07:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 11:07:50 + git rev-list -1 --merges fdd904db91670bf9b9238bf17ce25b0e9b1934c2~1..fdd904db91670bf9b9238bf17ce25b0e9b1934c2 [Pipeline] echo 11:07:50 -----------> git rev-list -1 --merges fdd904db91670bf9b9238bf17ce25b0e9b1934c2~1..fdd904db91670bf9b9238bf17ce25b0e9b1934c2 fdd904db91670bf9b9238bf17ce25b0e9b1934c2 [false] [Pipeline] sh 11:07:50 + git log --format=format:%s -1 fdd904db91670bf9b9238bf17ce25b0e9b1934c2 [Pipeline] echo 11:07:50 ========================================================= 11:07:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:07:50 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:07:51 + git rev-list -1 --merges fdd904db91670bf9b9238bf17ce25b0e9b1934c2~1..fdd904db91670bf9b9238bf17ce25b0e9b1934c2 [Pipeline] echo 11:07:51 -----------> git rev-list -1 --merges fdd904db91670bf9b9238bf17ce25b0e9b1934c2~1..fdd904db91670bf9b9238bf17ce25b0e9b1934c2 fdd904db91670bf9b9238bf17ce25b0e9b1934c2 [false] [Pipeline] sh 11:07:51 + git log --format=format:%s -1 fdd904db91670bf9b9238bf17ce25b0e9b1934c2 [Pipeline] echo 11:07:51 ========================================================= 11:07:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:07:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 11:07:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:07:52 + grep -v github /etc/ssh/ssh_known_hosts 11:07:52 + [ -e /tmp/ssh_known_hosts ] 11:07:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:07:52 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:07:52 tee -a /etc/ssh/ssh_known_hosts 11:07:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:07:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:07:52 11:07:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:07:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:07:52 0.1.4: Pulling from edgex-devops/py-git-semver 11:07:52 b85a868b505f: Pulling fs layer 11:07:52 e2be974225ed: Pulling fs layer 11:07:52 339a4e72a1f5: Pulling fs layer 11:07:52 988bab9f4d93: Pulling fs layer 11:07:52 1469e6f7b9e6: Pulling fs layer 11:07:52 eaf3925da568: Pulling fs layer 11:07:52 bab4dde63d76: Pulling fs layer 11:07:52 bde34c3a00c8: Pulling fs layer 11:07:52 b352a97aabf1: Pulling fs layer 11:07:52 4872d77fe225: Pulling fs layer 11:07:52 5851b861e8e6: Pulling fs layer 11:07:52 bab4dde63d76: Waiting 11:07:52 988bab9f4d93: Waiting 11:07:52 bde34c3a00c8: Waiting 11:07:52 1469e6f7b9e6: Waiting 11:07:52 b352a97aabf1: Waiting 11:07:52 eaf3925da568: Waiting 11:07:52 5851b861e8e6: Waiting 11:07:52 4872d77fe225: Waiting 11:07:52 e2be974225ed: Download complete 11:07:52 988bab9f4d93: Download complete 11:07:53 1469e6f7b9e6: Verifying Checksum 11:07:53 1469e6f7b9e6: Download complete 11:07:53 339a4e72a1f5: Verifying Checksum 11:07:53 339a4e72a1f5: Download complete 11:07:53 eaf3925da568: Download complete 11:07:53 bde34c3a00c8: Download complete 11:07:53 b352a97aabf1: Download complete 11:07:53 4872d77fe225: Verifying Checksum 11:07:53 4872d77fe225: Download complete 11:07:53 5851b861e8e6: Verifying Checksum 11:07:53 5851b861e8e6: Download complete 11:07:53 b85a868b505f: Verifying Checksum 11:07:53 b85a868b505f: Download complete 11:07:53 bab4dde63d76: Verifying Checksum 11:07:53 bab4dde63d76: Download complete 11:07:54 b85a868b505f: Pull complete 11:07:54 e2be974225ed: Pull complete 11:07:55 339a4e72a1f5: Pull complete 11:07:55 988bab9f4d93: Pull complete 11:07:55 1469e6f7b9e6: Pull complete 11:07:55 eaf3925da568: Pull complete 11:07:57 bab4dde63d76: Pull complete 11:07:57 bde34c3a00c8: Pull complete 11:07:57 b352a97aabf1: Pull complete 11:07:57 4872d77fe225: Pull complete 11:07:57 5851b861e8e6: Pull complete 11:07:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:07:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:07:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:07:57 prd-ubuntu20.04-docker-8c-8g-9615 does not seem to be running inside a container 11:07:57 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:08:00 $ docker top d9a60953af71ad778ee589383910b1275fbfe9d0cab6f79b8f787898d0241393 -eo pid,comm 11:08:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:08:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:08:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:08:00 [ssh-agent] Looking for ssh-agent implementation... 11:08:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:08:00 $ docker exec d9a60953af71ad778ee589383910b1275fbfe9d0cab6f79b8f787898d0241393 ssh-agent 11:08:00 SSH_AUTH_SOCK=/tmp/ssh-KoDZHntJ3BF0/agent.33 11:08:00 SSH_AGENT_PID=39 11:08:00 Running ssh-add (command line suppressed) 11:08:00 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_10866390692868568753.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_10866390692868568753.key) 11:08:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:08:01 + git tag --points-at HEAD [Pipeline] } 11:08:01 $ docker exec --env ******** --env ******** d9a60953af71ad778ee589383910b1275fbfe9d0cab6f79b8f787898d0241393 ssh-agent -k 11:08:01 unset SSH_AUTH_SOCK; 11:08:01 unset SSH_AGENT_PID; 11:08:01 echo Agent pid 39 killed; 11:08:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:08:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:08:01 [ssh-agent] Looking for ssh-agent implementation... 11:08:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:08:01 $ docker exec d9a60953af71ad778ee589383910b1275fbfe9d0cab6f79b8f787898d0241393 ssh-agent 11:08:01 SSH_AUTH_SOCK=/tmp/ssh-CeddPXYGZtjn/agent.71 11:08:01 SSH_AGENT_PID=77 11:08:01 Running ssh-add (command line suppressed) 11:08:01 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12243519877118847644.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12243519877118847644.key) 11:08:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:08:01 + git semver init 11:08:02 2023-03-10 11:08:02,172 [run_init] DEBUG init version:0.0.0 force:False 11:08:02 2023-03-10 11:08:02,172 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 11:08:02 2023-03-10 11:08:02,173 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 11:08:02 2023-03-10 11:08:02,173 [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) 11:08:03 2023-03-10 11:08:03,050 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 11:08:03 2023-03-10 11:08:03,051 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 11:08:03 2023-03-10 11:08:03,051 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 11:08:03 2023-03-10 11:08:03,051 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 11:08:03 2.3.1-dev.5 [Pipeline] } 11:08:03 $ docker exec --env ******** --env ******** d9a60953af71ad778ee589383910b1275fbfe9d0cab6f79b8f787898d0241393 ssh-agent -k 11:08:03 unset SSH_AUTH_SOCK; 11:08:03 unset SSH_AGENT_PID; 11:08:03 echo Agent pid 77 killed; 11:08:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:08:03 + git semver [Pipeline] } 11:08:03 $ docker stop --time=1 d9a60953af71ad778ee589383910b1275fbfe9d0cab6f79b8f787898d0241393 11:08:05 $ docker rm -f --volumes d9a60953af71ad778ee589383910b1275fbfe9d0cab6f79b8f787898d0241393 [Pipeline] // withDockerContainer [Pipeline] sh 11:08:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:08:05 Stashed 1 file(s) [Pipeline] echo 11:08:05 [edgeXSemver]: initialized semver on version 2.3.1-dev.5 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:08:05 provisioning config files... 11:08:05 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config18391146355787899663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:08:06 ---> docker-login.sh 11:08:06 nexus3.edgexfoundry.org:10001 11:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:06 Configure a credential helper to remove this warning. See 11:08:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:06 11:08:06 Login Succeeded 11:08:06 nexus3.edgexfoundry.org:10002 11:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:06 Configure a credential helper to remove this warning. See 11:08:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:06 11:08:06 Login Succeeded 11:08:06 nexus3.edgexfoundry.org:10003 11:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:06 Configure a credential helper to remove this warning. See 11:08:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:06 11:08:06 Login Succeeded 11:08:06 nexus3.edgexfoundry.org:10004 11:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:06 Configure a credential helper to remove this warning. See 11:08:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:06 11:08:06 Login Succeeded 11:08:06 docker.io 11:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:06 Configure a credential helper to remove this warning. See 11:08:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:06 11:08:06 Login Succeeded 11:08:07 ---> docker-login.sh ends [Pipeline] } 11:08:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:08:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:08:07 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 11:08:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:08:07 ========================================================= 11:08:07 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 11:08:07 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:08:07 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 11:08:07 Sending build context to Docker daemon 4.732MB 11:08:07 Step 1/21 : ARG BASE=alpine:3.16 11:08:07 Step 2/21 : FROM ${BASE} as builder 11:08:07 latest: Pulling from edgex-devops/edgex-gcc-base 11:08:07 213ec9aee27d: Pulling fs layer 11:08:07 0f09ad1b1b37: Pulling fs layer 11:08:07 213ec9aee27d: Verifying Checksum 11:08:07 213ec9aee27d: Download complete 11:08:07 213ec9aee27d: Pull complete 11:08:08 0f09ad1b1b37: Verifying Checksum 11:08:08 0f09ad1b1b37: Download complete 11:08:11 0f09ad1b1b37: Pull complete 11:08:11 Digest: sha256:64e9d1beac36a0037884aaf44bcf94b2de593689edef1cdaec9f2b2ef7c7c108 11:08:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 11:08:11 ---> b2bbfebb3566 11:08:11 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 11:08:12 ---> Running in 4e656f4cd756 11:08:12 Connecting to iotech.jfrog.io (52.212.183.138:443) 11:08:13 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:08:13 alpine.dev.rsa.pub 100% |********************************|  451 0:00:00 ETA 11:08:13 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:08:13 Removing intermediate container 4e656f4cd756 11:08:13 ---> 4d49f7503a3d 11:08:13 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 11:08:20 ---> Running in 3b05ec2015c0 11:08:20 Still waiting to schedule task 11:08:20 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:08:24 Removing intermediate container 3b05ec2015c0 11:08:24 ---> 94ef70b0a970 11:08:24 Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 11:08:25 ---> Running in 6b6a7c09825b 11:08:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:08:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:08:27 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 11:08:28 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:08:28 (1/14) Installing hiredis (1.0.2-r0) 11:08:28 (2/14) Installing hiredis-dev (1.0.2-r0) 11:08:28 (3/14) Installing iotech-iot-1.5 (1.5.0-r0) 11:08:28 (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) 11:08:28 (5/14) Installing libcbor (0.9.0-r1) 11:08:28 (6/14) Installing libcbor-dev (0.9.0-r1) 11:08:28 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 11:08:28 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 11:08:29 (9/14) Installing libblkid (2.38-r1) 11:08:29 (10/14) Installing libuuid (2.38-r1) 11:08:29 (11/14) Installing libfdisk (2.38-r1) 11:08:29 (12/14) Installing libmount (2.38-r1) 11:08:29 (13/14) Installing libsmartcols (2.38-r1) 11:08:29 (14/14) Installing util-linux-dev (2.38-r1) 11:08:29 Executing busybox-1.35.0-r17.trigger 11:08:29 OK: 280 MiB in 90 packages 11:08:35 Removing intermediate container 6b6a7c09825b 11:08:35 ---> 2822b9638549 11:08:35 Step 6/21 : RUN mkdir /tmp/sdk 11:08:35 ---> Running in 42a5ebb31b49 11:08:36 Removing intermediate container 42a5ebb31b49 11:08:36 ---> daec1e0cec0b 11:08:36 Step 7/21 : COPY VERSION /tmp/sdk 11:08:37 ---> b178fd498c34 11:08:37 Step 8/21 : COPY src /tmp/sdk/src 11:08:37 ---> 0e9fdabc88f7 11:08:37 Step 9/21 : COPY include /tmp/sdk/include 11:08:39 ---> a537f274db44 11:08:39 Step 10/21 : COPY scripts /tmp/sdk/scripts 11:08:39 ---> d93c545d2c51 11:08:39 Step 11/21 : COPY LICENSE /tmp/sdk 11:08:40 ---> 125c4b0eba31 11:08:40 Step 12/21 : COPY Attribution.txt /tmp/sdk 11:08:40 ---> 0412bd32021a 11:08:40 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 11:08:40 ---> Running in 05ddb1ab478e 11:08:41 + CPPCHECK=false 11:08:41 + DOCGEN=false 11:08:41 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 11:08:41 + TOMLVER=SDK-0.2 11:08:41 + CUTILVER=1.4 11:08:41 + '[' 0 -gt 0 ] 11:08:41 + readlink -f ./scripts/build.sh 11:08:41 + dirname /tmp/sdk/scripts/build.sh 11:08:41 + dirname /tmp/sdk/scripts 11:08:41 + ROOT=/tmp/sdk 11:08:41 + cd /tmp/sdk 11:08:41 + '[' '!' -d deps ] 11:08:41 + mkdir deps 11:08:41 + wget -O - https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz 11:08:41 + tar -C deps -z -x -f - 11:08:41 Connecting to github.com (140.82.114.4:443) 11:08:41 Connecting to codeload.github.com (140.82.114.10:443) 11:08:41 writing to stdout 11:08:41 - 100% |********************************| 16451 0:00:00 ETA 11:08:41 written to stdout 11:08:41 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 11:08:41 + mkdir -p /tmp/sdk/build/release 11:08:41 + cd /tmp/sdk/build/release 11:08:41 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 11:08:41 -- The C compiler identification is GNU 11.2.1 11:08:41 -- Detecting C compiler ABI info 11:08:42 -- Detecting C compiler ABI info - done 11:08:42 -- Check for working C compiler: /usr/bin/cc - skipped 11:08:42 -- Detecting C compile features 11:08:42 -- Detecting C compile features - done 11:08:42 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:08:42 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 11:08:42 -- Found LIBYAML: /usr/lib/libyaml.so 11:08:42 -- Found LIBUUID: /usr/lib/libuuid.so 11:08:42 -- Found LIBCBOR: /usr/lib/libcbor.so 11:08:42 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:08:42 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 11:08:42 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 11:08:42 -- /opt/iotech/iot/1.5/include 11:08:42 -- C SDK 2.3.1-dev.5 for Linux 11:08:42 -- Performing Test CSDK_HAVE_ATOMIC 11:08:42 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:08:42 -- Found Curses: /usr/lib/libcurses.so 11:08:42 -- Configuring done 11:08:42 -- Generating done 11:08:42 -- Build files have been written to: /tmp/sdk/build/release 11:08:42 + make all package 11:08:42 + tee release.log 11:08:42 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:08:42 [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 11:08:42 [ 6%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 11:08:42 [ 8%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 11:08:42 [ 10%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 11:08:43 [ 12%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:08:43 [ 14%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:08:43 [ 16%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:08:43 [ 18%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:08:43 [ 20%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:08:44 [ 22%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:08:44 [ 24%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:08:44 [ 26%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:08:44 [ 28%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:08:45 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:08:45 [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:08:45 [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:08:45 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:08:45 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:08:46 [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:08:47 [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:08:47 [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:08:47 [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:08:47 [ 48%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:08:47 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:08:48 [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 11:08:48 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 11:08:48 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 11:08:48 [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:08:48 [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:08:49 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:08:49 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 11:08:49 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:08:49 [ 68%] Linking C shared library libcsdk.so 11:08:50 [ 68%] Built target csdk 11:08:50 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:08:50 [ 72%] Linking C executable template 11:08:50 [ 72%] Built target template 11:08:50 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:08:50 [ 76%] Linking C executable device-counter 11:08:50 [ 76%] Built target device-counter 11:08:50 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:08:50 [ 80%] Linking C executable device-random 11:08:50 [ 80%] Built target device-random 11:08:50 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:08:50 [ 84%] Linking C executable device-gyro 11:08:50 [ 84%] Built target device-gyro 11:08:50 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:08:50 [ 88%] Linking C executable device-bitfields 11:08:50 [ 88%] Built target device-bitfields 11:08:50 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:08:51 [ 92%] Linking C executable template-discovery 11:08:51 [ 92%] Built target template-discovery 11:08:51 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:08:51 [ 96%] Linking C executable device-file 11:08:51 [ 96%] Built target device-file 11:08:51 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:08:51 [100%] Linking C executable device-terminal 11:08:51 [100%] Built target device-terminal 11:08:51 Run CPack packaging tool... 11:08:51 CPack: Create package using TGZ 11:08:51 CPack: Install projects 11:08:51 CPack: - Run preinstall target for: Csdk 11:08:51 CPack: - Install project: Csdk [] 11:08:51 CPack: Create package 11:08:51 CPack: - package: /tmp/sdk/build/release/csdk-2.3.1-dev.5.tar.gz generated. 11:08:51 + '[' false '=' true ] 11:08:51 + '[' false '=' true ] 11:08:51 + mkdir -p /tmp/sdk/build/debug 11:08:51 + cd /tmp/sdk/build/debug 11:08:51 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 11:08:51 -- The C compiler identification is GNU 11.2.1 11:08:51 -- Detecting C compiler ABI info 11:08:52 -- Detecting C compiler ABI info - done 11:08:52 -- Check for working C compiler: /usr/bin/cc - skipped 11:08:52 -- Detecting C compile features 11:08:52 -- Detecting C compile features - done 11:08:52 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:08:52 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 11:08:52 -- Found LIBYAML: /usr/lib/libyaml.so 11:08:52 -- Found LIBUUID: /usr/lib/libuuid.so 11:08:52 -- Found LIBCBOR: /usr/lib/libcbor.so 11:08:52 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:08:52 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 11:08:52 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 11:08:52 -- /opt/iotech/iot/1.5/include 11:08:52 -- C SDK 2.3.1-dev.5 for Linux 11:08:52 -- Performing Test CSDK_HAVE_ATOMIC 11:08:52 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:08:52 -- Found Curses: /usr/lib/libcurses.so 11:08:52 -- Configuring done 11:08:52 -- Generating done 11:08:52 -- Build files have been written to: /tmp/sdk/build/debug 11:08:52 + make 11:08:52 + tee debug.log 11:08:52 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:08:52 [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 11:08:52 [ 6%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 11:08:52 [ 8%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 11:08:52 [ 10%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 11:08:52 [ 12%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:08:53 [ 14%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:08:53 [ 16%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:08:53 [ 18%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:08:53 [ 20%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:08:53 [ 22%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:08:53 [ 24%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:08:53 [ 26%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:08:53 [ 28%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:08:53 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:08:53 [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:08:53 [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:08:54 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:08:54 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:08:54 [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:08:54 [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:08:54 [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:08:54 [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:08:54 [ 48%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:08:54 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:08:54 [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 11:08:55 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 11:08:55 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 11:08:55 [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:08:55 [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:08:55 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:08:55 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 11:08:55 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:08:55 [ 68%] Linking C shared library libcsdk.so 11:08:55 [ 68%] Built target csdk 11:08:55 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:08:55 [ 72%] Linking C executable template 11:08:55 [ 72%] Built target template 11:08:55 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:08:56 [ 76%] Linking C executable device-counter 11:08:56 [ 76%] Built target device-counter 11:08:56 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:08:56 [ 80%] Linking C executable device-random 11:08:56 [ 80%] Built target device-random 11:08:56 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:08:56 [ 84%] Linking C executable device-gyro 11:08:56 [ 84%] Built target device-gyro 11:08:56 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:08:56 [ 88%] Linking C executable device-bitfields 11:08:56 [ 88%] Built target device-bitfields 11:08:56 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:08:56 [ 92%] Linking C executable template-discovery 11:08:56 [ 92%] Built target template-discovery 11:08:56 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:08:56 [ 96%] Linking C executable device-file 11:08:56 [ 96%] Built target device-file 11:08:56 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:08:56 [100%] Linking C executable device-terminal 11:08:56 [100%] Built target device-terminal 11:08:57 make: Entering directory '/tmp/sdk/build/release' 11:08:57 make[1]: Entering directory '/tmp/sdk/build/release' 11:08:57 make[2]: Entering directory '/tmp/sdk/build/release' 11:08:57 make[2]: Leaving directory '/tmp/sdk/build/release' 11:08:57 [ 68%] Built target csdk 11:08:57 make[2]: Entering directory '/tmp/sdk/build/release' 11:08:57 make[2]: Leaving directory '/tmp/sdk/build/release' 11:08:57 [ 72%] Built target template 11:08:57 make[2]: Entering directory '/tmp/sdk/build/release' 11:08:57 make[2]: Leaving directory '/tmp/sdk/build/release' 11:08:57 [ 76%] Built target device-counter 11:08:57 make[2]: Entering directory '/tmp/sdk/build/release' 11:08:57 make[2]: Leaving directory '/tmp/sdk/build/release' 11:08:57 [ 80%] Built target device-random 11:08:57 make[2]: Entering directory '/tmp/sdk/build/release' 11:08:57 make[2]: Leaving directory '/tmp/sdk/build/release' 11:08:57 [ 84%] Built target device-gyro 11:08:57 make[2]: Entering directory '/tmp/sdk/build/release' 11:08:57 make[2]: Leaving directory '/tmp/sdk/build/release' 11:08:57 [ 88%] Built target device-bitfields 11:08:57 make[2]: Entering directory '/tmp/sdk/build/release' 11:08:57 make[2]: Leaving directory '/tmp/sdk/build/release' 11:08:57 [ 92%] Built target template-discovery 11:08:57 make[2]: Entering directory '/tmp/sdk/build/release' 11:08:57 make[2]: Leaving directory '/tmp/sdk/build/release' 11:08:57 [ 96%] Built target device-file 11:08:57 make[2]: Entering directory '/tmp/sdk/build/release' 11:08:57 make[2]: Leaving directory '/tmp/sdk/build/release' 11:08:57 [100%] Built target device-terminal 11:08:57 make[1]: Leaving directory '/tmp/sdk/build/release' 11:08:57 Install the project... 11:08:57 -- Install configuration: "Release" 11:08:57 -- Installing: /usr/local/lib/libcsdk.so 11:08:57 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 11:08:57 -- Installing: /usr/local/include 11:08:57 -- Installing: /usr/local/include/devsdk 11:08:57 -- Installing: /usr/local/include/devsdk/devsdk.h 11:08:57 -- Installing: /usr/local/include/devsdk/devsdk-base.h 11:08:57 -- Installing: /usr/local/include/edgex 11:08:57 -- Installing: /usr/local/include/edgex/edgex.h 11:08:57 -- Installing: /usr/local/include/edgex/devices.h 11:08:57 -- Installing: /usr/local/include/edgex/profiles.h 11:08:57 -- Installing: /usr/local/include/edgex/edgex-base.h 11:08:57 -- Installing: /usr/local/include/edgex/rest-server.h 11:08:57 -- Installing: /usr/local/include/edgex/csdk-defs.h 11:08:57 -- Installing: /usr/local/share/device-sdk-c/LICENSE 11:08:57 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 11:08:57 make: Leaving directory '/tmp/sdk/build/release' 11:08:58 Removing intermediate container 05ddb1ab478e 11:08:58 ---> a8226b2c5454 11:08:58 Step 14/21 : FROM ${BASE} 11:08:58 ---> b2bbfebb3566 11:08:58 Step 15/21 : LABEL maintainer="IOTech " 11:08:58 ---> Running in e21dd1ef2175 11:08:59 Removing intermediate container e21dd1ef2175 11:08:59 ---> 7f8fc057513b 11:08:59 Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 11:08:59 ---> Running in e3f6ad8f1730 11:08:59 Connecting to iotech.jfrog.io (34.242.55.152:443) 11:09:00 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:09:00 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 11:09:00 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:09:00 Removing intermediate container e3f6ad8f1730 11:09:00 ---> b394fa1e4e2e 11:09:00 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 11:09:01 ---> Running in 3d189722f9ef 11:09:01 Removing intermediate container 3d189722f9ef 11:09:01 ---> 6a7153b7fec3 11:09:01 Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev 11:09:01 ---> Running in 0a840290e551 11:09:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:09:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:09:02 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 11:09:03 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:09:03 (1/7) Installing curl (7.83.1-r6) 11:09:03 (2/7) Installing hiredis (1.0.2-r0) 11:09:03 (3/7) Installing hiredis-dev (1.0.2-r0) 11:09:03 (4/7) Installing iotech-iot-1.4 (1.4.1-r0) 11:09:03 (5/7) Installing libcbor (0.9.0-r1) 11:09:03 (6/7) Installing libuuid (2.38-r1) 11:09:03 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 11:09:04 Executing busybox-1.35.0-r17.trigger 11:09:04 OK: 275 MiB in 83 packages 11:09:05 Removing intermediate container 0a840290e551 11:09:05 ---> dd10726c8c0b 11:09:05 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 11:09:05 ---> 88dd43b744f5 11:09:05 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 11:09:05 ---> e55e1037598f 11:09:05 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 11:09:05 ---> a46bd80faec2 11:09:05 Successfully built a46bd80faec2 11:09: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 11:09:05 + docker inspect -f . ci-base-image-x86_64 11:09:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:09:05 prd-ubuntu20.04-docker-8c-8g-9615 does not seem to be running inside a container 11:09:05 $ 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 ******** ci-base-image-x86_64 cat 11:09:06 $ docker top 5a0ed4dce3e8a0c6d81c01bd526d75786db424ee9bd408cbe4d79ea9354d781d -eo pid,comm [Pipeline] { [Pipeline] sh 11:09:06 + make test 11:09:06 echo "make test" 11:09:06 make test [Pipeline] } 11:09:06 $ docker stop --time=1 5a0ed4dce3e8a0c6d81c01bd526d75786db424ee9bd408cbe4d79ea9354d781d 11:09:07 $ docker rm -f --volumes 5a0ed4dce3e8a0c6d81c01bd526d75786db424ee9bd408cbe4d79ea9354d781d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:09:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:09:08 + ls -al . 11:09:08 total 204 11:09:08 drwxrwxr-x 9 jenkins jenkins 4096 Mar 10 11:08 . 11:09:08 drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 11:07 .. 11:09:08 drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 11:08 .git 11:09:08 drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 11:07 .github 11:09:08 -rw-rw-r-- 1 jenkins jenkins 176 Mar 10 11:07 .gitignore 11:09:08 drwxr-xr-x 3 jenkins jenkins 4096 Mar 10 11:08 .semver 11:09:08 -rw-rw-r-- 1 jenkins jenkins 3104 Mar 10 11:07 Attribution.txt 11:09:08 -rw-rw-r-- 1 jenkins jenkins 8743 Mar 10 11:07 CHANGES 11:09:08 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 10 11:07 Doxyfile 11:09:08 -rw-rw-r-- 1 jenkins jenkins 677 Mar 10 11:07 GOVERNANCE.md 11:09:08 -rw-rw-r-- 1 jenkins jenkins 784 Mar 10 11:07 Jenkinsfile 11:09:08 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 10 11:07 LICENSE 11:09:08 -rw-rw-r-- 1 jenkins jenkins 444 Mar 10 11:07 Makefile 11:09:08 -rw-rw-r-- 1 jenkins jenkins 618 Mar 10 11:07 OWNERS.md 11:09:08 -rw-rw-r-- 1 jenkins jenkins 4086 Mar 10 11:07 README.md 11:09:08 -rw-rw-r-- 1 jenkins jenkins 1245 Mar 10 11:07 README.v3.md 11:09:08 -rw-rw-r-- 1 jenkins jenkins 11 Mar 10 11:08 VERSION 11:09:08 drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 11:07 docs 11:09:08 drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 11:07 include 11:09:08 drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 11:07 scripts 11:09:08 drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 11:07 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09: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=fdd904db91670bf9b9238bf17ce25b0e9b1934c2 --label arch=amd64 --label version=2.3.1-dev.5 . 11:09:09 Sending build context to Docker daemon 4.732MB 11:09:09 Step 1/17 : ARG BASE=alpine:3.16 11:09:09 Step 2/17 : FROM ${BASE} 11:09:09 ---> a46bd80faec2 11:09:09 Step 3/17 : LABEL maintainer="IOTech " 11:09:09 ---> Running in 855f8142d6ca 11:09:09 Removing intermediate container 855f8142d6ca 11:09:09 ---> f710fcb1fba5 11:09: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 11:09:09 ---> Running in 6e7341f6f813 11:09:09 Connecting to iotech.jfrog.io (63.32.141.158:443) 11:09:09 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:09:09 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 11:09:09 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:09:10 Removing intermediate container 6e7341f6f813 11:09:10 ---> 6270b5343080 11:09:10 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 11:09:10 ---> Running in 8d2196858264 11:09:10 Removing intermediate container 8d2196858264 11:09:10 ---> 87d4996d3072 11:09:10 Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build 11:09:10 ---> Running in 0cf7c03b9188 11:09:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:09:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:09:11 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 11:09:11 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:09:11 (1/9) Installing iotech-iot-1.5 (1.5.0-r0) 11:09:12 (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) 11:09:12 (3/9) Installing libcbor-dev (0.9.0-r1) 11:09:12 (4/9) Installing ncurses-dev (6.3_p20220521-r0) 11:09:12 (5/9) Installing libblkid (2.38-r1) 11:09:12 (6/9) Installing libfdisk (2.38-r1) 11:09:12 (7/9) Installing libmount (2.38-r1) 11:09:12 (8/9) Installing libsmartcols (2.38-r1) 11:09:12 (9/9) Installing util-linux-dev (2.38-r1) 11:09:12 Executing busybox-1.35.0-r17.trigger 11:09:12 OK: 281 MiB in 92 packages 11:09:12 Removing intermediate container 0cf7c03b9188 11:09:12 ---> 1062cda98995 11:09:12 Step 7/17 : COPY VERSION /edgex-c-sdk/ 11:09:13 ---> 5d0693178c2d 11:09:13 Step 8/17 : COPY src /edgex-c-sdk/src/ 11:09:13 ---> ed5d285cd4bf 11:09:13 Step 9/17 : COPY include /edgex-c-sdk/include/ 11:09:13 ---> c02a5e223ded 11:09:13 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 11:09:13 ---> 4046a986dc53 11:09:13 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 11:09:13 ---> 40d1c1e3a52b 11:09:13 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 11:09:13 ---> 356db3ce4da0 11:09:13 Step 13/17 : WORKDIR /edgex-c-sdk 11:09:13 ---> Running in 07b6fd5c4ed9 11:09:13 Removing intermediate container 07b6fd5c4ed9 11:09:13 ---> 7290a65a5e65 11:09:13 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 11:09:13 ---> Running in b8cfe203deb9 11:09:13 Removing intermediate container b8cfe203deb9 11:09:13 ---> b9d47e805ed0 11:09:13 Step 15/17 : LABEL arch=amd64 11:09:13 ---> Running in 4b83e43e1fb8 11:09:14 Removing intermediate container 4b83e43e1fb8 11:09:14 ---> 360996917cbd 11:09:14 Step 16/17 : LABEL git_sha=fdd904db91670bf9b9238bf17ce25b0e9b1934c2 11:09:14 ---> Running in 5e44f0015f5a 11:09:14 Removing intermediate container 5e44f0015f5a 11:09:14 ---> a48ec2be8884 11:09:14 Step 17/17 : LABEL version=2.3.1-dev.5 11:09:14 ---> Running in afaeaa726507 11:09:14 Removing intermediate container afaeaa726507 11:09:14 ---> 468ec7f1944e 11:09:14 [Warning] One or more build-args [ARCH MAKE] were not consumed 11:09:14 Successfully built 468ec7f1944e 11:09: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 11:09:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:09:14 11:09:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:09:15 latest: Pulling from edgex-lftools-log-publisher 11:09:15 5eb5b503b376: Pulling fs layer 11:09:15 5c69ac0246d0: Pulling fs layer 11:09:15 ec43610c2a17: Pulling fs layer 11:09:15 3a2ae6a8a46f: Pulling fs layer 11:09:15 33b1e0a273af: Pulling fs layer 11:09:15 5d3b04190fa2: Pulling fs layer 11:09:15 2f39f015ded8: Pulling fs layer 11:09:15 33b1e0a273af: Waiting 11:09:15 5d3b04190fa2: Waiting 11:09:15 2f39f015ded8: Waiting 11:09:15 3a2ae6a8a46f: Waiting 11:09:15 5c69ac0246d0: Download complete 11:09:15 3a2ae6a8a46f: Verifying Checksum 11:09:15 3a2ae6a8a46f: Download complete 11:09:15 33b1e0a273af: Verifying Checksum 11:09:15 33b1e0a273af: Download complete 11:09:15 5d3b04190fa2: Verifying Checksum 11:09:15 5d3b04190fa2: Download complete 11:09:15 ec43610c2a17: Verifying Checksum 11:09:15 ec43610c2a17: Download complete 11:09:15 5eb5b503b376: Verifying Checksum 11:09:15 5eb5b503b376: Download complete 11:09:16 2f39f015ded8: Verifying Checksum 11:09:16 2f39f015ded8: Download complete 11:09:16 5eb5b503b376: Pull complete 11:09:16 5c69ac0246d0: Pull complete 11:09:17 ec43610c2a17: Pull complete 11:09:17 3a2ae6a8a46f: Pull complete 11:09:17 33b1e0a273af: Pull complete 11:09:17 5d3b04190fa2: Pull complete 11:09:21 2f39f015ded8: Pull complete 11:09:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:09:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:09:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:09:22 prd-ubuntu20.04-docker-8c-8g-9615 does not seem to be running inside a container 11:09:22 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:09:25 $ docker top 0b6acc9f2cb5b62ea48d4e1be572203e7ec18c0755bde3008c80f44f15b841cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:09:26 ---> job-cost.sh 11:09:26 lf-activate-venv: SKIPPING 11:09:26 INFO: No Stack... 11:09:26 INFO: Retrieving Pricing Info for: v3-standard-8 11:09:26 INFO: Archiving Costs [Pipeline] sh 11:09:26 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 11:09:26 + cut -d, -f6 [Pipeline] lock 11:09:26 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-40-stack-cost] 11:09:26 Resource [jenkins-edgexfoundry-device-sdk-c-main-40-stack-cost] did not exist. Created. 11:09:26 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:09:27 + echo total: 0.2199999988079071 [Pipeline] stash 11:09:27 Stashed 1 file(s) [Pipeline] } 11:09:27 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-40-stack-cost] [Pipeline] // lock [Pipeline] } 11:09:27 $ docker stop --time=1 0b6acc9f2cb5b62ea48d4e1be572203e7ec18c0755bde3008c80f44f15b841cd 11:09:28 $ docker rm -f --volumes 0b6acc9f2cb5b62ea48d4e1be572203e7ec18c0755bde3008c80f44f15b841cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:10:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9616 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 11:10:14 Running in /w/workspace/device-sdk-c/40 [Pipeline] { [Pipeline] checkout 11:10:14 Selected Git installation does not exist. Using Default 11:10:14 The recommended git tool is: NONE 11:10:23 using credential edgex-jenkins-ssh 11:10:23 Cloning the remote Git repository 11:10:23 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 11:10:23 > git init /w/workspace/device-sdk-c/40 # timeout=10 11:10:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 11:10:23 > git --version # timeout=10 11:10:23 > git --version # 'git version 2.25.1' 11:10:23 using GIT_SSH to set credentials SSH Credentials for GitHub 11:10:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:10:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 11:10:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:10:25 Avoid second fetch 11:10:25 Checking out Revision fdd904db91670bf9b9238bf17ce25b0e9b1934c2 (main) 11:10:26 Commit message: "refactor: abstraction for MessageBus (#447)" 11:10:25 > git config core.sparsecheckout # timeout=10 11:10:25 > git checkout -f fdd904db91670bf9b9238bf17ce25b0e9b1934c2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:10:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:10:27 % Total % Received % Xferd Average Speed Time Time Time Current 11:10:27 Dload Upload Total Spent Left Speed 11:10:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81216 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh 11:10:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:10:28 + sudo tee /etc/docker/daemon.new 11:10:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:10:28 { 11:10:28 "registry-mirrors": [ 11:10:28 "https://nexus3.edgexfoundry.org:10001" 11:10:28 ], 11:10:28 "bip": "10.250.0.254/24", 11:10:28 "hosts": [ 11:10:28 "tcp://0.0.0.0:5555", 11:10:28 "unix:///var/run/docker.sock" 11:10:28 ], 11:10:28 "mtu": 1458, 11:10:28 "selinux-enabled": true, 11:10:28 "seccomp-profile": "/etc/docker/seccomp.json" 11:10:28 } [Pipeline] sh 11:10:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:10:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:10:47 provisioning config files... 11:10:47 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/40@tmp/config18073035192235589332tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:10:48 ---> docker-login.sh 11:10:48 nexus3.edgexfoundry.org:10001 11:10:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:48 Configure a credential helper to remove this warning. See 11:10:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:48 11:10:48 Login Succeeded 11:10:48 nexus3.edgexfoundry.org:10002 11:10:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:49 Configure a credential helper to remove this warning. See 11:10:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:49 11:10:49 Login Succeeded 11:10:49 nexus3.edgexfoundry.org:10003 11:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:49 Configure a credential helper to remove this warning. See 11:10:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:49 11:10:49 Login Succeeded 11:10:49 nexus3.edgexfoundry.org:10004 11:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:49 Configure a credential helper to remove this warning. See 11:10:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:49 11:10:49 Login Succeeded 11:10:49 docker.io 11:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:50 Configure a credential helper to remove this warning. See 11:10:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:50 11:10:50 Login Succeeded 11:10:50 ---> docker-login.sh ends [Pipeline] } 11:10:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:10:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:10:50 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 11:10:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:10:50 ========================================================= 11:10:50 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 11:10:50 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:50 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 11:10:51 Sending build context to Docker daemon 2.845MB 11:10:51 Step 1/21 : ARG BASE=alpine:3.16 11:10:51 Step 2/21 : FROM ${BASE} as builder 11:10:51 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 11:10:51 9b18e9b68314: Pulling fs layer 11:10:51 1def92ead452: Pulling fs layer 11:10:51 9b18e9b68314: Verifying Checksum 11:10:51 9b18e9b68314: Download complete 11:10:52 9b18e9b68314: Pull complete 11:10:53 1def92ead452: Verifying Checksum 11:10:53 1def92ead452: Download complete 11:11:01 1def92ead452: Pull complete 11:11:01 Digest: sha256:3c74c28e8b16bff0b36cfc53656b3ae71c0a9fddc9bd5376ab4c3f9356b3cc6c 11:11:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 11:11:01 ---> 9a9802766715 11:11:01 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 11:11:02 ---> Running in bb653030a468 11:11:03 Connecting to iotech.jfrog.io (63.32.141.158:443) 11:11:03 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:11:03 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 11:11:03 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:11:04 Removing intermediate container bb653030a468 11:11:04 ---> fe0f1418f755 11:11:04 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 11:11:04 ---> Running in 85b71a7b66f7 11:11:06 Removing intermediate container 85b71a7b66f7 11:11:06 ---> 49f7bb47ccf4 11:11:06 Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 11:11:06 ---> Running in f5b14e91eb61 11:11:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:11:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:11:07 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 11:11:08 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:11:08 (1/14) Installing hiredis (1.0.2-r0) 11:11:08 (2/14) Installing hiredis-dev (1.0.2-r0) 11:11:08 (3/14) Installing iotech-iot-1.5 (1.5.0-r0) 11:11:09 (4/14) Installing iotech-iot-1.5-dev (1.5.0-r0) 11:11:09 (5/14) Installing libcbor (0.9.0-r1) 11:11:09 (6/14) Installing libcbor-dev (0.9.0-r1) 11:11:09 (7/14) Installing ncurses-dev (6.3_p20220521-r0) 11:11:09 (8/14) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 11:11:10 (9/14) Installing libblkid (2.38-r1) 11:11:10 (10/14) Installing libuuid (2.38-r1) 11:11:10 (11/14) Installing libfdisk (2.38-r1) 11:11:10 (12/14) Installing libmount (2.38-r1) 11:11:10 (13/14) Installing libsmartcols (2.38-r1) 11:11:10 (14/14) Installing util-linux-dev (2.38-r1) 11:11:10 Executing busybox-1.35.0-r17.trigger 11:11:10 OK: 286 MiB in 90 packages 11:11:13 Removing intermediate container f5b14e91eb61 11:11:13 ---> be282568eb95 11:11:13 Step 6/21 : RUN mkdir /tmp/sdk 11:11:13 ---> Running in 90962c9fe8fa 11:11:14 Removing intermediate container 90962c9fe8fa 11:11:14 ---> 9cb4cbb6bcd7 11:11:14 Step 7/21 : COPY VERSION /tmp/sdk 11:11:14 ---> 049b1d16f88b 11:11:14 Step 8/21 : COPY src /tmp/sdk/src 11:11:15 ---> d701acc1aec5 11:11:15 Step 9/21 : COPY include /tmp/sdk/include 11:11:16 ---> b7dd11966e93 11:11:16 Step 10/21 : COPY scripts /tmp/sdk/scripts 11:11:16 ---> 118029d83787 11:11:16 Step 11/21 : COPY LICENSE /tmp/sdk 11:11:16 ---> f693ff948e35 11:11:16 Step 12/21 : COPY Attribution.txt /tmp/sdk 11:11:17 ---> 5cef8ba65159 11:11:17 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 11:11:17 ---> Running in 8fcf25971944 11:11:18 + CPPCHECK=false 11:11:18 + DOCGEN=false 11:11:18 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 11:11:18 + TOMLVER=SDK-0.2 11:11:18 + CUTILVER=1.4 11:11:18 + '[' 0 -gt 0 ] 11:11:18 + readlink -f ./scripts/build.sh 11:11:18 + dirname /tmp/sdk/scripts/build.sh 11:11:18 + dirname /tmp/sdk/scripts 11:11:18 + ROOT=/tmp/sdk 11:11:18 + cd /tmp/sdk 11:11:18 + '[' '!' -d deps ] 11:11:18 + mkdir deps 11:11:18 + + wgettar -O -C - deps https://github.com/IOTechSystems/tomlc99/archive/SDK-0.2.tar.gz -z 11:11:18 -x -f - 11:11:18 Connecting to github.com (140.82.114.4:443) 11:11:18 Connecting to codeload.github.com (140.82.113.10:443) 11:11:18 writing to stdout 11:11:18 - 100% |********************************| 16451 0:00:00 ETA 11:11:18 written to stdout 11:11:18 + cp deps/tomlc99-SDK-0.2/toml.c deps/tomlc99-SDK-0.2/toml.h src/c 11:11:18 + mkdir -p /tmp/sdk/build/release 11:11:18 + cd /tmp/sdk/build/release 11:11:18 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 11:11:18 -- The C compiler identification is GNU 11.2.1 11:11:18 -- Detecting C compiler ABI info 11:11:19 -- Detecting C compiler ABI info - done 11:11:19 -- Check for working C compiler: /usr/bin/cc - skipped 11:11:19 -- Detecting C compile features 11:11:19 -- Detecting C compile features - done 11:11:19 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:11:19 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 11:11:19 -- Found LIBYAML: /usr/lib/libyaml.so 11:11:19 -- Found LIBUUID: /usr/lib/libuuid.so 11:11:19 -- Found LIBCBOR: /usr/lib/libcbor.so 11:11:19 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:11:19 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 11:11:19 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 11:11:19 -- /opt/iotech/iot/1.5/include 11:11:19 -- C SDK 2.3.1-dev.5 for Linux 11:11:19 -- Performing Test CSDK_HAVE_ATOMIC 11:11:20 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:11:20 -- Found Curses: /usr/lib/libcurses.so 11:11:20 -- Configuring done 11:11:20 -- Generating done 11:11:20 -- Build files have been written to: /tmp/sdk/build/release 11:11:20 + make all package 11:11:20 + tee release.log 11:11:20 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:11:21 [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 11:11:22 [ 6%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 11:11:23 [ 8%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 11:11:24 [ 10%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 11:11:25 [ 12%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:11:28 [ 14%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:11:29 [ 16%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:11:29 [ 18%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:11:31 [ 20%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:11:33 [ 22%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:11:34 [ 24%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:11:35 [ 26%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:11:36 [ 28%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:11:36 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:11:37 [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:11:41 [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:11:41 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:11:42 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:11:43 [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:11:50 [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:11:50 [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:11:50 [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:11:51 [ 48%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:11:53 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:11:55 [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 11:11:56 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 11:11:57 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 11:11:58 [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:12:01 [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:12:06 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:12:07 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 11:12:07 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:12:08 [ 68%] Linking C shared library libcsdk.so 11:12:08 [ 68%] Built target csdk 11:12:08 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:12:09 [ 72%] Linking C executable template 11:12:09 [ 72%] Built target template 11:12:10 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:12:10 [ 76%] Linking C executable device-counter 11:12:11 [ 76%] Built target device-counter 11:12:11 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:12:12 [ 80%] Linking C executable device-random 11:12:12 [ 80%] Built target device-random 11:12:12 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:12:12 [ 84%] Linking C executable device-gyro 11:12:12 [ 84%] Built target device-gyro 11:12:13 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:12:13 [ 88%] Linking C executable device-bitfields 11:12:13 [ 88%] Built target device-bitfields 11:12:13 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:12:14 [ 92%] Linking C executable template-discovery 11:12:15 [ 92%] Built target template-discovery 11:12:15 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:12:16 [ 96%] Linking C executable device-file 11:12:16 [ 96%] Built target device-file 11:12:16 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:12:17 [100%] Linking C executable device-terminal 11:12:18 [100%] Built target device-terminal 11:12:18 Run CPack packaging tool... 11:12:18 CPack: Create package using TGZ 11:12:18 CPack: Install projects 11:12:18 CPack: - Run preinstall target for: Csdk 11:12:19 CPack: - Install project: Csdk [] 11:12:19 CPack: Create package 11:12:19 CPack: - package: /tmp/sdk/build/release/csdk-2.3.1-dev.5.tar.gz generated. 11:12:19 + '[' false '=' true ] 11:12:19 + '[' false '=' true ] 11:12:19 + mkdir -p /tmp/sdk/build/debug 11:12:19 + cd /tmp/sdk/build/debug 11:12:19 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 11:12:19 -- The C compiler identification is GNU 11.2.1 11:12:19 -- Detecting C compiler ABI info 11:12:19 -- Detecting C compiler ABI info - done 11:12:19 -- Check for working C compiler: /usr/bin/cc - skipped 11:12:19 -- Detecting C compile features 11:12:19 -- Detecting C compile features - done 11:12:19 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 11:12:20 -- Found CURL: /usr/lib/libcurl.so (found version "7.83.1") 11:12:20 -- Found LIBYAML: /usr/lib/libyaml.so 11:12:20 -- Found LIBUUID: /usr/lib/libuuid.so 11:12:20 -- Found LIBCBOR: /usr/lib/libcbor.so 11:12:20 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 11:12:20 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 11:12:20 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 11:12:20 -- /opt/iotech/iot/1.5/include 11:12:20 -- C SDK 2.3.1-dev.5 for Linux 11:12:20 -- Performing Test CSDK_HAVE_ATOMIC 11:12:20 -- Performing Test CSDK_HAVE_ATOMIC - Success 11:12:20 -- Found Curses: /usr/lib/libcurses.so 11:12:20 -- Configuring done 11:12:21 -- Generating done 11:12:21 -- Build files have been written to: /tmp/sdk/build/debug 11:12:21 + make 11:12:21 + tee debug.log 11:12:21 [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 11:12:21 [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 11:12:22 [ 6%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 11:12:22 [ 8%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 11:12:23 [ 10%] Building C object c/CMakeFiles/csdk.dir/callback2.c.o 11:12:23 [ 12%] Building C object c/CMakeFiles/csdk.dir/config.c.o 11:12:24 [ 14%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 11:12:24 [ 16%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 11:12:25 [ 18%] Building C object c/CMakeFiles/csdk.dir/data.c.o 11:12:25 [ 20%] Building C object c/CMakeFiles/csdk.dir/device.c.o 11:12:26 [ 22%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 11:12:26 [ 24%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 11:12:27 [ 26%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 11:12:27 [ 28%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 11:12:28 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 11:12:28 [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 11:12:29 [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 11:12:29 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 11:12:30 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 11:12:31 [ 40%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 11:12:32 [ 42%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 11:12:32 [ 44%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 11:12:33 [ 46%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 11:12:33 [ 48%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 11:12:34 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 11:12:36 [ 52%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 11:12:36 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 11:12:37 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 11:12:37 [ 58%] Building C object c/CMakeFiles/csdk.dir/service.c.o 11:12:38 [ 60%] Building C object c/CMakeFiles/csdk.dir/toml.c.o 11:12:39 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 11:12:39 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 11:12:40 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 11:12:40 [ 68%] Linking C shared library libcsdk.so 11:12:40 [ 68%] Built target csdk 11:12:40 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 11:12:41 [ 72%] Linking C executable template 11:12:41 [ 72%] Built target template 11:12:41 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 11:12:42 [ 76%] Linking C executable device-counter 11:12:42 [ 76%] Built target device-counter 11:12:42 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 11:12:42 [ 80%] Linking C executable device-random 11:12:43 [ 80%] Built target device-random 11:12:43 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 11:12:43 [ 84%] Linking C executable device-gyro 11:12:44 [ 84%] Built target device-gyro 11:12:44 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 11:12:44 [ 88%] Linking C executable device-bitfields 11:12:44 [ 88%] Built target device-bitfields 11:12:44 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 11:12:45 [ 92%] Linking C executable template-discovery 11:12:45 [ 92%] Built target template-discovery 11:12:45 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 11:12:46 [ 96%] Linking C executable device-file 11:12:46 [ 96%] Built target device-file 11:12:46 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 11:12:47 [100%] Linking C executable device-terminal 11:12:47 [100%] Built target device-terminal 11:12:47 make: Entering directory '/tmp/sdk/build/release' 11:12:47 make[1]: Entering directory '/tmp/sdk/build/release' 11:12:47 make[2]: Entering directory '/tmp/sdk/build/release' 11:12:47 make[2]: Leaving directory '/tmp/sdk/build/release' 11:12:47 [ 68%] Built target csdk 11:12:47 make[2]: Entering directory '/tmp/sdk/build/release' 11:12:47 make[2]: Leaving directory '/tmp/sdk/build/release' 11:12:47 [ 72%] Built target template 11:12:47 make[2]: Entering directory '/tmp/sdk/build/release' 11:12:47 make[2]: Leaving directory '/tmp/sdk/build/release' 11:12:47 [ 76%] Built target device-counter 11:12:47 make[2]: Entering directory '/tmp/sdk/build/release' 11:12:47 make[2]: Leaving directory '/tmp/sdk/build/release' 11:12:47 [ 80%] Built target device-random 11:12:47 make[2]: Entering directory '/tmp/sdk/build/release' 11:12:47 make[2]: Leaving directory '/tmp/sdk/build/release' 11:12:47 [ 84%] Built target device-gyro 11:12:47 make[2]: Entering directory '/tmp/sdk/build/release' 11:12:47 make[2]: Leaving directory '/tmp/sdk/build/release' 11:12:47 [ 88%] Built target device-bitfields 11:12:47 make[2]: Entering directory '/tmp/sdk/build/release' 11:12:47 make[2]: Leaving directory '/tmp/sdk/build/release' 11:12:47 [ 92%] Built target template-discovery 11:12:47 make[2]: Entering directory '/tmp/sdk/build/release' 11:12:47 make[2]: Leaving directory '/tmp/sdk/build/release' 11:12:47 [ 96%] Built target device-file 11:12:47 make[2]: Entering directory '/tmp/sdk/build/release' 11:12:47 make[2]: Leaving directory '/tmp/sdk/build/release' 11:12:47 [100%] Built target device-terminal 11:12:47 make[1]: Leaving directory '/tmp/sdk/build/release' 11:12:47 Install the project... 11:12:47 -- Install configuration: "Release" 11:12:47 -- Installing: /usr/local/lib/libcsdk.so 11:12:47 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 11:12:47 -- Installing: /usr/local/include 11:12:47 -- Installing: /usr/local/include/devsdk 11:12:47 -- Installing: /usr/local/include/devsdk/devsdk.h 11:12:47 -- Installing: /usr/local/include/devsdk/devsdk-base.h 11:12:47 -- Installing: /usr/local/include/edgex 11:12:47 -- Installing: /usr/local/include/edgex/rest-server.h 11:12:47 -- Installing: /usr/local/include/edgex/edgex.h 11:12:47 -- Installing: /usr/local/include/edgex/edgex-base.h 11:12:47 -- Installing: /usr/local/include/edgex/devices.h 11:12:47 -- Installing: /usr/local/include/edgex/profiles.h 11:12:47 -- Installing: /usr/local/include/edgex/csdk-defs.h 11:12:47 -- Installing: /usr/local/share/device-sdk-c/LICENSE 11:12:47 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 11:12:48 make: Leaving directory '/tmp/sdk/build/release' 11:12:49 Removing intermediate container 8fcf25971944 11:12:49 ---> 78a14bc2b474 11:12:49 Step 14/21 : FROM ${BASE} 11:12:49 ---> 9a9802766715 11:12:49 Step 15/21 : LABEL maintainer="IOTech " 11:12:49 ---> Running in 5db91522d0f3 11:12:49 Removing intermediate container 5db91522d0f3 11:12:49 ---> af13db41c2e3 11:12:49 Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 11:12:49 ---> Running in cea0dff47093 11:12:50 Connecting to iotech.jfrog.io (54.170.201.254:443) 11:12:51 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:12:51 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 11:12:51 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:12:52 Removing intermediate container cea0dff47093 11:12:52 ---> 94c01bf976d4 11:12:52 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 11:12:52 ---> Running in be8c0b5ae044 11:12:53 Removing intermediate container be8c0b5ae044 11:12:53 ---> 0c18bd9214eb 11:12:53 Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev 11:12:53 ---> Running in 147e724e4b78 11:12:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:12:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:12:55 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 11:12:55 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:12:55 (1/7) Installing curl (7.83.1-r6) 11:12:55 (2/7) Installing hiredis (1.0.2-r0) 11:12:55 (3/7) Installing hiredis-dev (1.0.2-r0) 11:12:55 (4/7) Installing iotech-iot-1.4 (1.4.1-r0) 11:12:56 (5/7) Installing libcbor (0.9.0-r1) 11:12:56 (6/7) Installing libuuid (2.38-r1) 11:12:56 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 11:12:57 Executing busybox-1.35.0-r17.trigger 11:12:57 OK: 281 MiB in 83 packages 11:12:58 Removing intermediate container 147e724e4b78 11:12:58 ---> e6ad8d95c42b 11:12:58 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 11:12:59 ---> bba0abef658e 11:12:59 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 11:12:59 ---> 0e30fb9463fd 11:12:59 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 11:13:00 ---> cdfce1f58f67 11:13:00 Successfully built cdfce1f58f67 11:13:00 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 11:13:00 + docker inspect -f . ci-base-image-arm64 11:13:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:13:00 prd-ubuntu20.04-docker-arm64-4c-16g-9616 does not seem to be running inside a container 11:13:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/40 -v /w/workspace/device-sdk-c/40:/w/workspace/device-sdk-c/40:rw,z -v /w/workspace/device-sdk-c/40@tmp:/w/workspace/device-sdk-c/40@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 ******** ci-base-image-arm64 cat 11:13:02 $ docker top 3c62184528ff92f8b699159e9b7aaef7bba8e5c8bd9fe7af92c8c8a65abecec7 -eo pid,comm [Pipeline] { [Pipeline] sh 11:13:02 + make test 11:13:02 echo "make test" 11:13:02 make test [Pipeline] } 11:13:02 $ docker stop --time=1 3c62184528ff92f8b699159e9b7aaef7bba8e5c8bd9fe7af92c8c8a65abecec7 11:13:04 $ docker rm -f --volumes 3c62184528ff92f8b699159e9b7aaef7bba8e5c8bd9fe7af92c8c8a65abecec7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:13:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:13:05 + ls -al . 11:13:05 total 200 11:13:05 drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 11:10 . 11:13:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 11:10 .. 11:13:05 drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 11:10 .git 11:13:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 11:10 .github 11:13:05 -rw-rw-r-- 1 jenkins jenkins 176 Mar 10 11:10 .gitignore 11:13:05 -rw-rw-r-- 1 jenkins jenkins 3104 Mar 10 11:10 Attribution.txt 11:13:05 -rw-rw-r-- 1 jenkins jenkins 8743 Mar 10 11:10 CHANGES 11:13:05 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 10 11:10 Doxyfile 11:13:05 -rw-rw-r-- 1 jenkins jenkins 677 Mar 10 11:10 GOVERNANCE.md 11:13:05 -rw-rw-r-- 1 jenkins jenkins 784 Mar 10 11:10 Jenkinsfile 11:13:05 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 10 11:10 LICENSE 11:13:05 -rw-rw-r-- 1 jenkins jenkins 444 Mar 10 11:10 Makefile 11:13:05 -rw-rw-r-- 1 jenkins jenkins 618 Mar 10 11:10 OWNERS.md 11:13:05 -rw-rw-r-- 1 jenkins jenkins 4086 Mar 10 11:10 README.md 11:13:05 -rw-rw-r-- 1 jenkins jenkins 1245 Mar 10 11:10 README.v3.md 11:13:05 -rw-rw-r-- 1 jenkins jenkins 11 Mar 10 11:08 VERSION 11:13:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 11:10 docs 11:13:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 11:10 include 11:13:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 11:10 scripts 11:13:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 11:10 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:05 + 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=fdd904db91670bf9b9238bf17ce25b0e9b1934c2 --label arch=arm64 --label version=2.3.1-dev.5 . 11:13:06 Sending build context to Docker daemon 2.845MB 11:13:06 Step 1/17 : ARG BASE=alpine:3.16 11:13:06 Step 2/17 : FROM ${BASE} 11:13:06 ---> cdfce1f58f67 11:13:06 Step 3/17 : LABEL maintainer="IOTech " 11:13:06 ---> Running in cc77d4ebe9ed 11:13:06 Removing intermediate container cc77d4ebe9ed 11:13:06 ---> fc8b6b480571 11:13:06 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 11:13:06 ---> Running in 20338f71c401 11:13:07 Connecting to iotech.jfrog.io (34.246.79.98:443) 11:13:08 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 11:13:08 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 11:13:08 '/etc/apk/keys/alpine.dev.rsa.pub' saved 11:13:08 Removing intermediate container 20338f71c401 11:13:08 ---> acbf270ca1ed 11:13:08 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 11:13:08 ---> Running in 88ef76af24ef 11:13:10 Removing intermediate container 88ef76af24ef 11:13:10 ---> 4ef8a51f0e55 11:13:10 Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build 11:13:10 ---> Running in d93ad4c3c7b6 11:13:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:13:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:13:12 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 11:13:12 WARNING: This apk-tools is OLD! Some packages might not function properly. 11:13:12 (1/9) Installing iotech-iot-1.5 (1.5.0-r0) 11:13:13 (2/9) Installing iotech-iot-1.5-dev (1.5.0-r0) 11:13:13 (3/9) Installing libcbor-dev (0.9.0-r1) 11:13:13 (4/9) Installing ncurses-dev (6.3_p20220521-r0) 11:13:13 (5/9) Installing libblkid (2.38-r1) 11:13:13 (6/9) Installing libfdisk (2.38-r1) 11:13:13 (7/9) Installing libmount (2.38-r1) 11:13:13 (8/9) Installing libsmartcols (2.38-r1) 11:13:13 (9/9) Installing util-linux-dev (2.38-r1) 11:13:13 Executing busybox-1.35.0-r17.trigger 11:13:13 OK: 287 MiB in 92 packages 11:13:14 Removing intermediate container d93ad4c3c7b6 11:13:14 ---> 8310cebb61f3 11:13:14 Step 7/17 : COPY VERSION /edgex-c-sdk/ 11:13:15 ---> 852100fddf0b 11:13:15 Step 8/17 : COPY src /edgex-c-sdk/src/ 11:13:16 ---> e8b17a32da8b 11:13:16 Step 9/17 : COPY include /edgex-c-sdk/include/ 11:13:16 ---> 4abe61fe9ec7 11:13:16 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 11:13:17 ---> b5cc3ea13ea0 11:13:17 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 11:13:17 ---> 59c4563e982a 11:13:17 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 11:13:17 ---> d4b44b72f977 11:13:17 Step 13/17 : WORKDIR /edgex-c-sdk 11:13:17 ---> Running in c2dcab62f93a 11:13:18 Removing intermediate container c2dcab62f93a 11:13:18 ---> d45a027ba4d4 11:13:18 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 11:13:18 ---> Running in a0b8d0512dcf 11:13:18 Removing intermediate container a0b8d0512dcf 11:13:18 ---> 75640da0da41 11:13:18 Step 15/17 : LABEL arch=arm64 11:13:18 ---> Running in d42d9a490469 11:13:19 Removing intermediate container d42d9a490469 11:13:19 ---> 35d241303187 11:13:19 Step 16/17 : LABEL git_sha=fdd904db91670bf9b9238bf17ce25b0e9b1934c2 11:13:19 ---> Running in cbac7ee876e2 11:13:19 Removing intermediate container cbac7ee876e2 11:13:19 ---> a3a8103d9782 11:13:19 Step 17/17 : LABEL version=2.3.1-dev.5 11:13:19 ---> Running in f4b821f62280 11:13:19 Removing intermediate container f4b821f62280 11:13:19 ---> 4d8f1b6fa8c4 11:13:19 [Warning] One or more build-args [ARCH MAKE] were not consumed 11:13:19 Successfully built 4d8f1b6fa8c4 11:13:19 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 11:13:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:20 11:13:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:20 arm64: Pulling from edgex-lftools-log-publisher 11:13:20 8998bd30e6a1: Pulling fs layer 11:13:20 04944245beec: Pulling fs layer 11:13:20 699f458cf7ca: Pulling fs layer 11:13:20 765212b225bb: Pulling fs layer 11:13:20 f23df028b6ca: Pulling fs layer 11:13:20 d65c8cfc05b1: Pulling fs layer 11:13:20 2437ff75d9bd: Pulling fs layer 11:13:20 2437ff75d9bd: Waiting 11:13:20 f23df028b6ca: Waiting 11:13:20 d65c8cfc05b1: Waiting 11:13:20 765212b225bb: Waiting 11:13:20 04944245beec: Verifying Checksum 11:13:20 04944245beec: Download complete 11:13:20 765212b225bb: Verifying Checksum 11:13:20 765212b225bb: Download complete 11:13:20 f23df028b6ca: Verifying Checksum 11:13:20 f23df028b6ca: Download complete 11:13:20 d65c8cfc05b1: Verifying Checksum 11:13:20 d65c8cfc05b1: Download complete 11:13:21 699f458cf7ca: Verifying Checksum 11:13:21 699f458cf7ca: Download complete 11:13:21 8998bd30e6a1: Verifying Checksum 11:13:21 8998bd30e6a1: Download complete 11:13:24 2437ff75d9bd: Verifying Checksum 11:13:24 2437ff75d9bd: Download complete 11:13:25 8998bd30e6a1: Pull complete 11:13:26 04944245beec: Pull complete 11:13:27 699f458cf7ca: Pull complete 11:13:27 765212b225bb: Pull complete 11:13:28 f23df028b6ca: Pull complete 11:13:28 d65c8cfc05b1: Pull complete 11:13:43 2437ff75d9bd: Pull complete 11:13:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:13:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:13:43 prd-ubuntu20.04-docker-arm64-4c-16g-9616 does not seem to be running inside a container 11:13:43 $ 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/40 -v /w/workspace/device-sdk-c/40:/w/workspace/device-sdk-c/40:rw,z -v /w/workspace/device-sdk-c/40@tmp:/w/workspace/device-sdk-c/40@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:13:46 $ docker top 478afd1475f6996dd3acf90f2d15b2ffa1d72e80144d933dba35ef93f2693224 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:13:46 ---> job-cost.sh 11:13:46 lf-activate-venv: SKIPPING 11:13:46 INFO: No Stack... 11:13:47 INFO: Retrieving Pricing Info for: v3-standard-4 11:13:48 INFO: Archiving Costs [Pipeline] sh 11:13:48 + cut -d, -f6 11:13:48 + cat /w/workspace/device-sdk-c/40/archives/cost.csv [Pipeline] lock 11:13:48 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-40-stack-cost] 11:13:48 Resource [jenkins-edgexfoundry-device-sdk-c-main-40-stack-cost] did not exist. Created. 11:13:48 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:13:49 /w/workspace/device-sdk-c/40@tmp/durable-a9b5f787/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:13:49 + echo total: 0.10999999940395355 [Pipeline] stash 11:13:49 Warning: overwriting stash ‘stack-cost’ 11:13:50 Stashed 1 file(s) [Pipeline] } 11:13:50 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-40-stack-cost] [Pipeline] // lock [Pipeline] } 11:13:50 $ docker stop --time=1 478afd1475f6996dd3acf90f2d15b2ffa1d72e80144d933dba35ef93f2693224 11:13:51 $ docker rm -f --volumes 478afd1475f6996dd3acf90f2d15b2ffa1d72e80144d933dba35ef93f2693224 [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 11:13:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:13:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:13:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:13:52 prd-ubuntu20.04-docker-8c-8g-9615 does not seem to be running inside a container 11:13:52 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:13:53 $ docker top 0b8167bb2a3798716a1655a89d13f98f3358b1d349c8a127eca37b45c9243a51 -eo pid,comm 11:13:53 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:13:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:13:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:13:53 [ssh-agent] Looking for ssh-agent implementation... 11:13:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:13:53 $ docker exec 0b8167bb2a3798716a1655a89d13f98f3358b1d349c8a127eca37b45c9243a51 ssh-agent 11:13:53 SSH_AUTH_SOCK=/tmp/ssh-XPYxBzkjID2e/agent.32 11:13:53 SSH_AGENT_PID=38 11:13:53 Running ssh-add (command line suppressed) 11:13:53 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13510147868392256518.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13510147868392256518.key) 11:13:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:13:53 + git semver tag 11:13:54 2023-03-10 11:13:54,002 [run_tag] DEBUG tag force:False 11:13:54 2023-03-10 11:13:54,002 [check_head_tag] DEBUG check head tag 11:13:54 2023-03-10 11:13:54,003 [execute] INFO git cat-file --batch-check 11:13:54 2023-03-10 11:13:54,003 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 11:13:54 2023-03-10 11:13:54,008 [execute] INFO git cat-file --batch 11:13:54 2023-03-10 11:13:54,008 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 11:13:54 2023-03-10 11:13:54,023 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 11:13:54 2023-03-10 11:13:54,023 [execute] INFO git tag -a v2.3.1-dev.5 -m v2.3.1-dev.5 11:13:54 2023-03-10 11:13:54,023 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.1-dev.5', '-m', 'v2.3.1-dev.5'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 11:13:54 2023-03-10 11:13:54,030 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 11:13:54 2.3.1-dev.5 [Pipeline] } 11:13:54 $ docker exec --env ******** --env ******** 0b8167bb2a3798716a1655a89d13f98f3358b1d349c8a127eca37b45c9243a51 ssh-agent -k 11:13:54 unset SSH_AUTH_SOCK; 11:13:54 unset SSH_AGENT_PID; 11:13:54 echo Agent pid 38 killed; 11:13:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:13:54 + git semver [Pipeline] } 11:13:54 $ docker stop --time=1 0b8167bb2a3798716a1655a89d13f98f3358b1d349c8a127eca37b45c9243a51 11:13:56 $ docker rm -f --volumes 0b8167bb2a3798716a1655a89d13f98f3358b1d349c8a127eca37b45c9243a51 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:13:56 11:13:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:13:56 0.23.1-centos7: Pulling from edgex-lftools 11:13:56 ab5ef0e58194: Pulling fs layer 11:13:56 9712f1f96733: Pulling fs layer 11:13:56 63f879dbbcfc: Pulling fs layer 11:13:56 0d9ebad4ef96: Pulling fs layer 11:13:56 e9a5061849ea: Pulling fs layer 11:13:56 d747dcd14b5f: Pulling fs layer 11:13:56 2de7ff778b66: Pulling fs layer 11:13:56 0d9ebad4ef96: Waiting 11:13:56 d747dcd14b5f: Waiting 11:13:56 2de7ff778b66: Waiting 11:13:56 e9a5061849ea: Waiting 11:13:56 9712f1f96733: Verifying Checksum 11:13:56 9712f1f96733: Download complete 11:13:57 63f879dbbcfc: Verifying Checksum 11:13:57 63f879dbbcfc: Download complete 11:13:57 e9a5061849ea: Verifying Checksum 11:13:57 e9a5061849ea: Download complete 11:13:57 d747dcd14b5f: Verifying Checksum 11:13:57 d747dcd14b5f: Download complete 11:13:57 ab5ef0e58194: Verifying Checksum 11:13:57 ab5ef0e58194: Download complete 11:13:58 0d9ebad4ef96: Verifying Checksum 11:13:58 0d9ebad4ef96: Download complete 11:13:58 2de7ff778b66: Verifying Checksum 11:13:58 2de7ff778b66: Download complete 11:14:00 ab5ef0e58194: Pull complete 11:14:00 9712f1f96733: Pull complete 11:14:01 63f879dbbcfc: Pull complete 11:14:05 0d9ebad4ef96: Pull complete 11:14:05 e9a5061849ea: Pull complete 11:14:05 d747dcd14b5f: Pull complete 11:14:06 2de7ff778b66: Pull complete 11:14:06 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:14:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:14:06 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:14:06 prd-ubuntu20.04-docker-8c-8g-9615 does not seem to be running inside a container 11:14: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 11:14:11 $ docker top 41d3ad82e40548829075c67b3ed0b21b786bae746a0b78d2ce1b1a955ab9c805 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:14:11 provisioning config files... 11:14:11 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config11894025046804878261tmp 11:14:11 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config16218362016105503040tmp 11:14:11 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5711254703177029518tmp [Pipeline] { [Pipeline] echo 11:14:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:14:11 ---> sigul-configuration.sh 11:14:11 gpg: directory `/root/.gnupg' created 11:14:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:14:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:14:11 gpg: keyring `/root/.gnupg/secring.gpg' created 11:14:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:14:11 gpg: CAST5 encrypted data 11:14:11 gpg: encrypted with 1 passphrase 11:14:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:14:11 + mkdir /home/jenkins 11:14:11 + mkdir /home/jenkins/sigul [Pipeline] sh 11:14:12 + 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 11:14:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:14:12 ---> sigul-install.sh 11:14:12 Sigul already installed; skipping installation. [Pipeline] sh 11:14:12 + git tag --list 11:14:12 0.7.0 11:14:12 0.7.1 11:14:12 1.0.0 11:14:12 v1.0.1 11:14:12 v1.0.2 11:14:12 v1.0.3 11:14:12 v1.1.0 11:14:12 v1.1.1 11:14:12 v1.2.0 11:14:12 v1.2.1 11:14:12 v1.2.2 11:14:12 v1.3.0 11:14:12 v1.3.1 11:14:12 v2.0.0 11:14:12 v2.1.0 11:14:12 v2.2.0 11:14:12 v2.2.0-dev.1 11:14:12 v2.2.0-dev.10 11:14:12 v2.2.0-dev.11 11:14:12 v2.2.0-dev.12 11:14:12 v2.2.0-dev.13 11:14:12 v2.2.0-dev.2 11:14:12 v2.2.0-dev.3 11:14:12 v2.2.0-dev.4 11:14:12 v2.2.0-dev.5 11:14:12 v2.2.0-dev.6 11:14:12 v2.2.0-dev.7 11:14:12 v2.2.0-dev.8 11:14:12 v2.2.0-dev.9 11:14:12 v2.2.1-dev.1 11:14:12 v2.2.1-dev.2 11:14:12 v2.2.1-dev.3 11:14:12 v2.3.0 11:14:12 v2.3.1-dev.1 11:14:12 v2.3.1-dev.2 11:14:12 v2.3.1-dev.3 11:14:12 v2.3.1-dev.4 11:14:12 v2.3.1-dev.5 [Pipeline] sh 11:14:12 + lftools sign git-tag v2.3.1-dev.5 11:14:13 Signing Git tag with Sigul... 11:14:13 Signing v2.3.1-dev.5 [Pipeline] echo 11:14:13 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:14:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:14:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:14:14 $ docker stop --time=1 41d3ad82e40548829075c67b3ed0b21b786bae746a0b78d2ce1b1a955ab9c805 11:14:15 $ docker rm -f --volumes 41d3ad82e40548829075c67b3ed0b21b786bae746a0b78d2ce1b1a955ab9c805 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:14:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:14:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:14:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:14:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:14:16 prd-ubuntu20.04-docker-8c-8g-9615 does not seem to be running inside a container 11:14:16 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:14:16 $ docker top b3c3ee51ee7c8a6f571bd3c92f71b3ca79c9f194f55e0236f4c203e1f2572308 -eo pid,comm 11:14:16 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:14:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:14:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:14:16 [ssh-agent] Looking for ssh-agent implementation... 11:14:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:14:16 $ docker exec b3c3ee51ee7c8a6f571bd3c92f71b3ca79c9f194f55e0236f4c203e1f2572308 ssh-agent 11:14:16 SSH_AUTH_SOCK=/tmp/ssh-tqHcXrK9NrP8/agent.32 11:14:16 SSH_AGENT_PID=38 11:14:16 Running ssh-add (command line suppressed) 11:14:16 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4886622642181497291.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4886622642181497291.key) 11:14:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:14:17 + git semver bump pre 11:14:17 2023-03-10 11:14:17,390 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 11:14:17 2023-03-10 11:14:17,390 [bump_version] DEBUG bumping version:2.3.1-dev.5 on axis:pre with prefix:dev 11:14:17 2023-03-10 11:14:17,390 [bump_version] DEBUG bumped version:2.3.1-dev.6 11:14:17 2023-03-10 11:14:17,390 [write_version] DEBUG write version:2.3.1-dev.6 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 11:14:17 2023-03-10 11:14:17,390 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 11:14:17 2023-03-10 11:14:17,390 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 11:14:17 2023-03-10 11:14:17,392 [execute] INFO git cat-file --batch-check 11:14:17 2023-03-10 11:14:17,392 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 11:14:17 2023-03-10 11:14:17,397 [execute] INFO git cat-file --batch 11:14:17 2023-03-10 11:14:17,397 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 11:14:17 2023-03-10 11:14:17,401 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 11:14:17 2.3.1-dev.6 [Pipeline] } 11:14:17 $ docker exec --env ******** --env ******** b3c3ee51ee7c8a6f571bd3c92f71b3ca79c9f194f55e0236f4c203e1f2572308 ssh-agent -k 11:14:17 unset SSH_AUTH_SOCK; 11:14:17 unset SSH_AGENT_PID; 11:14:17 echo Agent pid 38 killed; 11:14:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:14:17 + git semver [Pipeline] } 11:14:18 $ docker stop --time=1 b3c3ee51ee7c8a6f571bd3c92f71b3ca79c9f194f55e0236f4c203e1f2572308 11:14:19 $ docker rm -f --volumes b3c3ee51ee7c8a6f571bd3c92f71b3ca79c9f194f55e0236f4c203e1f2572308 [Pipeline] // withDockerContainer [Pipeline] sh 11:14:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:14:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:14:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:14:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:14:20 prd-ubuntu20.04-docker-8c-8g-9615 does not seem to be running inside a container 11:14:20 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:14:20 $ docker top e33cee558bc917f063b11906a0cf87f0e19f9c5da7b37261e73967e751f72e9c -eo pid,comm 11:14:20 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:14:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:14:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:14:20 [ssh-agent] Looking for ssh-agent implementation... 11:14:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:14:20 $ docker exec e33cee558bc917f063b11906a0cf87f0e19f9c5da7b37261e73967e751f72e9c ssh-agent 11:14:20 SSH_AUTH_SOCK=/tmp/ssh-EZozBNfc6ySd/agent.33 11:14:20 SSH_AGENT_PID=39 11:14:20 Running ssh-add (command line suppressed) 11:14:20 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15083797832717413660.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15083797832717413660.key) 11:14:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:14:21 + git semver push 11:14:21 2023-03-10 11:14:21,461 [run_push] DEBUG push 11:14:21 2023-03-10 11:14:21,462 [execute] INFO git cat-file --batch-check 11:14:21 2023-03-10 11:14:21,462 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 11:14:21 2023-03-10 11:14:21,467 [execute] INFO git rev-list a798f25ef0593db5e2a0043ac8c98bb5c63c5f83 -- 11:14:21 2023-03-10 11:14:21,467 [execute] DEBUG Popen(['git', 'rev-list', 'a798f25ef0593db5e2a0043ac8c98bb5c63c5f83', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 11:14:21 2023-03-10 11:14:21,475 [execute] INFO git fetch -v origin 11:14:21 2023-03-10 11:14:21,476 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 11:14:22 2023-03-10 11:14:22,012 [run_push] DEBUG no remote changes detected 11:14:22 2023-03-10 11:14:22,013 [execute] INFO git push origin semver 11:14:22 2023-03-10 11:14:22,013 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 11:14:23 2023-03-10 11:14:22,789 [run_push] DEBUG push all version tags 11:14:23 2023-03-10 11:14:22,789 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 11:14:23 2023-03-10 11:14:22,790 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 11:14:23 2023-03-10 11:14:23,496 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 11:14:23 2.3.1-dev.6 [Pipeline] } 11:14:23 $ docker exec --env ******** --env ******** e33cee558bc917f063b11906a0cf87f0e19f9c5da7b37261e73967e751f72e9c ssh-agent -k 11:14:23 unset SSH_AUTH_SOCK; 11:14:23 unset SSH_AGENT_PID; 11:14:23 echo Agent pid 39 killed; 11:14:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:14:24 + git semver [Pipeline] } 11:14:24 $ docker stop --time=1 e33cee558bc917f063b11906a0cf87f0e19f9c5da7b37261e73967e751f72e9c 11:14:25 $ docker rm -f --volumes e33cee558bc917f063b11906a0cf87f0e19f9c5da7b37261e73967e751f72e9c [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 11:14:26 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 11:14:26 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 11:14:26 total 16 11:14:26 drwxr-xr-x 3 root root 4096 Mar 10 11:09 . 11:14:26 drwxrwxr-x 10 jenkins jenkins 4096 Mar 10 11:14 .. 11:14:26 drwxr-xr-x 2 root root 4096 Mar 10 11:09 cost 11:14:26 -rw-r--r-- 1 root root 83 Mar 10 11:09 cost.csv 11:14:26 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 11:14:26 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 11:14:26 total 16 11:14:26 drwxr-xr-x 3 jenkins jenkins 4096 Mar 10 11:09 . 11:14:26 drwxrwxr-x 10 jenkins jenkins 4096 Mar 10 11:14 .. 11:14:26 drwxr-xr-x 2 jenkins jenkins 4096 Mar 10 11:09 cost 11:14:26 -rw-r--r-- 1 jenkins jenkins 83 Mar 10 11:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:14:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:14:27 ---> package-listing.sh 11:14:27 ++ facter osfamily 11:14:27 ++ tr '[:upper:]' '[:lower:]' 11:14:27 + OS_FAMILY=debian 11:14:27 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 11:14:27 + START_PACKAGES=/tmp/packages_start.txt 11:14:27 + END_PACKAGES=/tmp/packages_end.txt 11:14:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:14:27 + PACKAGES=/tmp/packages_start.txt 11:14:27 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 11:14:27 + PACKAGES=/tmp/packages_end.txt 11:14:27 + case "${OS_FAMILY}" in 11:14:27 + dpkg -l 11:14:27 + grep '^ii' 11:14:27 + '[' -f /tmp/packages_start.txt ']' 11:14:27 + '[' -f /tmp/packages_end.txt ']' 11:14:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:14:27 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 11:14:27 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 11:14:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 11:14:27 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 11:14:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:14:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:14:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:14:28 prd-ubuntu20.04-docker-8c-8g-9615 does not seem to be running inside a container 11:14:28 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:14:28 $ docker top 30cbf7d35c18273c5a27ac691e5ea07c1bfde386cabb240942c1989c35cb10e7 -eo pid,comm [Pipeline] { [Pipeline] sh 11:14:28 + touch /tmp/pre-build-complete [Pipeline] sh 11:14:29 + mkdir -p /var/log/sysstat [Pipeline] sh 11:14:29 + ls /var/log/sa-host 11:14:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:14:29 provisioning config files... 11:14:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config9428522861172288783tmp [Pipeline] { [Pipeline] echo 11:14:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:14:29 ---> create-netrc.sh [Pipeline] } 11:14:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:14:30 ---> python-tools-install.sh [Pipeline] echo 11:14:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:14:30 ---> sudo-logs.sh 11:14:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:14:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:14:30 ---> job-cost.sh 11:14:30 lf-activate-venv: SKIPPING 11:14:30 DEBUG: total: 0.2199999988079071 11:14:30 INFO: Retrieving Stack Cost... 11:14:31 INFO: Retrieving Pricing Info for: v3-standard-8 11:14:31 INFO: Archiving Costs [Pipeline] echo 11:14:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:14:31 ---> logs-deploy.sh 11:14:31 lf-activate-venv: SKIPPING 11:14:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/40 11:14:31 INFO: archiving workspace using pattern(s): 11:14:32 Archives upload complete. 11:14:32 INFO: archiving logs to Nexus 11:14:33 ---> uname -a: 11:14:33 Linux prd-ubuntu20-04-docker-8c-8g-9615 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 11:14:33 11:14:33 11:14:33 ---> lscpu: 11:14:33 Architecture: x86_64 11:14:33 CPU op-mode(s): 32-bit, 64-bit 11:14:33 Byte Order: Little Endian 11:14:33 Address sizes: 40 bits physical, 48 bits virtual 11:14:33 CPU(s): 8 11:14:33 On-line CPU(s) list: 0-7 11:14:33 Thread(s) per core: 1 11:14:33 Core(s) per socket: 1 11:14:33 Socket(s): 8 11:14:33 NUMA node(s): 1 11:14:33 Vendor ID: AuthenticAMD 11:14:33 CPU family: 23 11:14:33 Model: 49 11:14:33 Model name: AMD EPYC-Rome Processor 11:14:33 Stepping: 0 11:14:33 CPU MHz: 2799.998 11:14:33 BogoMIPS: 5599.99 11:14:33 Virtualization: AMD-V 11:14:33 Hypervisor vendor: KVM 11:14:33 Virtualization type: full 11:14:33 L1d cache: 256 KiB 11:14:33 L1i cache: 256 KiB 11:14:33 L2 cache: 4 MiB 11:14:33 L3 cache: 128 MiB 11:14:33 NUMA node0 CPU(s): 0-7 11:14:33 Vulnerability Itlb multihit: Not affected 11:14:33 Vulnerability L1tf: Not affected 11:14:33 Vulnerability Mds: Not affected 11:14:33 Vulnerability Meltdown: Not affected 11:14:33 Vulnerability Mmio stale data: Not affected 11:14:33 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 11:14:33 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 11:14:33 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 11:14:33 Vulnerability Srbds: Not affected 11:14:33 Vulnerability Tsx async abort: Not affected 11:14:33 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 11:14:33 11:14:33 11:14:33 ---> nproc: 11:14:33 8 11:14:33 11:14:33 11:14:33 ---> df -h: 11:14:33 Filesystem Size Used Avail Use% Mounted on 11:14:33 overlay 155G 11G 145G 7% / 11:14:33 tmpfs 64M 0 64M 0% /dev 11:14:33 tmpfs 16G 0 16G 0% /sys/fs/cgroup 11:14:33 shm 64M 0 64M 0% /dev/shm 11:14:33 /dev/vda1 155G 11G 145G 7% /facter-os 11:14:33 11:14:33 11:14:33 ---> sar -b -r -n DEV: 11:14:33 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9615) 03/10/23 _x86_64_ (8 CPU) 11:14:33 11:14:33 11:07:11 LINUX RESTART (8 CPU) 11:14:33 11:14:33 11:08:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 11:14:33 11:09:01 93.53 0.66 92.87 0.00 48.39 14669.87 0.00 11:14:33 11:10:01 129.28 0.23 129.05 0.00 15.46 21351.91 0.00 11:14:33 11:11:01 2.00 0.00 2.00 0.00 0.00 2036.74 0.00 11:14:33 11:12:01 1.97 0.00 1.97 0.00 0.00 2169.51 0.00 11:14:33 11:13:01 52.76 10.58 42.18 0.00 5154.87 10885.25 0.00 11:14:33 11:14:01 17.98 0.02 17.96 0.00 0.13 2597.30 0.00 11:14:33 Average: 49.46 1.92 47.55 0.00 872.08 8936.00 0.00 11:14:33 11:14:33 11:08:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 11:14:33 11:09:01 29582708 31556436 771172 2.35 67792 2196544 2254396 6.64 1075640 1892724 444 11:14:33 11:10:01 29083876 31569152 732656 2.23 89756 2654384 1737004 5.12 1074020 2333540 168 11:14:33 11:11:01 29082792 31568184 733456 2.23 89836 2654388 1737004 5.12 1075416 2333548 168 11:14:33 11:12:01 29091120 31576480 725128 2.21 89896 2654388 1737004 5.12 1067684 2333552 12 11:14:33 11:13:01 28561196 31552808 732892 2.23 123416 3109844 1795332 5.29 1391080 2503260 1060 11:14:33 11:14:01 28077496 31507756 776756 2.36 128996 3517404 2056736 6.06 1445508 2907032 416412 11:14:33 Average: 28913198 31555136 745343 2.27 98282 2797825 1886246 5.56 1188225 2383943 69711 11:14:33 11:14:33 11:08:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 11:14:33 11:09:01 vethc51394f 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 11:14:33 11:09:01 ens3 133.55 83.34 1892.30 29.04 0.00 0.00 0.00 0.00 11:14:33 11:09:01 docker0 9.00 11.95 0.74 108.30 0.00 0.00 0.00 0.00 11:14:33 11:09:01 lo 2.44 2.44 0.24 0.24 0.00 0.00 0.00 0.00 11:14:33 11:10:01 ens3 152.12 124.23 2667.59 132.44 0.00 0.00 0.00 0.00 11:14:33 11:10:01 docker0 8.47 13.98 0.57 123.27 0.00 0.00 0.00 0.00 11:14:33 11:10:01 lo 1.27 1.27 0.12 0.12 0.00 0.00 0.00 0.00 11:14:33 11:11:01 ens3 5.47 3.45 9.94 0.42 0.00 0.00 0.00 0.00 11:14:33 11:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:14:33 11:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:14:33 11:12:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 11:14:33 11:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:14:33 11:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 11:14:33 11:13:01 ens3 163.91 89.77 2802.27 6.40 0.00 0.00 0.00 0.00 11:14:33 11:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 11:14:33 11:13:01 lo 0.67 0.67 0.06 0.06 0.00 0.00 0.00 0.00 11:14:33 11:14:01 ens3 115.70 91.93 3186.71 13.13 0.00 0.00 0.00 0.00 11:14:33 11:14:01 docker0 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 11:14:33 11:14:01 lo 1.07 1.07 0.10 0.10 0.00 0.00 0.00 0.00 11:14:33 Average: ens3 95.04 65.42 1759.44 30.24 0.00 0.00 0.00 0.00 11:14:33 Average: docker0 2.89 4.31 0.22 38.40 0.00 0.00 0.00 0.00 11:14:33 Average: lo 0.94 0.94 0.09 0.09 0.00 0.00 0.00 0.00 11:14:33 11:14:33 11:14:33 ---> sar -P ALL: 11:14:33 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-9615) 03/10/23 _x86_64_ (8 CPU) 11:14:33 11:14:33 11:07:11 LINUX RESTART (8 CPU) 11:14:33 11:14:33 11:08:02 CPU %user %nice %system %iowait %steal %idle 11:14:33 11:09:01 all 5.37 0.00 1.92 7.26 0.16 85.29 11:14:33 11:09:01 0 5.01 0.00 1.77 2.55 0.20 90.46 11:14:33 11:09:01 1 8.57 0.00 2.17 7.72 0.39 81.16 11:14:33 11:09:01 2 7.94 0.00 1.96 3.09 0.05 86.96 11:14:33 11:09:01 3 3.73 0.00 1.52 1.37 0.10 93.28 11:14:33 11:09:01 4 3.45 0.00 2.05 35.47 0.12 58.92 11:14:33 11:09:01 5 4.05 0.00 2.00 6.27 0.12 87.56 11:14:33 11:09:01 6 5.22 0.00 1.86 0.80 0.09 92.04 11:14:33 11:09:01 7 4.97 0.00 2.05 0.80 0.17 92.01 11:14:33 11:10:01 all 3.68 0.00 1.78 1.30 0.10 93.14 11:14:33 11:10:01 0 2.90 0.00 2.30 3.23 0.07 91.50 11:14:33 11:10:01 1 3.76 0.00 1.72 0.07 0.10 94.36 11:14:33 11:10:01 2 3.61 0.00 1.88 5.19 0.10 89.22 11:14:33 11:10:01 3 3.44 0.00 1.34 0.05 0.08 95.09 11:14:33 11:10:01 4 4.50 0.00 1.71 0.08 0.07 93.64 11:14:33 11:10:01 5 3.78 0.00 1.76 0.65 0.17 93.64 11:14:33 11:10:01 6 3.07 0.00 1.85 0.71 0.08 94.29 11:14:33 11:10:01 7 4.39 0.00 1.70 0.45 0.10 93.36 11:14:33 11:11:01 all 0.03 0.00 0.01 0.01 0.00 99.95 11:14:33 11:11:01 0 0.00 0.00 0.00 0.00 0.00 100.00 11:14:33 11:11:01 1 0.02 0.00 0.00 0.05 0.00 99.93 11:14:33 11:11:01 2 0.03 0.00 0.05 0.02 0.02 99.88 11:14:33 11:11:01 3 0.03 0.00 0.02 0.00 0.00 99.95 11:14:33 11:11:01 4 0.02 0.00 0.00 0.00 0.00 99.98 11:14:33 11:11:01 5 0.02 0.00 0.02 0.00 0.00 99.97 11:14:33 11:11:01 6 0.02 0.00 0.00 0.00 0.00 99.98 11:14:33 11:11:01 7 0.07 0.00 0.03 0.00 0.02 99.88 11:14:33 11:12:01 all 0.03 0.00 0.01 0.00 0.00 99.96 11:14:33 11:12:01 0 0.02 0.00 0.00 0.00 0.00 99.98 11:14:33 11:12:01 1 0.02 0.00 0.00 0.02 0.00 99.97 11:14:33 11:12:01 2 0.05 0.00 0.02 0.00 0.00 99.93 11:14:33 11:12:01 3 0.02 0.00 0.00 0.00 0.00 99.98 11:14:33 11:12:01 4 0.00 0.00 0.00 0.00 0.02 99.98 11:14:33 11:12:01 5 0.03 0.00 0.02 0.00 0.00 99.95 11:14:33 11:12:01 6 0.00 0.00 0.02 0.00 0.00 99.98 11:14:33 11:12:01 7 0.08 0.00 0.02 0.02 0.00 99.88 11:14:33 11:13:01 all 2.29 0.00 1.36 1.54 0.03 94.77 11:14:33 11:13:01 0 2.97 0.00 2.00 2.56 0.03 92.43 11:14:33 11:13:01 1 1.86 0.00 0.97 6.16 0.05 90.97 11:14:33 11:13:01 2 1.90 0.00 1.10 0.08 0.03 96.88 11:14:33 11:13:01 3 2.52 0.00 1.57 1.67 0.03 94.21 11:14:33 11:13:01 4 2.07 0.00 1.40 0.90 0.02 95.60 11:14:33 11:13:01 5 2.65 0.00 1.92 0.15 0.02 95.27 11:14:33 11:13:01 6 2.71 0.00 0.80 0.08 0.03 96.38 11:14:33 11:13:01 7 1.66 0.00 1.14 0.77 0.03 96.40 11:14:33 11:14:01 all 2.22 0.00 0.88 0.06 0.03 96.81 11:14:33 11:14:01 0 2.50 0.00 1.14 0.07 0.03 96.26 11:14:33 11:14:01 1 1.49 0.00 0.82 0.23 0.02 97.44 11:14:33 11:14:01 2 2.17 0.00 0.67 0.00 0.10 97.07 11:14:33 11:14:01 3 2.17 0.00 0.90 0.03 0.02 96.88 11:14:33 11:14:01 4 2.09 0.00 0.77 0.02 0.00 97.13 11:14:33 11:14:01 5 4.07 0.00 0.74 0.05 0.03 95.10 11:14:33 11:14:01 6 1.45 0.00 1.04 0.02 0.02 97.47 11:14:33 11:14:01 7 1.83 0.00 0.95 0.03 0.03 97.15 11:14:33 Average: all 2.26 0.00 0.99 1.68 0.05 95.02 11:14:33 Average: 0 2.22 0.00 1.20 1.40 0.06 95.13 11:14:33 Average: 1 2.60 0.00 0.94 2.36 0.09 94.01 11:14:33 Average: 2 2.60 0.00 0.94 1.39 0.05 95.03 11:14:33 Average: 3 1.98 0.00 0.89 0.52 0.04 96.58 11:14:33 Average: 4 2.01 0.00 0.98 5.97 0.04 90.99 11:14:33 Average: 5 2.43 0.00 1.07 1.16 0.06 95.28 11:14:33 Average: 6 2.07 0.00 0.92 0.27 0.04 96.71 11:14:33 Average: 7 2.15 0.00 0.98 0.34 0.06 96.47 11:14:33 11:14:33 11:14:33