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-922 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:14:43 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:14:44 + git rev-list -1 --merges 4504df9bdc42e67ccb7a3eb990460bb7d9735de7~1..4504df9bdc42e67ccb7a3eb990460bb7d9735de7 [Pipeline] echo 01:14:45 -----------> git rev-list -1 --merges 4504df9bdc42e67ccb7a3eb990460bb7d9735de7~1..4504df9bdc42e67ccb7a3eb990460bb7d9735de7 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 [false] [Pipeline] sh 01:14:45 + git log --format=format:%s -1 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 [Pipeline] echo 01:14:45 ========================================================= 01:14:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:14:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 01:14:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:14:45 + grep -v github /etc/ssh/ssh_known_hosts 01:14:45 + [ -e /tmp/ssh_known_hosts ] 01:14:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:14:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:14:45 + sudo tee -a /etc/ssh/ssh_known_hosts 01:14:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:14:46 01:14:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:14:46 0.1.4: Pulling from edgex-devops/py-git-semver 01:14:46 b85a868b505f: Pulling fs layer 01:14:46 e2be974225ed: Pulling fs layer 01:14:46 339a4e72a1f5: Pulling fs layer 01:14:46 988bab9f4d93: Pulling fs layer 01:14:46 1469e6f7b9e6: Pulling fs layer 01:14:46 eaf3925da568: Pulling fs layer 01:14:46 bab4dde63d76: Pulling fs layer 01:14:46 bde34c3a00c8: Pulling fs layer 01:14:46 b352a97aabf1: Pulling fs layer 01:14:46 4872d77fe225: Pulling fs layer 01:14:46 5851b861e8e6: Pulling fs layer 01:14:46 eaf3925da568: Waiting 01:14:46 988bab9f4d93: Waiting 01:14:46 1469e6f7b9e6: Waiting 01:14:46 5851b861e8e6: Waiting 01:14:46 bde34c3a00c8: Waiting 01:14:46 b352a97aabf1: Waiting 01:14:46 bab4dde63d76: Waiting 01:14:46 4872d77fe225: Waiting 01:14:47 e2be974225ed: Download complete 01:14:47 988bab9f4d93: Verifying Checksum 01:14:47 988bab9f4d93: Download complete 01:14:47 1469e6f7b9e6: Verifying Checksum 01:14:47 1469e6f7b9e6: Download complete 01:14:47 eaf3925da568: Verifying Checksum 01:14:47 eaf3925da568: Download complete 01:14:47 339a4e72a1f5: Verifying Checksum 01:14:47 339a4e72a1f5: Download complete 01:14:47 bde34c3a00c8: Verifying Checksum 01:14:47 bde34c3a00c8: Download complete 01:14:47 b352a97aabf1: Download complete 01:14:47 4872d77fe225: Download complete 01:14:47 5851b861e8e6: Verifying Checksum 01:14:47 5851b861e8e6: Download complete 01:14:47 b85a868b505f: Verifying Checksum 01:14:47 b85a868b505f: Download complete 01:14:47 bab4dde63d76: Verifying Checksum 01:14:47 bab4dde63d76: Download complete 01:14:48 b85a868b505f: Pull complete 01:14:48 e2be974225ed: Pull complete 01:14:49 339a4e72a1f5: Pull complete 01:14:49 988bab9f4d93: Pull complete 01:14:49 1469e6f7b9e6: Pull complete 01:14:49 eaf3925da568: Pull complete 01:14:50 bab4dde63d76: Pull complete 01:14:50 bde34c3a00c8: Pull complete 01:14:50 b352a97aabf1: Pull complete 01:14:50 4872d77fe225: Pull complete 01:14:51 5851b861e8e6: Pull complete 01:14:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:14:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:14:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:14:51 prd-ubuntu20.04-docker-8c-8g-922 does not seem to be running inside a container 01:14:51 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:14:55 $ docker top ef5dd6f1289ef174debb436bdd484969cdc319879ce6edcf5261be01fb450de3 -eo pid,comm 01:14:55 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:14:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:14:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:14:55 [ssh-agent] Looking for ssh-agent implementation... 01:14:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:14:56 $ docker exec ef5dd6f1289ef174debb436bdd484969cdc319879ce6edcf5261be01fb450de3 ssh-agent 01:14:56 SSH_AUTH_SOCK=/tmp/ssh-hsxsln2xX9oO/agent.31 01:14:56 SSH_AGENT_PID=38 01:14:56 Running ssh-add (command line suppressed) 01:14:56 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/private_key_116639013828996036.key (/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/private_key_116639013828996036.key) 01:14:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:14:56 + git tag --points-at HEAD [Pipeline] } 01:14:56 $ docker exec --env ******** --env ******** ef5dd6f1289ef174debb436bdd484969cdc319879ce6edcf5261be01fb450de3 ssh-agent -k 01:14:56 unset SSH_AUTH_SOCK; 01:14:56 unset SSH_AGENT_PID; 01:14:56 echo Agent pid 38 killed; 01:14:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:14:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:14:56 [ssh-agent] Looking for ssh-agent implementation... 01:14:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:14:56 $ docker exec ef5dd6f1289ef174debb436bdd484969cdc319879ce6edcf5261be01fb450de3 ssh-agent 01:14:57 SSH_AUTH_SOCK=/tmp/ssh-uNsXlN9dA38V/agent.70 01:14:57 SSH_AGENT_PID=76 01:14:57 Running ssh-add (command line suppressed) 01:14:57 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/private_key_6236681549083532409.key (/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/private_key_6236681549083532409.key) 01:14:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:14:57 + git semver init 01:14:57 2023-07-12 01:14:57,703 [run_init] DEBUG init version:0.0.0 force:False 01:14:57 2023-07-12 01:14:57,704 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver 01:14:57 2023-07-12 01:14:57,704 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver 01:14:57 2023-07-12 01:14:57,704 [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:14:58 2023-07-12 01:14:58,555 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-467/.git/info/exclude 01:14:58 2023-07-12 01:14:58,556 [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:14:58 2023-07-12 01:14:58,556 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver/PR-467 01:14:58 2023-07-12 01:14:58,560 [execute] INFO git cat-file --batch-check 01:14:58 2023-07-12 01:14:58,561 [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:14:58 2023-07-12 01:14:58,567 [execute] INFO git cat-file --batch 01:14:58 2023-07-12 01:14:58,567 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver, universal_newlines=False, shell=None, istream=) 01:14:58 2023-07-12 01:14:58,572 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver/PR-467 01:14:58 0.0.0 [Pipeline] } 01:14:58 $ docker exec --env ******** --env ******** ef5dd6f1289ef174debb436bdd484969cdc319879ce6edcf5261be01fb450de3 ssh-agent -k 01:14:58 unset SSH_AUTH_SOCK; 01:14:58 unset SSH_AGENT_PID; 01:14:58 echo Agent pid 76 killed; 01:14:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:14:59 + git semver [Pipeline] } 01:14:59 $ docker stop --time=1 ef5dd6f1289ef174debb436bdd484969cdc319879ce6edcf5261be01fb450de3 01:15:00 $ docker rm -f --volumes ef5dd6f1289ef174debb436bdd484969cdc319879ce6edcf5261be01fb450de3 [Pipeline] // withDockerContainer [Pipeline] sh 01:15:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:15:01 Stashed 1 file(s) [Pipeline] echo 01:15:01 [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:15:02 provisioning config files... 01:15:02 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/config13068054910171544599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:15:02 ---> docker-login.sh 01:15:02 nexus3.edgexfoundry.org:10001 01:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:02 Configure a credential helper to remove this warning. See 01:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:02 01:15:02 Login Succeeded 01:15:02 nexus3.edgexfoundry.org:10002 01:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:02 Configure a credential helper to remove this warning. See 01:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:02 01:15:02 Login Succeeded 01:15:02 nexus3.edgexfoundry.org:10003 01:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:02 Configure a credential helper to remove this warning. See 01:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:02 01:15:02 Login Succeeded 01:15:02 nexus3.edgexfoundry.org:10004 01:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:02 Configure a credential helper to remove this warning. See 01:15:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:02 01:15:02 Login Succeeded 01:15:02 docker.io 01:15:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:15:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:15:03 Configure a credential helper to remove this warning. See 01:15:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:15:03 01:15:03 Login Succeeded 01:15:03 ---> docker-login.sh ends [Pipeline] } 01:15:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:15:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:15:03 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 01:15:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:15:03 ========================================================= 01:15:03 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 01:15:03 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:04 + 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:15:04 Sending build context to Docker daemon 4.826MB 01:15:04 Step 1/21 : ARG BASE=alpine:3.16 01:15:04 Step 2/21 : FROM ${BASE} as builder 01:15:04 latest: Pulling from edgex-devops/edgex-gcc-base 01:15:04 91d30c5bc195: Pulling fs layer 01:15:04 316e5a4585fb: Pulling fs layer 01:15:04 91d30c5bc195: Download complete 01:15:04 91d30c5bc195: Pull complete 01:15:05 316e5a4585fb: Verifying Checksum 01:15:05 316e5a4585fb: Download complete 01:15:07 316e5a4585fb: Pull complete 01:15:07 Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 01:15:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 01:15:07 ---> e83ffa357ff4 01:15:07 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:15:09 ---> Running in e99be96dadcb 01:15:09 Connecting to iotech.jfrog.io (52.17.239.128:443) 01:15:09 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:15:09 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:15:09 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:15:10 Removing intermediate container e99be96dadcb 01:15:10 ---> 74ae77095de8 01:15:10 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 01:15:10 ---> Running in 6306e28ab8ed 01:15:10 Removing intermediate container 6306e28ab8ed 01:15:10 ---> 304d69c608f3 01:15:10 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:15:10 ---> Running in 7409b0bfe7ce 01:15:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:15:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:15:11 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 01:15:11 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:15:11 (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 01:15:11 (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 01:15:11 (3/16) Installing hiredis (1.0.2-r0) 01:15:11 (4/16) Installing hiredis-dev (1.0.2-r0) 01:15:11 (5/16) Installing iotech-iot-1.5 (1.5.0-r0) 01:15:12 (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) 01:15:12 (7/16) Installing libcbor (0.9.0-r1) 01:15:12 (8/16) Installing libcbor-dev (0.9.0-r1) 01:15:12 (9/16) Installing ncurses-dev (6.3_p20220521-r1) 01:15:12 (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 01:15:13 (11/16) Installing libblkid (2.38-r1) 01:15:13 (12/16) Installing libuuid (2.38-r1) 01:15:13 (13/16) Installing libfdisk (2.38-r1) 01:15:13 (14/16) Installing libmount (2.38-r1) 01:15:13 (15/16) Installing libsmartcols (2.38-r1) 01:15:13 (16/16) Installing util-linux-dev (2.38-r1) 01:15:13 Executing busybox-1.35.0-r17.trigger 01:15:13 OK: 280 MiB in 90 packages 01:15:14 Removing intermediate container 7409b0bfe7ce 01:15:14 ---> 36a575ea4ed0 01:15:14 Step 6/21 : RUN mkdir /tmp/sdk 01:15:14 ---> Running in 128be8eb4f55 01:15:14 Removing intermediate container 128be8eb4f55 01:15:14 ---> e26256792b48 01:15:14 Step 7/21 : COPY VERSION /tmp/sdk 01:15:14 ---> 7fee81c3cfca 01:15:14 Step 8/21 : COPY src /tmp/sdk/src 01:15:15 ---> d1ac577cce68 01:15:15 Step 9/21 : COPY include /tmp/sdk/include 01:15:15 ---> 643a5514b42d 01:15:15 Step 10/21 : COPY scripts /tmp/sdk/scripts 01:15:15 ---> 3cbe428288cb 01:15:15 Step 11/21 : COPY LICENSE /tmp/sdk 01:15:15 ---> f40b8753f04b 01:15:15 Step 12/21 : COPY Attribution.txt /tmp/sdk 01:15:15 ---> d6a8388b6b5d 01:15:15 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 01:15:15 ---> Running in 7f2940a6c433 01:15:15 + CPPCHECK=false 01:15:15 + DOCGEN=false 01:15:15 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 01:15:15 + '[' 0 -gt 0 ] 01:15:15 + readlink -f ./scripts/build.sh 01:15:15 + dirname /tmp/sdk/scripts/build.sh 01:15:15 + dirname /tmp/sdk/scripts 01:15:15 + ROOT=/tmp/sdk 01:15:15 + cd /tmp/sdk 01:15:15 + mkdir -p /tmp/sdk/build/release 01:15:15 + cd /tmp/sdk/build/release 01:15:15 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 01:15:15 -- The C compiler identification is GNU 11.2.1 01:15:15 -- Detecting C compiler ABI info 01:15:16 -- Detecting C compiler ABI info - done 01:15:16 -- Check for working C compiler: /usr/bin/cc - skipped 01:15:16 -- Detecting C compile features 01:15:16 -- Detecting C compile features - done 01:15:16 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 01:15:16 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 01:15:16 -- Found LIBYAML: /usr/lib/libyaml.so 01:15:16 -- Found LIBUUID: /usr/lib/libuuid.so 01:15:16 -- Found LIBCBOR: /usr/lib/libcbor.so 01:15:16 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 01:15:16 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 01:15:16 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 01:15:16 -- /opt/iotech/iot/1.5/include 01:15:16 -- C SDK 0.0.0 for Linux 01:15:16 -- Performing Test CSDK_HAVE_ATOMIC 01:15:16 -- Performing Test CSDK_HAVE_ATOMIC - Success 01:15:16 -- Found Curses: /usr/lib/libcurses.so 01:15:16 -- Configuring done 01:15:16 -- Generating done 01:15:16 -- Build files have been written to: /tmp/sdk/build/release 01:15:16 + make all package 01:15:16 + tee release.log 01:15:16 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 01:15:16 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 01:15:16 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 01:15:16 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 01:15:16 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 01:15:17 Still waiting to schedule task 01:15:17 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:15:17 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 01:15:17 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 01:15:17 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 01:15:17 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 01:15:17 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 01:15:18 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 01:15:18 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 01:15:18 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 01:15:18 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 01:15:18 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 01:15:18 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 01:15:18 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 01:15:19 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 01:15:19 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 01:15:19 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 01:15:19 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 01:15:20 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 01:15:20 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 01:15:20 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 01:15:20 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 01:15:21 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 01:15:21 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 01:15:21 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 01:15:21 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 01:15:21 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 01:15:22 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 01:15:22 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 01:15:22 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 01:15:22 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 01:15:22 [ 68%] Linking C shared library libcsdk.so 01:15:22 [ 68%] Built target csdk 01:15:22 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 01:15:22 [ 72%] Linking C executable template 01:15:23 [ 72%] Built target template 01:15:23 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 01:15:23 [ 76%] Linking C executable device-counter 01:15:23 [ 76%] Built target device-counter 01:15:23 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 01:15:23 [ 80%] Linking C executable device-random 01:15:23 [ 80%] Built target device-random 01:15:23 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 01:15:23 [ 84%] Linking C executable device-gyro 01:15:23 [ 84%] Built target device-gyro 01:15:23 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 01:15:23 [ 88%] Linking C executable device-bitfields 01:15:24 [ 88%] Built target device-bitfields 01:15:24 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 01:15:24 [ 92%] Linking C executable template-discovery 01:15:24 [ 92%] Built target template-discovery 01:15:24 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 01:15:24 [ 96%] Linking C executable device-file 01:15:24 [ 96%] Built target device-file 01:15:24 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 01:15:24 [100%] Linking C executable device-terminal 01:15:24 [100%] Built target device-terminal 01:15:24 Run CPack packaging tool... 01:15:24 CPack: Create package using TGZ 01:15:24 CPack: Install projects 01:15:24 CPack: - Run preinstall target for: Csdk 01:15:25 CPack: - Install project: Csdk [] 01:15:25 CPack: Create package 01:15:25 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 01:15:25 + '[' false '=' true ] 01:15:25 + '[' false '=' true ] 01:15:25 + mkdir -p /tmp/sdk/build/debug 01:15:25 + cd /tmp/sdk/build/debug 01:15:25 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 01:15:25 -- The C compiler identification is GNU 11.2.1 01:15:25 -- Detecting C compiler ABI info 01:15:25 -- Detecting C compiler ABI info - done 01:15:25 -- Check for working C compiler: /usr/bin/cc - skipped 01:15:25 -- Detecting C compile features 01:15:25 -- Detecting C compile features - done 01:15:25 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 01:15:25 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 01:15:25 -- Found LIBYAML: /usr/lib/libyaml.so 01:15:25 -- Found LIBUUID: /usr/lib/libuuid.so 01:15:25 -- Found LIBCBOR: /usr/lib/libcbor.so 01:15:25 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 01:15:25 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 01:15:25 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 01:15:25 -- /opt/iotech/iot/1.5/include 01:15:25 -- C SDK 0.0.0 for Linux 01:15:25 -- Performing Test CSDK_HAVE_ATOMIC 01:15:25 -- Performing Test CSDK_HAVE_ATOMIC - Success 01:15:25 -- Found Curses: /usr/lib/libcurses.so 01:15:25 -- Configuring done 01:15:25 -- Generating done 01:15:25 -- Build files have been written to: /tmp/sdk/build/debug 01:15:25 + make 01:15:25 + tee debug.log 01:15:25 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 01:15:25 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 01:15:25 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 01:15:25 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 01:15:25 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 01:15:25 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 01:15:26 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 01:15:26 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 01:15:26 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 01:15:26 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 01:15:26 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 01:15:26 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 01:15:26 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 01:15:26 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 01:15:26 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 01:15:26 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 01:15:26 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 01:15:26 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 01:15:26 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 01:15:27 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 01:15:27 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 01:15:27 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 01:15:27 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 01:15:27 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 01:15:27 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 01:15:27 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 01:15:27 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 01:15:27 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 01:15:28 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 01:15:28 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 01:15:28 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 01:15:28 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 01:15:28 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 01:15:28 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 01:15:28 [ 68%] Linking C shared library libcsdk.so 01:15:28 [ 68%] Built target csdk 01:15:28 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 01:15:28 [ 72%] Linking C executable template 01:15:28 [ 72%] Built target template 01:15:28 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 01:15:28 [ 76%] Linking C executable device-counter 01:15:28 [ 76%] Built target device-counter 01:15:28 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 01:15:28 [ 80%] Linking C executable device-random 01:15:29 [ 80%] Built target device-random 01:15:29 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 01:15:29 [ 84%] Linking C executable device-gyro 01:15:29 [ 84%] Built target device-gyro 01:15:29 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 01:15:29 [ 88%] Linking C executable device-bitfields 01:15:29 [ 88%] Built target device-bitfields 01:15:29 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 01:15:29 [ 92%] Linking C executable template-discovery 01:15:29 [ 92%] Built target template-discovery 01:15:29 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 01:15:29 [ 96%] Linking C executable device-file 01:15:29 [ 96%] Built target device-file 01:15:29 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 01:15:29 [100%] Linking C executable device-terminal 01:15:29 [100%] Built target device-terminal 01:15:29 make: Entering directory '/tmp/sdk/build/release' 01:15:29 make[1]: Entering directory '/tmp/sdk/build/release' 01:15:29 make[2]: Entering directory '/tmp/sdk/build/release' 01:15:29 make[2]: Leaving directory '/tmp/sdk/build/release' 01:15:29 [ 68%] Built target csdk 01:15:29 make[2]: Entering directory '/tmp/sdk/build/release' 01:15:29 make[2]: Leaving directory '/tmp/sdk/build/release' 01:15:29 [ 72%] Built target template 01:15:29 make[2]: Entering directory '/tmp/sdk/build/release' 01:15:29 make[2]: Leaving directory '/tmp/sdk/build/release' 01:15:29 [ 76%] Built target device-counter 01:15:29 make[2]: Entering directory '/tmp/sdk/build/release' 01:15:29 make[2]: Leaving directory '/tmp/sdk/build/release' 01:15:29 [ 80%] Built target device-random 01:15:29 make[2]: Entering directory '/tmp/sdk/build/release' 01:15:29 make[2]: Leaving directory '/tmp/sdk/build/release' 01:15:29 [ 84%] Built target device-gyro 01:15:29 make[2]: Entering directory '/tmp/sdk/build/release' 01:15:29 make[2]: Leaving directory '/tmp/sdk/build/release' 01:15:29 [ 88%] Built target device-bitfields 01:15:29 make[2]: Entering directory '/tmp/sdk/build/release' 01:15:29 make[2]: Leaving directory '/tmp/sdk/build/release' 01:15:29 [ 92%] Built target template-discovery 01:15:29 make[2]: Entering directory '/tmp/sdk/build/release' 01:15:29 make[2]: Leaving directory '/tmp/sdk/build/release' 01:15:29 [ 96%] Built target device-file 01:15:29 make[2]: Entering directory '/tmp/sdk/build/release' 01:15:29 make[2]: Leaving directory '/tmp/sdk/build/release' 01:15:29 [100%] Built target device-terminal 01:15:29 make[1]: Leaving directory '/tmp/sdk/build/release' 01:15:29 Install the project... 01:15:29 -- Install configuration: "Release" 01:15:29 -- Installing: /usr/local/lib/libcsdk.so 01:15:29 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 01:15:29 -- Installing: /usr/local/include 01:15:29 -- Installing: /usr/local/include/devsdk 01:15:29 -- Installing: /usr/local/include/devsdk/devsdk.h 01:15:29 -- Installing: /usr/local/include/devsdk/devsdk-base.h 01:15:29 -- Installing: /usr/local/include/edgex 01:15:29 -- Installing: /usr/local/include/edgex/edgex.h 01:15:29 -- Installing: /usr/local/include/edgex/devices.h 01:15:29 -- Installing: /usr/local/include/edgex/profiles.h 01:15:29 -- Installing: /usr/local/include/edgex/edgex-base.h 01:15:29 -- Installing: /usr/local/include/edgex/rest-server.h 01:15:29 -- Installing: /usr/local/include/edgex/csdk-defs.h 01:15:29 -- Installing: /usr/local/share/device-sdk-c/LICENSE 01:15:29 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 01:15:29 make: Leaving directory '/tmp/sdk/build/release' 01:15:30 Removing intermediate container 7f2940a6c433 01:15:30 ---> 5e15c7fb8d6b 01:15:30 Step 14/21 : FROM ${BASE} 01:15:30 ---> e83ffa357ff4 01:15:30 Step 15/21 : LABEL maintainer="IOTech " 01:15:30 ---> Running in 140d89c52c04 01:15:31 Removing intermediate container 140d89c52c04 01:15:31 ---> b418ac17639d 01:15:31 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:15:31 ---> Running in b0b8f9c5d5e0 01:15:31 Connecting to iotech.jfrog.io (52.17.224.14:443) 01:15:31 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:15:31 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:15:31 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:15:31 Removing intermediate container b0b8f9c5d5e0 01:15:31 ---> 8dbf899258c3 01:15:31 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 01:15:31 ---> Running in e1cbc08e254b 01:15:32 Removing intermediate container e1cbc08e254b 01:15:32 ---> 2ecb1a82602d 01:15:32 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:15:32 ---> Running in 626bb5d1c56b 01:15:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:15:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:15:33 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 01:15:33 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:15:33 (1/7) Installing curl (8.1.2-r0) 01:15:33 (2/7) Installing hiredis (1.0.2-r0) 01:15:33 (3/7) Installing hiredis-dev (1.0.2-r0) 01:15:33 (4/7) Installing iotech-iot-1.4 (1.4.2-r0) 01:15:34 (5/7) Installing libcbor (0.9.0-r1) 01:15:34 (6/7) Installing libuuid (2.38-r1) 01:15:34 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 01:15:35 Executing busybox-1.35.0-r17.trigger 01:15:35 OK: 276 MiB in 83 packages 01:15:35 Removing intermediate container 626bb5d1c56b 01:15:35 ---> b0e0dd88a3a3 01:15:35 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 01:15:35 ---> 03bb48d19057 01:15:35 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 01:15:35 ---> bf48e66e0931 01:15:35 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 01:15:35 ---> 3d3eb95d1e93 01:15:35 Successfully built 3d3eb95d1e93 01:15:35 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:15:36 + docker inspect -f . ci-base-image-x86_64 01:15:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:15:36 prd-ubuntu20.04-docker-8c-8g-922 does not seem to be running inside a container 01:15:36 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:15:37 $ docker top 755f265099165709783e821581253ec9707f307b19a3af4dd7d269bbe707221c -eo pid,comm [Pipeline] { [Pipeline] sh 01:15:37 + make test 01:15:37 echo "make test" 01:15:37 make test [Pipeline] } 01:15:37 $ docker stop --time=1 755f265099165709783e821581253ec9707f307b19a3af4dd7d269bbe707221c 01:15:38 $ docker rm -f --volumes 755f265099165709783e821581253ec9707f307b19a3af4dd7d269bbe707221c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:15:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:15:40 + ls -al . 01:15:40 total 212 01:15:40 drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 01:14 . 01:15:40 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:14 .. 01:15:40 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 01:14 .git 01:15:40 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:14 .github 01:15:40 -rw-rw-r-- 1 jenkins jenkins 176 Jul 12 01:14 .gitignore 01:15:40 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 01:14 .semver 01:15:40 -rw-rw-r-- 1 jenkins jenkins 2908 Jul 12 01:14 Attribution.txt 01:15:40 -rw-rw-r-- 1 jenkins jenkins 9268 Jul 12 01:14 CHANGES 01:15:40 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 12 01:14 Doxyfile 01:15:40 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 01:14 GOVERNANCE.md 01:15:40 -rw-rw-r-- 1 jenkins jenkins 784 Jul 12 01:14 Jenkinsfile 01:15:40 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 12 01:14 LICENSE 01:15:40 -rw-rw-r-- 1 jenkins jenkins 444 Jul 12 01:14 Makefile 01:15:40 -rw-rw-r-- 1 jenkins jenkins 618 Jul 12 01:14 OWNERS.md 01:15:40 -rw-rw-r-- 1 jenkins jenkins 1651 Jul 12 01:14 README.IOT.md 01:15:40 -rw-rw-r-- 1 jenkins jenkins 4215 Jul 12 01:14 README.md 01:15:40 -rw-rw-r-- 1 jenkins jenkins 1245 Jul 12 01:14 README.v3.md 01:15:40 -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 01:15 VERSION 01:15:40 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:14 docs 01:15:40 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:14 include 01:15:40 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:14 scripts 01:15:40 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:14 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:40 + 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:15:40 Sending build context to Docker daemon 4.826MB 01:15:40 Step 1/17 : ARG BASE=alpine:3.16 01:15:40 Step 2/17 : FROM ${BASE} 01:15:40 ---> 3d3eb95d1e93 01:15:40 Step 3/17 : LABEL maintainer="IOTech " 01:15:40 ---> Running in e23309b8bd34 01:15:40 Removing intermediate container e23309b8bd34 01:15:40 ---> c4931eeb32d4 01:15:40 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:15:41 ---> Running in cb8190e94240 01:15:41 Connecting to iotech.jfrog.io (52.31.127.113:443) 01:15:41 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:15:41 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:15:41 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:15:42 Removing intermediate container cb8190e94240 01:15:42 ---> 24f9988d955f 01:15:42 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 01:15:42 ---> Running in 5774911a0099 01:15:42 Removing intermediate container 5774911a0099 01:15:42 ---> 33029f78e2e1 01:15:42 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:15:42 ---> Running in 2879d9582781 01:15:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:15:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:15:43 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 01:15:43 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:15:43 (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 01:15:43 (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 01:15:43 (3/11) Installing iotech-iot-1.5 (1.5.0-r0) 01:15:44 (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 01:15:44 (5/11) Installing libcbor-dev (0.9.0-r1) 01:15:44 (6/11) Installing ncurses-dev (6.3_p20220521-r1) 01:15:44 (7/11) Installing libblkid (2.38-r1) 01:15:44 (8/11) Installing libfdisk (2.38-r1) 01:15:44 (9/11) Installing libmount (2.38-r1) 01:15:44 (10/11) Installing libsmartcols (2.38-r1) 01:15:44 (11/11) Installing util-linux-dev (2.38-r1) 01:15:44 Executing busybox-1.35.0-r17.trigger 01:15:44 OK: 281 MiB in 92 packages 01:15:45 Removing intermediate container 2879d9582781 01:15:45 ---> c3769043c95c 01:15:45 Step 7/17 : COPY VERSION /edgex-c-sdk/ 01:15:45 ---> 5d4edc3e46b9 01:15:45 Step 8/17 : COPY src /edgex-c-sdk/src/ 01:15:45 ---> 81b7e6ed1b56 01:15:45 Step 9/17 : COPY include /edgex-c-sdk/include/ 01:15:45 ---> 834fc1027a92 01:15:45 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 01:15:45 ---> 54a73af582d4 01:15:45 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 01:15:46 ---> 042e61a22412 01:15:46 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 01:15:46 ---> 95add6756380 01:15:46 Step 13/17 : WORKDIR /edgex-c-sdk 01:15:46 ---> Running in eb1c6e31b778 01:15:46 Removing intermediate container eb1c6e31b778 01:15:46 ---> 269a7264e612 01:15:46 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 01:15:46 ---> Running in 785b44bb228a 01:15:46 Removing intermediate container 785b44bb228a 01:15:46 ---> c8e491ca3a3b 01:15:46 Step 15/17 : LABEL arch=amd64 01:15:46 ---> Running in 03cc473f8733 01:15:46 Removing intermediate container 03cc473f8733 01:15:46 ---> 143bfc9060a2 01:15:46 Step 16/17 : LABEL git_sha=4504df9bdc42e67ccb7a3eb990460bb7d9735de7 01:15:46 ---> Running in 7f450ddae595 01:15:46 Removing intermediate container 7f450ddae595 01:15:46 ---> 3bdef8de3c6b 01:15:46 Step 17/17 : LABEL version=0.0.0 01:15:46 ---> Running in c7e4e7015dee 01:15:46 Removing intermediate container c7e4e7015dee 01:15:46 ---> 8c6ae6de817f 01:15:46 [Warning] One or more build-args [ARCH MAKE] were not consumed 01:15:46 Successfully built 8c6ae6de817f 01:15:46 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:15:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:15:47 01:15:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:15:47 latest: Pulling from edgex-lftools-log-publisher 01:15:47 5eb5b503b376: Pulling fs layer 01:15:47 5c69ac0246d0: Pulling fs layer 01:15:47 ec43610c2a17: Pulling fs layer 01:15:47 3a2ae6a8a46f: Pulling fs layer 01:15:47 33b1e0a273af: Pulling fs layer 01:15:47 5d3b04190fa2: Pulling fs layer 01:15:47 2f39f015ded8: Pulling fs layer 01:15:47 3a2ae6a8a46f: Waiting 01:15:47 33b1e0a273af: Waiting 01:15:47 5d3b04190fa2: Waiting 01:15:47 2f39f015ded8: Waiting 01:15:47 5c69ac0246d0: Download complete 01:15:47 3a2ae6a8a46f: Verifying Checksum 01:15:47 3a2ae6a8a46f: Download complete 01:15:47 33b1e0a273af: Verifying Checksum 01:15:47 33b1e0a273af: Download complete 01:15:47 ec43610c2a17: Verifying Checksum 01:15:47 ec43610c2a17: Download complete 01:15:47 5d3b04190fa2: Verifying Checksum 01:15:47 5d3b04190fa2: Download complete 01:15:48 5eb5b503b376: Verifying Checksum 01:15:48 5eb5b503b376: Download complete 01:15:48 2f39f015ded8: Verifying Checksum 01:15:48 2f39f015ded8: Download complete 01:15:49 5eb5b503b376: Pull complete 01:15:49 5c69ac0246d0: Pull complete 01:15:49 ec43610c2a17: Pull complete 01:15:49 3a2ae6a8a46f: Pull complete 01:15:50 33b1e0a273af: Pull complete 01:15:50 5d3b04190fa2: Pull complete 01:15:54 2f39f015ded8: Pull complete 01:15:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:15:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:15:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:15:54 prd-ubuntu20.04-docker-8c-8g-922 does not seem to be running inside a container 01:15:54 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:15:58 $ docker top d84cc4a2f94efdb92719073a4859d2a49e632d7c1ab68df3cd6ab5f4e300e309 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:15:58 ---> job-cost.sh 01:15:58 lf-activate-venv: SKIPPING 01:15:58 INFO: No Stack... 01:15:59 INFO: Retrieving Pricing Info for: v3-standard-8 01:15:59 INFO: Archiving Costs [Pipeline] sh 01:16:00 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives/cost.csv 01:16:00 + cut -d, -f6 [Pipeline] lock 01:16:00 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-467-3-stack-cost] 01:16:00 Resource [jenkins-edgexfoundry-device-sdk-c-PR-467-3-stack-cost] did not exist. Created. 01:16:00 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-467-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:16:00 + echo total: 0.2199999988079071 [Pipeline] stash 01:16:00 Stashed 1 file(s) [Pipeline] } 01:16:00 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-467-3-stack-cost] [Pipeline] // lock [Pipeline] } 01:16:00 $ docker stop --time=1 d84cc4a2f94efdb92719073a4859d2a49e632d7c1ab68df3cd6ab5f4e300e309 01:16:01 $ docker rm -f --volumes d84cc4a2f94efdb92719073a4859d2a49e632d7c1ab68df3cd6ab5f4e300e309 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:18:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-923 in /w/workspace/edgexfoundry_device-sdk-c_PR-467 [Pipeline] { [Pipeline] ws 01:18:47 Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout 01:18:47 Selected Git installation does not exist. Using Default 01:18:47 The recommended git tool is: NONE 01:18:52 using credential edgex-jenkins-ssh 01:18:52 Cloning the remote Git repository 01:18:52 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 01:18:52 > git init /w/workspace/device-sdk-c/3 # timeout=10 01:18:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 01:18:52 > git --version # timeout=10 01:18:52 > git --version # 'git version 2.25.1' 01:18:52 using GIT_SSH to set credentials SSH Credentials for GitHub 01:18:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:18:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 01:18:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:18:55 Merging remotes/origin/main commit e7fd64e96379a16422cca1ca57683b7b4003cc62 into PR head commit 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 01:18:55 Merge succeeded, producing 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 01:18:55 Checking out Revision 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 (PR-467) 01:18:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 01:18:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 01:18:54 using GIT_SSH to set credentials SSH Credentials for GitHub 01:18:54 > 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:18:55 > git config core.sparsecheckout # timeout=10 01:18:55 > git checkout -f 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 # timeout=10 01:18:55 > git remote # timeout=10 01:18:55 > git config --get remote.origin.url # timeout=10 01:18:55 using GIT_SSH to set credentials SSH Credentials for GitHub 01:18:55 > git merge e7fd64e96379a16422cca1ca57683b7b4003cc62 # timeout=10 01:18:55 > git rev-parse HEAD^{commit} # timeout=10 01:18:55 > git config core.sparsecheckout # timeout=10 01:18:55 > git checkout -f 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 # timeout=10 01:18:59 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:19:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:19:00 % Total % Received % Xferd Average Speed Time Time Time Current 01:19:00 Dload Upload Total Spent Left Speed 01:19:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10470 0 0 66265 0 --:--:-- --:--:-- --:--:-- 65849 100 12751 100 12751 0 0 79693 0 --:--:-- --:--:-- --:--:-- 79693 [Pipeline] sh 01:19:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:19:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:19:01 + sudo tee /etc/docker/daemon.new 01:19:01 { 01:19:01 "registry-mirrors": [ 01:19:01 "https://nexus3.edgexfoundry.org:10001" 01:19:01 ], 01:19:01 "bip": "10.250.0.254/24", 01:19:01 "hosts": [ 01:19:01 "tcp://0.0.0.0:5555", 01:19:01 "unix:///var/run/docker.sock" 01:19:01 ], 01:19:01 "mtu": 1458, 01:19:01 "selinux-enabled": true, 01:19:01 "seccomp-profile": "/etc/docker/seccomp.json" 01:19:01 } [Pipeline] sh 01:19:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:19:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:19:20 provisioning config files... 01:19:20 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config246172971941097569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:19:20 ---> docker-login.sh 01:19:20 nexus3.edgexfoundry.org:10001 01:19:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:21 Configure a credential helper to remove this warning. See 01:19:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:21 01:19:21 Login Succeeded 01:19:21 nexus3.edgexfoundry.org:10002 01:19:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:21 Configure a credential helper to remove this warning. See 01:19:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:21 01:19:21 Login Succeeded 01:19:21 nexus3.edgexfoundry.org:10003 01:19:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:22 Configure a credential helper to remove this warning. See 01:19:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:22 01:19:22 Login Succeeded 01:19:22 nexus3.edgexfoundry.org:10004 01:19:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:22 Configure a credential helper to remove this warning. See 01:19:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:22 01:19:22 Login Succeeded 01:19:22 docker.io 01:19:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:19:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:19:22 Configure a credential helper to remove this warning. See 01:19:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:19:22 01:19:22 Login Succeeded 01:19:22 ---> docker-login.sh ends [Pipeline] } 01:19:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:19:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:19:23 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 01:19:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:19:23 ========================================================= 01:19:23 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 01:19:23 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:19:24 + 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:19:24 Sending build context to Docker daemon 2.889MB 01:19:24 Step 1/21 : ARG BASE=alpine:3.16 01:19:24 Step 2/21 : FROM ${BASE} as builder 01:19:24 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 01:19:24 547446be3368: Pulling fs layer 01:19:24 76bd08e1cacc: Pulling fs layer 01:19:24 547446be3368: Download complete 01:19:25 547446be3368: Pull complete 01:19:27 76bd08e1cacc: Verifying Checksum 01:19:27 76bd08e1cacc: Download complete 01:19:35 76bd08e1cacc: Pull complete 01:19:35 Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe 01:19:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 01:19:35 ---> 295cd00e64f4 01:19:35 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:19:35 ---> Running in c4ec39bd65f0 01:19:36 Connecting to iotech.jfrog.io (52.214.181.33:443) 01:19:37 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:19:37 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:19:37 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:19:37 Removing intermediate container c4ec39bd65f0 01:19:37 ---> 9f565f2cc123 01:19:37 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 01:19:37 ---> Running in 675b76ec758e 01:19:39 Removing intermediate container 675b76ec758e 01:19:39 ---> 2838d5a49795 01:19:39 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:19:39 ---> Running in d0666ede7e15 01:19:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:19:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:19:41 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 01:19:41 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:19:41 (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 01:19:41 (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 01:19:41 (3/16) Installing hiredis (1.0.2-r0) 01:19:41 (4/16) Installing hiredis-dev (1.0.2-r0) 01:19:41 (5/16) Installing iotech-iot-1.5 (1.5.0-r0) 01:19:42 (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) 01:19:42 (7/16) Installing libcbor (0.9.0-r1) 01:19:42 (8/16) Installing libcbor-dev (0.9.0-r1) 01:19:42 (9/16) Installing ncurses-dev (6.3_p20220521-r1) 01:19:42 (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 01:19:43 (11/16) Installing libblkid (2.38-r1) 01:19:43 (12/16) Installing libuuid (2.38-r1) 01:19:43 (13/16) Installing libfdisk (2.38-r1) 01:19:43 (14/16) Installing libmount (2.38-r1) 01:19:43 (15/16) Installing libsmartcols (2.38-r1) 01:19:43 (16/16) Installing util-linux-dev (2.38-r1) 01:19:43 Executing busybox-1.35.0-r17.trigger 01:19:43 OK: 286 MiB in 90 packages 01:19:45 Removing intermediate container d0666ede7e15 01:19:45 ---> d02fb12f4037 01:19:45 Step 6/21 : RUN mkdir /tmp/sdk 01:19:45 ---> Running in 30f6872ccd76 01:19:46 Removing intermediate container 30f6872ccd76 01:19:46 ---> 0e1a5cc68087 01:19:46 Step 7/21 : COPY VERSION /tmp/sdk 01:19:47 ---> 589e821c4634 01:19:47 Step 8/21 : COPY src /tmp/sdk/src 01:19:47 ---> 76b78317acd5 01:19:47 Step 9/21 : COPY include /tmp/sdk/include 01:19:48 ---> ce193d4b6ac1 01:19:48 Step 10/21 : COPY scripts /tmp/sdk/scripts 01:19:48 ---> a4be4de63950 01:19:48 Step 11/21 : COPY LICENSE /tmp/sdk 01:19:49 ---> a105ef792b32 01:19:49 Step 12/21 : COPY Attribution.txt /tmp/sdk 01:19:49 ---> 96fc3b9aafbc 01:19:49 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 01:19:49 ---> Running in b294cd07c537 01:19:50 + CPPCHECK=false 01:19:50 + DOCGEN=false 01:19:50 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 01:19:50 + '[' 0 -gt 0 ] 01:19:50 + readlink -f ./scripts/build.sh 01:19:50 + dirname /tmp/sdk/scripts/build.sh 01:19:50 + dirname /tmp/sdk/scripts 01:19:50 + ROOT=/tmp/sdk 01:19:50 + cd /tmp/sdk 01:19:50 + mkdir -p /tmp/sdk/build/release 01:19:50 + cd /tmp/sdk/build/release 01:19:50 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 01:19:51 -- The C compiler identification is GNU 11.2.1 01:19:51 -- Detecting C compiler ABI info 01:19:51 -- Detecting C compiler ABI info - done 01:19:51 -- Check for working C compiler: /usr/bin/cc - skipped 01:19:51 -- Detecting C compile features 01:19:51 -- Detecting C compile features - done 01:19:51 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 01:19:51 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 01:19:51 -- Found LIBYAML: /usr/lib/libyaml.so 01:19:51 -- Found LIBUUID: /usr/lib/libuuid.so 01:19:51 -- Found LIBCBOR: /usr/lib/libcbor.so 01:19:51 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 01:19:51 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 01:19:51 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 01:19:51 -- /opt/iotech/iot/1.5/include 01:19:51 -- C SDK 0.0.0 for Linux 01:19:51 -- Performing Test CSDK_HAVE_ATOMIC 01:19:52 -- Performing Test CSDK_HAVE_ATOMIC - Success 01:19:52 -- Found Curses: /usr/lib/libcurses.so 01:19:52 -- Configuring done 01:19:52 -- Generating done 01:19:52 -- Build files have been written to: /tmp/sdk/build/release 01:19:52 + make all package 01:19:52 + tee release.log 01:19:52 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 01:19:53 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 01:19:54 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 01:19:58 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 01:19:59 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 01:19:59 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 01:20:02 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 01:20:03 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 01:20:03 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 01:20:04 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 01:20:06 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 01:20:07 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 01:20:08 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 01:20:09 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 01:20:10 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 01:20:11 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 01:20:11 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 01:20:15 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 01:20:15 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 01:20:15 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 01:20:17 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 01:20:23 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 01:20:23 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 01:20:24 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 01:20:25 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 01:20:25 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 01:20:27 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 01:20:30 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 01:20:30 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 01:20:32 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 01:20:32 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 01:20:36 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 01:20:36 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 01:20:37 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 01:20:38 [ 68%] Linking C shared library libcsdk.so 01:20:38 [ 68%] Built target csdk 01:20:38 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 01:20:39 [ 72%] Linking C executable template 01:20:39 [ 72%] Built target template 01:20:39 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 01:20:40 [ 76%] Linking C executable device-counter 01:20:40 [ 76%] Built target device-counter 01:20:40 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 01:20:40 [ 80%] Linking C executable device-random 01:20:41 [ 80%] Built target device-random 01:20:41 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 01:20:42 [ 84%] Linking C executable device-gyro 01:20:42 [ 84%] Built target device-gyro 01:20:42 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 01:20:43 [ 88%] Linking C executable device-bitfields 01:20:43 [ 88%] Built target device-bitfields 01:20:43 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 01:20:44 [ 92%] Linking C executable template-discovery 01:20:44 [ 92%] Built target template-discovery 01:20:44 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 01:20:45 [ 96%] Linking C executable device-file 01:20:45 [ 96%] Built target device-file 01:20:45 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 01:20:46 [100%] Linking C executable device-terminal 01:20:46 [100%] Built target device-terminal 01:20:46 Run CPack packaging tool... 01:20:46 CPack: Create package using TGZ 01:20:46 CPack: Install projects 01:20:46 CPack: - Run preinstall target for: Csdk 01:20:47 CPack: - Install project: Csdk [] 01:20:47 CPack: Create package 01:20:47 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 01:20:47 + '[' false '=' true ] 01:20:47 + '[' false '=' true ] 01:20:47 + mkdir -p /tmp/sdk/build/debug 01:20:47 + cd /tmp/sdk/build/debug 01:20:47 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 01:20:48 -- The C compiler identification is GNU 11.2.1 01:20:48 -- Detecting C compiler ABI info 01:20:48 -- Detecting C compiler ABI info - done 01:20:48 -- Check for working C compiler: /usr/bin/cc - skipped 01:20:48 -- Detecting C compile features 01:20:48 -- Detecting C compile features - done 01:20:48 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 01:20:48 -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") 01:20:48 -- Found LIBYAML: /usr/lib/libyaml.so 01:20:48 -- Found LIBUUID: /usr/lib/libuuid.so 01:20:48 -- Found LIBCBOR: /usr/lib/libcbor.so 01:20:48 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 01:20:48 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 01:20:48 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 01:20:48 -- /opt/iotech/iot/1.5/include 01:20:48 -- C SDK 0.0.0 for Linux 01:20:48 -- Performing Test CSDK_HAVE_ATOMIC 01:20:49 -- Performing Test CSDK_HAVE_ATOMIC - Success 01:20:49 -- Found Curses: /usr/lib/libcurses.so 01:20:49 -- Configuring done 01:20:49 -- Generating done 01:20:49 -- Build files have been written to: /tmp/sdk/build/debug 01:20:49 + + teemake 01:20:49 debug.log 01:20:50 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 01:20:50 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 01:20:50 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 01:20:51 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 01:20:51 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 01:20:52 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 01:20:52 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 01:20:53 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 01:20:53 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 01:20:54 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 01:20:54 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 01:20:55 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 01:20:55 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 01:20:56 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 01:20:56 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 01:20:57 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 01:20:57 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 01:20:58 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 01:20:58 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 01:20:58 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 01:20:59 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 01:21:00 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 01:21:01 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 01:21:01 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 01:21:01 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 01:21:02 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 01:21:03 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 01:21:04 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 01:21:05 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 01:21:05 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 01:21:06 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 01:21:07 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 01:21:07 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 01:21:07 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 01:21:07 [ 68%] Linking C shared library libcsdk.so 01:21:08 [ 68%] Built target csdk 01:21:08 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 01:21:08 [ 72%] Linking C executable template 01:21:08 [ 72%] Built target template 01:21:08 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 01:21:09 [ 76%] Linking C executable device-counter 01:21:09 [ 76%] Built target device-counter 01:21:09 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 01:21:10 [ 80%] Linking C executable device-random 01:21:10 [ 80%] Built target device-random 01:21:10 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 01:21:10 [ 84%] Linking C executable device-gyro 01:21:10 [ 84%] Built target device-gyro 01:21:10 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 01:21:11 [ 88%] Linking C executable device-bitfields 01:21:11 [ 88%] Built target device-bitfields 01:21:11 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 01:21:11 [ 92%] Linking C executable template-discovery 01:21:12 [ 92%] Built target template-discovery 01:21:12 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 01:21:12 [ 96%] Linking C executable device-file 01:21:12 [ 96%] Built target device-file 01:21:13 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 01:21:13 [100%] Linking C executable device-terminal 01:21:13 [100%] Built target device-terminal 01:21:13 make: Entering directory '/tmp/sdk/build/release' 01:21:13 make[1]: Entering directory '/tmp/sdk/build/release' 01:21:13 make[2]: Entering directory '/tmp/sdk/build/release' 01:21:13 make[2]: Leaving directory '/tmp/sdk/build/release' 01:21:13 [ 68%] Built target csdk 01:21:13 make[2]: Entering directory '/tmp/sdk/build/release' 01:21:13 make[2]: Leaving directory '/tmp/sdk/build/release' 01:21:13 [ 72%] Built target template 01:21:13 make[2]: Entering directory '/tmp/sdk/build/release' 01:21:13 make[2]: Leaving directory '/tmp/sdk/build/release' 01:21:13 [ 76%] Built target device-counter 01:21:13 make[2]: Entering directory '/tmp/sdk/build/release' 01:21:13 make[2]: Leaving directory '/tmp/sdk/build/release' 01:21:13 [ 80%] Built target device-random 01:21:13 make[2]: Entering directory '/tmp/sdk/build/release' 01:21:14 make[2]: Leaving directory '/tmp/sdk/build/release' 01:21:14 [ 84%] Built target device-gyro 01:21:14 make[2]: Entering directory '/tmp/sdk/build/release' 01:21:14 make[2]: Leaving directory '/tmp/sdk/build/release' 01:21:14 [ 88%] Built target device-bitfields 01:21:14 make[2]: Entering directory '/tmp/sdk/build/release' 01:21:14 make[2]: Leaving directory '/tmp/sdk/build/release' 01:21:14 [ 92%] Built target template-discovery 01:21:14 make[2]: Entering directory '/tmp/sdk/build/release' 01:21:14 make[2]: Leaving directory '/tmp/sdk/build/release' 01:21:14 [ 96%] Built target device-file 01:21:14 make[2]: Entering directory '/tmp/sdk/build/release' 01:21:14 make[2]: Leaving directory '/tmp/sdk/build/release' 01:21:14 [100%] Built target device-terminal 01:21:14 make[1]: Leaving directory '/tmp/sdk/build/release' 01:21:14 Install the project... 01:21:14 -- Install configuration: "Release" 01:21:14 -- Installing: /usr/local/lib/libcsdk.so 01:21:14 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 01:21:14 -- Installing: /usr/local/include 01:21:14 -- Installing: /usr/local/include/devsdk 01:21:14 -- Installing: /usr/local/include/devsdk/devsdk.h 01:21:14 -- Installing: /usr/local/include/devsdk/devsdk-base.h 01:21:14 -- Installing: /usr/local/include/edgex 01:21:14 -- Installing: /usr/local/include/edgex/rest-server.h 01:21:14 -- Installing: /usr/local/include/edgex/edgex.h 01:21:14 -- Installing: /usr/local/include/edgex/edgex-base.h 01:21:14 -- Installing: /usr/local/include/edgex/devices.h 01:21:14 -- Installing: /usr/local/include/edgex/profiles.h 01:21:14 -- Installing: /usr/local/include/edgex/csdk-defs.h 01:21:14 -- Installing: /usr/local/share/device-sdk-c/LICENSE 01:21:14 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 01:21:14 make: Leaving directory '/tmp/sdk/build/release' 01:21:15 Removing intermediate container b294cd07c537 01:21:15 ---> a14d4c2311a1 01:21:15 Step 14/21 : FROM ${BASE} 01:21:15 ---> 295cd00e64f4 01:21:15 Step 15/21 : LABEL maintainer="IOTech " 01:21:15 ---> Running in ba8ab9af48aa 01:21:15 Removing intermediate container ba8ab9af48aa 01:21:15 ---> bc61ac2c70bd 01:21:15 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:21:15 ---> Running in 396e4241db4f 01:21:16 Connecting to iotech.jfrog.io (52.31.127.113:443) 01:21:17 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:21:17 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:21:17 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:21:18 Removing intermediate container 396e4241db4f 01:21:18 ---> 7b6b677d9120 01:21:18 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 01:21:18 ---> Running in 8e1e335fea00 01:21:19 Removing intermediate container 8e1e335fea00 01:21:19 ---> 30830e7c7321 01:21:19 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:21:19 ---> Running in d60e798e988f 01:21:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:21:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:21:21 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 01:21:22 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:21:22 (1/7) Installing curl (8.1.2-r0) 01:21:22 (2/7) Installing hiredis (1.0.2-r0) 01:21:22 (3/7) Installing hiredis-dev (1.0.2-r0) 01:21:22 (4/7) Installing iotech-iot-1.4 (1.4.2-r0) 01:21:23 (5/7) Installing libcbor (0.9.0-r1) 01:21:23 (6/7) Installing libuuid (2.38-r1) 01:21:23 (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) 01:21:24 Executing busybox-1.35.0-r17.trigger 01:21:24 OK: 281 MiB in 83 packages 01:21:25 Removing intermediate container d60e798e988f 01:21:25 ---> e5d6f90cc17b 01:21:25 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 01:21:25 ---> 27a969dd5420 01:21:25 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 01:21:25 ---> 4891edaa823a 01:21:25 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 01:21:26 ---> 533391d1db9c 01:21:26 Successfully built 533391d1db9c 01:21:26 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:21:27 + docker inspect -f . ci-base-image-arm64 01:21:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:21:27 prd-ubuntu20.04-docker-arm64-4c-16g-923 does not seem to be running inside a container 01:21:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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 ******** -e ******** ci-base-image-arm64 cat 01:21:31 $ docker top 4e9719e5aabf7dd08dc84203ede3640207f93057299fb3bce9a83d248a4a68c9 -eo pid,comm [Pipeline] { [Pipeline] sh 01:21:32 + make test 01:21:32 echo "make test" 01:21:32 make test [Pipeline] } 01:21:32 $ docker stop --time=1 4e9719e5aabf7dd08dc84203ede3640207f93057299fb3bce9a83d248a4a68c9 01:21:34 $ docker rm -f --volumes 4e9719e5aabf7dd08dc84203ede3640207f93057299fb3bce9a83d248a4a68c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:21:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:21:35 + ls -al . 01:21:35 total 208 01:21:35 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 01:18 . 01:21:35 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:18 .. 01:21:35 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 01:18 .git 01:21:35 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:18 .github 01:21:35 -rw-rw-r-- 1 jenkins jenkins 176 Jul 12 01:18 .gitignore 01:21:35 -rw-rw-r-- 1 jenkins jenkins 2908 Jul 12 01:18 Attribution.txt 01:21:35 -rw-rw-r-- 1 jenkins jenkins 9268 Jul 12 01:18 CHANGES 01:21:35 -rw-rw-r-- 1 jenkins jenkins 108574 Jul 12 01:18 Doxyfile 01:21:35 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 01:18 GOVERNANCE.md 01:21:35 -rw-rw-r-- 1 jenkins jenkins 784 Jul 12 01:18 Jenkinsfile 01:21:35 -rw-rw-r-- 1 jenkins jenkins 10174 Jul 12 01:18 LICENSE 01:21:35 -rw-rw-r-- 1 jenkins jenkins 444 Jul 12 01:18 Makefile 01:21:35 -rw-rw-r-- 1 jenkins jenkins 618 Jul 12 01:18 OWNERS.md 01:21:35 -rw-rw-r-- 1 jenkins jenkins 1651 Jul 12 01:18 README.IOT.md 01:21:35 -rw-rw-r-- 1 jenkins jenkins 4215 Jul 12 01:18 README.md 01:21:35 -rw-rw-r-- 1 jenkins jenkins 1245 Jul 12 01:18 README.v3.md 01:21:35 -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 01:15 VERSION 01:21:35 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:18 docs 01:21:35 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:18 include 01:21:35 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:18 scripts 01:21:35 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:18 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:21: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:21:36 Sending build context to Docker daemon 2.889MB 01:21:36 Step 1/17 : ARG BASE=alpine:3.16 01:21:36 Step 2/17 : FROM ${BASE} 01:21:36 ---> 533391d1db9c 01:21:36 Step 3/17 : LABEL maintainer="IOTech " 01:21:36 ---> Running in cf5d82713dce 01:21:36 Removing intermediate container cf5d82713dce 01:21:36 ---> fcac6ec2bf9e 01:21: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:21:36 ---> Running in a5fc0c326633 01:21:37 Connecting to iotech.jfrog.io (54.76.62.242:443) 01:21:38 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 01:21:38 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 01:21:38 '/etc/apk/keys/alpine.dev.rsa.pub' saved 01:21:38 Removing intermediate container a5fc0c326633 01:21:38 ---> d30f8f9bb720 01:21:38 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 01:21:38 ---> Running in 7ad44e295a27 01:21:40 Removing intermediate container 7ad44e295a27 01:21:40 ---> 15b01487e4c8 01:21: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:21:40 ---> Running in 2ca85fd83af9 01:21:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:21:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:21:42 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz 01:21:43 WARNING: This apk-tools is OLD! Some packages might not function properly. 01:21:43 (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) 01:21:43 (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) 01:21:43 (3/11) Installing iotech-iot-1.5 (1.5.0-r0) 01:21:44 (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 01:21:44 (5/11) Installing libcbor-dev (0.9.0-r1) 01:21:44 (6/11) Installing ncurses-dev (6.3_p20220521-r1) 01:21:44 (7/11) Installing libblkid (2.38-r1) 01:21:44 (8/11) Installing libfdisk (2.38-r1) 01:21:44 (9/11) Installing libmount (2.38-r1) 01:21:44 (10/11) Installing libsmartcols (2.38-r1) 01:21:44 (11/11) Installing util-linux-dev (2.38-r1) 01:21:44 Executing busybox-1.35.0-r17.trigger 01:21:45 OK: 287 MiB in 92 packages 01:21:47 Removing intermediate container 2ca85fd83af9 01:21:47 ---> e2effe0b2b85 01:21:47 Step 7/17 : COPY VERSION /edgex-c-sdk/ 01:21:47 ---> e18fa0f062ef 01:21:47 Step 8/17 : COPY src /edgex-c-sdk/src/ 01:21:48 ---> d693d29556ae 01:21:48 Step 9/17 : COPY include /edgex-c-sdk/include/ 01:21:48 ---> aba8acf60d95 01:21:48 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 01:21:48 ---> eaf3bc420ab2 01:21:48 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 01:21:49 ---> 35df92b47d5b 01:21:49 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 01:21:49 ---> 869a49280185 01:21:49 Step 13/17 : WORKDIR /edgex-c-sdk 01:21:49 ---> Running in f16b056862bc 01:21:49 Removing intermediate container f16b056862bc 01:21:49 ---> 484512c59016 01:21:49 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 01:21:50 ---> Running in 2040e5a0fde6 01:21:50 Removing intermediate container 2040e5a0fde6 01:21:50 ---> 1960071ff1af 01:21:50 Step 15/17 : LABEL arch=arm64 01:21:50 ---> Running in 0aba56b8bf8c 01:21:50 Removing intermediate container 0aba56b8bf8c 01:21:50 ---> b614312e7578 01:21:50 Step 16/17 : LABEL git_sha=4504df9bdc42e67ccb7a3eb990460bb7d9735de7 01:21:51 ---> Running in fb2e9d1aa45d 01:21:51 Removing intermediate container fb2e9d1aa45d 01:21:51 ---> 2e76e6387b91 01:21:51 Step 17/17 : LABEL version=0.0.0 01:21:51 ---> Running in 82086a61dcb3 01:21:51 Removing intermediate container 82086a61dcb3 01:21:51 ---> e1e0f2e43a64 01:21:51 [Warning] One or more build-args [ARCH MAKE] were not consumed 01:21:51 Successfully built e1e0f2e43a64 01:21:51 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:21:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:21:52 01:21:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:21:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:21:53 arm64: Pulling from edgex-lftools-log-publisher 01:21:53 8998bd30e6a1: Pulling fs layer 01:21:53 04944245beec: Pulling fs layer 01:21:53 699f458cf7ca: Pulling fs layer 01:21:53 765212b225bb: Pulling fs layer 01:21:53 f23df028b6ca: Pulling fs layer 01:21:53 d65c8cfc05b1: Pulling fs layer 01:21:53 2437ff75d9bd: Pulling fs layer 01:21:53 765212b225bb: Waiting 01:21:53 f23df028b6ca: Waiting 01:21:53 d65c8cfc05b1: Waiting 01:21:53 2437ff75d9bd: Waiting 01:21:53 04944245beec: Verifying Checksum 01:21:53 04944245beec: Download complete 01:21:53 765212b225bb: Verifying Checksum 01:21:53 765212b225bb: Download complete 01:21:53 f23df028b6ca: Verifying Checksum 01:21:53 f23df028b6ca: Download complete 01:21:53 d65c8cfc05b1: Verifying Checksum 01:21:53 d65c8cfc05b1: Download complete 01:21:53 699f458cf7ca: Verifying Checksum 01:21:53 699f458cf7ca: Download complete 01:21:53 8998bd30e6a1: Verifying Checksum 01:21:53 8998bd30e6a1: Download complete 01:21:56 2437ff75d9bd: Verifying Checksum 01:21:56 2437ff75d9bd: Download complete 01:21:57 8998bd30e6a1: Pull complete 01:22:00 04944245beec: Pull complete 01:22:01 699f458cf7ca: Pull complete 01:22:01 765212b225bb: Pull complete 01:22:02 f23df028b6ca: Pull complete 01:22:02 d65c8cfc05b1: Pull complete 01:22:17 2437ff75d9bd: Pull complete 01:22:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:22:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:22:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:22:17 prd-ubuntu20.04-docker-arm64-4c-16g-923 does not seem to be running inside a container 01:22:17 $ 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/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:22:20 $ docker top f3c6be9526c9c6fc275c552b4bd3970b7151ba92edfcbea0155c933432b0436b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:22:20 ---> job-cost.sh 01:22:21 lf-activate-venv: SKIPPING 01:22:21 INFO: No Stack... 01:22:21 INFO: Retrieving Pricing Info for: v3-standard-4 01:22:22 INFO: Archiving Costs [Pipeline] sh 01:22:22 + + catcut /w/workspace/device-sdk-c/3/archives/cost.csv -d, 01:22:22 -f6 [Pipeline] lock 01:22:23 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-467-3-stack-cost] 01:22:23 Resource [jenkins-edgexfoundry-device-sdk-c-PR-467-3-stack-cost] did not exist. Created. 01:22:23 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-467-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:22:23 /w/workspace/device-sdk-c/3@tmp/durable-345c010d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:22:24 + echo total: 0.10999999940395355 [Pipeline] stash 01:22:24 Warning: overwriting stash ‘stack-cost’ 01:22:24 Stashed 1 file(s) [Pipeline] } 01:22:24 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-467-3-stack-cost] [Pipeline] // lock [Pipeline] } 01:22:24 $ docker stop --time=1 f3c6be9526c9c6fc275c552b4bd3970b7151ba92edfcbea0155c933432b0436b 01:22:26 $ docker rm -f --volumes f3c6be9526c9c6fc275c552b4bd3970b7151ba92edfcbea0155c933432b0436b [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:22:27 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives ] 01:22:27 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives 01:22:27 total 16 01:22:27 drwxr-xr-x 3 root root 4096 Jul 12 01:15 . 01:22:27 drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 01:16 .. 01:22:27 drwxr-xr-x 2 root root 4096 Jul 12 01:15 cost 01:22:27 -rw-r--r-- 1 root root 84 Jul 12 01:15 cost.csv 01:22:27 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives 01:22:27 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives 01:22:27 total 16 01:22:27 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 01:15 . 01:22:27 drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 01:16 .. 01:22:27 drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 01:15 cost 01:22:27 -rw-r--r-- 1 jenkins jenkins 84 Jul 12 01:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:22:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:22:29 ---> package-listing.sh 01:22:29 ++ facter osfamily 01:22:29 ++ tr '[:upper:]' '[:lower:]' 01:22:29 + OS_FAMILY=debian 01:22:29 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-467 01:22:29 + START_PACKAGES=/tmp/packages_start.txt 01:22:29 + END_PACKAGES=/tmp/packages_end.txt 01:22:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:22:29 + PACKAGES=/tmp/packages_start.txt 01:22:29 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-467 ']' 01:22:29 + PACKAGES=/tmp/packages_end.txt 01:22:29 + case "${OS_FAMILY}" in 01:22:29 + dpkg -l 01:22:29 + grep '^ii' 01:22:29 + '[' -f /tmp/packages_start.txt ']' 01:22:29 + '[' -f /tmp/packages_end.txt ']' 01:22:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:22:29 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-467 ']' 01:22:29 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives/ 01:22:29 + 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:22:29 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:22:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:22:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:22:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:22:30 prd-ubuntu20.04-docker-8c-8g-922 does not seem to be running inside a container 01:22:31 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:22:31 $ docker top d97f81fe0590a53eb2879b239a0240b486736e9d6709d2a872813bb95f26d46d -eo pid,comm [Pipeline] { [Pipeline] sh 01:22:32 + touch /tmp/pre-build-complete [Pipeline] sh 01:22:32 + mkdir -p /var/log/sysstat [Pipeline] sh 01:22:32 + ls /var/log/sa-host 01:22:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:22:32 provisioning config files... 01:22:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/config11707738117174024850tmp [Pipeline] { [Pipeline] echo 01:22:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:22:33 ---> create-netrc.sh [Pipeline] } 01:22:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:22:33 ---> python-tools-install.sh [Pipeline] echo 01:22:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:22:34 ---> sudo-logs.sh 01:22:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:22:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:22:34 ---> job-cost.sh 01:22:34 lf-activate-venv: SKIPPING 01:22:34 DEBUG: total: 0.2199999988079071 01:22:34 INFO: Retrieving Stack Cost... 01:22:34 INFO: Retrieving Pricing Info for: v3-standard-8 01:22:35 INFO: Archiving Costs [Pipeline] echo 01:22:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:22:35 ---> logs-deploy.sh 01:22:35 lf-activate-venv: SKIPPING 01:22:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-467/3 01:22:35 INFO: archiving workspace using pattern(s): 01:22:36 Archives upload complete. 01:22:36 INFO: archiving logs to Nexus