Started by user Felix Ting Restarted from build #1, stage Build Check Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 4504df9bdc42e67ccb7a3eb990460bb7d9735de7+e7fd64e96379a16422cca1ca57683b7b4003cc62 (a26438a856eab4655cac3fa36b2e5c5b3f3e9529) [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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-918 in /w/workspace/edgexfoundry_device-sdk-c_PR-467 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-467 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e7fd64e96379a16422cca1ca57683b7b4003cc62 into PR head commit 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 Merge succeeded, producing 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 Checking out Revision 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 (PR-467) > git config core.sparsecheckout # timeout=10 > git checkout -f 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e7fd64e96379a16422cca1ca57683b7b4003cc62 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 # timeout=10 Commit message: "fix: update edgex_data_to_b64 to ignore the last null character" > git rev-list --no-walk 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:03:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) Stage "Prepare" skipped due to this build restarting at stage "Build Check" [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) Stage "Build LTS Release Image" skipped due to this build restarting at stage "Build Check" [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to this build restarting at stage "Build Check" [Pipeline] } Stage "arm64" skipped due to this build restarting at stage "Build Check" [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:03:58 + git rev-list -1 --merges 4504df9bdc42e67ccb7a3eb990460bb7d9735de7~1..4504df9bdc42e67ccb7a3eb990460bb7d9735de7 [Pipeline] echo 01:03:59 -----------> git rev-list -1 --merges 4504df9bdc42e67ccb7a3eb990460bb7d9735de7~1..4504df9bdc42e67ccb7a3eb990460bb7d9735de7 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 [false] [Pipeline] sh 01:03:59 + git log --format=format:%s -1 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 [Pipeline] echo 01:03:59 ========================================================= 01:03:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:03:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 01:03:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:03:59 + grep -v github /etc/ssh/ssh_known_hosts 01:03:59 + [ -e /tmp/ssh_known_hosts ] 01:03:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:03:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:03:59 + sudo tee -a /etc/ssh/ssh_known_hosts 01:03:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:04:00 01:04:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:04:00 0.1.4: Pulling from edgex-devops/py-git-semver 01:04:00 b85a868b505f: Pulling fs layer 01:04:00 e2be974225ed: Pulling fs layer 01:04:00 339a4e72a1f5: Pulling fs layer 01:04:00 988bab9f4d93: Pulling fs layer 01:04:00 1469e6f7b9e6: Pulling fs layer 01:04:00 eaf3925da568: Pulling fs layer 01:04:00 bab4dde63d76: Pulling fs layer 01:04:00 bde34c3a00c8: Pulling fs layer 01:04:00 b352a97aabf1: Pulling fs layer 01:04:00 4872d77fe225: Pulling fs layer 01:04:00 5851b861e8e6: Pulling fs layer 01:04:00 988bab9f4d93: Waiting 01:04:00 1469e6f7b9e6: Waiting 01:04:00 eaf3925da568: Waiting 01:04:00 bab4dde63d76: Waiting 01:04:00 bde34c3a00c8: Waiting 01:04:00 b352a97aabf1: Waiting 01:04:00 4872d77fe225: Waiting 01:04:00 5851b861e8e6: Waiting 01:04:00 e2be974225ed: Verifying Checksum 01:04:00 e2be974225ed: Download complete 01:04:00 988bab9f4d93: Download complete 01:04:01 1469e6f7b9e6: Verifying Checksum 01:04:01 1469e6f7b9e6: Download complete 01:04:01 eaf3925da568: Download complete 01:04:01 339a4e72a1f5: Verifying Checksum 01:04:01 339a4e72a1f5: Download complete 01:04:01 bde34c3a00c8: Verifying Checksum 01:04:01 bde34c3a00c8: Download complete 01:04:01 b352a97aabf1: Verifying Checksum 01:04:01 b352a97aabf1: Download complete 01:04:01 4872d77fe225: Download complete 01:04:01 5851b861e8e6: Verifying Checksum 01:04:01 5851b861e8e6: Download complete 01:04:01 b85a868b505f: Verifying Checksum 01:04:01 b85a868b505f: Download complete 01:04:01 bab4dde63d76: Verifying Checksum 01:04:01 bab4dde63d76: Download complete 01:04:02 b85a868b505f: Pull complete 01:04:02 e2be974225ed: Pull complete 01:04:02 339a4e72a1f5: Pull complete 01:04:02 988bab9f4d93: Pull complete 01:04:03 1469e6f7b9e6: Pull complete 01:04:03 eaf3925da568: Pull complete 01:04:05 bab4dde63d76: Pull complete 01:04:05 bde34c3a00c8: Pull complete 01:04:05 b352a97aabf1: Pull complete 01:04:05 4872d77fe225: Pull complete 01:04:05 5851b861e8e6: Pull complete 01:04:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:04:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:04:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:04:05 prd-ubuntu20.04-docker-8c-8g-918 does not seem to be running inside a container 01:04:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-467 -v /w/workspace/edgexfoundry_device-sdk-c_PR-467:/w/workspace/edgexfoundry_device-sdk-c_PR-467:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:04:08 $ docker top 789441b5dd02d168b35fd4cf0f0bbf286599e18f53332fbdc75fff92503d61c5 -eo pid,comm 01:04:08 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). 01:04:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:04:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:04:08 [ssh-agent] Looking for ssh-agent implementation... 01:04:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:04:08 $ docker exec 789441b5dd02d168b35fd4cf0f0bbf286599e18f53332fbdc75fff92503d61c5 ssh-agent 01:04:08 SSH_AUTH_SOCK=/tmp/ssh-EOx1BCVTRAzr/agent.32 01:04:08 SSH_AGENT_PID=38 01:04:08 Running ssh-add (command line suppressed) 01:04:08 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/private_key_5630818841849192002.key (/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/private_key_5630818841849192002.key) 01:04:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:04:09 + git tag --points-at HEAD [Pipeline] } 01:04:09 $ docker exec --env ******** --env ******** 789441b5dd02d168b35fd4cf0f0bbf286599e18f53332fbdc75fff92503d61c5 ssh-agent -k 01:04:09 unset SSH_AUTH_SOCK; 01:04:09 unset SSH_AGENT_PID; 01:04:09 echo Agent pid 38 killed; 01:04:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:04:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:04:09 [ssh-agent] Looking for ssh-agent implementation... 01:04:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:04:09 $ docker exec 789441b5dd02d168b35fd4cf0f0bbf286599e18f53332fbdc75fff92503d61c5 ssh-agent 01:04:09 SSH_AUTH_SOCK=/tmp/ssh-N3GxF7MpCuoG/agent.70 01:04:09 SSH_AGENT_PID=76 01:04:09 Running ssh-add (command line suppressed) 01:04:09 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/private_key_12088275932373215542.key (/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/private_key_12088275932373215542.key) 01:04:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:04:10 + git semver init 01:04:10 2023-07-12 01:04:10,350 [run_init] DEBUG init version:0.0.0 force:False 01:04:10 2023-07-12 01:04:10,351 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver 01:04:10 2023-07-12 01:04:10,351 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver 01:04:10 2023-07-12 01:04:10,351 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-467, universal_newlines=False, shell=None, istream=None) 01:04:11 2023-07-12 01:04:11,183 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-467/.git/info/exclude 01:04:11 2023-07-12 01:04:11,183 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver/PR-467 with force:False 01:04:11 2023-07-12 01:04:11,183 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver/PR-467 01:04:11 2023-07-12 01:04:11,185 [execute] INFO git cat-file --batch-check 01:04:11 2023-07-12 01:04:11,186 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver, universal_newlines=False, shell=None, istream=) 01:04:11 2023-07-12 01:04:11,190 [execute] INFO git cat-file --batch 01:04:11 2023-07-12 01:04:11,191 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver, universal_newlines=False, shell=None, istream=) 01:04:11 2023-07-12 01:04:11,196 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver/PR-467 01:04:11 0.0.0 [Pipeline] } 01:04:11 $ docker exec --env ******** --env ******** 789441b5dd02d168b35fd4cf0f0bbf286599e18f53332fbdc75fff92503d61c5 ssh-agent -k 01:04:11 unset SSH_AUTH_SOCK; 01:04:11 unset SSH_AGENT_PID; 01:04:11 echo Agent pid 76 killed; 01:04:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:04:11 + git semver [Pipeline] } 01:04:12 $ docker stop --time=1 789441b5dd02d168b35fd4cf0f0bbf286599e18f53332fbdc75fff92503d61c5 01:04:13 $ docker rm -f --volumes 789441b5dd02d168b35fd4cf0f0bbf286599e18f53332fbdc75fff92503d61c5 [Pipeline] // withDockerContainer [Pipeline] sh 01:04:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:04:14 Warning: overwriting stash ‘semver’ 01:04:14 Stashed 1 file(s) [Pipeline] echo 01:04:14 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:04:14 provisioning config files... 01:04:14 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/config15616864286308774935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:04:15 ---> docker-login.sh 01:04:15 nexus3.edgexfoundry.org:10001 01:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:15 Configure a credential helper to remove this warning. See 01:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:15 01:04:15 Login Succeeded 01:04:15 nexus3.edgexfoundry.org:10002 01:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:15 Configure a credential helper to remove this warning. See 01:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:15 01:04:15 Login Succeeded 01:04:15 nexus3.edgexfoundry.org:10003 01:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:15 Configure a credential helper to remove this warning. See 01:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:15 01:04:15 Login Succeeded 01:04:15 nexus3.edgexfoundry.org:10004 01:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:15 Configure a credential helper to remove this warning. See 01:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:15 01:04:15 Login Succeeded 01:04:15 docker.io 01:04:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:15 Configure a credential helper to remove this warning. See 01:04:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:15 01:04:15 Login Succeeded 01:04:15 ---> docker-login.sh ends [Pipeline] } 01:04:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:04:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:04:15 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 01:04:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:04:16 ========================================================= 01:04:16 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 01:04:16 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:16 + 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 . 01:04:16 Sending build context to Docker daemon 4.826MB 01:04:16 Step 1/21 : ARG BASE=alpine:3.16 01:04:16 Step 2/21 : FROM ${BASE} as builder 01:04:16 latest: Pulling from edgex-devops/edgex-gcc-base 01:04:16 91d30c5bc195: Pulling fs layer 01:04:16 316e5a4585fb: Pulling fs layer 01:04:16 91d30c5bc195: Verifying Checksum 01:04:16 91d30c5bc195: Download complete 01:04:16 91d30c5bc195: Pull complete 01:04:17 316e5a4585fb: Download complete 01:04:20 316e5a4585fb: Pull complete 01:04:20 Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 01:04:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 01:04:20 ---> e83ffa357ff4 01:04:20 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 01:04:21 ---> Running in 8438b555bda9 01:04:21 Connecting to iotech.jfrog.io (54.229.11.32:443) 01:04:22 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:04:22 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:04:22 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:04:22 Removing intermediate container 8438b555bda9 01:04:22 ---> 8b659b34e558 01:04:22 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 01:04:22 ---> Running in cb076d9bd5c8 01:04:23 Removing intermediate container cb076d9bd5c8 01:04:23 ---> 2f01eaa292f7 01:04:23 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 01:04:23 ---> Running in 1674c80867d6 01:04:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:04:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:04:23 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 01:04:24 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:04:24 (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 01:04:24 (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 01:04:24 (3/16) Installing hiredis (1.0.2-r0) 01:04:24 (4/16) Installing hiredis-dev (1.0.2-r0) 01:04:24 (5/16) Installing iotech-iot-1.5 (1.5.0-r0) 01:04:25 (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) 01:04:25 (7/16) Installing libcbor (0.9.0-r1) 01:04:25 (8/16) Installing libcbor-dev (0.9.0-r1) 01:04:25 (9/16) Installing ncurses-dev (6.3_p20220521-r1) 01:04:25 (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 01:04:26 (11/16) Installing libblkid (2.38-r1) 01:04:26 (12/16) Installing libuuid (2.38-r1) 01:04:26 (13/16) Installing libfdisk (2.38-r1) 01:04:26 (14/16) Installing libmount (2.38-r1) 01:04:26 (15/16) Installing libsmartcols (2.38-r1) 01:04:26 (16/16) Installing util-linux-dev (2.38-r1) 01:04:26 Executing busybox-1.35.0-r17.trigger 01:04:26 OK: 280 MiB in 90 packages 01:04:26 Removing intermediate container 1674c80867d6 01:04:26 ---> 0a6374a1f4bf 01:04:26 Step 6/21 : RUN mkdir /tmp/sdk 01:04:26 ---> Running in 424e419fd0e4 01:04:27 Removing intermediate container 424e419fd0e4 01:04:27 ---> 93ab4455858a 01:04:27 Step 7/21 : COPY VERSION /tmp/sdk 01:04:27 ---> 3736964db340 01:04:27 Step 8/21 : COPY src /tmp/sdk/src 01:04:27 ---> d0d4abb02feb 01:04:27 Step 9/21 : COPY include /tmp/sdk/include 01:04:27 ---> bf7fe6147ef6 01:04:27 Step 10/21 : COPY scripts /tmp/sdk/scripts 01:04:27 ---> d53bac23e4e7 01:04:27 Step 11/21 : COPY LICENSE /tmp/sdk 01:04:28 ---> 05edb390acf6 01:04:28 Step 12/21 : COPY Attribution.txt /tmp/sdk 01:04:28 ---> 85759a9d32a3 01:04:28 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 01:04:28 ---> Running in b096418eaed4 01:04:28 + CPPCHECK=false 01:04:28 + DOCGEN=false 01:04:28 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 01:04:28 + '[' 0 -gt 0 ] 01:04:28 + readlink -f ./scripts/build.sh 01:04:28 + dirname /tmp/sdk/scripts/build.sh 01:04:28 + dirname /tmp/sdk/scripts 01:04:28 + ROOT=/tmp/sdk 01:04:28 + cd /tmp/sdk 01:04:28 + mkdir -p /tmp/sdk/build/release 01:04:28 + cd /tmp/sdk/build/release 01:04:28 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 01:04:28 -- The C compiler identification is GNU 11.2.1 01:04:28 -- Detecting C compiler ABI info 01:04:28 -- Detecting C compiler ABI info - done 01:04:28 -- Check for working C compiler: /usr/bin/cc - skipped 01:04:28 -- Detecting C compile features 01:04:28 -- Detecting C compile features - done 01:04:28 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 01:04:28 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 01:04:28 -- Found LIBYAML: /usr/lib/libyaml.so 01:04:28 -- Found LIBUUID: /usr/lib/libuuid.so 01:04:28 -- Found LIBCBOR: /usr/lib/libcbor.so 01:04:28 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 01:04:28 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 01:04:28 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 01:04:28 -- /opt/iotech/iot/1.5/include 01:04:28 -- C SDK 0.0.0 for Linux 01:04:28 -- Performing Test CSDK_HAVE_ATOMIC 01:04:28 -- Performing Test CSDK_HAVE_ATOMIC - Success 01:04:28 -- Found Curses: /usr/lib/libcurses.so 01:04:28 -- Configuring done 01:04:28 -- Generating done 01:04:28 -- Build files have been written to: /tmp/sdk/build/release 01:04:28 + make all package 01:04:28 + tee release.log 01:04:28 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 01:04:29 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 01:04:29 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 01:04:29 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 01:04:29 Still waiting to schedule task 01:04:29 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:04:29 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 01:04:29 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 01:04:29 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 01:04:30 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 01:04:30 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 01:04:30 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 01:04:30 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 01:04:30 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 01:04:30 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 01:04:31 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 01:04:31 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 01:04:31 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 01:04:31 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 01:04:31 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 01:04:31 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 01:04:31 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 01:04:32 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 01:04:33 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 01:04:33 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 01:04:33 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 01:04:33 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 01:04:33 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 01:04:33 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 01:04:33 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 01:04:34 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 01:04:34 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 01:04:34 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 01:04:35 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 01:04:35 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 01:04:35 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 01:04:35 [ 68%] Linking C shared library libcsdk.so 01:04:35 [ 68%] Built target csdk 01:04:35 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 01:04:35 [ 72%] Linking C executable template 01:04:35 [ 72%] Built target template 01:04:35 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 01:04:35 [ 76%] Linking C executable device-counter 01:04:35 [ 76%] Built target device-counter 01:04:35 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 01:04:35 [ 80%] Linking C executable device-random 01:04:35 [ 80%] Built target device-random 01:04:35 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 01:04:35 [ 84%] Linking C executable device-gyro 01:04:36 [ 84%] Built target device-gyro 01:04:36 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 01:04:36 [ 88%] Linking C executable device-bitfields 01:04:36 [ 88%] Built target device-bitfields 01:04:36 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 01:04:36 [ 92%] Linking C executable template-discovery 01:04:36 [ 92%] Built target template-discovery 01:04:36 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 01:04:36 [ 96%] Linking C executable device-file 01:04:36 [ 96%] Built target device-file 01:04:36 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 01:04:36 [100%] Linking C executable device-terminal 01:04:36 [100%] Built target device-terminal 01:04:36 Run CPack packaging tool... 01:04:36 CPack: Create package using TGZ 01:04:36 CPack: Install projects 01:04:36 CPack: - Run preinstall target for: Csdk 01:04:37 CPack: - Install project: Csdk [] 01:04:37 CPack: Create package 01:04:37 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 01:04:37 + '[' false '=' true ] 01:04:37 + '[' false '=' true ] 01:04:37 + mkdir -p /tmp/sdk/build/debug 01:04:37 + cd /tmp/sdk/build/debug 01:04:37 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 01:04:37 -- The C compiler identification is GNU 11.2.1 01:04:37 -- Detecting C compiler ABI info 01:04:37 -- Detecting C compiler ABI info - done 01:04:37 -- Check for working C compiler: /usr/bin/cc - skipped 01:04:37 -- Detecting C compile features 01:04:37 -- Detecting C compile features - done 01:04:37 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 01:04:37 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 01:04:37 -- Found LIBYAML: /usr/lib/libyaml.so 01:04:37 -- Found LIBUUID: /usr/lib/libuuid.so 01:04:37 -- Found LIBCBOR: /usr/lib/libcbor.so 01:04:37 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 01:04:37 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 01:04:37 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 01:04:37 -- /opt/iotech/iot/1.5/include 01:04:37 -- C SDK 0.0.0 for Linux 01:04:37 -- Performing Test CSDK_HAVE_ATOMIC 01:04:37 -- Performing Test CSDK_HAVE_ATOMIC - Success 01:04:37 -- Found Curses: /usr/lib/libcurses.so 01:04:37 -- Configuring done 01:04:37 -- Generating done 01:04:37 -- Build files have been written to: /tmp/sdk/build/debug 01:04:37 + make 01:04:37 + tee debug.log 01:04:37 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 01:04:37 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 01:04:37 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 01:04:37 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 01:04:37 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 01:04:37 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 01:04:38 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 01:04:38 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 01:04:38 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 01:04:38 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 01:04:38 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 01:04:38 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 01:04:38 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 01:04:38 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 01:04:38 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 01:04:38 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 01:04:38 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 01:04:38 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 01:04:39 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 01:04:39 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 01:04:39 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 01:04:39 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 01:04:39 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 01:04:39 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 01:04:39 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 01:04:39 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 01:04:39 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 01:04:39 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 01:04:40 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 01:04:40 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 01:04:40 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 01:04:40 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 01:04:40 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 01:04:40 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 01:04:40 [ 68%] Linking C shared library libcsdk.so 01:04:40 [ 68%] Built target csdk 01:04:40 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 01:04:40 [ 72%] Linking C executable template 01:04:40 [ 72%] Built target template 01:04:40 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 01:04:41 [ 76%] Linking C executable device-counter 01:04:41 [ 76%] Built target device-counter 01:04:41 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 01:04:41 [ 80%] Linking C executable device-random 01:04:41 [ 80%] Built target device-random 01:04:41 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 01:04:41 [ 84%] Linking C executable device-gyro 01:04:41 [ 84%] Built target device-gyro 01:04:41 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 01:04:41 [ 88%] Linking C executable device-bitfields 01:04:41 [ 88%] Built target device-bitfields 01:04:41 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 01:04:41 [ 92%] Linking C executable template-discovery 01:04:41 [ 92%] Built target template-discovery 01:04:41 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 01:04:41 [ 96%] Linking C executable device-file 01:04:41 [ 96%] Built target device-file 01:04:41 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 01:04:41 [100%] Linking C executable device-terminal 01:04:41 [100%] Built target device-terminal 01:04:41 make: Entering directory '/tmp/sdk/build/release' 01:04:41 make[1]: Entering directory '/tmp/sdk/build/release' 01:04:41 make[2]: Entering directory '/tmp/sdk/build/release' 01:04:42 make[2]: Leaving directory '/tmp/sdk/build/release' 01:04:42 [ 68%] Built target csdk 01:04:42 make[2]: Entering directory '/tmp/sdk/build/release' 01:04:42 make[2]: Leaving directory '/tmp/sdk/build/release' 01:04:42 [ 72%] Built target template 01:04:42 make[2]: Entering directory '/tmp/sdk/build/release' 01:04:42 make[2]: Leaving directory '/tmp/sdk/build/release' 01:04:42 [ 76%] Built target device-counter 01:04:42 make[2]: Entering directory '/tmp/sdk/build/release' 01:04:42 make[2]: Leaving directory '/tmp/sdk/build/release' 01:04:42 [ 80%] Built target device-random 01:04:42 make[2]: Entering directory '/tmp/sdk/build/release' 01:04:42 make[2]: Leaving directory '/tmp/sdk/build/release' 01:04:42 [ 84%] Built target device-gyro 01:04:42 make[2]: Entering directory '/tmp/sdk/build/release' 01:04:42 make[2]: Leaving directory '/tmp/sdk/build/release' 01:04:42 [ 88%] Built target device-bitfields 01:04:42 make[2]: Entering directory '/tmp/sdk/build/release' 01:04:42 make[2]: Leaving directory '/tmp/sdk/build/release' 01:04:42 [ 92%] Built target template-discovery 01:04:42 make[2]: Entering directory '/tmp/sdk/build/release' 01:04:42 make[2]: Leaving directory '/tmp/sdk/build/release' 01:04:42 [ 96%] Built target device-file 01:04:42 make[2]: Entering directory '/tmp/sdk/build/release' 01:04:42 make[2]: Leaving directory '/tmp/sdk/build/release' 01:04:42 [100%] Built target device-terminal 01:04:42 make[1]: Leaving directory '/tmp/sdk/build/release' 01:04:42 Install the project... 01:04:42 -- Install configuration: "Release" 01:04:42 -- Installing: /usr/local/lib/libcsdk.so 01:04:42 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 01:04:42 -- Installing: /usr/local/include 01:04:42 -- Installing: /usr/local/include/devsdk 01:04:42 -- Installing: /usr/local/include/devsdk/devsdk.h 01:04:42 -- Installing: /usr/local/include/devsdk/devsdk-base.h 01:04:42 -- Installing: /usr/local/include/edgex 01:04:42 -- Installing: /usr/local/include/edgex/edgex.h 01:04:42 -- Installing: /usr/local/include/edgex/devices.h 01:04:42 -- Installing: /usr/local/include/edgex/profiles.h 01:04:42 -- Installing: /usr/local/include/edgex/edgex-base.h 01:04:42 -- Installing: /usr/local/include/edgex/rest-server.h 01:04:42 -- Installing: /usr/local/include/edgex/csdk-defs.h 01:04:42 -- Installing: /usr/local/share/device-sdk-c/LICENSE 01:04:42 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 01:04:42 make: Leaving directory '/tmp/sdk/build/release' 01:04:42 Removing intermediate container b096418eaed4 01:04:42 ---> 31a56767efa5 01:04:42 Step 14/21 : FROM ${BASE} 01:04:42 ---> e83ffa357ff4 01:04:42 Step 15/21 : LABEL maintainer="IOTech " 01:04:42 ---> Running in 490155b5a87c 01:04:42 Removing intermediate container 490155b5a87c 01:04:42 ---> 5cab3555485a 01:04:42 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 01:04:42 ---> Running in cf445765b2e0 01:04:43 Connecting to iotech.jfrog.io (52.214.181.33:443) 01:04:43 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:04:43 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:04:43 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:04:43 Removing intermediate container cf445765b2e0 01:04:43 ---> fe1aa561af01 01:04:43 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 01:04:43 ---> Running in d69bd1fdff47 01:04:44 Removing intermediate container d69bd1fdff47 01:04:44 ---> 163978e97d2d 01:04:44 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 01:04:44 ---> Running in 7b970558e76e 01:04:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:04:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:04:45 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 01:04:45 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:04:45 (1/7) Installing curl (8.1.2-r0) 01:04:45 (2/7) Installing hiredis (1.0.2-r0) 01:04:45 (3/7) Installing hiredis-dev (1.0.2-r0) 01:04:45 (4/7) Installing iotech-iot-1.4 (1.4.2-r0) 01:04:46 (5/7) Installing libcbor (0.9.0-r1) 01:04:46 (6/7) Installing libuuid (2.38-r1) 01:04:46 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 01:04:46 Executing busybox-1.35.0-r17.trigger 01:04:46 OK: 276 MiB in 83 packages 01:04:47 Removing intermediate container 7b970558e76e 01:04:47 ---> 0ec321624127 01:04:47 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 01:04:47 ---> 4e809ce2455a 01:04:47 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 01:04:47 ---> 66ea77102514 01:04:47 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 01:04:47 ---> 7df647db0271 01:04:47 Successfully built 7df647db0271 01:04:47 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 01:04:48 + docker inspect -f . ci-base-image-x86_64 01:04:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:04:48 prd-ubuntu20.04-docker-8c-8g-918 does not seem to be running inside a container 01:04:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-467 -v /w/workspace/edgexfoundry_device-sdk-c_PR-467:/w/workspace/edgexfoundry_device-sdk-c_PR-467:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:04:48 $ docker top 785939737a46511dafb0b9c49d630ed99f6c839f6f00fb3b7b8f9b588ae567f0 -eo pid,comm [Pipeline] { [Pipeline] sh 01:04:49 + make test 01:04:49 echo "make test" 01:04:49 make test [Pipeline] } 01:04:49 $ docker stop --time=1 785939737a46511dafb0b9c49d630ed99f6c839f6f00fb3b7b8f9b588ae567f0 01:04:50 $ docker rm -f --volumes 785939737a46511dafb0b9c49d630ed99f6c839f6f00fb3b7b8f9b588ae567f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:04:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:04:51 + ls -al . 01:04:51 total 212 01:04:51 drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 01:04 . 01:04:51 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:03 .. 01:04:51 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 01:04 .git 01:04:51 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:03 .github 01:04:51 -rw-rw-r-- 1 jenkins jenkins 176 Jul 12 01:03 .gitignore 01:04:51 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 01:04 .semver 01:04:51 -rw-rw-r-- 1 jenkins jenkins 2908 Jul 12 01:03 Attribution.txt 01:04:51 -rw-rw-r-- 1 jenkins jenkins 9268 Jul 12 01:03 CHANGES 01:04:51 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 12 01:03 Doxyfile 01:04:51 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 01:03 GOVERNANCE.md 01:04:51 -rw-rw-r-- 1 jenkins jenkins 784 Jul 12 01:03 Jenkinsfile 01:04:51 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 12 01:03 LICENSE 01:04:51 -rw-rw-r-- 1 jenkins jenkins 444 Jul 12 01:03 Makefile 01:04:51 -rw-rw-r-- 1 jenkins jenkins 618 Jul 12 01:03 OWNERS.md 01:04:51 -rw-rw-r-- 1 jenkins jenkins 1651 Jul 12 01:03 README.IOT.md 01:04:51 -rw-rw-r-- 1 jenkins jenkins 4215 Jul 12 01:03 README.md 01:04:51 -rw-rw-r-- 1 jenkins jenkins 1245 Jul 12 01:03 README.v3.md 01:04:51 -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 01:04 VERSION 01:04:51 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:03 docs 01:04:51 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:03 include 01:04:51 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:03 scripts 01:04:51 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:03 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:51 + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=4504df9bdc42e67ccb7a3eb990460bb7d9735de7 --label arch=amd64 --label version=0.0.0 . 01:04:51 Sending build context to Docker daemon 4.826MB 01:04:51 Step 1/17 : ARG BASE=alpine:3.16 01:04:51 Step 2/17 : FROM ${BASE} 01:04:51 ---> 7df647db0271 01:04:51 Step 3/17 : LABEL maintainer="IOTech " 01:04:51 ---> Running in 11137d616e94 01:04:52 Removing intermediate container 11137d616e94 01:04:52 ---> b333a94aee39 01:04:52 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 01:04:52 ---> Running in 2a3f65f389e9 01:04:52 Connecting to iotech.jfrog.io (54.76.62.242:443) 01:04:52 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:04:52 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:04:52 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:04:52 Removing intermediate container 2a3f65f389e9 01:04:52 ---> 919b9e33348b 01:04:52 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 01:04:53 ---> Running in b67cff0a2f46 01:04:53 Removing intermediate container b67cff0a2f46 01:04:53 ---> bbb82eb9404b 01:04:53 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 01:04:53 ---> Running in 18b005212ace 01:04:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:04:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:04:54 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 01:04:54 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:04:54 (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 01:04:54 (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 01:04:54 (3/11) Installing iotech-iot-1.5 (1.5.0-r0) 01:04:55 (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 01:04:55 (5/11) Installing libcbor-dev (0.9.0-r1) 01:04:55 (6/11) Installing ncurses-dev (6.3_p20220521-r1) 01:04:55 (7/11) Installing libblkid (2.38-r1) 01:04:55 (8/11) Installing libfdisk (2.38-r1) 01:04:55 (9/11) Installing libmount (2.38-r1) 01:04:55 (10/11) Installing libsmartcols (2.38-r1) 01:04:55 (11/11) Installing util-linux-dev (2.38-r1) 01:04:55 Executing busybox-1.35.0-r17.trigger 01:04:55 OK: 281 MiB in 92 packages 01:04:56 Removing intermediate container 18b005212ace 01:04:56 ---> bb326a63f90f 01:04:56 Step 7/17 : COPY VERSION /edgex-c-sdk/ 01:04:56 ---> 15d98e403386 01:04:56 Step 8/17 : COPY src /edgex-c-sdk/src/ 01:04:56 ---> 4eeef8abed9f 01:04:56 Step 9/17 : COPY include /edgex-c-sdk/include/ 01:04:56 ---> 2fabccb5555a 01:04:56 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 01:04:56 ---> a7e8b0e1fb56 01:04:56 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 01:04:56 ---> 2c1d54ddd366 01:04:56 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 01:04:56 ---> 8c5d9726eed5 01:04:56 Step 13/17 : WORKDIR /edgex-c-sdk 01:04:57 ---> Running in fd14d9f19a2d 01:04:57 Removing intermediate container fd14d9f19a2d 01:04:57 ---> e093d19b1ec7 01:04:57 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 01:04:57 ---> Running in eb880a8a945c 01:04:57 Removing intermediate container eb880a8a945c 01:04:57 ---> 9d8f5f7bf6f8 01:04:57 Step 15/17 : LABEL arch=amd64 01:04:57 ---> Running in 33b24cbecf55 01:04:57 Removing intermediate container 33b24cbecf55 01:04:57 ---> 2258d0bb206c 01:04:57 Step 16/17 : LABEL git_sha=4504df9bdc42e67ccb7a3eb990460bb7d9735de7 01:04:57 ---> Running in bafd10851d22 01:04:57 Removing intermediate container bafd10851d22 01:04:57 ---> 7a91b8a295ae 01:04:57 Step 17/17 : LABEL version=0.0.0 01:04:57 ---> Running in 799aa94dc2d1 01:04:57 Removing intermediate container 799aa94dc2d1 01:04:57 ---> 00bc26693cca 01:04:57 [Warning] One or more build-args [ARCH MAKE] were not consumed 01:04:57 Successfully built 00bc26693cca 01:04:57 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 01:04:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:04:58 01:04:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:04:58 latest: Pulling from edgex-lftools-log-publisher 01:04:58 5eb5b503b376: Pulling fs layer 01:04:58 5c69ac0246d0: Pulling fs layer 01:04:58 ec43610c2a17: Pulling fs layer 01:04:58 3a2ae6a8a46f: Pulling fs layer 01:04:58 33b1e0a273af: Pulling fs layer 01:04:58 5d3b04190fa2: Pulling fs layer 01:04:58 2f39f015ded8: Pulling fs layer 01:04:58 33b1e0a273af: Waiting 01:04:58 3a2ae6a8a46f: Waiting 01:04:58 5d3b04190fa2: Waiting 01:04:58 2f39f015ded8: Waiting 01:04:58 5c69ac0246d0: Verifying Checksum 01:04:58 5c69ac0246d0: Download complete 01:04:58 3a2ae6a8a46f: Download complete 01:04:58 33b1e0a273af: Verifying Checksum 01:04:58 33b1e0a273af: Download complete 01:04:58 5d3b04190fa2: Download complete 01:04:58 ec43610c2a17: Verifying Checksum 01:04:58 ec43610c2a17: Download complete 01:04:58 5eb5b503b376: Verifying Checksum 01:04:58 5eb5b503b376: Download complete 01:04:59 2f39f015ded8: Download complete 01:04:59 5eb5b503b376: Pull complete 01:04:59 5c69ac0246d0: Pull complete 01:05:00 ec43610c2a17: Pull complete 01:05:00 3a2ae6a8a46f: Pull complete 01:05:00 33b1e0a273af: Pull complete 01:05:00 5d3b04190fa2: Pull complete 01:05:04 2f39f015ded8: Pull complete 01:05:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:05:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:05:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:04 prd-ubuntu20.04-docker-8c-8g-918 does not seem to be running inside a container 01:05:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-467 -v /w/workspace/edgexfoundry_device-sdk-c_PR-467:/w/workspace/edgexfoundry_device-sdk-c_PR-467:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:05:07 $ docker top f584e1d94e530938eaca43c609af16811a3c0c5eaf0d578e2b72ad9df2b15cbd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:05:08 ---> job-cost.sh 01:05:08 lf-activate-venv: SKIPPING 01:05:08 INFO: No Stack... 01:05:08 INFO: Retrieving Pricing Info for: v3-standard-8 01:05:08 INFO: Archiving Costs [Pipeline] sh 01:05:09 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives/cost.csv 01:05:09 + cut -d, -f6 [Pipeline] lock 01:05:09 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-467-2-stack-cost] 01:05:09 Resource [jenkins-edgexfoundry-device-sdk-c-PR-467-2-stack-cost] did not exist. Created. 01:05:09 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-467-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:05:09 /w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/durable-fcc057ff/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:05:09 + echo total: 0.2199999988079071 [Pipeline] stash 01:05:09 Warning: overwriting stash ‘stack-cost’ 01:05:09 Stashed 1 file(s) [Pipeline] } 01:05:09 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-467-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:05:10 $ docker stop --time=1 f584e1d94e530938eaca43c609af16811a3c0c5eaf0d578e2b72ad9df2b15cbd 01:05:11 $ docker rm -f --volumes f584e1d94e530938eaca43c609af16811a3c0c5eaf0d578e2b72ad9df2b15cbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:07:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-921 in /w/workspace/edgexfoundry_device-sdk-c_PR-467 [Pipeline] { [Pipeline] ws 01:07:40 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 01:07:41 Selected Git installation does not exist. Using Default 01:07:41 The recommended git tool is: NONE 01:07:46 using credential edgex-jenkins-ssh 01:07:46 Cloning the remote Git repository 01:07:46 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 01:07:46 > git init /w/workspace/device-sdk-c/2 # timeout=10 01:07:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 01:07:46 > git --version # timeout=10 01:07:46 > git --version # 'git version 2.25.1' 01:07:46 using GIT_SSH to set credentials SSH Credentials for GitHub 01:07:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:07:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 01:07:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:07:49 Merging remotes/origin/main commit e7fd64e96379a16422cca1ca57683b7b4003cc62 into PR head commit 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 01:07:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 01:07:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 01:07:49 using GIT_SSH to set credentials SSH Credentials for GitHub 01:07:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/467/head:refs/remotes/origin/PR-467 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:07:49 > git config core.sparsecheckout # timeout=10 01:07:49 > git checkout -f 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 # timeout=10 01:07:49 > git remote # timeout=10 01:07:49 Merge succeeded, producing 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 01:07:49 Checking out Revision 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 (PR-467) 01:07:49 > git config --get remote.origin.url # timeout=10 01:07:49 using GIT_SSH to set credentials SSH Credentials for GitHub 01:07:49 > git merge e7fd64e96379a16422cca1ca57683b7b4003cc62 # timeout=10 01:07:49 > git rev-parse HEAD^{commit} # timeout=10 01:07:49 > git config core.sparsecheckout # timeout=10 01:07:49 > git checkout -f 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 # timeout=10 01:07:53 Commit message: "fix: update edgex_data_to_b64 to ignore the last null character" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:07:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:07:54 % Total % Received % Xferd Average Speed Time Time Time Current 01:07:54 Dload Upload Total Spent Left Speed 01:07:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh 01:07:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:07:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:07:55 + sudo tee /etc/docker/daemon.new 01:07:55 { 01:07:55 "registry-mirrors": [ 01:07:55 "https://nexus3.edgexfoundry.org:10001" 01:07:55 ], 01:07:55 "bip": "10.250.0.254/24", 01:07:55 "hosts": [ 01:07:55 "tcp://0.0.0.0:5555", 01:07:55 "unix:///var/run/docker.sock" 01:07:55 ], 01:07:55 "mtu": 1458, 01:07:55 "selinux-enabled": true, 01:07:55 "seccomp-profile": "/etc/docker/seccomp.json" 01:07:55 } [Pipeline] sh 01:07:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:07:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:08:14 provisioning config files... 01:08:14 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config14882208628479791061tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:08:15 ---> docker-login.sh 01:08:15 nexus3.edgexfoundry.org:10001 01:08:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:15 Configure a credential helper to remove this warning. See 01:08:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:15 01:08:15 Login Succeeded 01:08:15 nexus3.edgexfoundry.org:10002 01:08:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:16 Configure a credential helper to remove this warning. See 01:08:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:16 01:08:16 Login Succeeded 01:08:16 nexus3.edgexfoundry.org:10003 01:08:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:16 Configure a credential helper to remove this warning. See 01:08:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:16 01:08:16 Login Succeeded 01:08:16 nexus3.edgexfoundry.org:10004 01:08:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:16 Configure a credential helper to remove this warning. See 01:08:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:16 01:08:16 Login Succeeded 01:08:16 docker.io 01:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:17 Configure a credential helper to remove this warning. See 01:08:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:17 01:08:17 Login Succeeded 01:08:17 ---> docker-login.sh ends [Pipeline] } 01:08:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:08:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:08:17 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 01:08:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:08:17 ========================================================= 01:08:17 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 01:08:17 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:18 + 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 . 01:08:18 Sending build context to Docker daemon 2.888MB 01:08:18 Step 1/21 : ARG BASE=alpine:3.16 01:08:18 Step 2/21 : FROM ${BASE} as builder 01:08:19 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 01:08:19 547446be3368: Pulling fs layer 01:08:19 76bd08e1cacc: Pulling fs layer 01:08:19 547446be3368: Download complete 01:08:19 547446be3368: Pull complete 01:08:21 76bd08e1cacc: Verifying Checksum 01:08:21 76bd08e1cacc: Download complete 01:08:29 76bd08e1cacc: Pull complete 01:08:29 Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe 01:08:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 01:08:29 ---> 295cd00e64f4 01:08:29 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 01:08:30 ---> Running in 4f836c142700 01:08:31 Connecting to iotech.jfrog.io (52.17.239.128:443) 01:08:31 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:08:31 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:08:31 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:08:32 Removing intermediate container 4f836c142700 01:08:32 ---> 3f66397f554f 01:08:32 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 01:08:32 ---> Running in a8f196b0d3f1 01:08:33 Removing intermediate container a8f196b0d3f1 01:08:33 ---> 05ea2087a9b8 01:08:33 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 01:08:33 ---> Running in 56e7b0c8f6f1 01:08:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:08:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:08:35 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 01:08:36 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:08:36 (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 01:08:36 (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 01:08:36 (3/16) Installing hiredis (1.0.2-r0) 01:08:36 (4/16) Installing hiredis-dev (1.0.2-r0) 01:08:36 (5/16) Installing iotech-iot-1.5 (1.5.0-r0) 01:08:37 (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) 01:08:37 (7/16) Installing libcbor (0.9.0-r1) 01:08:37 (8/16) Installing libcbor-dev (0.9.0-r1) 01:08:37 (9/16) Installing ncurses-dev (6.3_p20220521-r1) 01:08:37 (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 01:08:38 (11/16) Installing libblkid (2.38-r1) 01:08:38 (12/16) Installing libuuid (2.38-r1) 01:08:38 (13/16) Installing libfdisk (2.38-r1) 01:08:38 (14/16) Installing libmount (2.38-r1) 01:08:38 (15/16) Installing libsmartcols (2.38-r1) 01:08:38 (16/16) Installing util-linux-dev (2.38-r1) 01:08:38 Executing busybox-1.35.0-r17.trigger 01:08:38 OK: 286 MiB in 90 packages 01:08:39 Removing intermediate container 56e7b0c8f6f1 01:08:39 ---> e0aed78debc9 01:08:39 Step 6/21 : RUN mkdir /tmp/sdk 01:08:39 ---> Running in 7729617968f9 01:08:41 Removing intermediate container 7729617968f9 01:08:41 ---> 86670c673d8c 01:08:41 Step 7/21 : COPY VERSION /tmp/sdk 01:08:41 ---> 17671f3cecb6 01:08:41 Step 8/21 : COPY src /tmp/sdk/src 01:08:42 ---> bc989a947cee 01:08:42 Step 9/21 : COPY include /tmp/sdk/include 01:08:43 ---> 4f6cca5a1b19 01:08:43 Step 10/21 : COPY scripts /tmp/sdk/scripts 01:08:43 ---> 1bd120617cb7 01:08:43 Step 11/21 : COPY LICENSE /tmp/sdk 01:08:44 ---> 51c70072784a 01:08:44 Step 12/21 : COPY Attribution.txt /tmp/sdk 01:08:44 ---> 9bb7f80b194d 01:08:44 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 01:08:44 ---> Running in 91f558bdefcb 01:08:45 + CPPCHECK=false 01:08:45 + DOCGEN=false 01:08:45 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 01:08:45 + '[' 0 -gt 0 ] 01:08:45 + readlink -f ./scripts/build.sh 01:08:45 + dirname /tmp/sdk/scripts/build.sh 01:08:45 + dirname /tmp/sdk/scripts 01:08:45 + ROOT=/tmp/sdk 01:08:45 + cd /tmp/sdk 01:08:45 + mkdir -p /tmp/sdk/build/release 01:08:45 + cd /tmp/sdk/build/release 01:08:45 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 01:08:46 -- The C compiler identification is GNU 11.2.1 01:08:46 -- Detecting C compiler ABI info 01:08:46 -- Detecting C compiler ABI info - done 01:08:46 -- Check for working C compiler: /usr/bin/cc - skipped 01:08:46 -- Detecting C compile features 01:08:46 -- Detecting C compile features - done 01:08:46 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 01:08:46 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 01:08:46 -- Found LIBYAML: /usr/lib/libyaml.so 01:08:46 -- Found LIBUUID: /usr/lib/libuuid.so 01:08:46 -- Found LIBCBOR: /usr/lib/libcbor.so 01:08:46 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 01:08:46 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 01:08:46 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 01:08:46 -- /opt/iotech/iot/1.5/include 01:08:46 -- C SDK 0.0.0 for Linux 01:08:46 -- Performing Test CSDK_HAVE_ATOMIC 01:08:47 -- Performing Test CSDK_HAVE_ATOMIC - Success 01:08:47 -- Found Curses: /usr/lib/libcurses.so 01:08:47 -- Configuring done 01:08:47 -- Generating done 01:08:47 -- Build files have been written to: /tmp/sdk/build/release 01:08:47 + make all package 01:08:47 + tee release.log 01:08:47 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 01:08:48 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 01:08:49 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 01:08:50 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 01:08:51 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 01:08:52 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 01:08:55 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 01:08:56 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 01:08:56 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 01:08:57 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 01:09:00 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 01:09:01 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 01:09:02 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 01:09:03 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 01:09:04 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 01:09:05 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 01:09:05 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 01:09:09 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 01:09:09 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 01:09:09 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 01:09:11 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 01:09:18 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 01:09:18 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 01:09:18 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 01:09:19 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 01:09:20 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 01:09:22 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 01:09:25 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 01:09:25 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 01:09:26 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 01:09:27 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 01:09:31 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 01:09:32 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 01:09:33 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 01:09:33 [ 68%] Linking C shared library libcsdk.so 01:09:34 [ 68%] Built target csdk 01:09:34 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 01:09:34 [ 72%] Linking C executable template 01:09:35 [ 72%] Built target template 01:09:35 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 01:09:36 [ 76%] Linking C executable device-counter 01:09:36 [ 76%] Built target device-counter 01:09:36 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 01:09:37 [ 80%] Linking C executable device-random 01:09:37 [ 80%] Built target device-random 01:09:37 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 01:09:37 [ 84%] Linking C executable device-gyro 01:09:38 [ 84%] Built target device-gyro 01:09:38 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 01:09:39 [ 88%] Linking C executable device-bitfields 01:09:39 [ 88%] Built target device-bitfields 01:09:39 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 01:09:40 [ 92%] Linking C executable template-discovery 01:09:41 [ 92%] Built target template-discovery 01:09:41 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 01:09:42 [ 96%] Linking C executable device-file 01:09:42 [ 96%] Built target device-file 01:09:42 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 01:09:43 [100%] Linking C executable device-terminal 01:09:43 [100%] Built target device-terminal 01:09:43 Run CPack packaging tool... 01:09:43 CPack: Create package using TGZ 01:09:43 CPack: Install projects 01:09:43 CPack: - Run preinstall target for: Csdk 01:09:44 CPack: - Install project: Csdk [] 01:09:44 CPack: Create package 01:09:44 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 01:09:44 + '[' false '=' true ] 01:09:44 + '[' false '=' true ] 01:09:44 + mkdir -p /tmp/sdk/build/debug 01:09:44 + cd /tmp/sdk/build/debug 01:09:44 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 01:09:45 -- The C compiler identification is GNU 11.2.1 01:09:45 -- Detecting C compiler ABI info 01:09:45 -- Detecting C compiler ABI info - done 01:09:45 -- Check for working C compiler: /usr/bin/cc - skipped 01:09:45 -- Detecting C compile features 01:09:45 -- Detecting C compile features - done 01:09:45 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 01:09:45 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 01:09:45 -- Found LIBYAML: /usr/lib/libyaml.so 01:09:45 -- Found LIBUUID: /usr/lib/libuuid.so 01:09:45 -- Found LIBCBOR: /usr/lib/libcbor.so 01:09:45 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 01:09:45 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 01:09:45 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 01:09:45 -- /opt/iotech/iot/1.5/include 01:09:45 -- C SDK 0.0.0 for Linux 01:09:45 -- Performing Test CSDK_HAVE_ATOMIC 01:09:46 -- Performing Test CSDK_HAVE_ATOMIC - Success 01:09:46 -- Found Curses: /usr/lib/libcurses.so 01:09:46 -- Configuring done 01:09:46 -- Generating done 01:09:47 -- Build files have been written to: /tmp/sdk/build/debug 01:09:47 + make 01:09:47 + tee debug.log 01:09:47 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 01:09:47 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 01:09:48 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 01:09:48 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 01:09:49 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 01:09:49 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 01:09:50 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 01:09:51 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 01:09:51 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 01:09:51 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 01:09:52 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 01:09:53 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 01:09:53 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 01:09:54 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 01:09:55 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 01:09:55 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 01:09:55 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 01:09:57 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 01:09:57 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 01:09:57 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 01:09:58 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 01:09:59 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 01:09:59 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 01:10:00 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 01:10:00 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 01:10:01 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 01:10:02 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 01:10:04 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 01:10:04 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 01:10:04 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 01:10:05 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 01:10:06 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 01:10:07 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 01:10:07 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 01:10:07 [ 68%] Linking C shared library libcsdk.so 01:10:08 [ 68%] Built target csdk 01:10:08 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 01:10:08 [ 72%] Linking C executable template 01:10:09 [ 72%] Built target template 01:10:09 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 01:10:09 [ 76%] Linking C executable device-counter 01:10:10 [ 76%] Built target device-counter 01:10:10 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 01:10:10 [ 80%] Linking C executable device-random 01:10:10 [ 80%] Built target device-random 01:10:11 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 01:10:11 [ 84%] Linking C executable device-gyro 01:10:11 [ 84%] Built target device-gyro 01:10:11 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 01:10:12 [ 88%] Linking C executable device-bitfields 01:10:12 [ 88%] Built target device-bitfields 01:10:12 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 01:10:12 [ 92%] Linking C executable template-discovery 01:10:13 [ 92%] Built target template-discovery 01:10:13 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 01:10:13 [ 96%] Linking C executable device-file 01:10:14 [ 96%] Built target device-file 01:10:14 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 01:10:14 [100%] Linking C executable device-terminal 01:10:15 [100%] Built target device-terminal 01:10:15 make: Entering directory '/tmp/sdk/build/release' 01:10:15 make[1]: Entering directory '/tmp/sdk/build/release' 01:10:15 make[2]: Entering directory '/tmp/sdk/build/release' 01:10:15 make[2]: Leaving directory '/tmp/sdk/build/release' 01:10:15 [ 68%] Built target csdk 01:10:15 make[2]: Entering directory '/tmp/sdk/build/release' 01:10:15 make[2]: Leaving directory '/tmp/sdk/build/release' 01:10:15 [ 72%] Built target template 01:10:15 make[2]: Entering directory '/tmp/sdk/build/release' 01:10:15 make[2]: Leaving directory '/tmp/sdk/build/release' 01:10:15 [ 76%] Built target device-counter 01:10:15 make[2]: Entering directory '/tmp/sdk/build/release' 01:10:15 make[2]: Leaving directory '/tmp/sdk/build/release' 01:10:15 [ 80%] Built target device-random 01:10:15 make[2]: Entering directory '/tmp/sdk/build/release' 01:10:15 make[2]: Leaving directory '/tmp/sdk/build/release' 01:10:15 [ 84%] Built target device-gyro 01:10:15 make[2]: Entering directory '/tmp/sdk/build/release' 01:10:15 make[2]: Leaving directory '/tmp/sdk/build/release' 01:10:15 [ 88%] Built target device-bitfields 01:10:15 make[2]: Entering directory '/tmp/sdk/build/release' 01:10:15 make[2]: Leaving directory '/tmp/sdk/build/release' 01:10:16 [ 92%] Built target template-discovery 01:10:16 make[2]: Entering directory '/tmp/sdk/build/release' 01:10:16 make[2]: Leaving directory '/tmp/sdk/build/release' 01:10:16 [ 96%] Built target device-file 01:10:16 make[2]: Entering directory '/tmp/sdk/build/release' 01:10:16 make[2]: Leaving directory '/tmp/sdk/build/release' 01:10:16 [100%] Built target device-terminal 01:10:16 make[1]: Leaving directory '/tmp/sdk/build/release' 01:10:16 Install the project... 01:10:16 -- Install configuration: "Release" 01:10:16 -- Installing: /usr/local/lib/libcsdk.so 01:10:16 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 01:10:16 -- Installing: /usr/local/include 01:10:16 -- Installing: /usr/local/include/devsdk 01:10:16 -- Installing: /usr/local/include/devsdk/devsdk.h 01:10:16 -- Installing: /usr/local/include/devsdk/devsdk-base.h 01:10:16 -- Installing: /usr/local/include/edgex 01:10:16 -- Installing: /usr/local/include/edgex/rest-server.h 01:10:16 -- Installing: /usr/local/include/edgex/edgex.h 01:10:16 -- Installing: /usr/local/include/edgex/edgex-base.h 01:10:16 -- Installing: /usr/local/include/edgex/devices.h 01:10:16 -- Installing: /usr/local/include/edgex/profiles.h 01:10:16 -- Installing: /usr/local/include/edgex/csdk-defs.h 01:10:16 -- Installing: /usr/local/share/device-sdk-c/LICENSE 01:10:16 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 01:10:16 make: Leaving directory '/tmp/sdk/build/release' 01:10:17 Removing intermediate container 91f558bdefcb 01:10:17 ---> 2dde0bdfdb8d 01:10:17 Step 14/21 : FROM ${BASE} 01:10:17 ---> 295cd00e64f4 01:10:17 Step 15/21 : LABEL maintainer="IOTech " 01:10:17 ---> Running in 3c01d9155c4d 01:10:17 Removing intermediate container 3c01d9155c4d 01:10:17 ---> 1df4ac4059ca 01:10:17 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 01:10:18 ---> Running in 5319b0b2f5d5 01:10:18 Connecting to iotech.jfrog.io (54.229.11.32:443) 01:10:19 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:10:19 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:10:19 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:10:20 Removing intermediate container 5319b0b2f5d5 01:10:20 ---> 26ccab081e50 01:10:20 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 01:10:20 ---> Running in 3dbf1b8f4fd4 01:10:21 Removing intermediate container 3dbf1b8f4fd4 01:10:21 ---> 7def3929de82 01:10:21 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 01:10:21 ---> Running in 773bf97d5352 01:10:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:10:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:10:23 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 01:10:24 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:10:24 (1/7) Installing curl (8.1.2-r0) 01:10:24 (2/7) Installing hiredis (1.0.2-r0) 01:10:24 (3/7) Installing hiredis-dev (1.0.2-r0) 01:10:24 (4/7) Installing iotech-iot-1.4 (1.4.2-r0) 01:10:25 (5/7) Installing libcbor (0.9.0-r1) 01:10:25 (6/7) Installing libuuid (2.38-r1) 01:10:25 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 01:10:26 Executing busybox-1.35.0-r17.trigger 01:10:26 OK: 281 MiB in 83 packages 01:10:27 Removing intermediate container 773bf97d5352 01:10:27 ---> b81995336e35 01:10:27 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 01:10:28 ---> 333cd7c1bd1b 01:10:28 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 01:10:29 ---> 5d1362802331 01:10:29 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 01:10:29 ---> 18e4967713c1 01:10:29 Successfully built 18e4967713c1 01:10:29 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 01:10:30 + docker inspect -f . ci-base-image-arm64 01:10:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:10:30 prd-ubuntu20.04-docker-arm64-4c-16g-921 does not seem to be running inside a container 01:10:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:10:31 $ docker top 1a4122fe75f4cfa666e30a4e2a28975770bd197fbc6d5f37a35e5c283328e6a5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:10:32 + make test 01:10:32 echo "make test" 01:10:32 make test [Pipeline] } 01:10:32 $ docker stop --time=1 1a4122fe75f4cfa666e30a4e2a28975770bd197fbc6d5f37a35e5c283328e6a5 01:10:34 $ docker rm -f --volumes 1a4122fe75f4cfa666e30a4e2a28975770bd197fbc6d5f37a35e5c283328e6a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:10:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:10:35 + ls -al . 01:10:35 total 208 01:10:35 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 01:07 . 01:10:35 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:07 .. 01:10:35 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 01:07 .git 01:10:35 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:07 .github 01:10:35 -rw-rw-r-- 1 jenkins jenkins 176 Jul 12 01:07 .gitignore 01:10:35 -rw-rw-r-- 1 jenkins jenkins 2908 Jul 12 01:07 Attribution.txt 01:10:35 -rw-rw-r-- 1 jenkins jenkins 9268 Jul 12 01:07 CHANGES 01:10:35 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 12 01:07 Doxyfile 01:10:35 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 01:07 GOVERNANCE.md 01:10:35 -rw-rw-r-- 1 jenkins jenkins 784 Jul 12 01:07 Jenkinsfile 01:10:35 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 12 01:07 LICENSE 01:10:35 -rw-rw-r-- 1 jenkins jenkins 444 Jul 12 01:07 Makefile 01:10:35 -rw-rw-r-- 1 jenkins jenkins 618 Jul 12 01:07 OWNERS.md 01:10:35 -rw-rw-r-- 1 jenkins jenkins 1651 Jul 12 01:07 README.IOT.md 01:10:35 -rw-rw-r-- 1 jenkins jenkins 4215 Jul 12 01:07 README.md 01:10:35 -rw-rw-r-- 1 jenkins jenkins 1245 Jul 12 01:07 README.v3.md 01:10:35 -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 01:04 VERSION 01:10:35 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:07 docs 01:10:35 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:07 include 01:10:35 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:07 scripts 01:10:35 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:07 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:36 + 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=4504df9bdc42e67ccb7a3eb990460bb7d9735de7 --label arch=arm64 --label version=0.0.0 . 01:10:36 Sending build context to Docker daemon 2.888MB 01:10:36 Step 1/17 : ARG BASE=alpine:3.16 01:10:36 Step 2/17 : FROM ${BASE} 01:10:36 ---> 18e4967713c1 01:10:36 Step 3/17 : LABEL maintainer="IOTech " 01:10:36 ---> Running in 46bcd84dec00 01:10:36 Removing intermediate container 46bcd84dec00 01:10:36 ---> e66771b397fa 01:10:36 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 01:10:36 ---> Running in d279831dd355 01:10:37 Connecting to iotech.jfrog.io (52.17.239.128:443) 01:10:38 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:10:38 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:10:38 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:10:38 Removing intermediate container d279831dd355 01:10:38 ---> 679367af9ea4 01:10:38 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 01:10:38 ---> Running in 7180f96ff4a4 01:10:40 Removing intermediate container 7180f96ff4a4 01:10:40 ---> 7d63fbc2f269 01:10:40 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 01:10:40 ---> Running in 3cb02506be41 01:10:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:10:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:10:42 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 01:10:43 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:10:43 (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 01:10:43 (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 01:10:43 (3/11) Installing iotech-iot-1.5 (1.5.0-r0) 01:10:44 (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 01:10:44 (5/11) Installing libcbor-dev (0.9.0-r1) 01:10:44 (6/11) Installing ncurses-dev (6.3_p20220521-r1) 01:10:44 (7/11) Installing libblkid (2.38-r1) 01:10:44 (8/11) Installing libfdisk (2.38-r1) 01:10:44 (9/11) Installing libmount (2.38-r1) 01:10:44 (10/11) Installing libsmartcols (2.38-r1) 01:10:44 (11/11) Installing util-linux-dev (2.38-r1) 01:10:44 Executing busybox-1.35.0-r17.trigger 01:10:44 OK: 287 MiB in 92 packages 01:10:45 Removing intermediate container 3cb02506be41 01:10:45 ---> d0219f922104 01:10:45 Step 7/17 : COPY VERSION /edgex-c-sdk/ 01:10:46 ---> de0103e3c5ad 01:10:46 Step 8/17 : COPY src /edgex-c-sdk/src/ 01:10:47 ---> 8a1ef6f7227d 01:10:47 Step 9/17 : COPY include /edgex-c-sdk/include/ 01:10:47 ---> 717d5d92e4c4 01:10:47 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 01:10:47 ---> 84e614891c2b 01:10:47 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 01:10:48 ---> 31e8fee42314 01:10:48 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 01:10:48 ---> c7e77573af7c 01:10:48 Step 13/17 : WORKDIR /edgex-c-sdk 01:10:48 ---> Running in b66d06b28ddb 01:10:49 Removing intermediate container b66d06b28ddb 01:10:49 ---> 7274df1d87fe 01:10:49 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 01:10:49 ---> Running in ca49101f0f1d 01:10:49 Removing intermediate container ca49101f0f1d 01:10:49 ---> 219b35dfe4f9 01:10:49 Step 15/17 : LABEL arch=arm64 01:10:49 ---> Running in 7ed61c9ee2bf 01:10:49 Removing intermediate container 7ed61c9ee2bf 01:10:49 ---> 254ba57ad0c5 01:10:49 Step 16/17 : LABEL git_sha=4504df9bdc42e67ccb7a3eb990460bb7d9735de7 01:10:50 ---> Running in 37d55b240f67 01:10:50 Removing intermediate container 37d55b240f67 01:10:50 ---> 12b94c697486 01:10:50 Step 17/17 : LABEL version=0.0.0 01:10:50 ---> Running in 0ba89ddb403c 01:10:50 Removing intermediate container 0ba89ddb403c 01:10:50 ---> 29f20479f453 01:10:50 [Warning] One or more build-args [MAKE ARCH] were not consumed 01:10:50 Successfully built 29f20479f453 01:10:50 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 01:10:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:10:51 01:10:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:10:51 arm64: Pulling from edgex-lftools-log-publisher 01:10:51 8998bd30e6a1: Pulling fs layer 01:10:51 04944245beec: Pulling fs layer 01:10:51 699f458cf7ca: Pulling fs layer 01:10:51 765212b225bb: Pulling fs layer 01:10:51 f23df028b6ca: Pulling fs layer 01:10:51 d65c8cfc05b1: Pulling fs layer 01:10:51 2437ff75d9bd: Pulling fs layer 01:10:51 765212b225bb: Waiting 01:10:51 f23df028b6ca: Waiting 01:10:51 d65c8cfc05b1: Waiting 01:10:51 2437ff75d9bd: Waiting 01:10:52 04944245beec: Verifying Checksum 01:10:52 04944245beec: Download complete 01:10:52 765212b225bb: Verifying Checksum 01:10:52 765212b225bb: Download complete 01:10:52 f23df028b6ca: Download complete 01:10:52 d65c8cfc05b1: Download complete 01:10:52 699f458cf7ca: Verifying Checksum 01:10:52 699f458cf7ca: Download complete 01:10:52 8998bd30e6a1: Verifying Checksum 01:10:52 8998bd30e6a1: Download complete 01:10:54 2437ff75d9bd: Verifying Checksum 01:10:54 2437ff75d9bd: Download complete 01:10:56 8998bd30e6a1: Pull complete 01:10:56 04944245beec: Pull complete 01:10:58 699f458cf7ca: Pull complete 01:10:58 765212b225bb: Pull complete 01:10:58 f23df028b6ca: Pull complete 01:10:58 d65c8cfc05b1: Pull complete 01:11:13 2437ff75d9bd: Pull complete 01:11:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:11:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:11:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:11:14 prd-ubuntu20.04-docker-arm64-4c-16g-921 does not seem to be running inside a container 01:11:14 $ 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/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:11:16 $ docker top f6e5ea2af0914aaf14c6d85fc032cc0955fce570e0822ca8553c5f772e577bed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:11:17 ---> job-cost.sh 01:11:17 lf-activate-venv: SKIPPING 01:11:17 INFO: No Stack... 01:11:17 INFO: Retrieving Pricing Info for: v3-standard-4 01:11:18 INFO: Archiving Costs [Pipeline] sh 01:11:19 + cat /w/workspace/device-sdk-c/2/archives/cost.csv 01:11:19 + cut -d, -f6 [Pipeline] lock 01:11:19 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-467-2-stack-cost] 01:11:19 Resource [jenkins-edgexfoundry-device-sdk-c-PR-467-2-stack-cost] did not exist. Created. 01:11:19 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-467-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:11:20 /w/workspace/device-sdk-c/2@tmp/durable-c0cc34c9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:11:20 + echo total: 0.10999999940395355 [Pipeline] stash 01:11:20 Warning: overwriting stash ‘stack-cost’ 01:11:21 Stashed 1 file(s) [Pipeline] } 01:11:21 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-467-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:11:21 $ docker stop --time=1 f6e5ea2af0914aaf14c6d85fc032cc0955fce570e0822ca8553c5f772e577bed 01:11:22 $ docker rm -f --volumes f6e5ea2af0914aaf14c6d85fc032cc0955fce570e0822ca8553c5f772e577bed [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 01:11:24 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives ] 01:11:24 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives 01:11:24 total 16 01:11:24 drwxr-xr-x 3 root root 4096 Jul 12 01:05 . 01:11:24 drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 01:05 .. 01:11:24 drwxr-xr-x 2 root root 4096 Jul 12 01:05 cost 01:11:24 -rw-r--r-- 1 root root 84 Jul 12 01:05 cost.csv 01:11:24 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives 01:11:24 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives 01:11:24 total 16 01:11:24 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 01:05 . 01:11:24 drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 01:05 .. 01:11:24 drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 01:05 cost 01:11:24 -rw-r--r-- 1 jenkins jenkins 84 Jul 12 01:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:11:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:11:25 ---> package-listing.sh 01:11:25 ++ facter osfamily 01:11:25 ++ tr '[:upper:]' '[:lower:]' 01:11:25 + OS_FAMILY=debian 01:11:25 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-467 01:11:25 + START_PACKAGES=/tmp/packages_start.txt 01:11:25 + END_PACKAGES=/tmp/packages_end.txt 01:11:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:11:25 + PACKAGES=/tmp/packages_start.txt 01:11:25 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-467 ']' 01:11:25 + PACKAGES=/tmp/packages_end.txt 01:11:25 + case "${OS_FAMILY}" in 01:11:25 + dpkg -l 01:11:25 + grep '^ii' 01:11:25 + '[' -f /tmp/packages_start.txt ']' 01:11:25 + '[' -f /tmp/packages_end.txt ']' 01:11:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:11:25 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-467 ']' 01:11:25 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives/ 01:11:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives/ [Pipeline] echo 01:11:25 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-467/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:11:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:11:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:11:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:11:26 prd-ubuntu20.04-docker-8c-8g-918 does not seem to be running inside a container 01:11:26 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-467/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-467 -v /w/workspace/edgexfoundry_device-sdk-c_PR-467:/w/workspace/edgexfoundry_device-sdk-c_PR-467:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:11:27 $ docker top 93c8d931c5311b819bbeb4be71e3dac6c84ce7a1400b0cc1173a87e6c9c27508 -eo pid,comm [Pipeline] { [Pipeline] sh 01:11:27 + touch /tmp/pre-build-complete [Pipeline] sh 01:11:27 + mkdir -p /var/log/sysstat [Pipeline] sh 01:11:28 + ls /var/log/sa-host 01:11:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:11:28 provisioning config files... 01:11:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/config9115527699607031537tmp [Pipeline] { [Pipeline] echo 01:11:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:11:28 ---> create-netrc.sh [Pipeline] } 01:11:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:11:29 ---> python-tools-install.sh [Pipeline] echo 01:11:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:11:29 ---> sudo-logs.sh 01:11:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:11:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:11:29 ---> job-cost.sh 01:11:29 lf-activate-venv: SKIPPING 01:11:29 DEBUG: total: 0.10999999940395355 01:11:29 INFO: Retrieving Stack Cost... 01:11:30 INFO: Retrieving Pricing Info for: v3-standard-8 01:11:30 INFO: Archiving Costs [Pipeline] echo 01:11:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:11:31 ---> logs-deploy.sh 01:11:31 lf-activate-venv: SKIPPING 01:11:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-467/2 01:11:31 INFO: archiving workspace using pattern(s): 01:11:31 Archives upload complete. 01:11:31 INFO: archiving logs to Nexus