Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d 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-ssh4453305460810599193.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16905220688037800642.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > 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-ssh9254543909343161570.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh11041330704481021859.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-ssh17799666878223094001.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-1259 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 e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d (main) > 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 e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d # timeout=10 Commit message: "Merge pull request #467 from FelixTing/issue-466" > git rev-list --no-walk 5083ed3070027848acd6eb0750509a0a7c8e5467 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:44:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:44:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:44:22 ========================================================= 10:44:22 EdgeX Global Pipelines Version Info 10:44:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:44:23 ------------------- 10:44:23 stable info: 10:44:23 ------------------- 10:44:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:44:23 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 10:44:23 Message: update stable to v1.0.250 10:44:23 ------------------- 10:44:23 experimental info: 10:44:23 ------------------- 10:44:23 Commited By: **** collab-it+edgex@linuxfoundation.org 10:44:23 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 10:44:23 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:44:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 10:44:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 10:44:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:44:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:44:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:44:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 10:44:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 10:44:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:44:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:44:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 10:44:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:44:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:44:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:44:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:44:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:44:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:44:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:44:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:44:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:44:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:44:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d [Pipeline] echo 10:44:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e31ab6e [Pipeline] echo 10:44:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:44:24 provisioning config files... 10:44:24 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config17114544198830797231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:44:24 ---> docker-login.sh 10:44:24 nexus3.edgexfoundry.org:10001 10:44:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:25 Configure a credential helper to remove this warning. See 10:44:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:25 10:44:25 Login Succeeded 10:44:25 nexus3.edgexfoundry.org:10002 10:44:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:25 Configure a credential helper to remove this warning. See 10:44:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:25 10:44:25 Login Succeeded 10:44:25 nexus3.edgexfoundry.org:10003 10:44:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:25 Configure a credential helper to remove this warning. See 10:44:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:25 10:44:25 Login Succeeded 10:44:25 nexus3.edgexfoundry.org:10004 10:44:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:25 Configure a credential helper to remove this warning. See 10:44:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:25 10:44:25 Login Succeeded 10:44:25 docker.io 10:44:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:25 Configure a credential helper to remove this warning. See 10:44:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:25 10:44:25 Login Succeeded 10:44:25 ---> docker-login.sh ends [Pipeline] } 10:44:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 10:44:26 + git rev-list -1 --merges e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d~1..e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d [Pipeline] echo 10:44:26 -----------> git rev-list -1 --merges e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d~1..e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d 10:44:26 e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d [false] [Pipeline] sh 10:44:26 + git log --format=format:%s -1 e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d [Pipeline] echo 10:44:26 ========================================================= 10:44:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:44:26 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:44:26 + git rev-list -1 --merges e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d~1..e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d [Pipeline] echo 10:44:26 -----------> git rev-list -1 --merges e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d~1..e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d 10:44:26 e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d [false] [Pipeline] sh 10:44:27 + git log --format=format:%s -1 e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d [Pipeline] echo 10:44:27 ========================================================= 10:44:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:44:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 10:44:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:44:27 + grep -v github /etc/ssh/ssh_known_hosts 10:44:27 + [ -e /tmp/ssh_known_hosts ] 10:44:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:44:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:44:27 + sudo tee -a /etc/ssh/ssh_known_hosts 10:44:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:44:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:44:28 10:44:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:44:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:44:28 0.1.4: Pulling from edgex-devops/py-git-semver 10:44:28 b85a868b505f: Pulling fs layer 10:44:28 e2be974225ed: Pulling fs layer 10:44:28 339a4e72a1f5: Pulling fs layer 10:44:28 988bab9f4d93: Pulling fs layer 10:44:28 1469e6f7b9e6: Pulling fs layer 10:44:28 eaf3925da568: Pulling fs layer 10:44:28 bab4dde63d76: Pulling fs layer 10:44:28 bde34c3a00c8: Pulling fs layer 10:44:28 b352a97aabf1: Pulling fs layer 10:44:28 4872d77fe225: Pulling fs layer 10:44:28 5851b861e8e6: Pulling fs layer 10:44:28 988bab9f4d93: Waiting 10:44:28 bde34c3a00c8: Waiting 10:44:28 b352a97aabf1: Waiting 10:44:28 4872d77fe225: Waiting 10:44:28 bab4dde63d76: Waiting 10:44:28 eaf3925da568: Waiting 10:44:28 5851b861e8e6: Waiting 10:44:28 1469e6f7b9e6: Waiting 10:44:28 e2be974225ed: Download complete 10:44:28 988bab9f4d93: Download complete 10:44:28 1469e6f7b9e6: Verifying Checksum 10:44:28 1469e6f7b9e6: Download complete 10:44:28 eaf3925da568: Verifying Checksum 10:44:28 eaf3925da568: Download complete 10:44:28 339a4e72a1f5: Verifying Checksum 10:44:28 339a4e72a1f5: Download complete 10:44:28 bde34c3a00c8: Download complete 10:44:28 b352a97aabf1: Download complete 10:44:28 4872d77fe225: Verifying Checksum 10:44:28 4872d77fe225: Download complete 10:44:28 5851b861e8e6: Verifying Checksum 10:44:28 5851b861e8e6: Download complete 10:44:28 b85a868b505f: Verifying Checksum 10:44:28 b85a868b505f: Download complete 10:44:28 bab4dde63d76: Verifying Checksum 10:44:28 bab4dde63d76: Download complete 10:44:29 b85a868b505f: Pull complete 10:44:30 e2be974225ed: Pull complete 10:44:30 339a4e72a1f5: Pull complete 10:44:30 988bab9f4d93: Pull complete 10:44:30 1469e6f7b9e6: Pull complete 10:44:30 eaf3925da568: Pull complete 10:44:32 bab4dde63d76: Pull complete 10:44:32 bde34c3a00c8: Pull complete 10:44:32 b352a97aabf1: Pull complete 10:44:32 4872d77fe225: Pull complete 10:44:33 5851b861e8e6: Pull complete 10:44:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:44:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:44:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:44:33 prd-ubuntu20.04-docker-8c-8g-1259 does not seem to be running inside a container 10:44:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:44:35 $ docker top 7e7a71010496a73c078018b19a09bbcc3820e1861876610df1fe4a9e7adc88b3 -eo pid,comm 10:44:35 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:44:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:44:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:44:35 [ssh-agent] Looking for ssh-agent implementation... 10:44:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:44:35 $ docker exec 7e7a71010496a73c078018b19a09bbcc3820e1861876610df1fe4a9e7adc88b3 ssh-agent 10:44:36 SSH_AUTH_SOCK=/tmp/ssh-fHJxFQxGKf71/agent.33 10:44:36 SSH_AGENT_PID=39 10:44:36 Running ssh-add (command line suppressed) 10:44:36 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7341553064061130782.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_7341553064061130782.key) 10:44:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:44:36 + git tag --points-at HEAD [Pipeline] } 10:44:36 $ docker exec --env ******** --env ******** 7e7a71010496a73c078018b19a09bbcc3820e1861876610df1fe4a9e7adc88b3 ssh-agent -k 10:44:36 unset SSH_AUTH_SOCK; 10:44:36 unset SSH_AGENT_PID; 10:44:36 echo Agent pid 39 killed; 10:44:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:44:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:44:36 [ssh-agent] Looking for ssh-agent implementation... 10:44:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:44:36 $ docker exec 7e7a71010496a73c078018b19a09bbcc3820e1861876610df1fe4a9e7adc88b3 ssh-agent 10:44:36 SSH_AUTH_SOCK=/tmp/ssh-OmkWIKzJ8zOp/agent.71 10:44:36 SSH_AGENT_PID=77 10:44:36 Running ssh-add (command line suppressed) 10:44:36 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2920235296824682894.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2920235296824682894.key) 10:44:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:44:37 + git semver init 10:44:37 2023-07-16 10:44:37,388 [run_init] DEBUG init version:0.0.0 force:False 10:44:37 2023-07-16 10:44:37,389 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 10:44:37 2023-07-16 10:44:37,389 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 10:44:37 2023-07-16 10:44:37,390 [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) 10:44:38 2023-07-16 10:44:38,317 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 10:44:38 2023-07-16 10:44:38,318 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 10:44:38 2023-07-16 10:44:38,318 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:44:38 2023-07-16 10:44:38,318 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:44:38 3.1.0-dev.3 [Pipeline] } 10:44:38 $ docker exec --env ******** --env ******** 7e7a71010496a73c078018b19a09bbcc3820e1861876610df1fe4a9e7adc88b3 ssh-agent -k 10:44:38 unset SSH_AUTH_SOCK; 10:44:38 unset SSH_AGENT_PID; 10:44:38 echo Agent pid 77 killed; 10:44:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:44:38 + git semver [Pipeline] } 10:44:39 $ docker stop --time=1 7e7a71010496a73c078018b19a09bbcc3820e1861876610df1fe4a9e7adc88b3 10:44:40 $ docker rm -f --volumes 7e7a71010496a73c078018b19a09bbcc3820e1861876610df1fe4a9e7adc88b3 [Pipeline] // withDockerContainer [Pipeline] sh 10:44:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:44:40 Stashed 1 file(s) [Pipeline] echo 10:44:40 [edgeXSemver]: initialized semver on version 3.1.0-dev.3 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:44:41 provisioning config files... 10:44:41 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5394063223582793159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:44:41 ---> docker-login.sh 10:44:41 nexus3.edgexfoundry.org:10001 10:44:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:41 Configure a credential helper to remove this warning. See 10:44:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:41 10:44:41 Login Succeeded 10:44:41 nexus3.edgexfoundry.org:10002 10:44:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:41 Configure a credential helper to remove this warning. See 10:44:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:41 10:44:41 Login Succeeded 10:44:41 nexus3.edgexfoundry.org:10003 10:44:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:41 Configure a credential helper to remove this warning. See 10:44:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:41 10:44:41 Login Succeeded 10:44:41 nexus3.edgexfoundry.org:10004 10:44:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:41 Configure a credential helper to remove this warning. See 10:44:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:41 10:44:41 Login Succeeded 10:44:41 docker.io 10:44:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:44:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:44:41 Configure a credential helper to remove this warning. See 10:44:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:44:41 10:44:41 Login Succeeded 10:44:41 ---> docker-login.sh ends [Pipeline] } 10:44:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:44:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:44:42 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 10:44:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:44:42 ========================================================= 10:44:42 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 10:44:42 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:44:42 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 10:44:42 Sending build context to Docker daemon 4.815MB 10:44:42 Step 1/21 : ARG BASE=alpine:3.16 10:44:42 Step 2/21 : FROM ${BASE} as builder 10:44:42 latest: Pulling from edgex-devops/edgex-gcc-base 10:44:42 91d30c5bc195: Pulling fs layer 10:44:42 316e5a4585fb: Pulling fs layer 10:44:42 91d30c5bc195: Verifying Checksum 10:44:42 91d30c5bc195: Download complete 10:44:42 91d30c5bc195: Pull complete 10:44:43 316e5a4585fb: Verifying Checksum 10:44:43 316e5a4585fb: Download complete 10:44:45 316e5a4585fb: Pull complete 10:44:45 Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 10:44:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 10:44:45 ---> e83ffa357ff4 10:44:45 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:44:47 ---> Running in d345a5e3b473 10:44:47 Connecting to iotech.jfrog.io (52.17.224.14:443) 10:44:47 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:44:47 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:44:47 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:44:48 Removing intermediate container d345a5e3b473 10:44:48 ---> 4ffb2fc65b99 10:44:48 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:44:48 ---> Running in 27838a1bd224 10:44:48 Removing intermediate container 27838a1bd224 10:44:48 ---> 109f00611436 10:44:48 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 10:44:48 ---> Running in 143aac588a2b 10:44:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:44:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:44:49 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 10:44:50 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:44:50 (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 10:44:50 (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 10:44:50 (3/16) Installing hiredis (1.0.2-r0) 10:44:50 (4/16) Installing hiredis-dev (1.0.2-r0) 10:44:50 (5/16) Installing iotech-iot-1.5 (1.5.0-r0) 10:44:51 (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) 10:44:51 (7/16) Installing libcbor (0.9.0-r1) 10:44:51 (8/16) Installing libcbor-dev (0.9.0-r1) 10:44:51 (9/16) Installing ncurses-dev (6.3_p20220521-r1) 10:44:51 (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 10:44:51 (11/16) Installing libblkid (2.38-r1) 10:44:51 (12/16) Installing libuuid (2.38-r1) 10:44:51 (13/16) Installing libfdisk (2.38-r1) 10:44:51 (14/16) Installing libmount (2.38-r1) 10:44:51 (15/16) Installing libsmartcols (2.38-r1) 10:44:51 (16/16) Installing util-linux-dev (2.38-r1) 10:44:51 Executing busybox-1.35.0-r17.trigger 10:44:51 OK: 280 MiB in 90 packages 10:44:52 Removing intermediate container 143aac588a2b 10:44:52 ---> f1898074c4e6 10:44:52 Step 6/21 : RUN mkdir /tmp/sdk 10:44:52 ---> Running in f236bee352e5 10:44:53 Removing intermediate container f236bee352e5 10:44:53 ---> d5dba8b2adcb 10:44:53 Step 7/21 : COPY VERSION /tmp/sdk 10:44:53 ---> 18774597d25c 10:44:53 Step 8/21 : COPY src /tmp/sdk/src 10:44:53 ---> 4daa9d0f8846 10:44:53 Step 9/21 : COPY include /tmp/sdk/include 10:44:53 ---> 302376f7fe91 10:44:53 Step 10/21 : COPY scripts /tmp/sdk/scripts 10:44:53 ---> 22fa2315018e 10:44:53 Step 11/21 : COPY LICENSE /tmp/sdk 10:44:54 ---> e61a204d0aaa 10:44:54 Step 12/21 : COPY Attribution.txt /tmp/sdk 10:44:54 ---> 762433af1fec 10:44:54 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 10:44:54 ---> Running in 5c3909d7f5da 10:44:54 + CPPCHECK=false 10:44:54 + DOCGEN=false 10:44:54 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 10:44:54 + '[' 0 -gt 0 ] 10:44:54 + readlink -f ./scripts/build.sh 10:44:54 + dirname /tmp/sdk/scripts/build.sh 10:44:54 + dirname /tmp/sdk/scripts 10:44:54 + ROOT=/tmp/sdk 10:44:54 + cd /tmp/sdk 10:44:54 + mkdir -p /tmp/sdk/build/release 10:44:54 + cd /tmp/sdk/build/release 10:44:54 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 10:44:54 -- The C compiler identification is GNU 11.2.1 10:44:54 -- Detecting C compiler ABI info 10:44:54 -- Detecting C compiler ABI info - done 10:44:54 -- Check for working C compiler: /usr/bin/cc - skipped 10:44:54 -- Detecting C compile features 10:44:54 -- Detecting C compile features - done 10:44:54 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:44:54 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 10:44:54 -- Found LIBYAML: /usr/lib/libyaml.so 10:44:54 -- Found LIBUUID: /usr/lib/libuuid.so 10:44:54 -- Found LIBCBOR: /usr/lib/libcbor.so 10:44:54 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:44:54 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:44:54 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 10:44:54 -- /opt/iotech/iot/1.5/include 10:44:54 -- C SDK 3.1.0-dev.3 for Linux 10:44:54 -- Performing Test CSDK_HAVE_ATOMIC 10:44:54 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:44:54 -- Found Curses: /usr/lib/libcurses.so 10:44:54 -- Configuring done 10:44:54 -- Generating done 10:44:54 -- Build files have been written to: /tmp/sdk/build/release 10:44:54 + make all package 10:44:54 + tee release.log 10:44:54 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:44:55 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 10:44:55 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 10:44:55 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 10:44:55 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 10:44:55 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:44:55 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:44:56 Still waiting to schedule task 10:44:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:44:56 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:44:56 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:44:56 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:44:56 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:44:56 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:44:56 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:44:57 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:44:57 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 10:44:57 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:44:57 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:44:57 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:44:58 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:44:58 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:44:58 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:44:59 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:44:59 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:44:59 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:44:59 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 10:44:59 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:44:59 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:45:00 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:45:00 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:45:00 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:45:00 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:45:01 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:45:01 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:45:01 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:45:01 [ 68%] Linking C shared library libcsdk.so 10:45:01 [ 68%] Built target csdk 10:45:01 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:45:01 [ 72%] Linking C executable template 10:45:01 [ 72%] Built target template 10:45:01 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:45:01 [ 76%] Linking C executable device-counter 10:45:01 [ 76%] Built target device-counter 10:45:01 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:45:01 [ 80%] Linking C executable device-random 10:45:01 [ 80%] Built target device-random 10:45:01 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:45:02 [ 84%] Linking C executable device-gyro 10:45:02 [ 84%] Built target device-gyro 10:45:02 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:45:02 [ 88%] Linking C executable device-bitfields 10:45:02 [ 88%] Built target device-bitfields 10:45:02 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:45:02 [ 92%] Linking C executable template-discovery 10:45:02 [ 92%] Built target template-discovery 10:45:02 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:45:02 [ 96%] Linking C executable device-file 10:45:02 [ 96%] Built target device-file 10:45:02 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:45:02 [100%] Linking C executable device-terminal 10:45:02 [100%] Built target device-terminal 10:45:02 Run CPack packaging tool... 10:45:02 CPack: Create package using TGZ 10:45:02 CPack: Install projects 10:45:02 CPack: - Run preinstall target for: Csdk 10:45:03 CPack: - Install project: Csdk [] 10:45:03 CPack: Create package 10:45:03 CPack: - package: /tmp/sdk/build/release/csdk-3.1.0-dev.3.tar.gz generated. 10:45:03 + '[' false '=' true ] 10:45:03 + '[' false '=' true ] 10:45:03 + mkdir -p /tmp/sdk/build/debug 10:45:03 + cd /tmp/sdk/build/debug 10:45:03 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 10:45:03 -- The C compiler identification is GNU 11.2.1 10:45:03 -- Detecting C compiler ABI info 10:45:03 -- Detecting C compiler ABI info - done 10:45:03 -- Check for working C compiler: /usr/bin/cc - skipped 10:45:03 -- Detecting C compile features 10:45:03 -- Detecting C compile features - done 10:45:03 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:45:03 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 10:45:03 -- Found LIBYAML: /usr/lib/libyaml.so 10:45:03 -- Found LIBUUID: /usr/lib/libuuid.so 10:45:03 -- Found LIBCBOR: /usr/lib/libcbor.so 10:45:03 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:45:03 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:45:03 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 10:45:03 -- /opt/iotech/iot/1.5/include 10:45:03 -- C SDK 3.1.0-dev.3 for Linux 10:45:03 -- Performing Test CSDK_HAVE_ATOMIC 10:45:03 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:45:03 -- Found Curses: /usr/lib/libcurses.so 10:45:03 -- Configuring done 10:45:03 -- Generating done 10:45:03 -- Build files have been written to: /tmp/sdk/build/debug 10:45:03 + make 10:45:03 + tee debug.log 10:45:03 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:45:03 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 10:45:03 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 10:45:03 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 10:45:03 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 10:45:04 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:45:04 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:45:04 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:45:04 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:45:04 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:45:04 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:45:04 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:45:04 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:45:05 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:45:05 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 10:45:05 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:45:05 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:45:05 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:45:05 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:45:05 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:45:05 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:45:05 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:45:05 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:45:05 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:45:06 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 10:45:06 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:45:06 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:45:06 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:45:06 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:45:06 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:45:06 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:45:06 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:45:06 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:45:06 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:45:07 [ 68%] Linking C shared library libcsdk.so 10:45:07 [ 68%] Built target csdk 10:45:07 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:45:07 [ 72%] Linking C executable template 10:45:07 [ 72%] Built target template 10:45:07 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:45:07 [ 76%] Linking C executable device-counter 10:45:07 [ 76%] Built target device-counter 10:45:07 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:45:07 [ 80%] Linking C executable device-random 10:45:07 [ 80%] Built target device-random 10:45:07 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:45:07 [ 84%] Linking C executable device-gyro 10:45:07 [ 84%] Built target device-gyro 10:45:07 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:45:07 [ 88%] Linking C executable device-bitfields 10:45:07 [ 88%] Built target device-bitfields 10:45:07 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:45:07 [ 92%] Linking C executable template-discovery 10:45:07 [ 92%] Built target template-discovery 10:45:07 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:45:08 [ 96%] Linking C executable device-file 10:45:08 [ 96%] Built target device-file 10:45:08 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:45:08 [100%] Linking C executable device-terminal 10:45:08 [100%] Built target device-terminal 10:45:08 make: Entering directory '/tmp/sdk/build/release' 10:45:08 make[1]: Entering directory '/tmp/sdk/build/release' 10:45:08 make[2]: Entering directory '/tmp/sdk/build/release' 10:45:08 make[2]: Leaving directory '/tmp/sdk/build/release' 10:45:08 [ 68%] Built target csdk 10:45:08 make[2]: Entering directory '/tmp/sdk/build/release' 10:45:08 make[2]: Leaving directory '/tmp/sdk/build/release' 10:45:08 [ 72%] Built target template 10:45:08 make[2]: Entering directory '/tmp/sdk/build/release' 10:45:08 make[2]: Leaving directory '/tmp/sdk/build/release' 10:45:08 [ 76%] Built target device-counter 10:45:08 make[2]: Entering directory '/tmp/sdk/build/release' 10:45:08 make[2]: Leaving directory '/tmp/sdk/build/release' 10:45:08 [ 80%] Built target device-random 10:45:08 make[2]: Entering directory '/tmp/sdk/build/release' 10:45:08 make[2]: Leaving directory '/tmp/sdk/build/release' 10:45:08 [ 84%] Built target device-gyro 10:45:08 make[2]: Entering directory '/tmp/sdk/build/release' 10:45:08 make[2]: Leaving directory '/tmp/sdk/build/release' 10:45:08 [ 88%] Built target device-bitfields 10:45:08 make[2]: Entering directory '/tmp/sdk/build/release' 10:45:08 make[2]: Leaving directory '/tmp/sdk/build/release' 10:45:08 [ 92%] Built target template-discovery 10:45:08 make[2]: Entering directory '/tmp/sdk/build/release' 10:45:08 make[2]: Leaving directory '/tmp/sdk/build/release' 10:45:08 [ 96%] Built target device-file 10:45:08 make[2]: Entering directory '/tmp/sdk/build/release' 10:45:08 make[2]: Leaving directory '/tmp/sdk/build/release' 10:45:08 [100%] Built target device-terminal 10:45:08 make[1]: Leaving directory '/tmp/sdk/build/release' 10:45:08 Install the project... 10:45:08 -- Install configuration: "Release" 10:45:08 -- Installing: /usr/local/lib/libcsdk.so 10:45:08 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 10:45:08 -- Installing: /usr/local/include 10:45:08 -- Installing: /usr/local/include/devsdk 10:45:08 -- Installing: /usr/local/include/devsdk/devsdk.h 10:45:08 -- Installing: /usr/local/include/devsdk/devsdk-base.h 10:45:08 -- Installing: /usr/local/include/edgex 10:45:08 -- Installing: /usr/local/include/edgex/edgex.h 10:45:08 -- Installing: /usr/local/include/edgex/devices.h 10:45:08 -- Installing: /usr/local/include/edgex/profiles.h 10:45:08 -- Installing: /usr/local/include/edgex/edgex-base.h 10:45:08 -- Installing: /usr/local/include/edgex/rest-server.h 10:45:08 -- Installing: /usr/local/include/edgex/csdk-defs.h 10:45:08 -- Installing: /usr/local/share/device-sdk-c/LICENSE 10:45:08 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 10:45:08 make: Leaving directory '/tmp/sdk/build/release' 10:45:09 Removing intermediate container 5c3909d7f5da 10:45:09 ---> 8e157d578c8f 10:45:09 Step 14/21 : FROM ${BASE} 10:45:09 ---> e83ffa357ff4 10:45:09 Step 15/21 : LABEL maintainer="IOTech " 10:45:09 ---> Running in 47d03865d09d 10:45:09 Removing intermediate container 47d03865d09d 10:45:09 ---> 81d98d288636 10:45:09 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 10:45:09 ---> Running in 028a9721c60c 10:45:09 Connecting to iotech.jfrog.io (52.17.224.14:443) 10:45:10 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:45:10 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:45:10 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:45:10 Removing intermediate container 028a9721c60c 10:45:10 ---> 68cb5143d697 10:45:10 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:45:10 ---> Running in af8966a42f93 10:45:10 Removing intermediate container af8966a42f93 10:45:10 ---> 64b882003b91 10:45:10 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 10:45:10 ---> Running in 0416fe5ce9f7 10:45:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:45:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:45:11 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 10:45:11 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:45:11 (1/7) Installing curl (8.1.2-r0) 10:45:11 (2/7) Installing hiredis (1.0.2-r0) 10:45:11 (3/7) Installing hiredis-dev (1.0.2-r0) 10:45:11 (4/7) Installing iotech-iot-1.4 (1.4.2-r0) 10:45:12 (5/7) Installing libcbor (0.9.0-r1) 10:45:12 (6/7) Installing libuuid (2.38-r1) 10:45:12 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 10:45:13 Executing busybox-1.35.0-r17.trigger 10:45:13 OK: 276 MiB in 83 packages 10:45:13 Removing intermediate container 0416fe5ce9f7 10:45:13 ---> d93f549a9f14 10:45:13 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 10:45:13 ---> 0affe5443924 10:45:13 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 10:45:14 ---> 1c0280bde85a 10:45:14 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 10:45:14 ---> 6ac8d29dafb1 10:45:14 Successfully built 6ac8d29dafb1 10:45:14 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 10:45:14 + docker inspect -f . ci-base-image-x86_64 10:45:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:45:14 prd-ubuntu20.04-docker-8c-8g-1259 does not seem to be running inside a container 10:45:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:45:15 $ docker top f5c2bf34a4f2d7c0f1177839a02c4cbadf5b7a7a44e8ae2ce043fbf0c301d18e -eo pid,comm [Pipeline] { [Pipeline] sh 10:45:15 + make test 10:45:15 echo "make test" 10:45:15 make test [Pipeline] } 10:45:15 $ docker stop --time=1 f5c2bf34a4f2d7c0f1177839a02c4cbadf5b7a7a44e8ae2ce043fbf0c301d18e 10:45:16 $ docker rm -f --volumes f5c2bf34a4f2d7c0f1177839a02c4cbadf5b7a7a44e8ae2ce043fbf0c301d18e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:45:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:45:17 + ls -al . 10:45:17 total 212 10:45:17 drwxrwxr-x 9 jenkins jenkins 4096 Jul 16 10:44 . 10:45:17 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 10:44 .. 10:45:17 drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 10:44 .git 10:45:17 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 10:44 .github 10:45:17 -rw-rw-r-- 1 jenkins jenkins 176 Jul 16 10:44 .gitignore 10:45:17 drwxr-xr-x 3 jenkins jenkins 4096 Jul 16 10:44 .semver 10:45:17 -rw-rw-r-- 1 jenkins jenkins 2908 Jul 16 10:44 Attribution.txt 10:45:17 -rw-rw-r-- 1 jenkins jenkins 9268 Jul 16 10:44 CHANGES 10:45:17 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 16 10:44 Doxyfile 10:45:17 -rw-rw-r-- 1 jenkins jenkins 677 Jul 16 10:44 GOVERNANCE.md 10:45:17 -rw-rw-r-- 1 jenkins jenkins 784 Jul 16 10:44 Jenkinsfile 10:45:17 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 16 10:44 LICENSE 10:45:17 -rw-rw-r-- 1 jenkins jenkins 444 Jul 16 10:44 Makefile 10:45:17 -rw-rw-r-- 1 jenkins jenkins 618 Jul 16 10:44 OWNERS.md 10:45:17 -rw-rw-r-- 1 jenkins jenkins 1651 Jul 16 10:44 README.IOT.md 10:45:17 -rw-rw-r-- 1 jenkins jenkins 4215 Jul 16 10:44 README.md 10:45:17 -rw-rw-r-- 1 jenkins jenkins 1245 Jul 16 10:44 README.v3.md 10:45:17 -rw-rw-r-- 1 jenkins jenkins 11 Jul 16 10:44 VERSION 10:45:17 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 10:44 docs 10:45:17 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 10:44 include 10:45:17 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 10:44 scripts 10:45:17 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 10:44 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:45:17 + 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=e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d --label arch=amd64 --label version=3.1.0-dev.3 . 10:45:17 Sending build context to Docker daemon 4.815MB 10:45:17 Step 1/17 : ARG BASE=alpine:3.16 10:45:17 Step 2/17 : FROM ${BASE} 10:45:17 ---> 6ac8d29dafb1 10:45:17 Step 3/17 : LABEL maintainer="IOTech " 10:45:17 ---> Running in 27f3a6b575b5 10:45:18 Removing intermediate container 27f3a6b575b5 10:45:18 ---> 97aa31f2d473 10:45:18 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 10:45:18 ---> Running in 9f295a99145e 10:45:18 Connecting to iotech.jfrog.io (52.212.72.229:443) 10:45:18 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:45:18 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:45:18 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:45:18 Removing intermediate container 9f295a99145e 10:45:18 ---> d0c467a59de2 10:45:18 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:45:18 ---> Running in 89e47c66652e 10:45:19 Removing intermediate container 89e47c66652e 10:45:19 ---> 50f565e168d3 10:45:19 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 10:45:19 ---> Running in fe8d7563ed96 10:45:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:45:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:45:20 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 10:45:20 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:45:20 (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 10:45:20 (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 10:45:20 (3/11) Installing iotech-iot-1.5 (1.5.0-r0) 10:45:21 (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 10:45:21 (5/11) Installing libcbor-dev (0.9.0-r1) 10:45:21 (6/11) Installing ncurses-dev (6.3_p20220521-r1) 10:45:21 (7/11) Installing libblkid (2.38-r1) 10:45:21 (8/11) Installing libfdisk (2.38-r1) 10:45:21 (9/11) Installing libmount (2.38-r1) 10:45:21 (10/11) Installing libsmartcols (2.38-r1) 10:45:21 (11/11) Installing util-linux-dev (2.38-r1) 10:45:21 Executing busybox-1.35.0-r17.trigger 10:45:21 OK: 281 MiB in 92 packages 10:45:22 Removing intermediate container fe8d7563ed96 10:45:22 ---> a4f0a01169a5 10:45:22 Step 7/17 : COPY VERSION /edgex-c-sdk/ 10:45:22 ---> 13e03424cfc0 10:45:22 Step 8/17 : COPY src /edgex-c-sdk/src/ 10:45:22 ---> 1887ad56ecc7 10:45:22 Step 9/17 : COPY include /edgex-c-sdk/include/ 10:45:22 ---> 665921d589e2 10:45:22 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 10:45:22 ---> 727026da5a3e 10:45:22 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 10:45:22 ---> 653654ffc21e 10:45:22 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 10:45:22 ---> 74aad8c4d7c8 10:45:22 Step 13/17 : WORKDIR /edgex-c-sdk 10:45:22 ---> Running in f06a422db5b8 10:45:22 Removing intermediate container f06a422db5b8 10:45:22 ---> b9647bebcefc 10:45:22 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 10:45:22 ---> Running in 8b87d2e7f569 10:45:23 Removing intermediate container 8b87d2e7f569 10:45:23 ---> 80ac0c3dcf75 10:45:23 Step 15/17 : LABEL arch=amd64 10:45:23 ---> Running in 56bebbc76ea7 10:45:23 Removing intermediate container 56bebbc76ea7 10:45:23 ---> c3cdd11b0d6a 10:45:23 Step 16/17 : LABEL git_sha=e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d 10:45:23 ---> Running in 5c8a5caf6f45 10:45:23 Removing intermediate container 5c8a5caf6f45 10:45:23 ---> a3f365a60d51 10:45:23 Step 17/17 : LABEL version=3.1.0-dev.3 10:45:23 ---> Running in 2f5767bc9326 10:45:23 Removing intermediate container 2f5767bc9326 10:45:23 ---> a43cb5218334 10:45:23 [Warning] One or more build-args [MAKE ARCH] were not consumed 10:45:23 Successfully built a43cb5218334 10:45:23 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 10:45:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:45:23 10:45:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:45:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:45:24 latest: Pulling from edgex-lftools-log-publisher 10:45:24 5eb5b503b376: Pulling fs layer 10:45:24 5c69ac0246d0: Pulling fs layer 10:45:24 ec43610c2a17: Pulling fs layer 10:45:24 3a2ae6a8a46f: Pulling fs layer 10:45:24 33b1e0a273af: Pulling fs layer 10:45:24 33b1e0a273af: Waiting 10:45:24 3a2ae6a8a46f: Waiting 10:45:24 5d3b04190fa2: Pulling fs layer 10:45:24 2f39f015ded8: Pulling fs layer 10:45:24 5d3b04190fa2: Waiting 10:45:24 2f39f015ded8: Waiting 10:45:24 5c69ac0246d0: Download complete 10:45:24 3a2ae6a8a46f: Verifying Checksum 10:45:24 3a2ae6a8a46f: Download complete 10:45:24 33b1e0a273af: Verifying Checksum 10:45:24 ec43610c2a17: Verifying Checksum 10:45:24 ec43610c2a17: Download complete 10:45:24 5d3b04190fa2: Download complete 10:45:24 5eb5b503b376: Verifying Checksum 10:45:24 5eb5b503b376: Download complete 10:45:24 2f39f015ded8: Download complete 10:45:25 5eb5b503b376: Pull complete 10:45:25 5c69ac0246d0: Pull complete 10:45:26 ec43610c2a17: Pull complete 10:45:26 3a2ae6a8a46f: Pull complete 10:45:26 33b1e0a273af: Pull complete 10:45:26 5d3b04190fa2: Pull complete 10:45:30 2f39f015ded8: Pull complete 10:45:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:45:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:45:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:45:30 prd-ubuntu20.04-docker-8c-8g-1259 does not seem to be running inside a container 10:45:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:45:34 $ docker top 23d5c0660f79b0689eaaa793bd49cfaa7f7466bdc5fd89541d7d8f67688564bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:45:34 ---> job-cost.sh 10:45:34 lf-activate-venv: SKIPPING 10:45:34 INFO: No Stack... 10:45:35 INFO: Retrieving Pricing Info for: v3-standard-8 10:45:36 INFO: Archiving Costs [Pipeline] sh 10:45:36 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 10:45:36 + cut -d, -f6 [Pipeline] lock 10:45:36 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-52-stack-cost] 10:45:36 Resource [jenkins-edgexfoundry-device-sdk-c-main-52-stack-cost] did not exist. Created. 10:45:36 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:45:36 + echo total: 0.2199999988079071 [Pipeline] stash 10:45:36 Stashed 1 file(s) [Pipeline] } 10:45:36 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-52-stack-cost] [Pipeline] // lock [Pipeline] } 10:45:36 $ docker stop --time=1 23d5c0660f79b0689eaaa793bd49cfaa7f7466bdc5fd89541d7d8f67688564bc 10:45:38 $ docker rm -f --volumes 23d5c0660f79b0689eaaa793bd49cfaa7f7466bdc5fd89541d7d8f67688564bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:46:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1260 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 10:46:34 Running in /w/workspace/device-sdk-c/52 [Pipeline] { [Pipeline] checkout 10:46:34 Selected Git installation does not exist. Using Default 10:46:34 The recommended git tool is: NONE 10:46:39 using credential edgex-jenkins-ssh 10:46:39 Cloning the remote Git repository 10:46:39 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 10:46:39 > git init /w/workspace/device-sdk-c/52 # timeout=10 10:46:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 10:46:39 > git --version # timeout=10 10:46:39 > git --version # 'git version 2.25.1' 10:46:39 using GIT_SSH to set credentials SSH Credentials for GitHub 10:46:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:46:41 Avoid second fetch 10:46:41 Checking out Revision e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d (main) 10:46:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 10:46:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:46:42 > git config core.sparsecheckout # timeout=10 10:46:42 > git checkout -f e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d # timeout=10 10:46:42 Commit message: "Merge pull request #467 from FelixTing/issue-466" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:46:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:46:43 % Total % Received % Xferd Average Speed Time Time Time Current 10:46:43 Dload Upload Total Spent Left Speed 10:46:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 79198 0 --:--:-- --:--:-- --:--:-- 79198 [Pipeline] sh 10:46:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:46:44 + sudo tee /etc/docker/daemon.new 10:46:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:46:44 { 10:46:44 "registry-mirrors": [ 10:46:44 "https://nexus3.edgexfoundry.org:10001" 10:46:44 ], 10:46:44 "bip": "10.250.0.254/24", 10:46:44 "hosts": [ 10:46:44 "tcp://0.0.0.0:5555", 10:46:44 "unix:///var/run/docker.sock" 10:46:44 ], 10:46:44 "mtu": 1458, 10:46:44 "selinux-enabled": true, 10:46:44 "seccomp-profile": "/etc/docker/seccomp.json" 10:46:44 } [Pipeline] sh 10:46:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:46:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:47:03 provisioning config files... 10:47:03 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/52@tmp/config9524660149108406590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:47:03 ---> docker-login.sh 10:47:03 nexus3.edgexfoundry.org:10001 10:47:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:47:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:47:04 Configure a credential helper to remove this warning. See 10:47:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:47:04 10:47:04 Login Succeeded 10:47:04 nexus3.edgexfoundry.org:10002 10:47:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:47:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:47:04 Configure a credential helper to remove this warning. See 10:47:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:47:04 10:47:04 Login Succeeded 10:47:05 nexus3.edgexfoundry.org:10003 10:47:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:47:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:47:05 Configure a credential helper to remove this warning. See 10:47:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:47:05 10:47:05 Login Succeeded 10:47:05 nexus3.edgexfoundry.org:10004 10:47:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:47:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:47:05 Configure a credential helper to remove this warning. See 10:47:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:47:05 10:47:05 Login Succeeded 10:47:05 docker.io 10:47:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:47:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:47:06 Configure a credential helper to remove this warning. See 10:47:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:47:06 10:47:06 Login Succeeded 10:47:06 ---> docker-login.sh ends [Pipeline] } 10:47:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:47:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:47:06 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 10:47:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:47:06 ========================================================= 10:47:06 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 10:47:06 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:47:06 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 10:47:07 Sending build context to Docker daemon 2.879MB 10:47:07 Step 1/21 : ARG BASE=alpine:3.16 10:47:07 Step 2/21 : FROM ${BASE} as builder 10:47:07 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 10:47:07 547446be3368: Pulling fs layer 10:47:07 76bd08e1cacc: Pulling fs layer 10:47:07 547446be3368: Verifying Checksum 10:47:07 547446be3368: Download complete 10:47:07 547446be3368: Pull complete 10:47:09 76bd08e1cacc: Verifying Checksum 10:47:09 76bd08e1cacc: Download complete 10:47:18 76bd08e1cacc: Pull complete 10:47:18 Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe 10:47:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 10:47:18 ---> 295cd00e64f4 10:47:18 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 10:47:18 ---> Running in e4c1a91f998c 10:47:19 Connecting to iotech.jfrog.io (52.214.181.33:443) 10:47:19 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:47:19 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:47:19 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:47:20 Removing intermediate container e4c1a91f998c 10:47:20 ---> 8850ad744304 10:47:20 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:47:20 ---> Running in 37f1959a49f3 10:47:22 Removing intermediate container 37f1959a49f3 10:47:22 ---> 27fc40460854 10:47:22 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 10:47:22 ---> Running in 53c204c3864c 10:47:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:47:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:47:23 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 10:47:24 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:47:24 (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 10:47:24 (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 10:47:24 (3/16) Installing hiredis (1.0.2-r0) 10:47:24 (4/16) Installing hiredis-dev (1.0.2-r0) 10:47:24 (5/16) Installing iotech-iot-1.5 (1.5.0-r0) 10:47:25 (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) 10:47:25 (7/16) Installing libcbor (0.9.0-r1) 10:47:25 (8/16) Installing libcbor-dev (0.9.0-r1) 10:47:25 (9/16) Installing ncurses-dev (6.3_p20220521-r1) 10:47:25 (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 10:47:26 (11/16) Installing libblkid (2.38-r1) 10:47:26 (12/16) Installing libuuid (2.38-r1) 10:47:26 (13/16) Installing libfdisk (2.38-r1) 10:47:26 (14/16) Installing libmount (2.38-r1) 10:47:26 (15/16) Installing libsmartcols (2.38-r1) 10:47:26 (16/16) Installing util-linux-dev (2.38-r1) 10:47:26 Executing busybox-1.35.0-r17.trigger 10:47:27 OK: 286 MiB in 90 packages 10:47:28 Removing intermediate container 53c204c3864c 10:47:28 ---> 8c34845c3a90 10:47:28 Step 6/21 : RUN mkdir /tmp/sdk 10:47:28 ---> Running in 4be4f36590f9 10:47:29 Removing intermediate container 4be4f36590f9 10:47:29 ---> 3ef53e9ff5d9 10:47:29 Step 7/21 : COPY VERSION /tmp/sdk 10:47:30 ---> 44d31b58b4a4 10:47:30 Step 8/21 : COPY src /tmp/sdk/src 10:47:31 ---> d228d78f4294 10:47:31 Step 9/21 : COPY include /tmp/sdk/include 10:47:31 ---> 7745b5522ab4 10:47:31 Step 10/21 : COPY scripts /tmp/sdk/scripts 10:47:31 ---> 0692860ad2c6 10:47:31 Step 11/21 : COPY LICENSE /tmp/sdk 10:47:32 ---> cb2c99fcc45e 10:47:32 Step 12/21 : COPY Attribution.txt /tmp/sdk 10:47:32 ---> 72f6cbff903f 10:47:32 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 10:47:32 ---> Running in f6a17218c9e5 10:47:33 + CPPCHECK=false 10:47:33 + DOCGEN=false 10:47:33 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 10:47:33 + '[' 0 -gt 0 ] 10:47:33 + readlink -f ./scripts/build.sh 10:47:33 + dirname /tmp/sdk/scripts/build.sh 10:47:33 + dirname /tmp/sdk/scripts 10:47:33 + ROOT=/tmp/sdk 10:47:33 + cd /tmp/sdk 10:47:33 + mkdir -p /tmp/sdk/build/release 10:47:33 + cd /tmp/sdk/build/release 10:47:33 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 10:47:34 -- The C compiler identification is GNU 11.2.1 10:47:34 -- Detecting C compiler ABI info 10:47:34 -- Detecting C compiler ABI info - done 10:47:34 -- Check for working C compiler: /usr/bin/cc - skipped 10:47:34 -- Detecting C compile features 10:47:34 -- Detecting C compile features - done 10:47:34 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:47:34 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 10:47:34 -- Found LIBYAML: /usr/lib/libyaml.so 10:47:34 -- Found LIBUUID: /usr/lib/libuuid.so 10:47:34 -- Found LIBCBOR: /usr/lib/libcbor.so 10:47:34 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:47:34 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:47:34 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 10:47:34 -- /opt/iotech/iot/1.5/include 10:47:34 -- C SDK 3.1.0-dev.3 for Linux 10:47:34 -- Performing Test CSDK_HAVE_ATOMIC 10:47:35 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:47:35 -- Found Curses: /usr/lib/libcurses.so 10:47:35 -- Configuring done 10:47:35 -- Generating done 10:47:35 -- Build files have been written to: /tmp/sdk/build/release 10:47:35 + + maketee all release.log package 10:47:35 10:47:35 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:47:36 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 10:47:37 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 10:47:38 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 10:47:39 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 10:47:40 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:47:42 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:47:43 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:47:44 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:47:45 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:47:47 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:47:48 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:47:49 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:47:50 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:47:50 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 10:47:52 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:47:52 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:47:54 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:47:55 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:47:55 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:47:57 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:48:03 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:48:04 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:48:04 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:48:05 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 10:48:05 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:48:07 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:48:09 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:48:10 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:48:11 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:48:12 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:48:15 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:48:16 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:48:16 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:48:17 [ 68%] Linking C shared library libcsdk.so 10:48:17 [ 68%] Built target csdk 10:48:17 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:48:18 [ 72%] Linking C executable template 10:48:18 [ 72%] Built target template 10:48:18 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:48:19 [ 76%] Linking C executable device-counter 10:48:19 [ 76%] Built target device-counter 10:48:19 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:48:20 [ 80%] Linking C executable device-random 10:48:20 [ 80%] Built target device-random 10:48:20 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:48:20 [ 84%] Linking C executable device-gyro 10:48:21 [ 84%] Built target device-gyro 10:48:21 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:48:22 [ 88%] Linking C executable device-bitfields 10:48:22 [ 88%] Built target device-bitfields 10:48:22 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:48:23 [ 92%] Linking C executable template-discovery 10:48:23 [ 92%] Built target template-discovery 10:48:23 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:48:24 [ 96%] Linking C executable device-file 10:48:24 [ 96%] Built target device-file 10:48:24 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:48:25 [100%] Linking C executable device-terminal 10:48:25 [100%] Built target device-terminal 10:48:26 Run CPack packaging tool... 10:48:26 CPack: Create package using TGZ 10:48:26 CPack: Install projects 10:48:26 CPack: - Run preinstall target for: Csdk 10:48:26 CPack: - Install project: Csdk [] 10:48:26 CPack: Create package 10:48:26 CPack: - package: /tmp/sdk/build/release/csdk-3.1.0-dev.3.tar.gz generated. 10:48:26 + '[' false '=' true ] 10:48:26 + '[' false '=' true ] 10:48:26 + mkdir -p /tmp/sdk/build/debug 10:48:26 + cd /tmp/sdk/build/debug 10:48:26 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 10:48:27 -- The C compiler identification is GNU 11.2.1 10:48:27 -- Detecting C compiler ABI info 10:48:27 -- Detecting C compiler ABI info - done 10:48:27 -- Check for working C compiler: /usr/bin/cc - skipped 10:48:27 -- Detecting C compile features 10:48:27 -- Detecting C compile features - done 10:48:27 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 10:48:27 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 10:48:27 -- Found LIBYAML: /usr/lib/libyaml.so 10:48:27 -- Found LIBUUID: /usr/lib/libuuid.so 10:48:27 -- Found LIBCBOR: /usr/lib/libcbor.so 10:48:27 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 10:48:27 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 10:48:27 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 10:48:27 -- /opt/iotech/iot/1.5/include 10:48:27 -- C SDK 3.1.0-dev.3 for Linux 10:48:27 -- Performing Test CSDK_HAVE_ATOMIC 10:48:28 -- Performing Test CSDK_HAVE_ATOMIC - Success 10:48:28 -- Found Curses: /usr/lib/libcurses.so 10:48:28 -- Configuring done 10:48:28 -- Generating done 10:48:28 -- Build files have been written to: /tmp/sdk/build/debug 10:48:28 + make 10:48:28 + tee debug.log 10:48:28 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 10:48:29 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 10:48:29 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 10:48:30 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 10:48:30 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 10:48:31 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 10:48:31 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 10:48:32 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 10:48:32 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 10:48:33 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 10:48:33 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 10:48:34 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 10:48:34 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 10:48:35 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 10:48:35 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 10:48:35 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 10:48:36 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 10:48:37 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 10:48:37 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 10:48:37 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 10:48:38 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 10:48:39 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 10:48:39 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 10:48:40 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 10:48:40 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 10:48:40 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 10:48:41 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 10:48:43 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 10:48:43 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 10:48:43 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 10:48:44 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 10:48:45 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 10:48:45 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 10:48:45 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 10:48:46 [ 68%] Linking C shared library libcsdk.so 10:48:46 [ 68%] Built target csdk 10:48:46 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 10:48:47 [ 72%] Linking C executable template 10:48:47 [ 72%] Built target template 10:48:47 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 10:48:47 [ 76%] Linking C executable device-counter 10:48:47 [ 76%] Built target device-counter 10:48:47 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 10:48:48 [ 80%] Linking C executable device-random 10:48:48 [ 80%] Built target device-random 10:48:48 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 10:48:48 [ 84%] Linking C executable device-gyro 10:48:49 [ 84%] Built target device-gyro 10:48:49 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 10:48:49 [ 88%] Linking C executable device-bitfields 10:48:49 [ 88%] Built target device-bitfields 10:48:50 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 10:48:50 [ 92%] Linking C executable template-discovery 10:48:50 [ 92%] Built target template-discovery 10:48:50 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 10:48:51 [ 96%] Linking C executable device-file 10:48:51 [ 96%] Built target device-file 10:48:51 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 10:48:51 [100%] Linking C executable device-terminal 10:48:52 [100%] Built target device-terminal 10:48:52 make: Entering directory '/tmp/sdk/build/release' 10:48:52 make[1]: Entering directory '/tmp/sdk/build/release' 10:48:52 make[2]: Entering directory '/tmp/sdk/build/release' 10:48:52 make[2]: Leaving directory '/tmp/sdk/build/release' 10:48:52 [ 68%] Built target csdk 10:48:52 make[2]: Entering directory '/tmp/sdk/build/release' 10:48:52 make[2]: Leaving directory '/tmp/sdk/build/release' 10:48:52 [ 72%] Built target template 10:48:52 make[2]: Entering directory '/tmp/sdk/build/release' 10:48:52 make[2]: Leaving directory '/tmp/sdk/build/release' 10:48:52 [ 76%] Built target device-counter 10:48:52 make[2]: Entering directory '/tmp/sdk/build/release' 10:48:52 make[2]: Leaving directory '/tmp/sdk/build/release' 10:48:52 [ 80%] Built target device-random 10:48:52 make[2]: Entering directory '/tmp/sdk/build/release' 10:48:52 make[2]: Leaving directory '/tmp/sdk/build/release' 10:48:52 [ 84%] Built target device-gyro 10:48:52 make[2]: Entering directory '/tmp/sdk/build/release' 10:48:52 make[2]: Leaving directory '/tmp/sdk/build/release' 10:48:52 [ 88%] Built target device-bitfields 10:48:52 make[2]: Entering directory '/tmp/sdk/build/release' 10:48:52 make[2]: Leaving directory '/tmp/sdk/build/release' 10:48:52 [ 92%] Built target template-discovery 10:48:52 make[2]: Entering directory '/tmp/sdk/build/release' 10:48:52 make[2]: Leaving directory '/tmp/sdk/build/release' 10:48:52 [ 96%] Built target device-file 10:48:52 make[2]: Entering directory '/tmp/sdk/build/release' 10:48:52 make[2]: Leaving directory '/tmp/sdk/build/release' 10:48:52 [100%] Built target device-terminal 10:48:52 make[1]: Leaving directory '/tmp/sdk/build/release' 10:48:52 Install the project... 10:48:52 -- Install configuration: "Release" 10:48:52 -- Installing: /usr/local/lib/libcsdk.so 10:48:52 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 10:48:52 -- Installing: /usr/local/include 10:48:52 -- Installing: /usr/local/include/devsdk 10:48:52 -- Installing: /usr/local/include/devsdk/devsdk.h 10:48:52 -- Installing: /usr/local/include/devsdk/devsdk-base.h 10:48:52 -- Installing: /usr/local/include/edgex 10:48:52 -- Installing: /usr/local/include/edgex/rest-server.h 10:48:52 -- Installing: /usr/local/include/edgex/edgex.h 10:48:52 -- Installing: /usr/local/include/edgex/edgex-base.h 10:48:52 -- Installing: /usr/local/include/edgex/devices.h 10:48:52 -- Installing: /usr/local/include/edgex/profiles.h 10:48:52 -- Installing: /usr/local/include/edgex/csdk-defs.h 10:48:52 -- Installing: /usr/local/share/device-sdk-c/LICENSE 10:48:52 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 10:48:52 make: Leaving directory '/tmp/sdk/build/release' 10:48:54 Removing intermediate container f6a17218c9e5 10:48:54 ---> a406acc3d735 10:48:54 Step 14/21 : FROM ${BASE} 10:48:54 ---> 295cd00e64f4 10:48:54 Step 15/21 : LABEL maintainer="IOTech " 10:48:54 ---> Running in 4213c114b6dc 10:48:54 Removing intermediate container 4213c114b6dc 10:48:54 ---> 29e710cd8cc9 10:48:54 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 10:48:54 ---> Running in 9fed24e7ce96 10:48:55 Connecting to iotech.jfrog.io (54.76.62.242:443) 10:48:55 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:48:55 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:48:55 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:48:56 Removing intermediate container 9fed24e7ce96 10:48:56 ---> 445baf82fd33 10:48:56 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:48:56 ---> Running in 385a435e8791 10:49:00 Removing intermediate container 385a435e8791 10:49:00 ---> 16c1ca54c01c 10:49:00 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 10:49:00 ---> Running in 3049bbfe4864 10:49:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:49:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:49:02 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 10:49:03 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:49:03 (1/7) Installing curl (8.1.2-r0) 10:49:03 (2/7) Installing hiredis (1.0.2-r0) 10:49:03 (3/7) Installing hiredis-dev (1.0.2-r0) 10:49:03 (4/7) Installing iotech-iot-1.4 (1.4.2-r0) 10:49:04 (5/7) Installing libcbor (0.9.0-r1) 10:49:04 (6/7) Installing libuuid (2.38-r1) 10:49:04 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 10:49:05 Executing busybox-1.35.0-r17.trigger 10:49:05 OK: 281 MiB in 83 packages 10:49:06 Removing intermediate container 3049bbfe4864 10:49:06 ---> 3b19bd4f0969 10:49:06 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 10:49:06 ---> bdbfbd0a29b9 10:49:06 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 10:49:07 ---> e0a53f65dd3b 10:49:07 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 10:49:08 ---> eec85c8ac41f 10:49:08 Successfully built eec85c8ac41f 10:49:08 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 10:49:08 + docker inspect -f . ci-base-image-arm64 10:49:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:49:08 prd-ubuntu20.04-docker-arm64-4c-16g-1260 does not seem to be running inside a container 10:49:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/52 -v /w/workspace/device-sdk-c/52:/w/workspace/device-sdk-c/52:rw,z -v /w/workspace/device-sdk-c/52@tmp:/w/workspace/device-sdk-c/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:49:09 $ docker top e11e7c8aecd5d9cfc9e44fb3327e78ef7bc9e86b89fe766db8a549871a982862 -eo pid,comm [Pipeline] { [Pipeline] sh 10:49:10 + make test 10:49:10 echo "make test" 10:49:10 make test [Pipeline] } 10:49:10 $ docker stop --time=1 e11e7c8aecd5d9cfc9e44fb3327e78ef7bc9e86b89fe766db8a549871a982862 10:49:14 $ docker rm -f --volumes e11e7c8aecd5d9cfc9e44fb3327e78ef7bc9e86b89fe766db8a549871a982862 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:49:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:49:15 + ls -al . 10:49:15 total 208 10:49:15 drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 10:46 . 10:49:15 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 10:46 .. 10:49:15 drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 10:46 .git 10:49:15 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 10:46 .github 10:49:15 -rw-rw-r-- 1 jenkins jenkins 176 Jul 16 10:46 .gitignore 10:49:15 -rw-rw-r-- 1 jenkins jenkins 2908 Jul 16 10:46 Attribution.txt 10:49:15 -rw-rw-r-- 1 jenkins jenkins 9268 Jul 16 10:46 CHANGES 10:49:15 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 16 10:46 Doxyfile 10:49:15 -rw-rw-r-- 1 jenkins jenkins 677 Jul 16 10:46 GOVERNANCE.md 10:49:15 -rw-rw-r-- 1 jenkins jenkins 784 Jul 16 10:46 Jenkinsfile 10:49:15 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 16 10:46 LICENSE 10:49:15 -rw-rw-r-- 1 jenkins jenkins 444 Jul 16 10:46 Makefile 10:49:15 -rw-rw-r-- 1 jenkins jenkins 618 Jul 16 10:46 OWNERS.md 10:49:15 -rw-rw-r-- 1 jenkins jenkins 1651 Jul 16 10:46 README.IOT.md 10:49:15 -rw-rw-r-- 1 jenkins jenkins 4215 Jul 16 10:46 README.md 10:49:15 -rw-rw-r-- 1 jenkins jenkins 1245 Jul 16 10:46 README.v3.md 10:49:15 -rw-rw-r-- 1 jenkins jenkins 11 Jul 16 10:44 VERSION 10:49:15 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 10:46 docs 10:49:15 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 10:46 include 10:49:15 drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 10:46 scripts 10:49:15 drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 10:46 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:49:15 + 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=e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d --label arch=arm64 --label version=3.1.0-dev.3 . 10:49:16 Sending build context to Docker daemon 2.879MB 10:49:16 Step 1/17 : ARG BASE=alpine:3.16 10:49:16 Step 2/17 : FROM ${BASE} 10:49:16 ---> eec85c8ac41f 10:49:16 Step 3/17 : LABEL maintainer="IOTech " 10:49:16 ---> Running in 5997c81cfd23 10:49:16 Removing intermediate container 5997c81cfd23 10:49:16 ---> 0d08a2a3ce05 10:49:16 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 10:49:16 ---> Running in 5759c993a584 10:49:17 Connecting to iotech.jfrog.io (52.208.202.221:443) 10:49:17 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 10:49:17 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 10:49:17 '/etc/apk/keys/alpine.dev.rsa.pub' saved 10:49:18 Removing intermediate container 5759c993a584 10:49:18 ---> 2258afc5dbf3 10:49:18 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 10:49:18 ---> Running in d943d27a3f3c 10:49:20 Removing intermediate container d943d27a3f3c 10:49:20 ---> 3baa1224d93c 10:49:20 Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build 10:49:20 ---> Running in 655b3606ba6a 10:49:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:49:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:49:22 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 10:49:23 WARNING: This apk-tools is OLD! Some packages might not function properly. 10:49:23 (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 10:49:23 (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 10:49:23 (3/11) Installing iotech-iot-1.5 (1.5.0-r0) 10:49:23 (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 10:49:23 (5/11) Installing libcbor-dev (0.9.0-r1) 10:49:23 (6/11) Installing ncurses-dev (6.3_p20220521-r1) 10:49:23 (7/11) Installing libblkid (2.38-r1) 10:49:23 (8/11) Installing libfdisk (2.38-r1) 10:49:23 (9/11) Installing libmount (2.38-r1) 10:49:23 (10/11) Installing libsmartcols (2.38-r1) 10:49:23 (11/11) Installing util-linux-dev (2.38-r1) 10:49:23 Executing busybox-1.35.0-r17.trigger 10:49:23 OK: 287 MiB in 92 packages 10:49:27 Removing intermediate container 655b3606ba6a 10:49:27 ---> 7078eed501d8 10:49:27 Step 7/17 : COPY VERSION /edgex-c-sdk/ 10:49:27 ---> dec6144aba68 10:49:27 Step 8/17 : COPY src /edgex-c-sdk/src/ 10:49:28 ---> 81127ebc80c9 10:49:28 Step 9/17 : COPY include /edgex-c-sdk/include/ 10:49:29 ---> 2cedd4ec659c 10:49:29 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 10:49:29 ---> c11f278a6c69 10:49:29 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 10:49:29 ---> 6252ad1e7d46 10:49:29 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 10:49:30 ---> 6652b67dec96 10:49:30 Step 13/17 : WORKDIR /edgex-c-sdk 10:49:30 ---> Running in 9940e061bd7b 10:49:30 Removing intermediate container 9940e061bd7b 10:49:30 ---> dcbc629ee9ee 10:49:30 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 10:49:30 ---> Running in 747b101d76fc 10:49:31 Removing intermediate container 747b101d76fc 10:49:31 ---> 5bdcc71a39a8 10:49:31 Step 15/17 : LABEL arch=arm64 10:49:31 ---> Running in 57e03059eb51 10:49:31 Removing intermediate container 57e03059eb51 10:49:31 ---> d075e4b0a310 10:49:31 Step 16/17 : LABEL git_sha=e31ab6e2f568dd8fbe7ffcfa2103cfb092f62c0d 10:49:31 ---> Running in af6f1388f2d6 10:49:31 Removing intermediate container af6f1388f2d6 10:49:31 ---> 635b09577f78 10:49:31 Step 17/17 : LABEL version=3.1.0-dev.3 10:49:31 ---> Running in cf404b7e19ab 10:49:32 Removing intermediate container cf404b7e19ab 10:49:32 ---> 4ff13b200055 10:49:32 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:49:32 Successfully built 4ff13b200055 10:49:32 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 10:49:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:49:32 10:49:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:49:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:49:33 arm64: Pulling from edgex-lftools-log-publisher 10:49:33 8998bd30e6a1: Pulling fs layer 10:49:33 04944245beec: Pulling fs layer 10:49:33 699f458cf7ca: Pulling fs layer 10:49:33 765212b225bb: Pulling fs layer 10:49:33 f23df028b6ca: Pulling fs layer 10:49:33 d65c8cfc05b1: Pulling fs layer 10:49:33 2437ff75d9bd: Pulling fs layer 10:49:33 f23df028b6ca: Waiting 10:49:33 d65c8cfc05b1: Waiting 10:49:33 765212b225bb: Waiting 10:49:33 2437ff75d9bd: Waiting 10:49:33 04944245beec: Verifying Checksum 10:49:33 04944245beec: Download complete 10:49:33 765212b225bb: Verifying Checksum 10:49:33 765212b225bb: Download complete 10:49:33 f23df028b6ca: Download complete 10:49:33 d65c8cfc05b1: Verifying Checksum 10:49:33 d65c8cfc05b1: Download complete 10:49:33 699f458cf7ca: Verifying Checksum 10:49:33 699f458cf7ca: Download complete 10:49:33 8998bd30e6a1: Download complete 10:49:36 2437ff75d9bd: Verifying Checksum 10:49:36 2437ff75d9bd: Download complete 10:49:37 8998bd30e6a1: Pull complete 10:49:37 04944245beec: Pull complete 10:49:43 699f458cf7ca: Pull complete 10:49:43 765212b225bb: Pull complete 10:49:43 f23df028b6ca: Pull complete 10:49:43 d65c8cfc05b1: Pull complete 10:49:55 2437ff75d9bd: Pull complete 10:49:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:49:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:49:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:49:55 prd-ubuntu20.04-docker-arm64-4c-16g-1260 does not seem to be running inside a container 10:49:55 $ 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/52 -v /w/workspace/device-sdk-c/52:/w/workspace/device-sdk-c/52:rw,z -v /w/workspace/device-sdk-c/52@tmp:/w/workspace/device-sdk-c/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:49:58 $ docker top 54d02b4b8971321d836f2d5496a4c2450ec946023cb35f3be40f3f3892ea0679 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:49:58 ---> job-cost.sh 10:49:59 lf-activate-venv: SKIPPING 10:49:59 INFO: No Stack... 10:49:59 INFO: Retrieving Pricing Info for: v3-standard-4 10:50:00 INFO: Archiving Costs [Pipeline] sh 10:50:00 + cat /w/workspace/device-sdk-c/52/archives/cost.csv 10:50:00 + cut -d, -f6 [Pipeline] lock 10:50:00 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-52-stack-cost] 10:50:00 Resource [jenkins-edgexfoundry-device-sdk-c-main-52-stack-cost] did not exist. Created. 10:50:00 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:50:00 /w/workspace/device-sdk-c/52@tmp/durable-4da137c3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:50:01 + echo total: 0.10999999940395355 [Pipeline] stash 10:50:01 Warning: overwriting stash ‘stack-cost’ 10:50:01 Stashed 1 file(s) [Pipeline] } 10:50:01 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-52-stack-cost] [Pipeline] // lock [Pipeline] } 10:50:01 $ docker stop --time=1 54d02b4b8971321d836f2d5496a4c2450ec946023cb35f3be40f3f3892ea0679 10:50:03 $ docker rm -f --volumes 54d02b4b8971321d836f2d5496a4c2450ec946023cb35f3be40f3f3892ea0679 [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 10:50:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:50:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:50:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:50:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:50:04 prd-ubuntu20.04-docker-8c-8g-1259 does not seem to be running inside a container 10:50:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:50:04 $ docker top dca84025197495d8d97cc67d753a0a03a2db00209aca7ce6e155690eb20dedaf -eo pid,comm 10:50:04 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:50:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:50:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:50:04 [ssh-agent] Looking for ssh-agent implementation... 10:50:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:50:04 $ docker exec dca84025197495d8d97cc67d753a0a03a2db00209aca7ce6e155690eb20dedaf ssh-agent 10:50:04 SSH_AUTH_SOCK=/tmp/ssh-XWEoptTZe3sF/agent.32 10:50:04 SSH_AGENT_PID=38 10:50:04 Running ssh-add (command line suppressed) 10:50:04 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_684911715014798077.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_684911715014798077.key) 10:50:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:50:05 + git semver tag 10:50:05 2023-07-16 10:50:05,404 [run_tag] DEBUG tag force:False 10:50:05 2023-07-16 10:50:05,404 [check_head_tag] DEBUG check head tag 10:50:05 2023-07-16 10:50:05,405 [execute] INFO git cat-file --batch-check 10:50:05 2023-07-16 10:50:05,405 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 10:50:05 2023-07-16 10:50:05,409 [execute] INFO git cat-file --batch 10:50:05 2023-07-16 10:50:05,409 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 10:50:05 2023-07-16 10:50:05,417 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:50:05 2023-07-16 10:50:05,417 [execute] INFO git tag -a v3.1.0-dev.3 -m v3.1.0-dev.3 10:50:05 2023-07-16 10:50:05,417 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.3', '-m', 'v3.1.0-dev.3'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 10:50:05 2023-07-16 10:50:05,421 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:50:05 3.1.0-dev.3 [Pipeline] } 10:50:05 $ docker exec --env ******** --env ******** dca84025197495d8d97cc67d753a0a03a2db00209aca7ce6e155690eb20dedaf ssh-agent -k 10:50:05 unset SSH_AUTH_SOCK; 10:50:05 unset SSH_AGENT_PID; 10:50:05 echo Agent pid 38 killed; 10:50:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:50:05 + git semver [Pipeline] } 10:50:06 $ docker stop --time=1 dca84025197495d8d97cc67d753a0a03a2db00209aca7ce6e155690eb20dedaf 10:50:07 $ docker rm -f --volumes dca84025197495d8d97cc67d753a0a03a2db00209aca7ce6e155690eb20dedaf [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:50:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:50:07 10:50:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:50:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:50:08 0.23.1-centos7: Pulling from edgex-lftools 10:50:08 ab5ef0e58194: Pulling fs layer 10:50:08 9712f1f96733: Pulling fs layer 10:50:08 63f879dbbcfc: Pulling fs layer 10:50:08 0d9ebad4ef96: Pulling fs layer 10:50:08 e9a5061849ea: Pulling fs layer 10:50:08 d747dcd14b5f: Pulling fs layer 10:50:08 2de7ff778b66: Pulling fs layer 10:50:08 0d9ebad4ef96: Waiting 10:50:08 e9a5061849ea: Waiting 10:50:08 d747dcd14b5f: Waiting 10:50:08 9712f1f96733: Download complete 10:50:08 63f879dbbcfc: Verifying Checksum 10:50:08 63f879dbbcfc: Download complete 10:50:08 e9a5061849ea: Verifying Checksum 10:50:08 0d9ebad4ef96: Verifying Checksum 10:50:08 e9a5061849ea: Download complete 10:50:08 0d9ebad4ef96: Download complete 10:50:08 d747dcd14b5f: Verifying Checksum 10:50:08 d747dcd14b5f: Download complete 10:50:08 ab5ef0e58194: Verifying Checksum 10:50:08 ab5ef0e58194: Download complete 10:50:08 2de7ff778b66: Verifying Checksum 10:50:08 2de7ff778b66: Download complete 10:50:11 ab5ef0e58194: Pull complete 10:50:11 9712f1f96733: Pull complete 10:50:12 63f879dbbcfc: Pull complete 10:50:16 0d9ebad4ef96: Pull complete 10:50:16 e9a5061849ea: Pull complete 10:50:16 d747dcd14b5f: Pull complete 10:50:17 2de7ff778b66: Pull complete 10:50:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:50:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:50:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:50:17 prd-ubuntu20.04-docker-8c-8g-1259 does not seem to be running inside a container 10:50:17 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:50:23 $ docker top 4b18a7d8e83a1aeaecd7b93c76d6c1a67e30e5f4631b2f87d402e8a75b9b2e83 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:50:23 provisioning config files... 10:50:23 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5100839195191022202tmp 10:50:23 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6082074799175820266tmp 10:50:24 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config12441480711231850533tmp [Pipeline] { [Pipeline] echo 10:50:24 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:50:24 ---> sigul-configuration.sh 10:50:24 gpg: directory `/root/.gnupg' created 10:50:24 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:50:24 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:50:24 gpg: keyring `/root/.gnupg/secring.gpg' created 10:50:24 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:50:24 gpg: CAST5 encrypted data 10:50:24 gpg: encrypted with 1 passphrase 10:50:24 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:50:24 + mkdir /home/jenkins 10:50:24 + mkdir /home/jenkins/sigul [Pipeline] sh 10:50:24 + 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 10:50:24 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:50:25 ---> sigul-install.sh 10:50:25 Sigul already installed; skipping installation. [Pipeline] sh 10:50:25 + git tag --list 10:50:25 0.7.0 10:50:25 0.7.1 10:50:25 1.0.0 10:50:25 v1.0.1 10:50:25 v1.0.2 10:50:25 v1.0.3 10:50:25 v1.1.0 10:50:25 v1.1.1 10:50:25 v1.2.0 10:50:25 v1.2.1 10:50:25 v1.2.2 10:50:25 v1.3.0 10:50:25 v1.3.1 10:50:25 v2.0.0 10:50:25 v2.1.0 10:50:25 v2.2.0 10:50:25 v2.3.0 10:50:25 v3.0 10:50:25 v3.0.0 10:50:25 v3.0.1 10:50:25 v3.1.0-dev.1 10:50:25 v3.1.0-dev.2 10:50:25 v3.1.0-dev.3 [Pipeline] sh 10:50:25 + lftools sign git-tag v3.1.0-dev.3 10:50:26 Signing Git tag with Sigul... 10:50:26 Signing v3.1.0-dev.3 [Pipeline] echo 10:50:26 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:50:26 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:50:26 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:50:26 $ docker stop --time=1 4b18a7d8e83a1aeaecd7b93c76d6c1a67e30e5f4631b2f87d402e8a75b9b2e83 10:50:28 $ docker rm -f --volumes 4b18a7d8e83a1aeaecd7b93c76d6c1a67e30e5f4631b2f87d402e8a75b9b2e83 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:50:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:50:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:50:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:50:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:50:28 prd-ubuntu20.04-docker-8c-8g-1259 does not seem to be running inside a container 10:50:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:50:29 $ docker top 9c1392f37ed68d40d2622f66c1f21aea769c9be625c87dc57534f4960749591c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:50:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:50:29 [ssh-agent] Looking for ssh-agent implementation... 10:50:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:50:29 $ docker exec 9c1392f37ed68d40d2622f66c1f21aea769c9be625c87dc57534f4960749591c ssh-agent 10:50:29 SSH_AUTH_SOCK=/tmp/ssh-JgJjFagH94HT/agent.31 10:50:29 SSH_AGENT_PID=37 10:50:29 Running ssh-add (command line suppressed) 10:50:29 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9970308775469043971.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9970308775469043971.key) 10:50:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:50:30 + git semver bump pre 10:50:30 2023-07-16 10:50:30,196 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:50:30 2023-07-16 10:50:30,197 [bump_version] DEBUG bumping version:3.1.0-dev.3 on axis:pre with prefix:dev 10:50:30 2023-07-16 10:50:30,197 [bump_version] DEBUG bumped version:3.1.0-dev.4 10:50:30 2023-07-16 10:50:30,197 [write_version] DEBUG write version:3.1.0-dev.4 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 10:50:30 2023-07-16 10:50:30,197 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:50:30 2023-07-16 10:50:30,197 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:50:30 2023-07-16 10:50:30,199 [execute] INFO git cat-file --batch-check 10:50:30 2023-07-16 10:50:30,199 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 10:50:30 2023-07-16 10:50:30,205 [execute] INFO git cat-file --batch 10:50:30 2023-07-16 10:50:30,205 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 10:50:30 2023-07-16 10:50:30,209 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:50:30 3.1.0-dev.4 [Pipeline] } 10:50:30 $ docker exec --env ******** --env ******** 9c1392f37ed68d40d2622f66c1f21aea769c9be625c87dc57534f4960749591c ssh-agent -k 10:50:30 unset SSH_AUTH_SOCK; 10:50:30 unset SSH_AGENT_PID; 10:50:30 echo Agent pid 37 killed; 10:50:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:50:30 + git semver [Pipeline] } 10:50:30 $ docker stop --time=1 9c1392f37ed68d40d2622f66c1f21aea769c9be625c87dc57534f4960749591c 10:50:32 $ docker rm -f --volumes 9c1392f37ed68d40d2622f66c1f21aea769c9be625c87dc57534f4960749591c [Pipeline] // withDockerContainer [Pipeline] sh 10:50:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:50:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:50:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:50:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:50:32 prd-ubuntu20.04-docker-8c-8g-1259 does not seem to be running inside a container 10:50:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:50:33 $ docker top 1b039af437adccc82d06267d0534779cb3a940e9cd5abd7ddc069346be364044 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:50:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:50:33 [ssh-agent] Looking for ssh-agent implementation... 10:50:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:50:33 $ docker exec 1b039af437adccc82d06267d0534779cb3a940e9cd5abd7ddc069346be364044 ssh-agent 10:50:33 SSH_AUTH_SOCK=/tmp/ssh-vJOO834HHPIo/agent.33 10:50:33 SSH_AGENT_PID=39 10:50:33 Running ssh-add (command line suppressed) 10:50:33 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_10436495297059957711.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_10436495297059957711.key) 10:50:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:50:33 + git semver push 10:50:34 2023-07-16 10:50:34,117 [run_push] DEBUG push 10:50:34 2023-07-16 10:50:34,118 [execute] INFO git cat-file --batch-check 10:50:34 2023-07-16 10:50:34,118 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 10:50:34 2023-07-16 10:50:34,121 [execute] INFO git rev-list 6912d7f072f3ae853235c64ec40db26b578a8e8a -- 10:50:34 2023-07-16 10:50:34,122 [execute] DEBUG Popen(['git', 'rev-list', '6912d7f072f3ae853235c64ec40db26b578a8e8a', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 10:50:34 2023-07-16 10:50:34,129 [execute] INFO git fetch -v origin 10:50:34 2023-07-16 10:50:34,130 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 10:50:34 2023-07-16 10:50:34,620 [run_push] DEBUG no remote changes detected 10:50:34 2023-07-16 10:50:34,621 [execute] INFO git push origin semver 10:50:34 2023-07-16 10:50:34,621 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 10:50:35 2023-07-16 10:50:35,416 [run_push] DEBUG push all version tags 10:50:35 2023-07-16 10:50:35,417 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 10:50:35 2023-07-16 10:50:35,417 [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) 10:50:36 2023-07-16 10:50:36,120 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 10:50:36 3.1.0-dev.4 [Pipeline] } 10:50:36 $ docker exec --env ******** --env ******** 1b039af437adccc82d06267d0534779cb3a940e9cd5abd7ddc069346be364044 ssh-agent -k 10:50:36 unset SSH_AUTH_SOCK; 10:50:36 unset SSH_AGENT_PID; 10:50:36 echo Agent pid 39 killed; 10:50:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:50:36 + git semver [Pipeline] } 10:50:36 $ docker stop --time=1 1b039af437adccc82d06267d0534779cb3a940e9cd5abd7ddc069346be364044 10:50:38 $ docker rm -f --volumes 1b039af437adccc82d06267d0534779cb3a940e9cd5abd7ddc069346be364044 [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 10:50:38 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 10:50:38 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 10:50:38 total 16 10:50:38 drwxr-xr-x 3 root root 4096 Jul 16 10:45 . 10:50:38 drwxrwxr-x 10 jenkins jenkins 4096 Jul 16 10:50 .. 10:50:38 drwxr-xr-x 2 root root 4096 Jul 16 10:45 cost 10:50:38 -rw-r--r-- 1 root root 83 Jul 16 10:45 cost.csv 10:50:38 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 10:50:38 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 10:50:38 total 16 10:50:38 drwxr-xr-x 3 jenkins jenkins 4096 Jul 16 10:45 . 10:50:38 drwxrwxr-x 10 jenkins jenkins 4096 Jul 16 10:50 .. 10:50:38 drwxr-xr-x 2 jenkins jenkins 4096 Jul 16 10:45 cost 10:50:38 -rw-r--r-- 1 jenkins jenkins 83 Jul 16 10:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:50:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:50:39 ---> package-listing.sh 10:50:39 ++ facter osfamily 10:50:39 ++ tr '[:upper:]' '[:lower:]' 10:50:40 + OS_FAMILY=debian 10:50:40 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 10:50:40 + START_PACKAGES=/tmp/packages_start.txt 10:50:40 + END_PACKAGES=/tmp/packages_end.txt 10:50:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:50:40 + PACKAGES=/tmp/packages_start.txt 10:50:40 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 10:50:40 + PACKAGES=/tmp/packages_end.txt 10:50:40 + case "${OS_FAMILY}" in 10:50:40 + dpkg -l 10:50:40 + grep '^ii' 10:50:40 + '[' -f /tmp/packages_start.txt ']' 10:50:40 + '[' -f /tmp/packages_end.txt ']' 10:50:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:50:40 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 10:50:40 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 10:50:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 10:50:40 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 10:50:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:50:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:50:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:50:41 prd-ubuntu20.04-docker-8c-8g-1259 does not seem to be running inside a container 10:50:41 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:50:41 $ docker top 971355e3bbabdf34bed78deec4f98ba124e841758e31411b7be5151f0fd1b07b -eo pid,comm [Pipeline] { [Pipeline] sh 10:50:41 + touch /tmp/pre-build-complete [Pipeline] sh 10:50:41 + mkdir -p /var/log/sysstat [Pipeline] sh 10:50:42 + ls /var/log/sa-host 10:50:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:50:42 provisioning config files... 10:50:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config12082502094636071318tmp [Pipeline] { [Pipeline] echo 10:50:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:50:42 ---> create-netrc.sh [Pipeline] } 10:50:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:50:42 ---> python-tools-install.sh [Pipeline] echo 10:50:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:50:43 ---> sudo-logs.sh 10:50:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:50:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:50:43 ---> job-cost.sh 10:50:43 lf-activate-venv: SKIPPING 10:50:43 DEBUG: total: 0.2199999988079071 10:50:43 INFO: Retrieving Stack Cost... 10:50:44 INFO: Retrieving Pricing Info for: v3-standard-8 10:50:44 INFO: Archiving Costs [Pipeline] echo 10:50:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:50:44 ---> logs-deploy.sh 10:50:44 lf-activate-venv: SKIPPING 10:50:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/52 10:50:44 INFO: archiving workspace using pattern(s): 10:50:45 Archives upload complete. 10:50:45 INFO: archiving logs to Nexus