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 [2023-07-12T01:14:43.741Z] 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 [2023-07-12T01:14:44.907Z] + git rev-list -1 --merges 4504df9bdc42e67ccb7a3eb990460bb7d9735de7~1..4504df9bdc42e67ccb7a3eb990460bb7d9735de7 [Pipeline] echo [2023-07-12T01:14:45.087Z] -----------> git rev-list -1 --merges 4504df9bdc42e67ccb7a3eb990460bb7d9735de7~1..4504df9bdc42e67ccb7a3eb990460bb7d9735de7 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 [false] [Pipeline] sh [2023-07-12T01:14:45.395Z] + git log --format=format:%s -1 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 [Pipeline] echo [2023-07-12T01:14:45.430Z] ========================================================= [2023-07-12T01:14:45.430Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-12T01:14:45.430Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-07-12T01:14:45.908Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-12T01:14:45.908Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-12T01:14:45.908Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-12T01:14:45.908Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-12T01:14:45.908Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-12T01:14:45.908Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-12T01:14:45.908Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T01:14:46.419Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-12T01:14:46.419Z] [2023-07-12T01:14:46.419Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T01:14:46.794Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-12T01:14:46.795Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-12T01:14:46.795Z] b85a868b505f: Pulling fs layer [2023-07-12T01:14:46.795Z] e2be974225ed: Pulling fs layer [2023-07-12T01:14:46.795Z] 339a4e72a1f5: Pulling fs layer [2023-07-12T01:14:46.795Z] 988bab9f4d93: Pulling fs layer [2023-07-12T01:14:46.795Z] 1469e6f7b9e6: Pulling fs layer [2023-07-12T01:14:46.795Z] eaf3925da568: Pulling fs layer [2023-07-12T01:14:46.795Z] bab4dde63d76: Pulling fs layer [2023-07-12T01:14:46.795Z] bde34c3a00c8: Pulling fs layer [2023-07-12T01:14:46.795Z] b352a97aabf1: Pulling fs layer [2023-07-12T01:14:46.795Z] 4872d77fe225: Pulling fs layer [2023-07-12T01:14:46.795Z] 5851b861e8e6: Pulling fs layer [2023-07-12T01:14:46.795Z] eaf3925da568: Waiting [2023-07-12T01:14:46.795Z] 988bab9f4d93: Waiting [2023-07-12T01:14:46.795Z] 1469e6f7b9e6: Waiting [2023-07-12T01:14:46.795Z] 5851b861e8e6: Waiting [2023-07-12T01:14:46.795Z] bde34c3a00c8: Waiting [2023-07-12T01:14:46.795Z] b352a97aabf1: Waiting [2023-07-12T01:14:46.795Z] bab4dde63d76: Waiting [2023-07-12T01:14:46.795Z] 4872d77fe225: Waiting [2023-07-12T01:14:47.056Z] e2be974225ed: Download complete [2023-07-12T01:14:47.056Z] 988bab9f4d93: Verifying Checksum [2023-07-12T01:14:47.056Z] 988bab9f4d93: Download complete [2023-07-12T01:14:47.056Z] 1469e6f7b9e6: Verifying Checksum [2023-07-12T01:14:47.056Z] 1469e6f7b9e6: Download complete [2023-07-12T01:14:47.056Z] eaf3925da568: Verifying Checksum [2023-07-12T01:14:47.056Z] eaf3925da568: Download complete [2023-07-12T01:14:47.056Z] 339a4e72a1f5: Verifying Checksum [2023-07-12T01:14:47.056Z] 339a4e72a1f5: Download complete [2023-07-12T01:14:47.056Z] bde34c3a00c8: Verifying Checksum [2023-07-12T01:14:47.056Z] bde34c3a00c8: Download complete [2023-07-12T01:14:47.056Z] b352a97aabf1: Download complete [2023-07-12T01:14:47.056Z] 4872d77fe225: Download complete [2023-07-12T01:14:47.056Z] 5851b861e8e6: Verifying Checksum [2023-07-12T01:14:47.056Z] 5851b861e8e6: Download complete [2023-07-12T01:14:47.315Z] b85a868b505f: Verifying Checksum [2023-07-12T01:14:47.315Z] b85a868b505f: Download complete [2023-07-12T01:14:47.315Z] bab4dde63d76: Verifying Checksum [2023-07-12T01:14:47.315Z] bab4dde63d76: Download complete [2023-07-12T01:14:48.258Z] b85a868b505f: Pull complete [2023-07-12T01:14:48.520Z] e2be974225ed: Pull complete [2023-07-12T01:14:49.088Z] 339a4e72a1f5: Pull complete [2023-07-12T01:14:49.088Z] 988bab9f4d93: Pull complete [2023-07-12T01:14:49.347Z] 1469e6f7b9e6: Pull complete [2023-07-12T01:14:49.347Z] eaf3925da568: Pull complete [2023-07-12T01:14:50.727Z] bab4dde63d76: Pull complete [2023-07-12T01:14:50.986Z] bde34c3a00c8: Pull complete [2023-07-12T01:14:50.986Z] b352a97aabf1: Pull complete [2023-07-12T01:14:50.986Z] 4872d77fe225: Pull complete [2023-07-12T01:14:51.245Z] 5851b861e8e6: Pull complete [2023-07-12T01:14:51.245Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-12T01:14:51.245Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-12T01:14:51.245Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-12T01:14:51.475Z] prd-ubuntu20.04-docker-8c-8g-922 does not seem to be running inside a container [2023-07-12T01:14:51.512Z] $ 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 [2023-07-12T01:14:55.780Z] $ docker top ef5dd6f1289ef174debb436bdd484969cdc319879ce6edcf5261be01fb450de3 -eo pid,comm [2023-07-12T01:14:55.842Z] 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). [2023-07-12T01:14:55.842Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-12T01:14:55.974Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-12T01:14:55.974Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-12T01:14:56.082Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-12T01:14:56.088Z] $ docker exec ef5dd6f1289ef174debb436bdd484969cdc319879ce6edcf5261be01fb450de3 ssh-agent [2023-07-12T01:14:56.194Z] SSH_AUTH_SOCK=/tmp/ssh-hsxsln2xX9oO/agent.31 [2023-07-12T01:14:56.194Z] SSH_AGENT_PID=38 [2023-07-12T01:14:56.200Z] Running ssh-add (command line suppressed) [2023-07-12T01:14:56.299Z] 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) [2023-07-12T01:14:56.313Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-12T01:14:56.648Z] + git tag --points-at HEAD [Pipeline] } [2023-07-12T01:14:56.677Z] $ docker exec --env ******** --env ******** ef5dd6f1289ef174debb436bdd484969cdc319879ce6edcf5261be01fb450de3 ssh-agent -k [2023-07-12T01:14:56.776Z] unset SSH_AUTH_SOCK; [2023-07-12T01:14:56.776Z] unset SSH_AGENT_PID; [2023-07-12T01:14:56.776Z] echo Agent pid 38 killed; [2023-07-12T01:14:56.781Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-12T01:14:56.865Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-12T01:14:56.865Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-12T01:14:56.964Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-12T01:14:56.970Z] $ docker exec ef5dd6f1289ef174debb436bdd484969cdc319879ce6edcf5261be01fb450de3 ssh-agent [2023-07-12T01:14:57.080Z] SSH_AUTH_SOCK=/tmp/ssh-uNsXlN9dA38V/agent.70 [2023-07-12T01:14:57.080Z] SSH_AGENT_PID=76 [2023-07-12T01:14:57.085Z] Running ssh-add (command line suppressed) [2023-07-12T01:14:57.188Z] 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) [2023-07-12T01:14:57.197Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-12T01:14:57.532Z] + git semver init [2023-07-12T01:14:57.792Z] 2023-07-12 01:14:57,703 [run_init] DEBUG init version:0.0.0 force:False [2023-07-12T01:14:57.792Z] 2023-07-12 01:14:57,704 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver [2023-07-12T01:14:57.792Z] 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 [2023-07-12T01:14:57.792Z] 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) [2023-07-12T01:14:58.796Z] 2023-07-12 01:14:58,555 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-467/.git/info/exclude [2023-07-12T01:14:58.796Z] 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 [2023-07-12T01:14:58.796Z] 2023-07-12 01:14:58,556 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver/PR-467 [2023-07-12T01:14:58.796Z] 2023-07-12 01:14:58,560 [execute] INFO git cat-file --batch-check [2023-07-12T01:14:58.796Z] 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=) [2023-07-12T01:14:58.796Z] 2023-07-12 01:14:58,567 [execute] INFO git cat-file --batch [2023-07-12T01:14:58.796Z] 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=) [2023-07-12T01:14:58.796Z] 2023-07-12 01:14:58,572 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-467/.semver/PR-467 [2023-07-12T01:14:58.796Z] 0.0.0 [Pipeline] } [2023-07-12T01:14:58.824Z] $ docker exec --env ******** --env ******** ef5dd6f1289ef174debb436bdd484969cdc319879ce6edcf5261be01fb450de3 ssh-agent -k [2023-07-12T01:14:58.932Z] unset SSH_AUTH_SOCK; [2023-07-12T01:14:58.933Z] unset SSH_AGENT_PID; [2023-07-12T01:14:58.933Z] echo Agent pid 76 killed; [2023-07-12T01:14:58.942Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-12T01:14:59.371Z] + git semver [Pipeline] } [2023-07-12T01:14:59.656Z] $ docker stop --time=1 ef5dd6f1289ef174debb436bdd484969cdc319879ce6edcf5261be01fb450de3 [2023-07-12T01:15:00.967Z] $ docker rm -f --volumes ef5dd6f1289ef174debb436bdd484969cdc319879ce6edcf5261be01fb450de3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-12T01:15:01.370Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-12T01:15:01.718Z] Stashed 1 file(s) [Pipeline] echo [2023-07-12T01:15:01.735Z] [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 [2023-07-12T01:15:02.313Z] provisioning config files... [2023-07-12T01:15:02.328Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/config13068054910171544599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-12T01:15:02.681Z] ---> docker-login.sh [2023-07-12T01:15:02.681Z] nexus3.edgexfoundry.org:10001 [2023-07-12T01:15:02.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:15:02.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:15:02.681Z] Configure a credential helper to remove this warning. See [2023-07-12T01:15:02.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:15:02.681Z] [2023-07-12T01:15:02.681Z] Login Succeeded [2023-07-12T01:15:02.681Z] nexus3.edgexfoundry.org:10002 [2023-07-12T01:15:02.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:15:02.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:15:02.681Z] Configure a credential helper to remove this warning. See [2023-07-12T01:15:02.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:15:02.681Z] [2023-07-12T01:15:02.681Z] Login Succeeded [2023-07-12T01:15:02.681Z] nexus3.edgexfoundry.org:10003 [2023-07-12T01:15:02.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:15:02.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:15:02.942Z] Configure a credential helper to remove this warning. See [2023-07-12T01:15:02.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:15:02.942Z] [2023-07-12T01:15:02.942Z] Login Succeeded [2023-07-12T01:15:02.942Z] nexus3.edgexfoundry.org:10004 [2023-07-12T01:15:02.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:15:02.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:15:02.942Z] Configure a credential helper to remove this warning. See [2023-07-12T01:15:02.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:15:02.942Z] [2023-07-12T01:15:02.942Z] Login Succeeded [2023-07-12T01:15:02.942Z] docker.io [2023-07-12T01:15:02.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:15:03.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:15:03.510Z] Configure a credential helper to remove this warning. See [2023-07-12T01:15:03.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:15:03.510Z] [2023-07-12T01:15:03.510Z] Login Succeeded [2023-07-12T01:15:03.510Z] ---> docker-login.sh ends [Pipeline] } [2023-07-12T01:15:03.540Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-12T01:15:03.756Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-12T01:15:03.792Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-07-12T01:15:03.829Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-12T01:15:03.863Z] ========================================================= [2023-07-12T01:15:03.863Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-07-12T01:15:03.864Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T01:15:04.285Z] + 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 . [2023-07-12T01:15:04.285Z] Sending build context to Docker daemon 4.826MB [2023-07-12T01:15:04.285Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-12T01:15:04.285Z] Step 2/21 : FROM ${BASE} as builder [2023-07-12T01:15:04.285Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-07-12T01:15:04.285Z] 91d30c5bc195: Pulling fs layer [2023-07-12T01:15:04.285Z] 316e5a4585fb: Pulling fs layer [2023-07-12T01:15:04.545Z] 91d30c5bc195: Download complete [2023-07-12T01:15:04.545Z] 91d30c5bc195: Pull complete [2023-07-12T01:15:05.114Z] 316e5a4585fb: Verifying Checksum [2023-07-12T01:15:05.114Z] 316e5a4585fb: Download complete [2023-07-12T01:15:07.642Z] 316e5a4585fb: Pull complete [2023-07-12T01:15:07.642Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-07-12T01:15:07.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-07-12T01:15:07.642Z] ---> e83ffa357ff4 [2023-07-12T01:15:07.642Z] 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 [2023-07-12T01:15:09.557Z] ---> Running in e99be96dadcb [2023-07-12T01:15:09.557Z] Connecting to iotech.jfrog.io (52.17.239.128:443) [2023-07-12T01:15:09.818Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-12T01:15:09.818Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-12T01:15:09.818Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-12T01:15:10.078Z] Removing intermediate container e99be96dadcb [2023-07-12T01:15:10.078Z] ---> 74ae77095de8 [2023-07-12T01:15:10.078Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-12T01:15:10.336Z] ---> Running in 6306e28ab8ed [2023-07-12T01:15:10.906Z] Removing intermediate container 6306e28ab8ed [2023-07-12T01:15:10.906Z] ---> 304d69c608f3 [2023-07-12T01:15:10.906Z] 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 [2023-07-12T01:15:10.906Z] ---> Running in 7409b0bfe7ce [2023-07-12T01:15:11.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-12T01:15:11.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-12T01:15:11.428Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-12T01:15:11.997Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-12T01:15:11.997Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-12T01:15:11.997Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-12T01:15:11.997Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-12T01:15:11.997Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-12T01:15:11.997Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-12T01:15:12.565Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-12T01:15:12.826Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-12T01:15:12.826Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-12T01:15:12.826Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-12T01:15:12.826Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-12T01:15:13.763Z] (11/16) Installing libblkid (2.38-r1) [2023-07-12T01:15:13.763Z] (12/16) Installing libuuid (2.38-r1) [2023-07-12T01:15:13.763Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-12T01:15:13.763Z] (14/16) Installing libmount (2.38-r1) [2023-07-12T01:15:13.763Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-12T01:15:13.763Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-12T01:15:13.763Z] Executing busybox-1.35.0-r17.trigger [2023-07-12T01:15:13.763Z] OK: 280 MiB in 90 packages [2023-07-12T01:15:14.334Z] Removing intermediate container 7409b0bfe7ce [2023-07-12T01:15:14.334Z] ---> 36a575ea4ed0 [2023-07-12T01:15:14.334Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-12T01:15:14.334Z] ---> Running in 128be8eb4f55 [2023-07-12T01:15:14.901Z] Removing intermediate container 128be8eb4f55 [2023-07-12T01:15:14.901Z] ---> e26256792b48 [2023-07-12T01:15:14.901Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-12T01:15:14.901Z] ---> 7fee81c3cfca [2023-07-12T01:15:14.901Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-12T01:15:15.162Z] ---> d1ac577cce68 [2023-07-12T01:15:15.162Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-12T01:15:15.162Z] ---> 643a5514b42d [2023-07-12T01:15:15.162Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-12T01:15:15.421Z] ---> 3cbe428288cb [2023-07-12T01:15:15.421Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-12T01:15:15.421Z] ---> f40b8753f04b [2023-07-12T01:15:15.421Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-12T01:15:15.681Z] ---> d6a8388b6b5d [2023-07-12T01:15:15.681Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-12T01:15:15.681Z] ---> Running in 7f2940a6c433 [2023-07-12T01:15:15.939Z] + CPPCHECK=false [2023-07-12T01:15:15.939Z] + DOCGEN=false [2023-07-12T01:15:15.939Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-12T01:15:15.939Z] + '[' 0 -gt 0 ] [2023-07-12T01:15:15.939Z] + readlink -f ./scripts/build.sh [2023-07-12T01:15:15.939Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-12T01:15:15.939Z] + dirname /tmp/sdk/scripts [2023-07-12T01:15:15.939Z] + ROOT=/tmp/sdk [2023-07-12T01:15:15.939Z] + cd /tmp/sdk [2023-07-12T01:15:15.939Z] + mkdir -p /tmp/sdk/build/release [2023-07-12T01:15:15.939Z] + cd /tmp/sdk/build/release [2023-07-12T01:15:15.939Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-12T01:15:15.939Z] -- The C compiler identification is GNU 11.2.1 [2023-07-12T01:15:15.939Z] -- Detecting C compiler ABI info [2023-07-12T01:15:16.200Z] -- Detecting C compiler ABI info - done [2023-07-12T01:15:16.200Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-12T01:15:16.200Z] -- Detecting C compile features [2023-07-12T01:15:16.200Z] -- Detecting C compile features - done [2023-07-12T01:15:16.200Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-12T01:15:16.200Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-12T01:15:16.200Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-12T01:15:16.200Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-12T01:15:16.200Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-12T01:15:16.200Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-12T01:15:16.200Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-12T01:15:16.200Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-12T01:15:16.200Z] -- /opt/iotech/iot/1.5/include [2023-07-12T01:15:16.200Z] -- C SDK 0.0.0 for Linux [2023-07-12T01:15:16.200Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-12T01:15:16.200Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-12T01:15:16.458Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-12T01:15:16.458Z] -- Configuring done [2023-07-12T01:15:16.458Z] -- Generating done [2023-07-12T01:15:16.458Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-12T01:15:16.458Z] + make all package [2023-07-12T01:15:16.458Z] + tee release.log [2023-07-12T01:15:16.458Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-12T01:15:16.458Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-12T01:15:16.717Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-12T01:15:16.976Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-12T01:15:16.976Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-12T01:15:17.099Z] Still waiting to schedule task [2023-07-12T01:15:17.100Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-07-12T01:15:17.239Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-12T01:15:17.498Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-12T01:15:17.757Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-12T01:15:17.757Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-12T01:15:17.757Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-12T01:15:18.327Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-12T01:15:18.327Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-12T01:15:18.587Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-12T01:15:18.587Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-12T01:15:18.846Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-12T01:15:18.846Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-12T01:15:18.846Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-12T01:15:19.417Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-12T01:15:19.417Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-12T01:15:19.675Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-12T01:15:19.675Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-12T01:15:20.610Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-12T01:15:20.870Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-12T01:15:20.870Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-12T01:15:20.870Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-12T01:15:21.130Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-12T01:15:21.390Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-12T01:15:21.650Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-12T01:15:21.912Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-12T01:15:21.912Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-12T01:15:22.174Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-12T01:15:22.434Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-12T01:15:22.692Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-12T01:15:22.692Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-12T01:15:22.951Z] [ 68%] Linking C shared library libcsdk.so [2023-07-12T01:15:22.951Z] [ 68%] Built target csdk [2023-07-12T01:15:22.951Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-12T01:15:22.951Z] [ 72%] Linking C executable template [2023-07-12T01:15:23.210Z] [ 72%] Built target template [2023-07-12T01:15:23.210Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-12T01:15:23.210Z] [ 76%] Linking C executable device-counter [2023-07-12T01:15:23.210Z] [ 76%] Built target device-counter [2023-07-12T01:15:23.210Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-12T01:15:23.481Z] [ 80%] Linking C executable device-random [2023-07-12T01:15:23.481Z] [ 80%] Built target device-random [2023-07-12T01:15:23.481Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-12T01:15:23.740Z] [ 84%] Linking C executable device-gyro [2023-07-12T01:15:23.740Z] [ 84%] Built target device-gyro [2023-07-12T01:15:23.740Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-12T01:15:23.740Z] [ 88%] Linking C executable device-bitfields [2023-07-12T01:15:24.000Z] [ 88%] Built target device-bitfields [2023-07-12T01:15:24.000Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-12T01:15:24.259Z] [ 92%] Linking C executable template-discovery [2023-07-12T01:15:24.259Z] [ 92%] Built target template-discovery [2023-07-12T01:15:24.259Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-12T01:15:24.518Z] [ 96%] Linking C executable device-file [2023-07-12T01:15:24.518Z] [ 96%] Built target device-file [2023-07-12T01:15:24.518Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-12T01:15:24.518Z] [100%] Linking C executable device-terminal [2023-07-12T01:15:24.778Z] [100%] Built target device-terminal [2023-07-12T01:15:24.778Z] Run CPack packaging tool... [2023-07-12T01:15:24.778Z] CPack: Create package using TGZ [2023-07-12T01:15:24.778Z] CPack: Install projects [2023-07-12T01:15:24.778Z] CPack: - Run preinstall target for: Csdk [2023-07-12T01:15:25.037Z] CPack: - Install project: Csdk [] [2023-07-12T01:15:25.037Z] CPack: Create package [2023-07-12T01:15:25.037Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-07-12T01:15:25.037Z] + '[' false '=' true ] [2023-07-12T01:15:25.037Z] + '[' false '=' true ] [2023-07-12T01:15:25.037Z] + mkdir -p /tmp/sdk/build/debug [2023-07-12T01:15:25.037Z] + cd /tmp/sdk/build/debug [2023-07-12T01:15:25.037Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-12T01:15:25.037Z] -- The C compiler identification is GNU 11.2.1 [2023-07-12T01:15:25.037Z] -- Detecting C compiler ABI info [2023-07-12T01:15:25.037Z] -- Detecting C compiler ABI info - done [2023-07-12T01:15:25.037Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-12T01:15:25.037Z] -- Detecting C compile features [2023-07-12T01:15:25.037Z] -- Detecting C compile features - done [2023-07-12T01:15:25.037Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-12T01:15:25.297Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-12T01:15:25.297Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-12T01:15:25.297Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-12T01:15:25.297Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-12T01:15:25.297Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-12T01:15:25.297Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-12T01:15:25.297Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-12T01:15:25.297Z] -- /opt/iotech/iot/1.5/include [2023-07-12T01:15:25.297Z] -- C SDK 0.0.0 for Linux [2023-07-12T01:15:25.297Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-12T01:15:25.297Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-12T01:15:25.297Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-12T01:15:25.297Z] -- Configuring done [2023-07-12T01:15:25.297Z] -- Generating done [2023-07-12T01:15:25.297Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-12T01:15:25.297Z] + make [2023-07-12T01:15:25.297Z] + tee debug.log [2023-07-12T01:15:25.556Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-12T01:15:25.556Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-12T01:15:25.556Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-12T01:15:25.556Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-12T01:15:25.815Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-12T01:15:25.815Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-12T01:15:26.074Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-12T01:15:26.074Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-12T01:15:26.074Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-12T01:15:26.074Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-12T01:15:26.334Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-12T01:15:26.334Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-12T01:15:26.594Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-12T01:15:26.594Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-12T01:15:26.594Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-12T01:15:26.594Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-12T01:15:26.856Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-12T01:15:26.856Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-12T01:15:26.856Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-12T01:15:27.115Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-12T01:15:27.115Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-12T01:15:27.373Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-12T01:15:27.373Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-12T01:15:27.373Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-12T01:15:27.634Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-12T01:15:27.634Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-12T01:15:27.634Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-12T01:15:27.893Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-12T01:15:28.152Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-12T01:15:28.152Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-12T01:15:28.152Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-12T01:15:28.410Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-12T01:15:28.410Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-12T01:15:28.410Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-12T01:15:28.669Z] [ 68%] Linking C shared library libcsdk.so [2023-07-12T01:15:28.669Z] [ 68%] Built target csdk [2023-07-12T01:15:28.669Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-12T01:15:28.669Z] [ 72%] Linking C executable template [2023-07-12T01:15:28.669Z] [ 72%] Built target template [2023-07-12T01:15:28.928Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-12T01:15:28.928Z] [ 76%] Linking C executable device-counter [2023-07-12T01:15:28.928Z] [ 76%] Built target device-counter [2023-07-12T01:15:28.928Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-12T01:15:28.928Z] [ 80%] Linking C executable device-random [2023-07-12T01:15:29.187Z] [ 80%] Built target device-random [2023-07-12T01:15:29.187Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-12T01:15:29.187Z] [ 84%] Linking C executable device-gyro [2023-07-12T01:15:29.187Z] [ 84%] Built target device-gyro [2023-07-12T01:15:29.188Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-12T01:15:29.188Z] [ 88%] Linking C executable device-bitfields [2023-07-12T01:15:29.447Z] [ 88%] Built target device-bitfields [2023-07-12T01:15:29.447Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-12T01:15:29.447Z] [ 92%] Linking C executable template-discovery [2023-07-12T01:15:29.447Z] [ 92%] Built target template-discovery [2023-07-12T01:15:29.447Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-12T01:15:29.708Z] [ 96%] Linking C executable device-file [2023-07-12T01:15:29.708Z] [ 96%] Built target device-file [2023-07-12T01:15:29.708Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-12T01:15:29.708Z] [100%] Linking C executable device-terminal [2023-07-12T01:15:29.708Z] [100%] Built target device-terminal [2023-07-12T01:15:29.708Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:15:29.967Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:15:29.967Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:15:29.967Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:15:29.967Z] [ 68%] Built target csdk [2023-07-12T01:15:29.967Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:15:29.967Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:15:29.967Z] [ 72%] Built target template [2023-07-12T01:15:29.967Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:15:29.967Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:15:29.967Z] [ 76%] Built target device-counter [2023-07-12T01:15:29.967Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:15:29.967Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:15:29.967Z] [ 80%] Built target device-random [2023-07-12T01:15:29.967Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:15:29.967Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:15:29.967Z] [ 84%] Built target device-gyro [2023-07-12T01:15:29.967Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:15:29.967Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:15:29.967Z] [ 88%] Built target device-bitfields [2023-07-12T01:15:29.967Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:15:29.967Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:15:29.967Z] [ 92%] Built target template-discovery [2023-07-12T01:15:29.967Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:15:29.968Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:15:29.968Z] [ 96%] Built target device-file [2023-07-12T01:15:29.968Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:15:29.968Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:15:29.968Z] [100%] Built target device-terminal [2023-07-12T01:15:29.968Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:15:29.968Z] Install the project... [2023-07-12T01:15:29.968Z] -- Install configuration: "Release" [2023-07-12T01:15:29.968Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-12T01:15:29.968Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-12T01:15:29.968Z] -- Installing: /usr/local/include [2023-07-12T01:15:29.968Z] -- Installing: /usr/local/include/devsdk [2023-07-12T01:15:29.968Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-12T01:15:29.968Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-12T01:15:29.968Z] -- Installing: /usr/local/include/edgex [2023-07-12T01:15:29.968Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-12T01:15:29.968Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-12T01:15:29.968Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-12T01:15:29.968Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-12T01:15:29.968Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-12T01:15:29.968Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-12T01:15:29.968Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-12T01:15:29.968Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-12T01:15:29.968Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:15:30.910Z] Removing intermediate container 7f2940a6c433 [2023-07-12T01:15:30.910Z] ---> 5e15c7fb8d6b [2023-07-12T01:15:30.910Z] Step 14/21 : FROM ${BASE} [2023-07-12T01:15:30.910Z] ---> e83ffa357ff4 [2023-07-12T01:15:30.910Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-12T01:15:30.910Z] ---> Running in 140d89c52c04 [2023-07-12T01:15:31.170Z] Removing intermediate container 140d89c52c04 [2023-07-12T01:15:31.170Z] ---> b418ac17639d [2023-07-12T01:15:31.170Z] 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 [2023-07-12T01:15:31.170Z] ---> Running in b0b8f9c5d5e0 [2023-07-12T01:15:31.430Z] Connecting to iotech.jfrog.io (52.17.224.14:443) [2023-07-12T01:15:31.688Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-12T01:15:31.688Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-12T01:15:31.688Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-12T01:15:31.947Z] Removing intermediate container b0b8f9c5d5e0 [2023-07-12T01:15:31.947Z] ---> 8dbf899258c3 [2023-07-12T01:15:31.947Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-12T01:15:31.947Z] ---> Running in e1cbc08e254b [2023-07-12T01:15:32.516Z] Removing intermediate container e1cbc08e254b [2023-07-12T01:15:32.516Z] ---> 2ecb1a82602d [2023-07-12T01:15:32.516Z] 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 [2023-07-12T01:15:32.516Z] ---> Running in 626bb5d1c56b [2023-07-12T01:15:32.775Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-12T01:15:32.775Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-12T01:15:33.035Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-12T01:15:33.603Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-12T01:15:33.603Z] (1/7) Installing curl (8.1.2-r0) [2023-07-12T01:15:33.603Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-12T01:15:33.603Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-12T01:15:33.603Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-12T01:15:34.171Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-12T01:15:34.171Z] (6/7) Installing libuuid (2.38-r1) [2023-07-12T01:15:34.171Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-12T01:15:35.107Z] Executing busybox-1.35.0-r17.trigger [2023-07-12T01:15:35.107Z] OK: 276 MiB in 83 packages [2023-07-12T01:15:35.365Z] Removing intermediate container 626bb5d1c56b [2023-07-12T01:15:35.365Z] ---> b0e0dd88a3a3 [2023-07-12T01:15:35.365Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-12T01:15:35.365Z] ---> 03bb48d19057 [2023-07-12T01:15:35.365Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-12T01:15:35.624Z] ---> bf48e66e0931 [2023-07-12T01:15:35.624Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-12T01:15:35.624Z] ---> 3d3eb95d1e93 [2023-07-12T01:15:35.624Z] Successfully built 3d3eb95d1e93 [2023-07-12T01:15:35.624Z] 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 [2023-07-12T01:15:36.292Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-12T01:15:36.292Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-12T01:15:36.423Z] prd-ubuntu20.04-docker-8c-8g-922 does not seem to be running inside a container [2023-07-12T01:15:36.453Z] $ 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 [2023-07-12T01:15:37.021Z] $ docker top 755f265099165709783e821581253ec9707f307b19a3af4dd7d269bbe707221c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-12T01:15:37.408Z] + make test [2023-07-12T01:15:37.408Z] echo "make test" [2023-07-12T01:15:37.408Z] make test [Pipeline] } [2023-07-12T01:15:37.445Z] $ docker stop --time=1 755f265099165709783e821581253ec9707f307b19a3af4dd7d269bbe707221c [2023-07-12T01:15:38.928Z] $ docker rm -f --volumes 755f265099165709783e821581253ec9707f307b19a3af4dd7d269bbe707221c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-12T01:15:39.809Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-12T01:15:40.134Z] + ls -al . [2023-07-12T01:15:40.135Z] total 212 [2023-07-12T01:15:40.135Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 01:14 . [2023-07-12T01:15:40.135Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:14 .. [2023-07-12T01:15:40.135Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 01:14 .git [2023-07-12T01:15:40.135Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:14 .github [2023-07-12T01:15:40.135Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 12 01:14 .gitignore [2023-07-12T01:15:40.135Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 01:14 .semver [2023-07-12T01:15:40.135Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 12 01:14 Attribution.txt [2023-07-12T01:15:40.135Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 12 01:14 CHANGES [2023-07-12T01:15:40.135Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 12 01:14 Doxyfile [2023-07-12T01:15:40.135Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 01:14 GOVERNANCE.md [2023-07-12T01:15:40.135Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 12 01:14 Jenkinsfile [2023-07-12T01:15:40.135Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 12 01:14 LICENSE [2023-07-12T01:15:40.135Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 12 01:14 Makefile [2023-07-12T01:15:40.135Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 12 01:14 OWNERS.md [2023-07-12T01:15:40.135Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 12 01:14 README.IOT.md [2023-07-12T01:15:40.135Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 12 01:14 README.md [2023-07-12T01:15:40.135Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 12 01:14 README.v3.md [2023-07-12T01:15:40.135Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 01:15 VERSION [2023-07-12T01:15:40.135Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:14 docs [2023-07-12T01:15:40.135Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:14 include [2023-07-12T01:15:40.135Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:14 scripts [2023-07-12T01:15:40.135Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:14 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T01:15:40.541Z] + 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 . [2023-07-12T01:15:40.541Z] Sending build context to Docker daemon 4.826MB [2023-07-12T01:15:40.541Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-12T01:15:40.541Z] Step 2/17 : FROM ${BASE} [2023-07-12T01:15:40.541Z] ---> 3d3eb95d1e93 [2023-07-12T01:15:40.541Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-12T01:15:40.801Z] ---> Running in e23309b8bd34 [2023-07-12T01:15:40.801Z] Removing intermediate container e23309b8bd34 [2023-07-12T01:15:40.801Z] ---> c4931eeb32d4 [2023-07-12T01:15:40.801Z] 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 [2023-07-12T01:15:41.060Z] ---> Running in cb8190e94240 [2023-07-12T01:15:41.319Z] Connecting to iotech.jfrog.io (52.31.127.113:443) [2023-07-12T01:15:41.889Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-12T01:15:41.889Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-12T01:15:41.889Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-12T01:15:42.148Z] Removing intermediate container cb8190e94240 [2023-07-12T01:15:42.148Z] ---> 24f9988d955f [2023-07-12T01:15:42.148Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-12T01:15:42.148Z] ---> Running in 5774911a0099 [2023-07-12T01:15:42.717Z] Removing intermediate container 5774911a0099 [2023-07-12T01:15:42.717Z] ---> 33029f78e2e1 [2023-07-12T01:15:42.717Z] 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 [2023-07-12T01:15:42.717Z] ---> Running in 2879d9582781 [2023-07-12T01:15:42.976Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-12T01:15:43.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-07-12T01:15:43.235Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-07-12T01:15:43.803Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-12T01:15:43.803Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-12T01:15:43.803Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-12T01:15:43.803Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-12T01:15:44.372Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-12T01:15:44.631Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-12T01:15:44.631Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-12T01:15:44.631Z] (7/11) Installing libblkid (2.38-r1) [2023-07-12T01:15:44.631Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-12T01:15:44.631Z] (9/11) Installing libmount (2.38-r1) [2023-07-12T01:15:44.631Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-12T01:15:44.631Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-12T01:15:44.631Z] Executing busybox-1.35.0-r17.trigger [2023-07-12T01:15:44.631Z] OK: 281 MiB in 92 packages [2023-07-12T01:15:45.568Z] Removing intermediate container 2879d9582781 [2023-07-12T01:15:45.568Z] ---> c3769043c95c [2023-07-12T01:15:45.568Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-12T01:15:45.568Z] ---> 5d4edc3e46b9 [2023-07-12T01:15:45.568Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-12T01:15:45.826Z] ---> 81b7e6ed1b56 [2023-07-12T01:15:45.826Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-12T01:15:45.826Z] ---> 834fc1027a92 [2023-07-12T01:15:45.826Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-12T01:15:45.826Z] ---> 54a73af582d4 [2023-07-12T01:15:45.826Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-12T01:15:46.086Z] ---> 042e61a22412 [2023-07-12T01:15:46.086Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-12T01:15:46.086Z] ---> 95add6756380 [2023-07-12T01:15:46.086Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-12T01:15:46.086Z] ---> Running in eb1c6e31b778 [2023-07-12T01:15:46.345Z] Removing intermediate container eb1c6e31b778 [2023-07-12T01:15:46.345Z] ---> 269a7264e612 [2023-07-12T01:15:46.345Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-12T01:15:46.345Z] ---> Running in 785b44bb228a [2023-07-12T01:15:46.345Z] Removing intermediate container 785b44bb228a [2023-07-12T01:15:46.345Z] ---> c8e491ca3a3b [2023-07-12T01:15:46.345Z] Step 15/17 : LABEL arch=amd64 [2023-07-12T01:15:46.345Z] ---> Running in 03cc473f8733 [2023-07-12T01:15:46.345Z] Removing intermediate container 03cc473f8733 [2023-07-12T01:15:46.345Z] ---> 143bfc9060a2 [2023-07-12T01:15:46.345Z] Step 16/17 : LABEL git_sha=4504df9bdc42e67ccb7a3eb990460bb7d9735de7 [2023-07-12T01:15:46.345Z] ---> Running in 7f450ddae595 [2023-07-12T01:15:46.345Z] Removing intermediate container 7f450ddae595 [2023-07-12T01:15:46.345Z] ---> 3bdef8de3c6b [2023-07-12T01:15:46.345Z] Step 17/17 : LABEL version=0.0.0 [2023-07-12T01:15:46.606Z] ---> Running in c7e4e7015dee [2023-07-12T01:15:46.606Z] Removing intermediate container c7e4e7015dee [2023-07-12T01:15:46.606Z] ---> 8c6ae6de817f [2023-07-12T01:15:46.606Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-07-12T01:15:46.606Z] Successfully built 8c6ae6de817f [2023-07-12T01:15:46.606Z] 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 [2023-07-12T01:15:47.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-12T01:15:47.511Z] [2023-07-12T01:15:47.511Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T01:15:47.878Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-12T01:15:47.878Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-12T01:15:47.878Z] 5eb5b503b376: Pulling fs layer [2023-07-12T01:15:47.878Z] 5c69ac0246d0: Pulling fs layer [2023-07-12T01:15:47.878Z] ec43610c2a17: Pulling fs layer [2023-07-12T01:15:47.878Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-12T01:15:47.878Z] 33b1e0a273af: Pulling fs layer [2023-07-12T01:15:47.878Z] 5d3b04190fa2: Pulling fs layer [2023-07-12T01:15:47.878Z] 2f39f015ded8: Pulling fs layer [2023-07-12T01:15:47.878Z] 3a2ae6a8a46f: Waiting [2023-07-12T01:15:47.878Z] 33b1e0a273af: Waiting [2023-07-12T01:15:47.878Z] 5d3b04190fa2: Waiting [2023-07-12T01:15:47.878Z] 2f39f015ded8: Waiting [2023-07-12T01:15:47.878Z] 5c69ac0246d0: Download complete [2023-07-12T01:15:47.878Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-12T01:15:47.878Z] 3a2ae6a8a46f: Download complete [2023-07-12T01:15:47.878Z] 33b1e0a273af: Verifying Checksum [2023-07-12T01:15:47.878Z] 33b1e0a273af: Download complete [2023-07-12T01:15:47.878Z] ec43610c2a17: Verifying Checksum [2023-07-12T01:15:47.878Z] ec43610c2a17: Download complete [2023-07-12T01:15:47.878Z] 5d3b04190fa2: Verifying Checksum [2023-07-12T01:15:47.878Z] 5d3b04190fa2: Download complete [2023-07-12T01:15:48.136Z] 5eb5b503b376: Verifying Checksum [2023-07-12T01:15:48.136Z] 5eb5b503b376: Download complete [2023-07-12T01:15:48.703Z] 2f39f015ded8: Verifying Checksum [2023-07-12T01:15:48.703Z] 2f39f015ded8: Download complete [2023-07-12T01:15:49.270Z] 5eb5b503b376: Pull complete [2023-07-12T01:15:49.527Z] 5c69ac0246d0: Pull complete [2023-07-12T01:15:49.786Z] ec43610c2a17: Pull complete [2023-07-12T01:15:49.786Z] 3a2ae6a8a46f: Pull complete [2023-07-12T01:15:50.043Z] 33b1e0a273af: Pull complete [2023-07-12T01:15:50.043Z] 5d3b04190fa2: Pull complete [2023-07-12T01:15:54.226Z] 2f39f015ded8: Pull complete [2023-07-12T01:15:54.226Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-12T01:15:54.226Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-12T01:15:54.226Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-12T01:15:54.441Z] prd-ubuntu20.04-docker-8c-8g-922 does not seem to be running inside a container [2023-07-12T01:15:54.474Z] $ 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 [2023-07-12T01:15:58.497Z] $ docker top d84cc4a2f94efdb92719073a4859d2a49e632d7c1ab68df3cd6ab5f4e300e309 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-12T01:15:58.953Z] ---> job-cost.sh [2023-07-12T01:15:58.953Z] lf-activate-venv: SKIPPING [2023-07-12T01:15:58.953Z] INFO: No Stack... [2023-07-12T01:15:59.212Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-12T01:15:59.778Z] INFO: Archiving Costs [Pipeline] sh [2023-07-12T01:16:00.096Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives/cost.csv [2023-07-12T01:16:00.096Z] + cut -d, -f6 [Pipeline] lock [2023-07-12T01:16:00.136Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-467-3-stack-cost] [2023-07-12T01:16:00.140Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-467-3-stack-cost] did not exist. Created. [2023-07-12T01:16:00.140Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-467-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-12T01:16:00.529Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-12T01:16:00.604Z] Stashed 1 file(s) [Pipeline] } [2023-07-12T01:16:00.620Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-467-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-12T01:16:00.692Z] $ docker stop --time=1 d84cc4a2f94efdb92719073a4859d2a49e632d7c1ab68df3cd6ab5f4e300e309 [2023-07-12T01:16:01.836Z] $ docker rm -f --volumes d84cc4a2f94efdb92719073a4859d2a49e632d7c1ab68df3cd6ab5f4e300e309 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-12T01:18:47.109Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-923 in /w/workspace/edgexfoundry_device-sdk-c_PR-467 [Pipeline] { [Pipeline] ws [2023-07-12T01:18:47.163Z] Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout [2023-07-12T01:18:47.243Z] Selected Git installation does not exist. Using Default [2023-07-12T01:18:47.244Z] The recommended git tool is: NONE [2023-07-12T01:18:52.370Z] using credential edgex-jenkins-ssh [2023-07-12T01:18:52.385Z] Cloning the remote Git repository [2023-07-12T01:18:52.430Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-07-12T01:18:52.521Z] > git init /w/workspace/device-sdk-c/3 # timeout=10 [2023-07-12T01:18:52.646Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-12T01:18:52.647Z] > git --version # timeout=10 [2023-07-12T01:18:52.665Z] > git --version # 'git version 2.25.1' [2023-07-12T01:18:52.667Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-12T01:18:52.791Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-12T01:18:53.872Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-12T01:18:53.901Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-12T01:18:55.324Z] Merging remotes/origin/main commit e7fd64e96379a16422cca1ca57683b7b4003cc62 into PR head commit 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 [2023-07-12T01:18:55.615Z] Merge succeeded, producing 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 [2023-07-12T01:18:55.615Z] Checking out Revision 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 (PR-467) [2023-07-12T01:18:54.717Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-07-12T01:18:54.767Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-07-12T01:18:54.767Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-12T01:18:54.783Z] > 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 [2023-07-12T01:18:55.342Z] > git config core.sparsecheckout # timeout=10 [2023-07-12T01:18:55.415Z] > git checkout -f 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 # timeout=10 [2023-07-12T01:18:55.530Z] > git remote # timeout=10 [2023-07-12T01:18:55.545Z] > git config --get remote.origin.url # timeout=10 [2023-07-12T01:18:55.571Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-12T01:18:55.583Z] > git merge e7fd64e96379a16422cca1ca57683b7b4003cc62 # timeout=10 [2023-07-12T01:18:55.604Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-12T01:18:55.624Z] > git config core.sparsecheckout # timeout=10 [2023-07-12T01:18:55.636Z] > git checkout -f 4504df9bdc42e67ccb7a3eb990460bb7d9735de7 # timeout=10 [2023-07-12T01:18:59.085Z] 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 [2023-07-12T01:19:00.187Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-12T01:19:00.187Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-12T01:19:00.187Z] Dload Upload Total Spent Left Speed [2023-07-12T01:19:00.187Z] 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 [2023-07-12T01:19:00.887Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-12T01:19:01.249Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-12T01:19:01.249Z] + sudo tee /etc/docker/daemon.new [2023-07-12T01:19:01.249Z] { [2023-07-12T01:19:01.249Z] "registry-mirrors": [ [2023-07-12T01:19:01.249Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-12T01:19:01.249Z] ], [2023-07-12T01:19:01.249Z] "bip": "10.250.0.254/24", [2023-07-12T01:19:01.249Z] "hosts": [ [2023-07-12T01:19:01.249Z] "tcp://0.0.0.0:5555", [2023-07-12T01:19:01.249Z] "unix:///var/run/docker.sock" [2023-07-12T01:19:01.249Z] ], [2023-07-12T01:19:01.249Z] "mtu": 1458, [2023-07-12T01:19:01.249Z] "selinux-enabled": true, [2023-07-12T01:19:01.249Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-12T01:19:01.249Z] } [Pipeline] sh [2023-07-12T01:19:01.588Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-12T01:19:01.924Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-12T01:19:20.211Z] provisioning config files... [2023-07-12T01:19:20.237Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config246172971941097569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-12T01:19:20.622Z] ---> docker-login.sh [2023-07-12T01:19:20.622Z] nexus3.edgexfoundry.org:10001 [2023-07-12T01:19:21.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:19:21.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:19:21.215Z] Configure a credential helper to remove this warning. See [2023-07-12T01:19:21.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:19:21.215Z] [2023-07-12T01:19:21.215Z] Login Succeeded [2023-07-12T01:19:21.215Z] nexus3.edgexfoundry.org:10002 [2023-07-12T01:19:21.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:19:21.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:19:21.753Z] Configure a credential helper to remove this warning. See [2023-07-12T01:19:21.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:19:21.753Z] [2023-07-12T01:19:21.753Z] Login Succeeded [2023-07-12T01:19:21.753Z] nexus3.edgexfoundry.org:10003 [2023-07-12T01:19:21.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:19:22.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:19:22.023Z] Configure a credential helper to remove this warning. See [2023-07-12T01:19:22.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:19:22.023Z] [2023-07-12T01:19:22.023Z] Login Succeeded [2023-07-12T01:19:22.023Z] nexus3.edgexfoundry.org:10004 [2023-07-12T01:19:22.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:19:22.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:19:22.294Z] Configure a credential helper to remove this warning. See [2023-07-12T01:19:22.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:19:22.294Z] [2023-07-12T01:19:22.294Z] Login Succeeded [2023-07-12T01:19:22.294Z] docker.io [2023-07-12T01:19:22.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-12T01:19:22.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-12T01:19:22.834Z] Configure a credential helper to remove this warning. See [2023-07-12T01:19:22.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-12T01:19:22.834Z] [2023-07-12T01:19:22.834Z] Login Succeeded [2023-07-12T01:19:22.834Z] ---> docker-login.sh ends [Pipeline] } [2023-07-12T01:19:23.124Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-12T01:19:23.511Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-12T01:19:23.540Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-07-12T01:19:23.570Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-12T01:19:23.606Z] ========================================================= [2023-07-12T01:19:23.606Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-07-12T01:19:23.606Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T01:19:24.057Z] + 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 . [2023-07-12T01:19:24.326Z] Sending build context to Docker daemon 2.889MB [2023-07-12T01:19:24.326Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-07-12T01:19:24.326Z] Step 2/21 : FROM ${BASE} as builder [2023-07-12T01:19:24.597Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-07-12T01:19:24.597Z] 547446be3368: Pulling fs layer [2023-07-12T01:19:24.597Z] 76bd08e1cacc: Pulling fs layer [2023-07-12T01:19:24.597Z] 547446be3368: Download complete [2023-07-12T01:19:25.185Z] 547446be3368: Pull complete [2023-07-12T01:19:27.138Z] 76bd08e1cacc: Verifying Checksum [2023-07-12T01:19:27.138Z] 76bd08e1cacc: Download complete [2023-07-12T01:19:35.369Z] 76bd08e1cacc: Pull complete [2023-07-12T01:19:35.370Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-07-12T01:19:35.370Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-07-12T01:19:35.370Z] ---> 295cd00e64f4 [2023-07-12T01:19:35.370Z] 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 [2023-07-12T01:19:35.370Z] ---> Running in c4ec39bd65f0 [2023-07-12T01:19:36.785Z] Connecting to iotech.jfrog.io (52.214.181.33:443) [2023-07-12T01:19:37.055Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-12T01:19:37.055Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-12T01:19:37.055Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-12T01:19:37.640Z] Removing intermediate container c4ec39bd65f0 [2023-07-12T01:19:37.640Z] ---> 9f565f2cc123 [2023-07-12T01:19:37.640Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-12T01:19:37.640Z] ---> Running in 675b76ec758e [2023-07-12T01:19:39.588Z] Removing intermediate container 675b76ec758e [2023-07-12T01:19:39.588Z] ---> 2838d5a49795 [2023-07-12T01:19:39.588Z] 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 [2023-07-12T01:19:39.588Z] ---> Running in d0666ede7e15 [2023-07-12T01:19:40.172Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-12T01:19:40.439Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-12T01:19:41.026Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-12T01:19:41.991Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-12T01:19:41.991Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-12T01:19:41.991Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-12T01:19:41.991Z] (3/16) Installing hiredis (1.0.2-r0) [2023-07-12T01:19:41.991Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-07-12T01:19:41.991Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-12T01:19:42.572Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-12T01:19:42.839Z] (7/16) Installing libcbor (0.9.0-r1) [2023-07-12T01:19:42.839Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-07-12T01:19:42.839Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-12T01:19:42.839Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-12T01:19:43.800Z] (11/16) Installing libblkid (2.38-r1) [2023-07-12T01:19:43.800Z] (12/16) Installing libuuid (2.38-r1) [2023-07-12T01:19:43.800Z] (13/16) Installing libfdisk (2.38-r1) [2023-07-12T01:19:43.800Z] (14/16) Installing libmount (2.38-r1) [2023-07-12T01:19:43.800Z] (15/16) Installing libsmartcols (2.38-r1) [2023-07-12T01:19:43.800Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-07-12T01:19:43.800Z] Executing busybox-1.35.0-r17.trigger [2023-07-12T01:19:43.800Z] OK: 286 MiB in 90 packages [2023-07-12T01:19:45.212Z] Removing intermediate container d0666ede7e15 [2023-07-12T01:19:45.212Z] ---> d02fb12f4037 [2023-07-12T01:19:45.212Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-07-12T01:19:45.212Z] ---> Running in 30f6872ccd76 [2023-07-12T01:19:46.626Z] Removing intermediate container 30f6872ccd76 [2023-07-12T01:19:46.626Z] ---> 0e1a5cc68087 [2023-07-12T01:19:46.626Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-07-12T01:19:47.208Z] ---> 589e821c4634 [2023-07-12T01:19:47.208Z] Step 8/21 : COPY src /tmp/sdk/src [2023-07-12T01:19:47.793Z] ---> 76b78317acd5 [2023-07-12T01:19:47.793Z] Step 9/21 : COPY include /tmp/sdk/include [2023-07-12T01:19:48.379Z] ---> ce193d4b6ac1 [2023-07-12T01:19:48.379Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-07-12T01:19:48.648Z] ---> a4be4de63950 [2023-07-12T01:19:48.648Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-07-12T01:19:49.233Z] ---> a105ef792b32 [2023-07-12T01:19:49.233Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-07-12T01:19:49.816Z] ---> 96fc3b9aafbc [2023-07-12T01:19:49.816Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-07-12T01:19:49.816Z] ---> Running in b294cd07c537 [2023-07-12T01:19:50.778Z] + CPPCHECK=false [2023-07-12T01:19:50.778Z] + DOCGEN=false [2023-07-12T01:19:50.778Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-07-12T01:19:50.778Z] + '[' 0 -gt 0 ] [2023-07-12T01:19:50.778Z] + readlink -f ./scripts/build.sh [2023-07-12T01:19:50.778Z] + dirname /tmp/sdk/scripts/build.sh [2023-07-12T01:19:50.778Z] + dirname /tmp/sdk/scripts [2023-07-12T01:19:50.778Z] + ROOT=/tmp/sdk [2023-07-12T01:19:50.778Z] + cd /tmp/sdk [2023-07-12T01:19:50.778Z] + mkdir -p /tmp/sdk/build/release [2023-07-12T01:19:50.778Z] + cd /tmp/sdk/build/release [2023-07-12T01:19:50.778Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-07-12T01:19:51.044Z] -- The C compiler identification is GNU 11.2.1 [2023-07-12T01:19:51.044Z] -- Detecting C compiler ABI info [2023-07-12T01:19:51.314Z] -- Detecting C compiler ABI info - done [2023-07-12T01:19:51.314Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-12T01:19:51.314Z] -- Detecting C compile features [2023-07-12T01:19:51.314Z] -- Detecting C compile features - done [2023-07-12T01:19:51.314Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-12T01:19:51.582Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-12T01:19:51.582Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-12T01:19:51.582Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-12T01:19:51.582Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-12T01:19:51.582Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-12T01:19:51.582Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-12T01:19:51.850Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-12T01:19:51.850Z] -- /opt/iotech/iot/1.5/include [2023-07-12T01:19:51.850Z] -- C SDK 0.0.0 for Linux [2023-07-12T01:19:51.850Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-12T01:19:52.118Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-12T01:19:52.118Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-12T01:19:52.385Z] -- Configuring done [2023-07-12T01:19:52.653Z] -- Generating done [2023-07-12T01:19:52.653Z] -- Build files have been written to: /tmp/sdk/build/release [2023-07-12T01:19:52.653Z] + make all package [2023-07-12T01:19:52.653Z] + tee release.log [2023-07-12T01:19:52.921Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-12T01:19:53.881Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-12T01:19:54.844Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-12T01:19:58.182Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-12T01:19:59.152Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-12T01:19:59.736Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-12T01:20:02.316Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-12T01:20:03.273Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-12T01:20:03.539Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-12T01:20:04.945Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-12T01:20:06.881Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-12T01:20:07.836Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-12T01:20:08.795Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-12T01:20:09.758Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-12T01:20:10.344Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-12T01:20:11.751Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-12T01:20:11.751Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-12T01:20:15.096Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-12T01:20:15.096Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-12T01:20:15.680Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-12T01:20:17.085Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-12T01:20:23.730Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-12T01:20:23.997Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-12T01:20:24.579Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-12T01:20:25.162Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-12T01:20:25.430Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-12T01:20:27.372Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-12T01:20:30.712Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-12T01:20:30.712Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-12T01:20:32.117Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-12T01:20:32.699Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-12T01:20:36.035Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-12T01:20:36.994Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-12T01:20:37.261Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-12T01:20:38.220Z] [ 68%] Linking C shared library libcsdk.so [2023-07-12T01:20:38.220Z] [ 68%] Built target csdk [2023-07-12T01:20:38.220Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-12T01:20:39.184Z] [ 72%] Linking C executable template [2023-07-12T01:20:39.451Z] [ 72%] Built target template [2023-07-12T01:20:39.451Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-12T01:20:40.410Z] [ 76%] Linking C executable device-counter [2023-07-12T01:20:40.410Z] [ 76%] Built target device-counter [2023-07-12T01:20:40.410Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-12T01:20:40.994Z] [ 80%] Linking C executable device-random [2023-07-12T01:20:41.577Z] [ 80%] Built target device-random [2023-07-12T01:20:41.577Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-12T01:20:42.159Z] [ 84%] Linking C executable device-gyro [2023-07-12T01:20:42.427Z] [ 84%] Built target device-gyro [2023-07-12T01:20:42.427Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-12T01:20:43.011Z] [ 88%] Linking C executable device-bitfields [2023-07-12T01:20:43.278Z] [ 88%] Built target device-bitfields [2023-07-12T01:20:43.278Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-12T01:20:44.235Z] [ 92%] Linking C executable template-discovery [2023-07-12T01:20:44.503Z] [ 92%] Built target template-discovery [2023-07-12T01:20:44.503Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-12T01:20:45.460Z] [ 96%] Linking C executable device-file [2023-07-12T01:20:45.725Z] [ 96%] Built target device-file [2023-07-12T01:20:45.726Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-12T01:20:46.684Z] [100%] Linking C executable device-terminal [2023-07-12T01:20:46.951Z] [100%] Built target device-terminal [2023-07-12T01:20:46.951Z] Run CPack packaging tool... [2023-07-12T01:20:46.951Z] CPack: Create package using TGZ [2023-07-12T01:20:46.951Z] CPack: Install projects [2023-07-12T01:20:46.951Z] CPack: - Run preinstall target for: Csdk [2023-07-12T01:20:47.914Z] CPack: - Install project: Csdk [] [2023-07-12T01:20:47.914Z] CPack: Create package [2023-07-12T01:20:47.914Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-07-12T01:20:47.914Z] + '[' false '=' true ] [2023-07-12T01:20:47.914Z] + '[' false '=' true ] [2023-07-12T01:20:47.914Z] + mkdir -p /tmp/sdk/build/debug [2023-07-12T01:20:47.914Z] + cd /tmp/sdk/build/debug [2023-07-12T01:20:47.914Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-07-12T01:20:48.181Z] -- The C compiler identification is GNU 11.2.1 [2023-07-12T01:20:48.181Z] -- Detecting C compiler ABI info [2023-07-12T01:20:48.449Z] -- Detecting C compiler ABI info - done [2023-07-12T01:20:48.718Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-07-12T01:20:48.718Z] -- Detecting C compile features [2023-07-12T01:20:48.718Z] -- Detecting C compile features - done [2023-07-12T01:20:48.718Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-07-12T01:20:48.718Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-07-12T01:20:48.718Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-07-12T01:20:48.718Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-07-12T01:20:48.983Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-07-12T01:20:48.983Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-07-12T01:20:48.983Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-07-12T01:20:48.983Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-07-12T01:20:48.983Z] -- /opt/iotech/iot/1.5/include [2023-07-12T01:20:48.983Z] -- C SDK 0.0.0 for Linux [2023-07-12T01:20:48.983Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-07-12T01:20:49.250Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-07-12T01:20:49.250Z] -- Found Curses: /usr/lib/libcurses.so [2023-07-12T01:20:49.517Z] -- Configuring done [2023-07-12T01:20:49.785Z] -- Generating done [2023-07-12T01:20:49.785Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-07-12T01:20:49.785Z] + + teemake [2023-07-12T01:20:49.785Z] debug.log [2023-07-12T01:20:50.052Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-07-12T01:20:50.321Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-07-12T01:20:50.906Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-07-12T01:20:51.175Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-07-12T01:20:51.757Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-07-12T01:20:52.023Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-07-12T01:20:52.980Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-07-12T01:20:53.563Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-07-12T01:20:53.563Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-07-12T01:20:54.143Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-07-12T01:20:54.729Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-07-12T01:20:55.312Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-07-12T01:20:55.578Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-07-12T01:20:56.159Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-07-12T01:20:56.425Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-07-12T01:20:57.008Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-07-12T01:20:57.274Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-07-12T01:20:58.232Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-07-12T01:20:58.232Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-07-12T01:20:58.498Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-07-12T01:20:59.455Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-07-12T01:21:00.857Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-07-12T01:21:01.123Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-07-12T01:21:01.709Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-07-12T01:21:01.974Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-07-12T01:21:02.240Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-07-12T01:21:03.194Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-07-12T01:21:04.598Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-07-12T01:21:05.178Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-07-12T01:21:05.444Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-07-12T01:21:06.022Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-07-12T01:21:07.052Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-07-12T01:21:07.321Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-07-12T01:21:07.589Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-07-12T01:21:07.865Z] [ 68%] Linking C shared library libcsdk.so [2023-07-12T01:21:08.133Z] [ 68%] Built target csdk [2023-07-12T01:21:08.403Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-07-12T01:21:08.673Z] [ 72%] Linking C executable template [2023-07-12T01:21:08.942Z] [ 72%] Built target template [2023-07-12T01:21:08.942Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-07-12T01:21:09.532Z] [ 76%] Linking C executable device-counter [2023-07-12T01:21:09.532Z] [ 76%] Built target device-counter [2023-07-12T01:21:09.801Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-07-12T01:21:10.068Z] [ 80%] Linking C executable device-random [2023-07-12T01:21:10.337Z] [ 80%] Built target device-random [2023-07-12T01:21:10.337Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-07-12T01:21:10.602Z] [ 84%] Linking C executable device-gyro [2023-07-12T01:21:10.867Z] [ 84%] Built target device-gyro [2023-07-12T01:21:10.867Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-07-12T01:21:11.448Z] [ 88%] Linking C executable device-bitfields [2023-07-12T01:21:11.448Z] [ 88%] Built target device-bitfields [2023-07-12T01:21:11.713Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-07-12T01:21:11.976Z] [ 92%] Linking C executable template-discovery [2023-07-12T01:21:12.242Z] [ 92%] Built target template-discovery [2023-07-12T01:21:12.242Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-07-12T01:21:12.821Z] [ 96%] Linking C executable device-file [2023-07-12T01:21:12.821Z] [ 96%] Built target device-file [2023-07-12T01:21:13.085Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-07-12T01:21:13.350Z] [100%] Linking C executable device-terminal [2023-07-12T01:21:13.619Z] [100%] Built target device-terminal [2023-07-12T01:21:13.619Z] make: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:21:13.885Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:21:13.885Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:21:13.885Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:21:13.885Z] [ 68%] Built target csdk [2023-07-12T01:21:13.885Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:21:13.885Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:21:13.885Z] [ 72%] Built target template [2023-07-12T01:21:13.885Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:21:13.885Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:21:13.885Z] [ 76%] Built target device-counter [2023-07-12T01:21:13.885Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:21:13.885Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:21:13.885Z] [ 80%] Built target device-random [2023-07-12T01:21:13.885Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:21:14.150Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:21:14.150Z] [ 84%] Built target device-gyro [2023-07-12T01:21:14.150Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:21:14.150Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:21:14.150Z] [ 88%] Built target device-bitfields [2023-07-12T01:21:14.150Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:21:14.150Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:21:14.150Z] [ 92%] Built target template-discovery [2023-07-12T01:21:14.150Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:21:14.150Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:21:14.150Z] [ 96%] Built target device-file [2023-07-12T01:21:14.150Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-07-12T01:21:14.150Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:21:14.150Z] [100%] Built target device-terminal [2023-07-12T01:21:14.150Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:21:14.426Z] Install the project... [2023-07-12T01:21:14.426Z] -- Install configuration: "Release" [2023-07-12T01:21:14.426Z] -- Installing: /usr/local/lib/libcsdk.so [2023-07-12T01:21:14.426Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-07-12T01:21:14.426Z] -- Installing: /usr/local/include [2023-07-12T01:21:14.426Z] -- Installing: /usr/local/include/devsdk [2023-07-12T01:21:14.426Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-07-12T01:21:14.426Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-07-12T01:21:14.426Z] -- Installing: /usr/local/include/edgex [2023-07-12T01:21:14.426Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-07-12T01:21:14.426Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-07-12T01:21:14.426Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-07-12T01:21:14.427Z] -- Installing: /usr/local/include/edgex/devices.h [2023-07-12T01:21:14.427Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-07-12T01:21:14.427Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-07-12T01:21:14.427Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-07-12T01:21:14.427Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-07-12T01:21:14.427Z] make: Leaving directory '/tmp/sdk/build/release' [2023-07-12T01:21:15.381Z] Removing intermediate container b294cd07c537 [2023-07-12T01:21:15.381Z] ---> a14d4c2311a1 [2023-07-12T01:21:15.381Z] Step 14/21 : FROM ${BASE} [2023-07-12T01:21:15.381Z] ---> 295cd00e64f4 [2023-07-12T01:21:15.381Z] Step 15/21 : LABEL maintainer="IOTech " [2023-07-12T01:21:15.652Z] ---> Running in ba8ab9af48aa [2023-07-12T01:21:15.918Z] Removing intermediate container ba8ab9af48aa [2023-07-12T01:21:15.918Z] ---> bc61ac2c70bd [2023-07-12T01:21:15.918Z] 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 [2023-07-12T01:21:15.918Z] ---> Running in 396e4241db4f [2023-07-12T01:21:16.872Z] Connecting to iotech.jfrog.io (52.31.127.113:443) [2023-07-12T01:21:17.137Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-12T01:21:17.137Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-12T01:21:17.137Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-12T01:21:18.560Z] Removing intermediate container 396e4241db4f [2023-07-12T01:21:18.560Z] ---> 7b6b677d9120 [2023-07-12T01:21:18.560Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-12T01:21:18.560Z] ---> Running in 8e1e335fea00 [2023-07-12T01:21:19.965Z] Removing intermediate container 8e1e335fea00 [2023-07-12T01:21:19.965Z] ---> 30830e7c7321 [2023-07-12T01:21:19.965Z] 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 [2023-07-12T01:21:19.965Z] ---> Running in d60e798e988f [2023-07-12T01:21:20.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-12T01:21:21.184Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-12T01:21:21.764Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-12T01:21:22.340Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-12T01:21:22.605Z] (1/7) Installing curl (8.1.2-r0) [2023-07-12T01:21:22.605Z] (2/7) Installing hiredis (1.0.2-r0) [2023-07-12T01:21:22.605Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-07-12T01:21:22.605Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-07-12T01:21:23.183Z] (5/7) Installing libcbor (0.9.0-r1) [2023-07-12T01:21:23.183Z] (6/7) Installing libuuid (2.38-r1) [2023-07-12T01:21:23.183Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-07-12T01:21:24.134Z] Executing busybox-1.35.0-r17.trigger [2023-07-12T01:21:24.134Z] OK: 281 MiB in 83 packages [2023-07-12T01:21:25.089Z] Removing intermediate container d60e798e988f [2023-07-12T01:21:25.089Z] ---> e5d6f90cc17b [2023-07-12T01:21:25.089Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-07-12T01:21:25.671Z] ---> 27a969dd5420 [2023-07-12T01:21:25.671Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-07-12T01:21:25.937Z] ---> 4891edaa823a [2023-07-12T01:21:25.937Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-07-12T01:21:26.514Z] ---> 533391d1db9c [2023-07-12T01:21:26.514Z] Successfully built 533391d1db9c [2023-07-12T01:21:26.514Z] 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 [2023-07-12T01:21:27.227Z] + docker inspect -f . ci-base-image-arm64 [2023-07-12T01:21:27.227Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-12T01:21:27.477Z] prd-ubuntu20.04-docker-arm64-4c-16g-923 does not seem to be running inside a container [2023-07-12T01:21:27.536Z] $ 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 [2023-07-12T01:21:31.910Z] $ docker top 4e9719e5aabf7dd08dc84203ede3640207f93057299fb3bce9a83d248a4a68c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-12T01:21:32.779Z] + make test [2023-07-12T01:21:32.780Z] echo "make test" [2023-07-12T01:21:32.780Z] make test [Pipeline] } [2023-07-12T01:21:32.819Z] $ docker stop --time=1 4e9719e5aabf7dd08dc84203ede3640207f93057299fb3bce9a83d248a4a68c9 [2023-07-12T01:21:34.447Z] $ docker rm -f --volumes 4e9719e5aabf7dd08dc84203ede3640207f93057299fb3bce9a83d248a4a68c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-12T01:21:35.261Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-12T01:21:35.593Z] + ls -al . [2023-07-12T01:21:35.594Z] total 208 [2023-07-12T01:21:35.594Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 01:18 . [2023-07-12T01:21:35.594Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:18 .. [2023-07-12T01:21:35.594Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 01:18 .git [2023-07-12T01:21:35.594Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:18 .github [2023-07-12T01:21:35.594Z] -rw-rw-r-- 1 jenkins jenkins 176 Jul 12 01:18 .gitignore [2023-07-12T01:21:35.594Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jul 12 01:18 Attribution.txt [2023-07-12T01:21:35.594Z] -rw-rw-r-- 1 jenkins jenkins 9268 Jul 12 01:18 CHANGES [2023-07-12T01:21:35.594Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jul 12 01:18 Doxyfile [2023-07-12T01:21:35.594Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 01:18 GOVERNANCE.md [2023-07-12T01:21:35.594Z] -rw-rw-r-- 1 jenkins jenkins 784 Jul 12 01:18 Jenkinsfile [2023-07-12T01:21:35.594Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jul 12 01:18 LICENSE [2023-07-12T01:21:35.594Z] -rw-rw-r-- 1 jenkins jenkins 444 Jul 12 01:18 Makefile [2023-07-12T01:21:35.594Z] -rw-rw-r-- 1 jenkins jenkins 618 Jul 12 01:18 OWNERS.md [2023-07-12T01:21:35.594Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jul 12 01:18 README.IOT.md [2023-07-12T01:21:35.594Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jul 12 01:18 README.md [2023-07-12T01:21:35.594Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jul 12 01:18 README.v3.md [2023-07-12T01:21:35.594Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 01:15 VERSION [2023-07-12T01:21:35.594Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:18 docs [2023-07-12T01:21:35.594Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:18 include [2023-07-12T01:21:35.594Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 01:18 scripts [2023-07-12T01:21:35.594Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 01:18 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T01:21:36.010Z] + 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 . [2023-07-12T01:21:36.278Z] Sending build context to Docker daemon 2.889MB [2023-07-12T01:21:36.278Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-07-12T01:21:36.278Z] Step 2/17 : FROM ${BASE} [2023-07-12T01:21:36.278Z] ---> 533391d1db9c [2023-07-12T01:21:36.278Z] Step 3/17 : LABEL maintainer="IOTech " [2023-07-12T01:21:36.545Z] ---> Running in cf5d82713dce [2023-07-12T01:21:36.812Z] Removing intermediate container cf5d82713dce [2023-07-12T01:21:36.812Z] ---> fcac6ec2bf9e [2023-07-12T01:21:36.812Z] 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 [2023-07-12T01:21:36.812Z] ---> Running in a5fc0c326633 [2023-07-12T01:21:37.767Z] Connecting to iotech.jfrog.io (54.76.62.242:443) [2023-07-12T01:21:38.034Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-07-12T01:21:38.034Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-07-12T01:21:38.034Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-07-12T01:21:38.999Z] Removing intermediate container a5fc0c326633 [2023-07-12T01:21:38.999Z] ---> d30f8f9bb720 [2023-07-12T01:21:38.999Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-07-12T01:21:38.999Z] ---> Running in 7ad44e295a27 [2023-07-12T01:21:40.404Z] Removing intermediate container 7ad44e295a27 [2023-07-12T01:21:40.404Z] ---> 15b01487e4c8 [2023-07-12T01:21:40.404Z] 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 [2023-07-12T01:21:40.404Z] ---> Running in 2ca85fd83af9 [2023-07-12T01:21:41.365Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-12T01:21:41.632Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-07-12T01:21:42.210Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-07-12T01:21:43.167Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-07-12T01:21:43.167Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-12T01:21:43.167Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-07-12T01:21:43.167Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-07-12T01:21:44.568Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-07-12T01:21:44.835Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-07-12T01:21:44.835Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-07-12T01:21:44.835Z] (7/11) Installing libblkid (2.38-r1) [2023-07-12T01:21:44.835Z] (8/11) Installing libfdisk (2.38-r1) [2023-07-12T01:21:44.835Z] (9/11) Installing libmount (2.38-r1) [2023-07-12T01:21:44.835Z] (10/11) Installing libsmartcols (2.38-r1) [2023-07-12T01:21:44.835Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-07-12T01:21:44.835Z] Executing busybox-1.35.0-r17.trigger [2023-07-12T01:21:45.101Z] OK: 287 MiB in 92 packages [2023-07-12T01:21:47.048Z] Removing intermediate container 2ca85fd83af9 [2023-07-12T01:21:47.048Z] ---> e2effe0b2b85 [2023-07-12T01:21:47.048Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-07-12T01:21:47.048Z] ---> e18fa0f062ef [2023-07-12T01:21:47.048Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-07-12T01:21:48.008Z] ---> d693d29556ae [2023-07-12T01:21:48.008Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-07-12T01:21:48.279Z] ---> aba8acf60d95 [2023-07-12T01:21:48.279Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-07-12T01:21:48.862Z] ---> eaf3bc420ab2 [2023-07-12T01:21:48.862Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-07-12T01:21:49.129Z] ---> 35df92b47d5b [2023-07-12T01:21:49.129Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-07-12T01:21:49.710Z] ---> 869a49280185 [2023-07-12T01:21:49.710Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-07-12T01:21:49.710Z] ---> Running in f16b056862bc [2023-07-12T01:21:49.976Z] Removing intermediate container f16b056862bc [2023-07-12T01:21:49.976Z] ---> 484512c59016 [2023-07-12T01:21:49.976Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-07-12T01:21:50.243Z] ---> Running in 2040e5a0fde6 [2023-07-12T01:21:50.511Z] Removing intermediate container 2040e5a0fde6 [2023-07-12T01:21:50.511Z] ---> 1960071ff1af [2023-07-12T01:21:50.511Z] Step 15/17 : LABEL arch=arm64 [2023-07-12T01:21:50.511Z] ---> Running in 0aba56b8bf8c [2023-07-12T01:21:50.777Z] Removing intermediate container 0aba56b8bf8c [2023-07-12T01:21:50.777Z] ---> b614312e7578 [2023-07-12T01:21:50.777Z] Step 16/17 : LABEL git_sha=4504df9bdc42e67ccb7a3eb990460bb7d9735de7 [2023-07-12T01:21:51.044Z] ---> Running in fb2e9d1aa45d [2023-07-12T01:21:51.309Z] Removing intermediate container fb2e9d1aa45d [2023-07-12T01:21:51.309Z] ---> 2e76e6387b91 [2023-07-12T01:21:51.309Z] Step 17/17 : LABEL version=0.0.0 [2023-07-12T01:21:51.309Z] ---> Running in 82086a61dcb3 [2023-07-12T01:21:51.576Z] Removing intermediate container 82086a61dcb3 [2023-07-12T01:21:51.576Z] ---> e1e0f2e43a64 [2023-07-12T01:21:51.576Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-07-12T01:21:51.576Z] Successfully built e1e0f2e43a64 [2023-07-12T01:21:51.576Z] 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 [2023-07-12T01:21:52.362Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-12T01:21:52.362Z] [2023-07-12T01:21:52.362Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T01:21:52.763Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-12T01:21:53.031Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-12T01:21:53.031Z] 8998bd30e6a1: Pulling fs layer [2023-07-12T01:21:53.031Z] 04944245beec: Pulling fs layer [2023-07-12T01:21:53.031Z] 699f458cf7ca: Pulling fs layer [2023-07-12T01:21:53.031Z] 765212b225bb: Pulling fs layer [2023-07-12T01:21:53.031Z] f23df028b6ca: Pulling fs layer [2023-07-12T01:21:53.031Z] d65c8cfc05b1: Pulling fs layer [2023-07-12T01:21:53.031Z] 2437ff75d9bd: Pulling fs layer [2023-07-12T01:21:53.031Z] 765212b225bb: Waiting [2023-07-12T01:21:53.031Z] f23df028b6ca: Waiting [2023-07-12T01:21:53.031Z] d65c8cfc05b1: Waiting [2023-07-12T01:21:53.031Z] 2437ff75d9bd: Waiting [2023-07-12T01:21:53.031Z] 04944245beec: Verifying Checksum [2023-07-12T01:21:53.031Z] 04944245beec: Download complete [2023-07-12T01:21:53.031Z] 765212b225bb: Verifying Checksum [2023-07-12T01:21:53.031Z] 765212b225bb: Download complete [2023-07-12T01:21:53.031Z] f23df028b6ca: Verifying Checksum [2023-07-12T01:21:53.031Z] f23df028b6ca: Download complete [2023-07-12T01:21:53.031Z] d65c8cfc05b1: Verifying Checksum [2023-07-12T01:21:53.031Z] d65c8cfc05b1: Download complete [2023-07-12T01:21:53.297Z] 699f458cf7ca: Verifying Checksum [2023-07-12T01:21:53.297Z] 699f458cf7ca: Download complete [2023-07-12T01:21:53.564Z] 8998bd30e6a1: Verifying Checksum [2023-07-12T01:21:53.564Z] 8998bd30e6a1: Download complete [2023-07-12T01:21:56.142Z] 2437ff75d9bd: Verifying Checksum [2023-07-12T01:21:56.142Z] 2437ff75d9bd: Download complete [2023-07-12T01:21:57.551Z] 8998bd30e6a1: Pull complete [2023-07-12T01:22:00.123Z] 04944245beec: Pull complete [2023-07-12T01:22:01.529Z] 699f458cf7ca: Pull complete [2023-07-12T01:22:01.529Z] 765212b225bb: Pull complete [2023-07-12T01:22:02.483Z] f23df028b6ca: Pull complete [2023-07-12T01:22:02.483Z] d65c8cfc05b1: Pull complete [2023-07-12T01:22:17.455Z] 2437ff75d9bd: Pull complete [2023-07-12T01:22:17.455Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-12T01:22:17.455Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-12T01:22:17.455Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-12T01:22:17.760Z] prd-ubuntu20.04-docker-arm64-4c-16g-923 does not seem to be running inside a container [2023-07-12T01:22:17.822Z] $ 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 [2023-07-12T01:22:20.275Z] $ docker top f3c6be9526c9c6fc275c552b4bd3970b7151ba92edfcbea0155c933432b0436b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-12T01:22:20.820Z] ---> job-cost.sh [2023-07-12T01:22:21.085Z] lf-activate-venv: SKIPPING [2023-07-12T01:22:21.085Z] INFO: No Stack... [2023-07-12T01:22:21.351Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-12T01:22:22.306Z] INFO: Archiving Costs [Pipeline] sh [2023-07-12T01:22:22.963Z] + + catcut /w/workspace/device-sdk-c/3/archives/cost.csv -d, [2023-07-12T01:22:22.963Z] -f6 [Pipeline] lock [2023-07-12T01:22:23.044Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-467-3-stack-cost] [2023-07-12T01:22:23.049Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-467-3-stack-cost] did not exist. Created. [2023-07-12T01:22:23.049Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-467-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-12T01:22:23.450Z] /w/workspace/device-sdk-c/3@tmp/durable-345c010d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-12T01:22:24.107Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-12T01:22:24.150Z] Warning: overwriting stash ‘stack-cost’ [2023-07-12T01:22:24.591Z] Stashed 1 file(s) [Pipeline] } [2023-07-12T01:22:24.608Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-467-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-12T01:22:24.693Z] $ docker stop --time=1 f3c6be9526c9c6fc275c552b4bd3970b7151ba92edfcbea0155c933432b0436b [2023-07-12T01:22:26.165Z] $ 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 [2023-07-12T01:22:27.885Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives ] [2023-07-12T01:22:27.885Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives [2023-07-12T01:22:27.885Z] total 16 [2023-07-12T01:22:27.885Z] drwxr-xr-x 3 root root 4096 Jul 12 01:15 . [2023-07-12T01:22:27.885Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 01:16 .. [2023-07-12T01:22:27.885Z] drwxr-xr-x 2 root root 4096 Jul 12 01:15 cost [2023-07-12T01:22:27.885Z] -rw-r--r-- 1 root root 84 Jul 12 01:15 cost.csv [2023-07-12T01:22:27.885Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives [2023-07-12T01:22:27.885Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives [2023-07-12T01:22:27.885Z] total 16 [2023-07-12T01:22:27.885Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 01:15 . [2023-07-12T01:22:27.885Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 01:16 .. [2023-07-12T01:22:27.885Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 01:15 cost [2023-07-12T01:22:27.885Z] -rw-r--r-- 1 jenkins jenkins 84 Jul 12 01:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-12T01:22:28.214Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-12T01:22:29.102Z] ---> package-listing.sh [2023-07-12T01:22:29.103Z] ++ facter osfamily [2023-07-12T01:22:29.103Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-12T01:22:29.362Z] + OS_FAMILY=debian [2023-07-12T01:22:29.362Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-467 [2023-07-12T01:22:29.362Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-12T01:22:29.362Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-12T01:22:29.362Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-12T01:22:29.362Z] + PACKAGES=/tmp/packages_start.txt [2023-07-12T01:22:29.362Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-467 ']' [2023-07-12T01:22:29.362Z] + PACKAGES=/tmp/packages_end.txt [2023-07-12T01:22:29.362Z] + case "${OS_FAMILY}" in [2023-07-12T01:22:29.362Z] + dpkg -l [2023-07-12T01:22:29.362Z] + grep '^ii' [2023-07-12T01:22:29.362Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-12T01:22:29.362Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-12T01:22:29.362Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-12T01:22:29.362Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-467 ']' [2023-07-12T01:22:29.362Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-467/archives/ [2023-07-12T01:22:29.362Z] + 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 [2023-07-12T01:22:29.414Z] 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 [2023-07-12T01:22:29.708Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-12T01:22:30.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-12T01:22:30.330Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-12T01:22:30.469Z] prd-ubuntu20.04-docker-8c-8g-922 does not seem to be running inside a container [2023-07-12T01:22:31.482Z] $ 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 [2023-07-12T01:22:31.709Z] $ docker top d97f81fe0590a53eb2879b239a0240b486736e9d6709d2a872813bb95f26d46d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-12T01:22:32.096Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-12T01:22:32.405Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-12T01:22:32.717Z] + ls /var/log/sa-host [2023-07-12T01:22:32.717Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-12T01:22:32.931Z] provisioning config files... [2023-07-12T01:22:32.941Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-467@tmp/config11707738117174024850tmp [Pipeline] { [Pipeline] echo [2023-07-12T01:22:32.985Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-12T01:22:33.296Z] ---> create-netrc.sh [Pipeline] } [2023-07-12T01:22:33.322Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-12T01:22:33.731Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-12T01:22:33.762Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-12T01:22:34.078Z] ---> sudo-logs.sh [2023-07-12T01:22:34.078Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-12T01:22:34.164Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-12T01:22:34.473Z] ---> job-cost.sh [2023-07-12T01:22:34.473Z] lf-activate-venv: SKIPPING [2023-07-12T01:22:34.473Z] DEBUG: total: 0.2199999988079071 [2023-07-12T01:22:34.473Z] INFO: Retrieving Stack Cost... [2023-07-12T01:22:34.732Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-12T01:22:35.299Z] INFO: Archiving Costs [Pipeline] echo [2023-07-12T01:22:35.338Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-12T01:22:35.646Z] ---> logs-deploy.sh [2023-07-12T01:22:35.646Z] lf-activate-venv: SKIPPING [2023-07-12T01:22:35.646Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-467/3 [2023-07-12T01:22:35.646Z] INFO: archiving workspace using pattern(s): [2023-07-12T01:22:36.581Z] Archives upload complete. [2023-07-12T01:22:36.838Z] INFO: archiving logs to Nexus