Pull request #505 updated 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 ych988 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 1a776ee907d08e39928eb07fc2284b30a6e0a694 rather than e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc Obtained Jenkinsfile from 1a776ee907d08e39928eb07fc2284b30a6e0a694 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2157587231560697674.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6600019223025373090.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-505/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-505/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1010160451766894146.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16555312159692028076.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-505/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-505/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5075431404378285858.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-26649 in /w/workspace/edgexfoundry_device-sdk-c_PR-505 [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-505 # 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/505/head:refs/remotes/origin/PR-505 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc Merge succeeded, producing e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc Checking out Revision e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc (PR-505) > git config core.sparsecheckout # timeout=10 > git checkout -f e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc # 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 1a776ee907d08e39928eb07fc2284b30a6e0a694 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc # timeout=10 Commit message: "Merge branch 'fix_json_string' of https://github.com/ych988/device-sdk-c into fix_json_string" > git rev-list --no-walk b5af0f19990eb1645ac03a1c688a3a161dcc36a7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:14:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:14:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:14:14 ========================================================= 17:14:14 EdgeX Global Pipelines Version Info 17:14:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:14:15 ------------------- 17:14:15 stable info: 17:14:15 ------------------- 17:14:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:14:15 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 17:14:15 Message: update stable to v1.0.258 17:14:16 ------------------- 17:14:16 experimental info: 17:14:16 ------------------- 17:14:16 Commited By: **** collab-it+edgex@linuxfoundation.org 17:14:16 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 17:14:16 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:14:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 17:14:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 17:14:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:14:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:14:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 17:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 17:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 17:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:14:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:14:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:14:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:14:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:14:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:14:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-505 [Pipeline] echo 17:14:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-505 [Pipeline] echo 17:14:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-505 [Pipeline] echo 17:14:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc [Pipeline] echo 17:14:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e9cca0e [Pipeline] echo 17:14:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:14:17 provisioning config files... 17:14:17 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/config9893597063770509122tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:14:17 ---> ****-login.sh 17:14:17 nexus3.edgexfoundry.org:10001 17:14:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:14:17 Configure a credential helper to remove this warning. See 17:14:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:14:17 17:14:17 Login Succeeded 17:14:17 nexus3.edgexfoundry.org:10002 17:14:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:14:17 Configure a credential helper to remove this warning. See 17:14:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:14:17 17:14:17 Login Succeeded 17:14:17 nexus3.edgexfoundry.org:10003 17:14:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:14:17 Configure a credential helper to remove this warning. See 17:14:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:14:17 17:14:17 Login Succeeded 17:14:17 nexus3.edgexfoundry.org:10004 17:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:14:18 Configure a credential helper to remove this warning. See 17:14:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:14:18 17:14:18 Login Succeeded 17:14:18 ****.io 17:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:14:18 Configure a credential helper to remove this warning. See 17:14:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:14:18 17:14:18 Login Succeeded 17:14:18 ---> ****-login.sh ends [Pipeline] } 17:14:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 17:14:18 + git rev-list -1 --merges e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc~1..e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc [Pipeline] echo 17:14:18 -----------> git rev-list -1 --merges e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc~1..e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc 17:14:18 e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc [false] [Pipeline] sh 17:14:19 + git log --format=format:%s -1 e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc [Pipeline] echo 17:14:19 ========================================================= 17:14:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:14:19 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:14:19 + git rev-list -1 --merges e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc~1..e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc [Pipeline] echo 17:14:19 -----------> git rev-list -1 --merges e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc~1..e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc 17:14:19 e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc [false] [Pipeline] sh 17:14:20 + git log --format=format:%s -1 e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc [Pipeline] echo 17:14:20 ========================================================= 17:14:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:14:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 17:14:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:14:20 + grep -v github /etc/ssh/ssh_known_hosts 17:14:20 + [ -e /tmp/ssh_known_hosts ] 17:14:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:14:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:14:20 + sudo tee -a /etc/ssh/ssh_known_hosts 17:14:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:14:21 17:14:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:14:21 0.1.4: Pulling from edgex-devops/py-git-semver 17:14:21 b85a868b505f: Pulling fs layer 17:14:21 e2be974225ed: Pulling fs layer 17:14:21 339a4e72a1f5: Pulling fs layer 17:14:21 988bab9f4d93: Pulling fs layer 17:14:21 1469e6f7b9e6: Pulling fs layer 17:14:21 eaf3925da568: Pulling fs layer 17:14:21 bab4dde63d76: Pulling fs layer 17:14:21 bde34c3a00c8: Pulling fs layer 17:14:21 b352a97aabf1: Pulling fs layer 17:14:21 4872d77fe225: Pulling fs layer 17:14:21 5851b861e8e6: Pulling fs layer 17:14:21 988bab9f4d93: Waiting 17:14:21 1469e6f7b9e6: Waiting 17:14:21 eaf3925da568: Waiting 17:14:21 bab4dde63d76: Waiting 17:14:21 bde34c3a00c8: Waiting 17:14:21 b352a97aabf1: Waiting 17:14:21 4872d77fe225: Waiting 17:14:21 5851b861e8e6: Waiting 17:14:21 e2be974225ed: Verifying Checksum 17:14:21 e2be974225ed: Download complete 17:14:21 988bab9f4d93: Verifying Checksum 17:14:21 1469e6f7b9e6: Verifying Checksum 17:14:21 1469e6f7b9e6: Download complete 17:14:21 eaf3925da568: Verifying Checksum 17:14:21 eaf3925da568: Download complete 17:14:21 339a4e72a1f5: Verifying Checksum 17:14:21 339a4e72a1f5: Download complete 17:14:21 bde34c3a00c8: Verifying Checksum 17:14:21 b352a97aabf1: Verifying Checksum 17:14:21 b352a97aabf1: Download complete 17:14:21 4872d77fe225: Verifying Checksum 17:14:21 4872d77fe225: Download complete 17:14:21 5851b861e8e6: Verifying Checksum 17:14:21 5851b861e8e6: Download complete 17:14:21 b85a868b505f: Verifying Checksum 17:14:21 b85a868b505f: Download complete 17:14:21 bab4dde63d76: Verifying Checksum 17:14:21 bab4dde63d76: Download complete 17:14:22 b85a868b505f: Pull complete 17:14:23 e2be974225ed: Pull complete 17:14:23 339a4e72a1f5: Pull complete 17:14:23 988bab9f4d93: Pull complete 17:14:23 1469e6f7b9e6: Pull complete 17:14:23 eaf3925da568: Pull complete 17:14:26 bab4dde63d76: Pull complete 17:14:26 bde34c3a00c8: Pull complete 17:14:26 b352a97aabf1: Pull complete 17:14:26 4872d77fe225: Pull complete 17:14:26 5851b861e8e6: Pull complete 17:14:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:14:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:14:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:26 prd-ubuntu20.04-docker-8c-8g-26649 does not seem to be running inside a container 17:14:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-505 -v /w/workspace/edgexfoundry_device-sdk-c_PR-505:/w/workspace/edgexfoundry_device-sdk-c_PR-505:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-505@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:14:29 $ docker top bc1cf0ff99c4cfda8ee03df0c02c15148ed975b1967c2971e8a0c7a264d03843 -eo pid,comm 17:14:29 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). 17:14:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:14:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:14:30 [ssh-agent] Looking for ssh-agent implementation... 17:14:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:14:30 $ docker exec bc1cf0ff99c4cfda8ee03df0c02c15148ed975b1967c2971e8a0c7a264d03843 ssh-agent 17:14:30 SSH_AUTH_SOCK=/tmp/ssh-uuovOWAlXcgq/agent.32 17:14:30 SSH_AGENT_PID=38 17:14:30 Running ssh-add (command line suppressed) 17:14:30 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/private_key_17406168127677633255.key (/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/private_key_17406168127677633255.key) 17:14:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:14:30 + git tag --points-at HEAD [Pipeline] } 17:14:30 $ docker exec --env ******** --env ******** bc1cf0ff99c4cfda8ee03df0c02c15148ed975b1967c2971e8a0c7a264d03843 ssh-agent -k 17:14:30 unset SSH_AUTH_SOCK; 17:14:30 unset SSH_AGENT_PID; 17:14:30 echo Agent pid 38 killed; 17:14:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:14:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:14:30 [ssh-agent] Looking for ssh-agent implementation... 17:14:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:14:31 $ docker exec bc1cf0ff99c4cfda8ee03df0c02c15148ed975b1967c2971e8a0c7a264d03843 ssh-agent 17:14:31 SSH_AUTH_SOCK=/tmp/ssh-H9qQcRlUersi/agent.70 17:14:31 SSH_AGENT_PID=76 17:14:31 Running ssh-add (command line suppressed) 17:14:31 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/private_key_14619064408489224656.key (/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/private_key_14619064408489224656.key) 17:14:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:14:31 + git semver init 17:14:31 2024-01-02 17:14:31,757 [run_init] DEBUG init version:0.0.0 force:False 17:14:31 2024-01-02 17:14:31,758 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver 17:14:31 2024-01-02 17:14:31,758 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver 17:14:31 2024-01-02 17:14:31,759 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-505, universal_newlines=False, shell=None, istream=None) 17:14:32 2024-01-02 17:14:32,669 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505/.git/info/exclude 17:14:32 2024-01-02 17:14:32,670 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver/PR-505 with force:False 17:14:32 2024-01-02 17:14:32,670 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver/PR-505 17:14:32 2024-01-02 17:14:32,675 [execute] INFO git cat-file --batch-check 17:14:32 2024-01-02 17:14:32,676 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver, universal_newlines=False, shell=None, istream=) 17:14:32 2024-01-02 17:14:32,681 [execute] INFO git cat-file --batch 17:14:32 2024-01-02 17:14:32,682 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver, universal_newlines=False, shell=None, istream=) 17:14:32 2024-01-02 17:14:32,687 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver/PR-505 17:14:32 0.0.0 [Pipeline] } 17:14:32 $ docker exec --env ******** --env ******** bc1cf0ff99c4cfda8ee03df0c02c15148ed975b1967c2971e8a0c7a264d03843 ssh-agent -k 17:14:32 unset SSH_AUTH_SOCK; 17:14:32 unset SSH_AGENT_PID; 17:14:32 echo Agent pid 76 killed; 17:14:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:14:33 + git semver [Pipeline] } 17:14:33 $ docker stop --time=1 bc1cf0ff99c4cfda8ee03df0c02c15148ed975b1967c2971e8a0c7a264d03843 17:14:34 $ docker rm -f --volumes bc1cf0ff99c4cfda8ee03df0c02c15148ed975b1967c2971e8a0c7a264d03843 [Pipeline] // withDockerContainer [Pipeline] sh 17:14:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:14:35 Stashed 1 file(s) [Pipeline] echo 17:14:35 [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 17:14:35 provisioning config files... 17:14:35 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/config12677676179985108977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:14:36 ---> ****-login.sh 17:14:36 nexus3.edgexfoundry.org:10001 17:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:14:36 Configure a credential helper to remove this warning. See 17:14:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:14:36 17:14:36 Login Succeeded 17:14:36 nexus3.edgexfoundry.org:10002 17:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:14:36 Configure a credential helper to remove this warning. See 17:14:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:14:36 17:14:36 Login Succeeded 17:14:36 nexus3.edgexfoundry.org:10003 17:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:14:36 Configure a credential helper to remove this warning. See 17:14:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:14:36 17:14:36 Login Succeeded 17:14:36 nexus3.edgexfoundry.org:10004 17:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:14:36 Configure a credential helper to remove this warning. See 17:14:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:14:36 17:14:36 Login Succeeded 17:14:36 ****.io 17:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:14:36 Configure a credential helper to remove this warning. See 17:14:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:14:36 17:14:36 Login Succeeded 17:14:36 ---> ****-login.sh ends [Pipeline] } 17:14:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:14:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:14:36 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 17:14:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:14:36 ========================================================= 17:14:36 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 17:14:36 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:37 + 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 . 17:14:37 Sending build context to Docker daemon 4.97MB 17:14:37 Step 1/21 : ARG BASE=alpine:3.18 17:14:37 Step 2/21 : FROM ${BASE} as builder 17:14:37 latest: Pulling from edgex-devops/edgex-gcc-base 17:14:37 96526aa774ef: Pulling fs layer 17:14:37 da60e534fd72: Pulling fs layer 17:14:37 96526aa774ef: Verifying Checksum 17:14:37 96526aa774ef: Download complete 17:14:37 96526aa774ef: Pull complete 17:14:38 da60e534fd72: Download complete 17:14:41 da60e534fd72: Pull complete 17:14:41 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 17:14:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 17:14:41 ---> 6605166a5db4 17:14:41 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 17:14:43 ---> Running in 1b21106e62ac 17:14:43 Connecting to iotech.jfrog.io (54.73.4.50:443) 17:14:44 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:14:44 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:14:44 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:14:44 Removing intermediate container 1b21106e62ac 17:14:44 ---> d156e5baf530 17:14:44 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 17:14:44 ---> Running in 578086e4e7d0 17:14:45 Removing intermediate container 578086e4e7d0 17:14:45 ---> ed79c576ea0b 17:14:45 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 iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 17:14:45 ---> Running in 3d2a836a2984 17:14:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:14:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:14:46 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 17:14:46 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:14:46 (1/17) Installing hiredis (1.1.0-r2) 17:14:46 (2/17) Installing hiredis-dev (1.1.0-r2) 17:14:46 (3/17) Installing iotech-iot-1.5 (1.5.0-r0) 17:14:47 (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) 17:14:47 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 17:14:47 (6/17) Installing libcbor (0.10.2-r1) 17:14:47 (7/17) Installing libcbor-dev (0.10.2-r1) 17:14:47 (8/17) Installing libmenuw (6.4_p20230506-r0) 17:14:47 (9/17) Installing libpanelw (6.4_p20230506-r0) 17:14:47 (10/17) Installing libncurses++ (6.4_p20230506-r0) 17:14:47 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 17:14:47 (12/17) Installing libblkid (2.38.1-r8) 17:14:47 (13/17) Installing libuuid (2.38.1-r8) 17:14:47 (14/17) Installing libfdisk (2.38.1-r8) 17:14:47 (15/17) Installing libmount (2.38.1-r8) 17:14:47 (16/17) Installing libsmartcols (2.38.1-r8) 17:14:47 (17/17) Installing util-linux-dev (2.38.1-r8) 17:14:47 Executing busybox-1.36.1-r4.trigger 17:14:47 OK: 336 MiB in 99 packages 17:14:48 Removing intermediate container 3d2a836a2984 17:14:48 ---> cf60ff23d78b 17:14:48 Step 6/21 : RUN mkdir /tmp/sdk 17:14:48 ---> Running in 6dc6a192a415 17:14:49 Removing intermediate container 6dc6a192a415 17:14:49 ---> 3b60e2a26f9d 17:14:49 Step 7/21 : COPY VERSION /tmp/sdk 17:14:49 ---> bb9d486f3779 17:14:49 Step 8/21 : COPY src /tmp/sdk/src 17:14:49 ---> eef7576ee032 17:14:49 Step 9/21 : COPY include /tmp/sdk/include 17:14:49 ---> 94e511b6b141 17:14:49 Step 10/21 : COPY scripts /tmp/sdk/scripts 17:14:49 ---> ca39bf400eb9 17:14:49 Step 11/21 : COPY LICENSE /tmp/sdk 17:14:49 ---> 68817ad677db 17:14:49 Step 12/21 : COPY Attribution.txt /tmp/sdk 17:14:49 ---> 4c29375ef876 17:14:49 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 17:14:49 ---> Running in ac6db5f582fd 17:14:50 + CPPCHECK=false 17:14:50 + DOCGEN=false 17:14:50 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 17:14:50 + '[' 0 -gt 0 ] 17:14:50 + readlink -f ./scripts/build.sh 17:14:50 + dirname /tmp/sdk/scripts/build.sh 17:14:50 + dirname /tmp/sdk/scripts 17:14:50 + ROOT=/tmp/sdk 17:14:50 + cd /tmp/sdk 17:14:50 + mkdir -p /tmp/sdk/build/release 17:14:50 + cd /tmp/sdk/build/release 17:14:50 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 17:14:50 -- The C compiler identification is GNU 12.2.1 17:14:50 -- Detecting C compiler ABI info 17:14:50 -- Detecting C compiler ABI info - done 17:14:50 -- Check for working C compiler: /usr/bin/cc - skipped 17:14:50 -- Detecting C compile features 17:14:50 -- Detecting C compile features - done 17:14:50 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:14:50 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 17:14:50 -- Found LIBYAML: /usr/lib/libyaml.so 17:14:50 -- Found LIBUUID: /usr/lib/libuuid.so 17:14:50 -- Found LIBCBOR: /usr/lib/libcbor.so 17:14:50 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:14:50 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:14:50 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 17:14:50 -- /opt/iotech/iot/1.5/include 17:14:50 -- C SDK 0.0.0 for Linux 17:14:50 -- Performing Test CSDK_HAVE_ATOMIC 17:14:50 Still waiting to schedule task 17:14:50 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:14:50 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:14:50 -- Found Curses: /usr/lib/libcurses.so 17:14:50 -- Configuring done (0.5s) 17:14:50 -- Generating done (0.0s) 17:14:50 -- Build files have been written to: /tmp/sdk/build/release 17:14:50 + make all package 17:14:50 + tee release.log 17:14:50 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:14:50 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 17:14:50 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 17:14:51 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 17:14:51 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 17:14:51 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:14:51 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:14:51 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 17:14:51 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 17:14:51 294 | while (privateConfig) 17:14:51 | ^~~~~~~~~~~~~ 17:14:51 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 17:14:51 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 17:14:51 | ^~~~~~~~~~~~~ 17:14:51 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 17:14:51 271 | while (result) 17:14:51 | ^~~~~~ 17:14:51 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 17:14:51 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 17:14:51 | ^~~~~~ 17:14:52 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:14:52 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:14:52 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:14:52 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:14:52 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:14:52 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:14:52 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:14:52 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 17:14:53 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:14:53 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:14:53 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:14:53 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:14:53 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:14:53 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:14:54 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:14:54 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:14:55 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:14:55 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 17:14:55 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:14:55 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:14:55 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:14:55 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:14:55 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:14:55 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:14:56 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 17:14:56 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17:14:56 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 17:14:56 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 17:14:56 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17:14:56 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 17:14:56 | ^ 17:14:56 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 17:14:56 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 17:14:56 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17:14:56 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here 17:14:56 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 17:14:56 | ^~~~~~~~~~~~~~~~~~~~~ 17:14:56 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:14:56 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 17:14:56 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:14:56 [ 68%] Linking C shared library libcsdk.so 17:14:56 [ 68%] Built target csdk 17:14:56 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:14:56 [ 72%] Linking C executable template 17:14:56 [ 72%] Built target template 17:14:56 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:14:57 [ 76%] Linking C executable device-counter 17:14:57 [ 76%] Built target device-counter 17:14:57 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:14:57 [ 80%] Linking C executable device-random 17:14:57 [ 80%] Built target device-random 17:14:57 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:14:57 [ 84%] Linking C executable device-gyro 17:14:57 [ 84%] Built target device-gyro 17:14:57 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:14:57 [ 88%] Linking C executable device-bitfields 17:14:57 [ 88%] Built target device-bitfields 17:14:57 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:14:57 [ 92%] Linking C executable template-discovery 17:14:57 [ 92%] Built target template-discovery 17:14:57 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:14:57 [ 96%] Linking C executable device-file 17:14:58 [ 96%] Built target device-file 17:14:58 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:14:58 [100%] Linking C executable device-terminal 17:14:58 [100%] Built target device-terminal 17:14:58 Run CPack packaging tool... 17:14:58 CPack: Create package using TGZ 17:14:58 CPack: Install projects 17:14:58 CPack: - Run preinstall target for: Csdk 17:14:58 CPack: - Install project: Csdk [] 17:14:58 CPack: Create package 17:14:58 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 17:14:58 + '[' false '=' true ] 17:14:58 + '[' false '=' true ] 17:14:58 + mkdir -p /tmp/sdk/build/debug 17:14:58 + cd /tmp/sdk/build/debug 17:14:58 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 17:14:58 -- The C compiler identification is GNU 12.2.1 17:14:58 -- Detecting C compiler ABI info 17:14:58 -- Detecting C compiler ABI info - done 17:14:58 -- Check for working C compiler: /usr/bin/cc - skipped 17:14:58 -- Detecting C compile features 17:14:58 -- Detecting C compile features - done 17:14:58 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:14:58 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 17:14:58 -- Found LIBYAML: /usr/lib/libyaml.so 17:14:58 -- Found LIBUUID: /usr/lib/libuuid.so 17:14:58 -- Found LIBCBOR: /usr/lib/libcbor.so 17:14:58 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:14:58 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:14:58 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 17:14:58 -- /opt/iotech/iot/1.5/include 17:14:58 -- C SDK 0.0.0 for Linux 17:14:58 -- Performing Test CSDK_HAVE_ATOMIC 17:14:58 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:14:58 -- Found Curses: /usr/lib/libcurses.so 17:14:58 -- Configuring done (0.4s) 17:14:59 -- Generating done (0.0s) 17:14:59 -- Build files have been written to: /tmp/sdk/build/debug 17:14:59 + make 17:14:59 + tee debug.log 17:14:59 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:14:59 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 17:14:59 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 17:14:59 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 17:14:59 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 17:14:59 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:14:59 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:14:59 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:14:59 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:14:59 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:14:59 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:14:59 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:15:00 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:15:00 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:15:00 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 17:15:00 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:15:00 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:15:00 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:15:00 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:15:00 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:15:00 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:15:01 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:15:01 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:15:01 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:15:01 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 17:15:01 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:15:01 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:15:01 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:15:01 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:15:01 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:15:01 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:15:01 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 17:15:01 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17:15:01 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 17:15:01 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 17:15:01 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17:15:01 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 17:15:01 | ^ 17:15:01 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:15:02 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 17:15:02 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:15:02 [ 68%] Linking C shared library libcsdk.so 17:15:02 [ 68%] Built target csdk 17:15:02 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:15:02 [ 72%] Linking C executable template 17:15:02 [ 72%] Built target template 17:15:02 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:15:02 [ 76%] Linking C executable device-counter 17:15:02 [ 76%] Built target device-counter 17:15:02 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:15:02 [ 80%] Linking C executable device-random 17:15:02 [ 80%] Built target device-random 17:15:02 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:15:02 [ 84%] Linking C executable device-gyro 17:15:02 [ 84%] Built target device-gyro 17:15:02 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:15:02 [ 88%] Linking C executable device-bitfields 17:15:02 [ 88%] Built target device-bitfields 17:15:02 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:15:03 [ 92%] Linking C executable template-discovery 17:15:03 [ 92%] Built target template-discovery 17:15:03 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:15:03 [ 96%] Linking C executable device-file 17:15:03 [ 96%] Built target device-file 17:15:03 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:15:03 [100%] Linking C executable device-terminal 17:15:03 [100%] Built target device-terminal 17:15:03 make: Entering directory '/tmp/sdk/build/release' 17:15:03 [ 68%] Built target csdk 17:15:03 [ 72%] Built target template 17:15:03 [ 76%] Built target device-counter 17:15:03 [ 80%] Built target device-random 17:15:03 [ 84%] Built target device-gyro 17:15:03 [ 88%] Built target device-bitfields 17:15:03 [ 92%] Built target template-discovery 17:15:03 [ 96%] Built target device-file 17:15:03 [100%] Built target device-terminal 17:15:03 Install the project... 17:15:03 -- Install configuration: "Release" 17:15:03 -- Installing: /usr/local/lib/libcsdk.so 17:15:03 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 17:15:03 -- Installing: /usr/local/include 17:15:03 -- Installing: /usr/local/include/devsdk 17:15:03 -- Installing: /usr/local/include/devsdk/devsdk.h 17:15:03 -- Installing: /usr/local/include/devsdk/devsdk-base.h 17:15:03 -- Installing: /usr/local/include/edgex 17:15:03 -- Installing: /usr/local/include/edgex/edgex.h 17:15:03 -- Installing: /usr/local/include/edgex/devices.h 17:15:03 -- Installing: /usr/local/include/edgex/profiles.h 17:15:03 -- Installing: /usr/local/include/edgex/edgex-base.h 17:15:03 -- Installing: /usr/local/include/edgex/rest-server.h 17:15:03 -- Installing: /usr/local/include/edgex/csdk-defs.h 17:15:03 -- Installing: /usr/local/share/device-sdk-c/LICENSE 17:15:03 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 17:15:03 make: Leaving directory '/tmp/sdk/build/release' 17:15:04 Removing intermediate container ac6db5f582fd 17:15:04 ---> b2de356e62a3 17:15:04 Step 14/21 : FROM ${BASE} 17:15:04 ---> 6605166a5db4 17:15:04 Step 15/21 : LABEL maintainer="IOTech " 17:15:04 ---> Running in 0313545a1fae 17:15:04 Removing intermediate container 0313545a1fae 17:15:04 ---> 112ef60266cc 17:15:04 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 17:15:04 ---> Running in c9c79b7b2f09 17:15:05 Connecting to iotech.jfrog.io (34.246.139.145:443) 17:15:05 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:15:05 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:15:05 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:15:05 Removing intermediate container c9c79b7b2f09 17:15:05 ---> d9d770024889 17:15:05 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 17:15:05 ---> Running in 5f6c35f55e26 17:15:06 Removing intermediate container 5f6c35f55e26 17:15:06 ---> d1d04f0a5dbb 17:15:06 Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev 17:15:06 ---> Running in c6878e4ae171 17:15:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:15:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:15:06 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 17:15:07 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:15:07 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) 17:15:07 (2/9) Installing curl (8.5.0-r0) 17:15:07 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) 17:15:07 (4/9) Installing hiredis (1.1.0-r2) 17:15:07 (5/9) Installing hiredis-dev (1.1.0-r2) 17:15:07 (6/9) Installing iotech-iot-1.5 (1.5.0-r0) 17:15:08 (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 17:15:08 (8/9) Installing libcbor (0.10.2-r1) 17:15:08 (9/9) Installing libuuid (2.38.1-r8) 17:15:08 Executing busybox-1.36.1-r4.trigger 17:15:08 OK: 331 MiB in 89 packages 17:15:08 Removing intermediate container c6878e4ae171 17:15:08 ---> d7c8392e98c2 17:15:08 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 17:15:08 ---> ba70a96d689a 17:15:08 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 17:15:09 ---> 8c49530cceff 17:15:09 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 17:15:09 ---> 8e3dd9fea7a3 17:15:09 Successfully built 8e3dd9fea7a3 17:15:09 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 17:15:09 + docker inspect -f . ci-base-image-x86_64 17:15:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:15:09 prd-ubuntu20.04-docker-8c-8g-26649 does not seem to be running inside a container 17:15:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-505 -v /w/workspace/edgexfoundry_device-sdk-c_PR-505:/w/workspace/edgexfoundry_device-sdk-c_PR-505:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:15:10 $ docker top 5a952a5d46ee683a42b7a72c02992c806e8840ed4fb2d78348b61b5e9ad03678 -eo pid,comm [Pipeline] { [Pipeline] sh 17:15:10 + make test 17:15:10 echo "make test" 17:15:10 make test [Pipeline] } 17:15:10 $ docker stop --time=1 5a952a5d46ee683a42b7a72c02992c806e8840ed4fb2d78348b61b5e9ad03678 17:15:11 $ docker rm -f --volumes 5a952a5d46ee683a42b7a72c02992c806e8840ed4fb2d78348b61b5e9ad03678 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:15:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:15:12 + ls -al . 17:15:12 total 212 17:15:12 drwxrwxr-x 9 jenkins jenkins 4096 Jan 2 17:14 . 17:15:12 drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 17:14 .. 17:15:12 drwxrwxr-x 8 jenkins jenkins 4096 Jan 2 17:14 .git 17:15:12 drwxrwxr-x 3 jenkins jenkins 4096 Jan 2 17:14 .github 17:15:12 -rw-rw-r-- 1 jenkins jenkins 176 Jan 2 17:14 .gitignore 17:15:12 drwxr-xr-x 3 jenkins jenkins 4096 Jan 2 17:14 .semver 17:15:12 -rw-rw-r-- 1 jenkins jenkins 2908 Jan 2 17:14 Attribution.txt 17:15:12 -rw-rw-r-- 1 jenkins jenkins 11953 Jan 2 17:14 CHANGELOG.md 17:15:12 -rw-rw-r-- 1 jenkins jenkins 108574 Jan 2 17:14 Doxyfile 17:15:12 -rw-rw-r-- 1 jenkins jenkins 677 Jan 2 17:14 GOVERNANCE.md 17:15:12 -rw-rw-r-- 1 jenkins jenkins 784 Jan 2 17:14 Jenkinsfile 17:15:12 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 2 17:14 LICENSE 17:15:12 -rw-rw-r-- 1 jenkins jenkins 444 Jan 2 17:14 Makefile 17:15:12 -rw-rw-r-- 1 jenkins jenkins 618 Jan 2 17:14 OWNERS.md 17:15:12 -rw-rw-r-- 1 jenkins jenkins 1651 Jan 2 17:14 README.IOT.md 17:15:12 -rw-rw-r-- 1 jenkins jenkins 4215 Jan 2 17:14 README.md 17:15:12 -rw-rw-r-- 1 jenkins jenkins 1245 Jan 2 17:14 README.v3.md 17:15:12 -rw-rw-r-- 1 jenkins jenkins 5 Jan 2 17:14 VERSION 17:15:12 drwxrwxr-x 2 jenkins jenkins 4096 Jan 2 17:14 docs 17:15:12 drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 17:14 include 17:15:12 drwxrwxr-x 2 jenkins jenkins 4096 Jan 2 17:14 scripts 17:15:12 drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 17:14 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:13 + 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=e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc --label arch=amd64 --label version=0.0.0 . 17:15:13 Sending build context to Docker daemon 4.97MB 17:15:13 Step 1/17 : ARG BASE=alpine:3.18 17:15:13 Step 2/17 : FROM ${BASE} 17:15:13 ---> 8e3dd9fea7a3 17:15:13 Step 3/17 : LABEL maintainer="IOTech " 17:15:13 ---> Running in 54aee439c239 17:15:13 Removing intermediate container 54aee439c239 17:15:13 ---> c333c32b7814 17:15:13 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 17:15:13 ---> Running in 528d9edc2914 17:15:13 Connecting to iotech.jfrog.io (34.247.22.236:443) 17:15:14 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:15:14 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:15:14 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:15:14 Removing intermediate container 528d9edc2914 17:15:14 ---> 7bbab3a3d2c7 17:15:14 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 17:15:14 ---> Running in 2bd34e7b61e9 17:15:14 Removing intermediate container 2bd34e7b61e9 17:15:14 ---> 510a93df492b 17:15:14 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 iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build 17:15:14 ---> Running in 2d150fe5db70 17:15:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:15:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:15:15 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 17:15:16 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:15:16 (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 17:15:16 (2/11) Installing libcbor-dev (0.10.2-r1) 17:15:16 (3/11) Installing libmenuw (6.4_p20230506-r0) 17:15:16 (4/11) Installing libpanelw (6.4_p20230506-r0) 17:15:16 (5/11) Installing libncurses++ (6.4_p20230506-r0) 17:15:16 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 17:15:16 (7/11) Installing libblkid (2.38.1-r8) 17:15:16 (8/11) Installing libfdisk (2.38.1-r8) 17:15:16 (9/11) Installing libmount (2.38.1-r8) 17:15:16 (10/11) Installing libsmartcols (2.38.1-r8) 17:15:16 (11/11) Installing util-linux-dev (2.38.1-r8) 17:15:16 Executing busybox-1.36.1-r4.trigger 17:15:16 OK: 336 MiB in 100 packages 17:15:17 Removing intermediate container 2d150fe5db70 17:15:17 ---> 5bd7f8765b95 17:15:17 Step 7/17 : COPY VERSION /edgex-c-sdk/ 17:15:17 ---> 579df23a9c30 17:15:17 Step 8/17 : COPY src /edgex-c-sdk/src/ 17:15:17 ---> 5ed5fef2ed85 17:15:17 Step 9/17 : COPY include /edgex-c-sdk/include/ 17:15:17 ---> abb2b198adf0 17:15:17 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 17:15:17 ---> d995136b5597 17:15:17 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 17:15:18 ---> 15503ec62554 17:15:18 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 17:15:18 ---> 643018e426fb 17:15:18 Step 13/17 : WORKDIR /edgex-c-sdk 17:15:18 ---> Running in ee05a2683d5c 17:15:18 Removing intermediate container ee05a2683d5c 17:15:18 ---> a2d2813d2e44 17:15:18 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 17:15:18 ---> Running in bfcddfee22b3 17:15:18 Removing intermediate container bfcddfee22b3 17:15:18 ---> 4f3c741286a9 17:15:18 Step 15/17 : LABEL arch=amd64 17:15:18 ---> Running in 82cefab0b31a 17:15:18 Removing intermediate container 82cefab0b31a 17:15:18 ---> b21222f60ca6 17:15:18 Step 16/17 : LABEL git_sha=e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc 17:15:18 ---> Running in e1938ee90ec9 17:15:18 Removing intermediate container e1938ee90ec9 17:15:18 ---> f7c9a765d128 17:15:18 Step 17/17 : LABEL version=0.0.0 17:15:18 ---> Running in d10f366a61d2 17:15:18 Removing intermediate container d10f366a61d2 17:15:18 ---> bd97567511f4 17:15:18 [Warning] One or more build-args [ARCH MAKE] were not consumed 17:15:18 Successfully built bd97567511f4 17:15:18 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 17:15:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:15:19 17:15:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:15:19 latest: Pulling from edgex-lftools-log-publisher 17:15:19 5eb5b503b376: Pulling fs layer 17:15:19 5c69ac0246d0: Pulling fs layer 17:15:19 ec43610c2a17: Pulling fs layer 17:15:19 3a2ae6a8a46f: Pulling fs layer 17:15:19 33b1e0a273af: Pulling fs layer 17:15:19 5d3b04190fa2: Pulling fs layer 17:15:19 2f39f015ded8: Pulling fs layer 17:15:19 3a2ae6a8a46f: Waiting 17:15:19 5d3b04190fa2: Waiting 17:15:19 33b1e0a273af: Waiting 17:15:19 2f39f015ded8: Waiting 17:15:19 5c69ac0246d0: Download complete 17:15:19 3a2ae6a8a46f: Verifying Checksum 17:15:19 3a2ae6a8a46f: Download complete 17:15:19 33b1e0a273af: Verifying Checksum 17:15:19 33b1e0a273af: Download complete 17:15:19 ec43610c2a17: Verifying Checksum 17:15:19 ec43610c2a17: Download complete 17:15:19 5d3b04190fa2: Verifying Checksum 17:15:19 5d3b04190fa2: Download complete 17:15:20 5eb5b503b376: Download complete 17:15:20 2f39f015ded8: Download complete 17:15:21 5eb5b503b376: Pull complete 17:15:21 5c69ac0246d0: Pull complete 17:15:22 ec43610c2a17: Pull complete 17:15:22 3a2ae6a8a46f: Pull complete 17:15:22 33b1e0a273af: Pull complete 17:15:22 5d3b04190fa2: Pull complete 17:15:27 2f39f015ded8: Pull complete 17:15:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:15:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:15:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:15:27 prd-ubuntu20.04-docker-8c-8g-26649 does not seem to be running inside a container 17:15:27 $ 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-505 -v /w/workspace/edgexfoundry_device-sdk-c_PR-505:/w/workspace/edgexfoundry_device-sdk-c_PR-505:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-505@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 17:15:32 $ docker top 4be98500f20a5f0554e8bd22a0e6d4bd86f1ae51ac0a4a0fada13a27c8efd47b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:15:33 ---> job-cost.sh 17:15:33 lf-activate-venv: SKIPPING 17:15:33 INFO: No Stack... 17:15:33 INFO: Retrieving Pricing Info for: v3-standard-8 17:15:33 INFO: Archiving Costs [Pipeline] sh 17:15:33 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives/cost.csv 17:15:33 + cut -d, -f6 [Pipeline] lock 17:15:33 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-505-2-stack-cost] 17:15:34 Resource [jenkins-edgexfoundry-device-sdk-c-PR-505-2-stack-cost] did not exist. Created. 17:15:34 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-505-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:15:34 + echo total: 0.2199999988079071 [Pipeline] stash 17:15:34 Stashed 1 file(s) [Pipeline] } 17:15:34 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-505-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:15:34 $ docker stop --time=1 4be98500f20a5f0554e8bd22a0e6d4bd86f1ae51ac0a4a0fada13a27c8efd47b 17:15:35 $ docker rm -f --volumes 4be98500f20a5f0554e8bd22a0e6d4bd86f1ae51ac0a4a0fada13a27c8efd47b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:16:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26650 in /w/workspace/edgexfoundry_device-sdk-c_PR-505 [Pipeline] { [Pipeline] ws 17:16:41 Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout 17:16:41 Selected Git installation does not exist. Using Default 17:16:41 The recommended git tool is: NONE 17:16:48 using credential edgex-jenkins-ssh 17:16:48 Cloning the remote Git repository 17:16:48 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 17:16:48 > git init /w/workspace/device-sdk-c/2 # timeout=10 17:16:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:16:48 > git --version # timeout=10 17:16:48 > git --version # 'git version 2.25.1' 17:16:48 using GIT_SSH to set credentials SSH Credentials for GitHub 17:16:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:16:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:16:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:16:51 Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc 17:16:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 17:16:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 17:16:50 using GIT_SSH to set credentials SSH Credentials for GitHub 17:16:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/505/head:refs/remotes/origin/PR-505 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:16:51 > git config core.sparsecheckout # timeout=10 17:16:51 > git checkout -f e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc # timeout=10 17:16:51 > git remote # timeout=10 17:16:55 Merge succeeded, producing e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc 17:16:55 Checking out Revision e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc (PR-505) 17:16:55 > git config --get remote.origin.url # timeout=10 17:16:55 using GIT_SSH to set credentials SSH Credentials for GitHub 17:16:55 > git merge 1a776ee907d08e39928eb07fc2284b30a6e0a694 # timeout=10 17:16:55 > git rev-parse HEAD^{commit} # timeout=10 17:16:55 > git config core.sparsecheckout # timeout=10 17:16:55 > git checkout -f e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc # timeout=10 17:16:58 Commit message: "Merge branch 'fix_json_string' of https://github.com/ych988/device-sdk-c into fix_json_string" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:17:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:17:00 % Total % Received % Xferd Average Speed Time Time Time Current 17:17:00 Dload Upload Total Spent Left Speed 17:17:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 66397 0 --:--:-- --:--:-- --:--:-- 66397 [Pipeline] sh 17:17:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:17:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:17:00 + sudo tee /etc/docker/daemon.new 17:17:00 { 17:17:00 "registry-mirrors": [ 17:17:00 "https://nexus3.edgexfoundry.org:10001" 17:17:00 ], 17:17:00 "bip": "10.250.0.254/24", 17:17:00 "hosts": [ 17:17:00 "tcp://0.0.0.0:5555", 17:17:00 "unix:///var/run/docker.sock" 17:17:00 ], 17:17:00 "mtu": 1458, 17:17:00 "selinux-enabled": true, 17:17:00 "seccomp-profile": "/etc/docker/seccomp.json" 17:17:00 } [Pipeline] sh 17:17:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:17:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:17:19 provisioning config files... 17:17:19 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config4519909876179308437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:17:20 ---> ****-login.sh 17:17:20 nexus3.edgexfoundry.org:10001 17:17:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:17:20 Configure a credential helper to remove this warning. See 17:17:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:17:20 17:17:20 Login Succeeded 17:17:20 nexus3.edgexfoundry.org:10002 17:17:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:17:20 Configure a credential helper to remove this warning. See 17:17:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:17:20 17:17:20 Login Succeeded 17:17:20 nexus3.edgexfoundry.org:10003 17:17:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:17:21 Configure a credential helper to remove this warning. See 17:17:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:17:21 17:17:21 Login Succeeded 17:17:21 nexus3.edgexfoundry.org:10004 17:17:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:17:21 Configure a credential helper to remove this warning. See 17:17:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:17:21 17:17:21 Login Succeeded 17:17:21 ****.io 17:17:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:17:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 17:17:22 Configure a credential helper to remove this warning. See 17:17:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 17:17:22 17:17:22 Login Succeeded 17:17:22 ---> ****-login.sh ends [Pipeline] } 17:17:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:17:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:17:22 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 17:17:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:17:22 ========================================================= 17:17:22 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 17:17:22 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:22 + 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 . 17:17:25 #0 building with "default" instance using docker driver 17:17:25 17:17:25 #1 [internal] load .dockerignore 17:17:25 #1 transferring context: 2B 0.0s done 17:17:25 #1 DONE 0.1s 17:17:25 17:17:25 #2 [internal] load build definition from Dockerfile.alpine-base 17:17:25 #2 transferring dockerfile: 2.04kB done 17:17:25 #2 DONE 0.1s 17:17:25 17:17:25 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 17:17:25 #3 DONE 0.1s 17:17:25 17:17:25 #4 [stage-1 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 17:17:25 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 0.0s done 17:17:25 #4 ... 17:17:25 17:17:25 #5 [internal] load build context 17:17:25 #5 transferring context: 628.08kB 0.1s done 17:17:25 #5 DONE 0.2s 17:17:25 17:17:25 #4 [stage-1 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 17:17:25 #4 sha256:2b552cad5dd98495624f16c0a312487c0a9b53c9e43189d1cca70f16696b9826 2.57kB / 2.57kB done 17:17:25 #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 1.05MB / 3.33MB 0.1s 17:17:25 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 0B / 109.51MB 0.1s 17:17:25 #4 sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 741B / 741B done 17:17:25 #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 17:17:25 #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.2s done 17:17:25 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 8.39MB / 109.51MB 0.3s 17:17:26 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 17.83MB / 109.51MB 0.5s 17:17:26 #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.3s done 17:17:26 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 33.55MB / 109.51MB 0.8s 17:17:26 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 51.38MB / 109.51MB 1.1s 17:17:26 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 57.67MB / 109.51MB 1.2s 17:17:26 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 70.25MB / 109.51MB 1.4s 17:17:26 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 76.55MB / 109.51MB 1.5s 17:17:27 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 94.98MB / 109.51MB 1.8s 17:17:27 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 101.29MB / 109.51MB 1.9s 17:17:27 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 108.00MB / 109.51MB 2.0s 17:17:27 #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.2s done 17:17:27 #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 17:17:33 #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 5.1s 17:17:39 #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 11.6s 17:17:40 #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 12.8s done 17:17:40 #4 DONE 15.4s 17:17:40 17:17:40 #6 [stage-1 2/7] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 17:17:41 #6 0.689 Connecting to iotech.jfrog.io (34.247.22.236:443) 17:17:42 #6 1.203 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:17:42 #6 1.204 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:17:42 #6 1.205 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:17:42 #6 DONE 2.0s 17:17:43 17:17:43 #7 [stage-1 3/7] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 17:17:43 #7 DONE 0.8s 17:17:43 17:17:43 #8 [stage-1 4/7] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev 17:17:44 #8 0.865 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:17:44 #8 1.259 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:17:45 #8 1.829 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 17:17:46 #8 2.707 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:17:46 #8 2.734 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) 17:17:46 #8 2.762 (2/9) Installing curl (8.5.0-r0) 17:17:46 #8 2.776 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) 17:17:46 #8 2.793 (4/9) Installing hiredis (1.1.0-r2) 17:17:46 #8 2.800 (5/9) Installing hiredis-dev (1.1.0-r2) 17:17:46 #8 2.825 (6/9) Installing iotech-iot-1.5 (1.5.0-r0) 17:17:47 #8 3.570 (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 17:17:47 #8 3.786 (8/9) Installing libcbor (0.10.2-r1) 17:17:47 #8 3.794 (9/9) Installing libuuid (2.38.1-r8) 17:17:47 #8 3.801 Executing busybox-1.36.1-r4.trigger 17:17:47 #8 3.844 OK: 327 MiB in 89 packages 17:17:47 #8 DONE 4.2s 17:17:47 17:17:47 #9 [builder 4/12] 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 iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 17:17:47 #9 0.925 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:17:47 #9 1.265 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:17:47 #9 1.844 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 17:17:47 #9 2.757 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:17:47 #9 2.796 (1/17) Installing hiredis (1.1.0-r2) 17:17:47 #9 2.806 (2/17) Installing hiredis-dev (1.1.0-r2) 17:17:47 #9 2.836 (3/17) Installing iotech-iot-1.5 (1.5.0-r0) 17:17:47 #9 3.585 (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) 17:17:47 #9 3.702 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 17:17:47 #9 3.937 (6/17) Installing libcbor (0.10.2-r1) 17:17:47 #9 3.944 (7/17) Installing libcbor-dev (0.10.2-r1) 17:17:47 #9 3.961 (8/17) Installing libmenuw (6.4_p20230506-r0) 17:17:47 #9 3.968 (9/17) Installing libpanelw (6.4_p20230506-r0) 17:17:47 #9 3.976 (10/17) Installing libncurses++ (6.4_p20230506-r0) 17:17:47 #9 3.985 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 17:17:47 #9 4.019 (12/17) Installing libblkid (2.38.1-r8) 17:17:47 #9 4.035 (13/17) Installing libuuid (2.38.1-r8) 17:17:47 #9 4.042 (14/17) Installing libfdisk (2.38.1-r8) 17:17:47 #9 4.058 (15/17) Installing libmount (2.38.1-r8) 17:17:47 #9 4.074 (16/17) Installing libsmartcols (2.38.1-r8) 17:17:47 #9 4.092 (17/17) Installing util-linux-dev (2.38.1-r8) 17:17:47 #9 4.177 Executing busybox-1.36.1-r4.trigger 17:17:47 #9 4.220 OK: 333 MiB in 99 packages 17:17:48 #9 DONE 4.5s 17:17:48 17:17:48 #10 [builder 5/12] RUN mkdir /tmp/sdk 17:17:48 #10 DONE 0.7s 17:17:49 17:17:49 #11 [builder 6/12] COPY VERSION /tmp/sdk 17:17:49 #11 DONE 0.1s 17:17:49 17:17:49 #12 [builder 7/12] COPY src /tmp/sdk/src 17:17:49 #12 DONE 0.2s 17:17:49 17:17:49 #13 [builder 8/12] COPY include /tmp/sdk/include 17:17:49 #13 DONE 0.1s 17:17:49 17:17:49 #14 [builder 9/12] COPY scripts /tmp/sdk/scripts 17:17:49 #14 DONE 0.1s 17:17:49 17:17:49 #15 [builder 10/12] COPY LICENSE /tmp/sdk 17:17:49 #15 DONE 0.1s 17:17:49 17:17:49 #16 [builder 11/12] COPY Attribution.txt /tmp/sdk 17:17:49 #16 DONE 0.1s 17:17:49 17:17:49 #17 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 17:17:50 #17 0.579 + CPPCHECK=false 17:17:50 #17 0.579 + DOCGEN=false 17:17:50 #17 0.579 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 17:17:50 #17 0.579 + '[' 0 -gt 0 ] 17:17:50 #17 0.581 + readlink -f ./scripts/build.sh 17:17:50 #17 0.583 + dirname /tmp/sdk/scripts/build.sh 17:17:50 #17 0.586 + dirname /tmp/sdk/scripts 17:17:50 #17 0.587 + ROOT=/tmp/sdk 17:17:50 #17 0.587 + cd /tmp/sdk 17:17:50 #17 0.588 + mkdir -p /tmp/sdk/build/release 17:17:50 #17 0.591 + cd /tmp/sdk/build/release 17:17:50 #17 0.591 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 17:17:50 #17 0.911 -- The C compiler identification is GNU 12.2.1 17:17:50 #17 0.972 -- Detecting C compiler ABI info 17:17:50 #17 1.302 -- Detecting C compiler ABI info - done 17:17:51 #17 1.385 -- Check for working C compiler: /usr/bin/cc - skipped 17:17:51 #17 1.387 -- Detecting C compile features 17:17:51 #17 1.390 -- Detecting C compile features - done 17:17:51 #17 1.421 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:17:51 #17 1.629 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 17:17:51 #17 1.648 -- Found LIBYAML: /usr/lib/libyaml.so 17:17:51 #17 1.664 -- Found LIBUUID: /usr/lib/libuuid.so 17:17:51 #17 1.683 -- Found LIBCBOR: /usr/lib/libcbor.so 17:17:51 #17 1.700 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:17:51 #17 1.718 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:17:51 #17 1.738 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 17:17:51 #17 1.738 -- /opt/iotech/iot/1.5/include 17:17:51 #17 1.738 -- C SDK 0.0.0 for Linux 17:17:51 #17 1.753 -- Performing Test CSDK_HAVE_ATOMIC 17:17:51 #17 2.182 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:17:51 #17 2.355 -- Found Curses: /usr/lib/libcurses.so 17:17:52 #17 2.469 -- Configuring done (1.9s) 17:17:52 #17 2.737 -- Generating done (0.2s) 17:17:52 #17 2.757 -- Build files have been written to: /tmp/sdk/build/release 17:17:52 #17 2.782 + make all package 17:17:52 #17 2.782 + tee release.log 17:17:52 #17 2.916 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:17:53 #17 3.623 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 17:17:54 #17 4.465 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 17:17:54 #17 5.164 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 17:17:55 #17 5.934 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 17:17:56 #17 6.515 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:17:58 #17 8.479 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:17:58 #17 9.280 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 17:17:58 #17 9.280 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 17:17:58 #17 9.280 294 | while (privateConfig) 17:17:58 #17 9.280 | ^~~~~~~~~~~~~ 17:17:58 #17 9.281 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 17:17:58 #17 9.281 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 17:17:58 #17 9.281 | ^~~~~~~~~~~~~ 17:17:58 #17 9.281 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 17:17:58 #17 9.281 271 | while (result) 17:17:58 #17 9.281 | ^~~~~~ 17:17:58 #17 9.282 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 17:17:58 #17 9.282 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 17:17:58 #17 9.282 | ^~~~~~ 17:17:59 #17 9.598 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:17:59 #17 9.815 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:18:00 #17 10.66 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:18:02 #17 12.42 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:18:02 #17 13.00 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:18:03 #17 13.79 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:18:04 #17 14.50 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:18:04 #17 14.97 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 17:18:05 #17 15.93 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:18:05 #17 16.24 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:18:07 #17 18.16 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:18:08 #17 18.50 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:18:08 #17 19.06 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:18:10 #17 20.29 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:18:16 #17 26.61 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:18:16 #17 27.21 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:18:17 #17 27.60 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:18:17 #17 28.10 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 17:18:18 #17 28.41 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:18:19 #17 29.78 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:18:21 #17 31.85 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:18:22 #17 32.28 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:18:22 #17 33.15 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:18:23 #17 33.74 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:18:23 #17 34.01 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 17:18:23 #17 34.02 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17:18:23 #17 34.02 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 17:18:23 #17 34.02 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 17:18:23 #17 34.02 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17:18:23 #17 34.02 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 17:18:23 #17 34.02 | ^ 17:18:25 #17 35.41 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 17:18:25 #17 35.41 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 17:18:25 #17 35.41 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17:18:25 #17 35.41 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here 17:18:25 #17 35.41 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 17:18:25 #17 35.41 | ^~~~~~~~~~~~~~~~~~~~~ 17:18:26 #17 36.41 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:18:26 #17 37.15 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 17:18:27 #17 37.49 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:18:27 #17 37.99 [ 68%] Linking C shared library libcsdk.so 17:18:27 #17 38.18 [ 68%] Built target csdk 17:18:27 #17 38.24 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:18:28 #17 39.02 [ 72%] Linking C executable template 17:18:28 #17 39.33 [ 72%] Built target template 17:18:28 #17 39.39 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:18:29 #17 39.90 [ 76%] Linking C executable device-counter 17:18:29 #17 40.20 [ 76%] Built target device-counter 17:18:29 #17 40.26 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:18:30 #17 40.76 [ 80%] Linking C executable device-random 17:18:30 #17 41.06 [ 80%] Built target device-random 17:18:30 #17 41.11 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:18:31 #17 41.58 [ 84%] Linking C executable device-gyro 17:18:31 #17 41.87 [ 84%] Built target device-gyro 17:18:31 #17 41.92 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:18:32 #17 42.41 [ 88%] Linking C executable device-bitfields 17:18:32 #17 42.72 [ 88%] Built target device-bitfields 17:18:32 #17 42.78 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:18:33 #17 43.59 [ 92%] Linking C executable template-discovery 17:18:33 #17 43.89 [ 92%] Built target template-discovery 17:18:33 #17 43.95 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:18:34 #17 44.65 [ 96%] Linking C executable device-file 17:18:34 #17 44.98 [ 96%] Built target device-file 17:18:34 #17 45.04 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:18:35 #17 45.66 [100%] Linking C executable device-terminal 17:18:35 #17 45.99 [100%] Built target device-terminal 17:18:37 #17 47.72 Run CPack packaging tool... 17:18:37 #17 47.76 CPack: Create package using TGZ 17:18:37 #17 47.77 CPack: Install projects 17:18:37 #17 47.77 CPack: - Run preinstall target for: Csdk 17:18:38 #17 48.53 CPack: - Install project: Csdk [] 17:18:38 #17 48.56 CPack: Create package 17:18:38 #17 48.65 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 17:18:38 #17 48.66 + '[' false '=' true ] 17:18:38 #17 48.66 + '[' false '=' true ] 17:18:38 #17 48.66 + mkdir -p /tmp/sdk/build/debug 17:18:38 #17 48.66 + cd /tmp/sdk/build/debug 17:18:38 #17 48.66 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 17:18:38 #17 48.97 -- The C compiler identification is GNU 12.2.1 17:18:38 #17 49.03 -- Detecting C compiler ABI info 17:18:39 #17 49.36 -- Detecting C compiler ABI info - done 17:18:39 #17 49.44 -- Check for working C compiler: /usr/bin/cc - skipped 17:18:39 #17 49.44 -- Detecting C compile features 17:18:39 #17 49.45 -- Detecting C compile features - done 17:18:39 #17 49.47 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 17:18:39 #17 49.65 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 17:18:39 #17 49.67 -- Found LIBYAML: /usr/lib/libyaml.so 17:18:39 #17 49.69 -- Found LIBUUID: /usr/lib/libuuid.so 17:18:39 #17 49.70 -- Found LIBCBOR: /usr/lib/libcbor.so 17:18:39 #17 49.72 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 17:18:39 #17 49.73 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 17:18:39 #17 49.75 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 17:18:39 #17 49.75 -- /opt/iotech/iot/1.5/include 17:18:39 #17 49.75 -- C SDK 0.0.0 for Linux 17:18:39 #17 49.76 -- Performing Test CSDK_HAVE_ATOMIC 17:18:39 #17 50.08 -- Performing Test CSDK_HAVE_ATOMIC - Success 17:18:39 #17 50.24 -- Found Curses: /usr/lib/libcurses.so 17:18:40 #17 50.35 -- Configuring done (1.7s) 17:18:40 #17 50.60 -- Generating done (0.2s) 17:18:40 #17 50.62 -- Build files have been written to: /tmp/sdk/build/debug 17:18:40 #17 50.64 + + teemake debug.log 17:18:40 #17 50.64 17:18:40 #17 50.78 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 17:18:40 #17 51.18 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 17:18:41 #17 51.55 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 17:18:41 #17 51.90 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 17:18:41 #17 52.26 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 17:18:42 #17 52.62 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 17:18:43 #17 53.27 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 17:18:43 #17 53.71 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 17:18:43 #17 53.88 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 17:18:44 #17 54.30 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 17:18:44 #17 54.91 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 17:18:44 #17 55.24 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 17:18:45 #17 55.64 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 17:18:45 #17 55.99 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 17:18:46 #17 56.32 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 17:18:46 #17 56.67 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 17:18:46 #17 56.90 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 17:18:47 #17 57.63 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 17:18:47 #17 57.86 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 17:18:47 #17 58.08 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 17:18:48 #17 58.70 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 17:18:49 #17 59.84 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 17:18:49 #17 60.20 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 17:18:50 #17 60.47 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 17:18:50 #17 60.80 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 17:18:50 #17 61.07 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 17:18:51 #17 61.59 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 17:18:52 #17 62.92 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 17:18:52 #17 63.19 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 17:18:53 #17 63.57 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 17:18:53 #17 63.93 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 17:18:53 #17 64.18 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 17:18:53 #17 64.18 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17:18:53 #17 64.18 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 17:18:53 #17 64.18 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 17:18:53 #17 64.18 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17:18:53 #17 64.18 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 17:18:53 #17 64.18 | ^ 17:18:54 #17 64.71 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 17:18:54 #17 65.06 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 17:18:54 #17 65.34 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 17:18:55 #17 65.62 [ 68%] Linking C shared library libcsdk.so 17:18:55 #17 65.87 [ 68%] Built target csdk 17:18:55 #17 65.92 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 17:18:55 #17 66.26 [ 72%] Linking C executable template 17:18:56 #17 66.56 [ 72%] Built target template 17:18:56 #17 66.62 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 17:18:56 #17 66.90 [ 76%] Linking C executable device-counter 17:18:56 #17 67.19 [ 76%] Built target device-counter 17:18:56 #17 67.25 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 17:18:57 #17 67.53 [ 80%] Linking C executable device-random 17:18:57 #17 67.84 [ 80%] Built target device-random 17:18:57 #17 67.90 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 17:18:57 #17 68.17 [ 84%] Linking C executable device-gyro 17:18:58 #17 68.50 [ 84%] Built target device-gyro 17:18:58 #17 68.56 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 17:18:58 #17 68.84 [ 88%] Linking C executable device-bitfields 17:18:58 #17 69.13 [ 88%] Built target device-bitfields 17:18:58 #17 69.19 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 17:18:59 #17 69.54 [ 92%] Linking C executable template-discovery 17:18:59 #17 69.84 [ 92%] Built target template-discovery 17:18:59 #17 69.90 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 17:18:59 #17 70.23 [ 96%] Linking C executable device-file 17:19:00 #17 70.62 [ 96%] Built target device-file 17:19:00 #17 70.67 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 17:19:00 #17 71.07 [100%] Linking C executable device-terminal 17:19:01 #17 71.38 [100%] Built target device-terminal 17:19:01 #17 71.41 make: Entering directory '/tmp/sdk/build/release' 17:19:01 #17 71.56 [ 68%] Built target csdk 17:19:01 #17 71.61 [ 72%] Built target template 17:19:01 #17 71.67 [ 76%] Built target device-counter 17:19:01 #17 71.72 [ 80%] Built target device-random 17:19:01 #17 71.78 [ 84%] Built target device-gyro 17:19:01 #17 71.84 [ 88%] Built target device-bitfields 17:19:01 #17 71.89 [ 92%] Built target template-discovery 17:19:01 #17 71.94 [ 96%] Built target device-file 17:19:01 #17 72.00 [100%] Built target device-terminal 17:19:01 #17 72.05 Install the project... 17:19:01 #17 72.07 -- Install configuration: "Release" 17:19:01 #17 72.07 -- Installing: /usr/local/lib/libcsdk.so 17:19:01 #17 72.08 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 17:19:01 #17 72.08 -- Installing: /usr/local/include 17:19:01 #17 72.08 -- Installing: /usr/local/include/devsdk 17:19:01 #17 72.08 -- Installing: /usr/local/include/devsdk/devsdk.h 17:19:01 #17 72.09 -- Installing: /usr/local/include/devsdk/devsdk-base.h 17:19:01 #17 72.09 -- Installing: /usr/local/include/edgex 17:19:01 #17 72.09 -- Installing: /usr/local/include/edgex/rest-server.h 17:19:01 #17 72.09 -- Installing: /usr/local/include/edgex/edgex.h 17:19:01 #17 72.09 -- Installing: /usr/local/include/edgex/edgex-base.h 17:19:01 #17 72.09 -- Installing: /usr/local/include/edgex/devices.h 17:19:01 #17 72.09 -- Installing: /usr/local/include/edgex/profiles.h 17:19:01 #17 72.09 -- Installing: /usr/local/include/edgex/csdk-defs.h 17:19:01 #17 72.09 -- Installing: /usr/local/share/device-sdk-c/LICENSE 17:19:01 #17 72.10 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 17:19:01 #17 72.11 make: Leaving directory '/tmp/sdk/build/release' 17:19:01 #17 DONE 72.2s 17:19:01 17:19:01 #18 [stage-1 5/7] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 17:19:02 #18 DONE 0.2s 17:19:02 17:19:02 #19 [stage-1 6/7] COPY --from=builder /usr/local/lib /usr/local/lib 17:19:02 #19 DONE 0.1s 17:19:02 17:19:02 #20 [stage-1 7/7] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 17:19:02 #20 DONE 0.1s 17:19:02 17:19:02 #21 exporting to image 17:19:02 #21 exporting layers 17:19:02 #21 exporting layers 0.2s done 17:19:02 #21 writing image sha256:a0bf720d9038e423aa92668305b8c2609718e257938a50f9114b93063db4dd20 done 17:19:02 #21 naming to docker.io/library/ci-base-image-arm64 done 17:19:02 #21 DONE 0.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:19:03 + docker inspect -f . ci-base-image-arm64 17:19:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:19:03 prd-ubuntu20.04-docker-arm64-4c-16g-26650 does not seem to be running inside a container 17:19:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:19:07 $ docker top 04ba3cb1db307459424078bc4136ea35a059910a265c58d0985899cec769c048 -eo pid,comm [Pipeline] { [Pipeline] sh 17:19:07 + make test 17:19:07 echo "make test" 17:19:07 make test [Pipeline] } 17:19:07 $ docker stop --time=1 04ba3cb1db307459424078bc4136ea35a059910a265c58d0985899cec769c048 17:19:09 $ docker rm -f --volumes 04ba3cb1db307459424078bc4136ea35a059910a265c58d0985899cec769c048 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:19:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:19:10 + ls -al . 17:19:10 total 208 17:19:10 drwxrwxr-x 8 jenkins jenkins 4096 Jan 2 17:16 . 17:19:10 drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 17:16 .. 17:19:10 drwxrwxr-x 8 jenkins jenkins 4096 Jan 2 17:16 .git 17:19:10 drwxrwxr-x 3 jenkins jenkins 4096 Jan 2 17:16 .github 17:19:10 -rw-rw-r-- 1 jenkins jenkins 176 Jan 2 17:16 .gitignore 17:19:10 -rw-rw-r-- 1 jenkins jenkins 2908 Jan 2 17:16 Attribution.txt 17:19:10 -rw-rw-r-- 1 jenkins jenkins 11953 Jan 2 17:16 CHANGELOG.md 17:19:10 -rw-rw-r-- 1 jenkins jenkins 108574 Jan 2 17:16 Doxyfile 17:19:10 -rw-rw-r-- 1 jenkins jenkins 677 Jan 2 17:16 GOVERNANCE.md 17:19:10 -rw-rw-r-- 1 jenkins jenkins 784 Jan 2 17:16 Jenkinsfile 17:19:10 -rw-rw-r-- 1 jenkins jenkins 10174 Jan 2 17:16 LICENSE 17:19:10 -rw-rw-r-- 1 jenkins jenkins 444 Jan 2 17:16 Makefile 17:19:10 -rw-rw-r-- 1 jenkins jenkins 618 Jan 2 17:16 OWNERS.md 17:19:10 -rw-rw-r-- 1 jenkins jenkins 1651 Jan 2 17:16 README.IOT.md 17:19:10 -rw-rw-r-- 1 jenkins jenkins 4215 Jan 2 17:16 README.md 17:19:10 -rw-rw-r-- 1 jenkins jenkins 1245 Jan 2 17:16 README.v3.md 17:19:10 -rw-rw-r-- 1 jenkins jenkins 5 Jan 2 17:14 VERSION 17:19:10 drwxrwxr-x 2 jenkins jenkins 4096 Jan 2 17:16 docs 17:19:10 drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 17:16 include 17:19:10 drwxrwxr-x 2 jenkins jenkins 4096 Jan 2 17:16 scripts 17:19:10 drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 17:16 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:19:10 + 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=e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc --label arch=arm64 --label version=0.0.0 . 17:19:11 #0 building with "default" instance using docker driver 17:19:11 17:19:11 #1 [internal] load .dockerignore 17:19:11 #1 transferring context: 2B 0.0s done 17:19:11 #1 DONE 0.0s 17:19:11 17:19:11 #2 [internal] load build definition from Dockerfile.alpine 17:19:11 #2 transferring dockerfile: 1.44kB 0.0s done 17:19:11 #2 DONE 0.0s 17:19:11 17:19:11 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 17:19:11 #3 DONE 0.0s 17:19:11 17:19:11 #4 [internal] load build context 17:19:11 #4 transferring context: 8.55kB 0.1s done 17:19:11 #4 DONE 0.1s 17:19:11 17:19:11 #5 [ 1/11] FROM docker.io/library/ci-base-image-arm64 17:19:11 #5 DONE 0.2s 17:19:11 17:19:11 #6 [ 2/11] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 17:19:11 #6 0.605 Connecting to iotech.jfrog.io (34.246.139.145:443) 17:19:12 #6 1.128 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 17:19:12 #6 1.128 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 17:19:12 #6 1.128 '/etc/apk/keys/alpine.dev.rsa.pub' saved 17:19:12 #6 DONE 1.2s 17:19:12 17:19:12 #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 17:19:13 #7 DONE 0.8s 17:19:13 17:19:13 #8 [ 4/11] 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 iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build 17:19:14 #8 0.746 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:19:14 #8 1.112 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:19:15 #8 1.661 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 17:19:15 #8 2.528 WARNING: This apk-tools is OLD! Some packages might not function properly. 17:19:16 #8 2.559 (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) 17:19:16 #8 2.856 (2/11) Installing libcbor-dev (0.10.2-r1) 17:19:16 #8 2.873 (3/11) Installing libmenuw (6.4_p20230506-r0) 17:19:16 #8 2.880 (4/11) Installing libpanelw (6.4_p20230506-r0) 17:19:16 #8 2.886 (5/11) Installing libncurses++ (6.4_p20230506-r0) 17:19:16 #8 2.894 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 17:19:16 #8 2.921 (7/11) Installing libblkid (2.38.1-r8) 17:19:16 #8 2.935 (8/11) Installing libfdisk (2.38.1-r8) 17:19:16 #8 2.952 (9/11) Installing libmount (2.38.1-r8) 17:19:16 #8 2.968 (10/11) Installing libsmartcols (2.38.1-r8) 17:19:16 #8 2.980 (11/11) Installing util-linux-dev (2.38.1-r8) 17:19:16 #8 3.055 Executing busybox-1.36.1-r4.trigger 17:19:16 #8 3.095 OK: 333 MiB in 100 packages 17:19:16 #8 DONE 3.4s 17:19:16 17:19:16 #9 [ 5/11] COPY VERSION /edgex-c-sdk/ 17:19:16 #9 DONE 0.1s 17:19:16 17:19:16 #10 [ 6/11] COPY src /edgex-c-sdk/src/ 17:19:17 #10 DONE 0.2s 17:19:17 17:19:17 #11 [ 7/11] COPY include /edgex-c-sdk/include/ 17:19:17 #11 DONE 0.1s 17:19:17 17:19:17 #12 [ 8/11] COPY scripts /edgex-c-sdk/scripts 17:19:17 #12 DONE 0.1s 17:19:17 17:19:17 #13 [ 9/11] COPY LICENSE /edgex-c-sdk/ 17:19:17 #13 DONE 0.1s 17:19:17 17:19:17 #14 [10/11] COPY Attribution.txt /edgex-c-sdk/ 17:19:17 #14 DONE 0.1s 17:19:17 17:19:17 #15 [11/11] WORKDIR /edgex-c-sdk 17:19:17 #15 DONE 0.1s 17:19:17 17:19:17 #16 exporting to image 17:19:17 #16 exporting layers 17:19:17 #16 exporting layers 0.4s done 17:19:17 #16 writing image sha256:b463eadef9bc05d266cf42df6c496cf71d5372032586870b258247336b31b6d9 done 17:19:17 #16 naming to docker.io/library/device-sdk-arm64 done 17:19:17 #16 DONE 0.4s [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 17:19:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:19:18 17:19:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:19:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:19:20 arm64: Pulling from edgex-lftools-log-publisher 17:19:20 8998bd30e6a1: Pulling fs layer 17:19:20 04944245beec: Pulling fs layer 17:19:20 699f458cf7ca: Pulling fs layer 17:19:20 765212b225bb: Pulling fs layer 17:19:20 f23df028b6ca: Pulling fs layer 17:19:20 d65c8cfc05b1: Pulling fs layer 17:19:20 2437ff75d9bd: Pulling fs layer 17:19:20 765212b225bb: Waiting 17:19:20 f23df028b6ca: Waiting 17:19:20 d65c8cfc05b1: Waiting 17:19:20 2437ff75d9bd: Waiting 17:19:20 04944245beec: Verifying Checksum 17:19:20 04944245beec: Download complete 17:19:20 765212b225bb: Verifying Checksum 17:19:20 765212b225bb: Download complete 17:19:20 f23df028b6ca: Verifying Checksum 17:19:20 f23df028b6ca: Download complete 17:19:20 d65c8cfc05b1: Download complete 17:19:20 699f458cf7ca: Verifying Checksum 17:19:20 699f458cf7ca: Download complete 17:19:21 8998bd30e6a1: Download complete 17:19:23 2437ff75d9bd: Verifying Checksum 17:19:23 2437ff75d9bd: Download complete 17:19:27 8998bd30e6a1: Pull complete 17:19:27 04944245beec: Pull complete 17:19:29 699f458cf7ca: Pull complete 17:19:29 765212b225bb: Pull complete 17:19:30 f23df028b6ca: Pull complete 17:19:30 d65c8cfc05b1: Pull complete 17:19:52 2437ff75d9bd: Pull complete 17:19:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:19:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:19:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:19:52 prd-ubuntu20.04-docker-arm64-4c-16g-26650 does not seem to be running inside a container 17:19:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:19:53 $ docker top e987a3e7295afbbbccb80a3aa548b281d47fabf33fb9ed12a1e4aff49c84992f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:19:54 ---> job-cost.sh 17:19:54 lf-activate-venv: SKIPPING 17:19:54 INFO: No Stack... 17:19:54 INFO: Retrieving Pricing Info for: v3-standard-8 17:19:55 INFO: Archiving Costs [Pipeline] sh 17:19:55 + cat /w/workspace/device-sdk-c/2/archives/cost.csv 17:19:55 + cut -d, -f6 [Pipeline] lock 17:19:55 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-505-2-stack-cost] 17:19:55 Resource [jenkins-edgexfoundry-device-sdk-c-PR-505-2-stack-cost] did not exist. Created. 17:19:55 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-505-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:19:56 /w/workspace/device-sdk-c/2@tmp/durable-b4f1887b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:19:56 + echo total: 0.2199999988079071 [Pipeline] stash 17:19:56 Warning: overwriting stash ‘stack-cost’ 17:19:56 Stashed 1 file(s) [Pipeline] } 17:19:56 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-505-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:19:56 $ docker stop --time=1 e987a3e7295afbbbccb80a3aa548b281d47fabf33fb9ed12a1e4aff49c84992f 17:19:58 $ docker rm -f --volumes e987a3e7295afbbbccb80a3aa548b281d47fabf33fb9ed12a1e4aff49c84992f [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 17:20:00 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives ] 17:20:00 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives 17:20:00 total 16 17:20:00 drwxr-xr-x 3 root root 4096 Jan 2 17:15 . 17:20:00 drwxrwxr-x 10 jenkins jenkins 4096 Jan 2 17:15 .. 17:20:00 drwxr-xr-x 2 root root 4096 Jan 2 17:15 cost 17:20:00 -rw-r--r-- 1 root root 84 Jan 2 17:15 cost.csv 17:20:00 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives 17:20:00 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives 17:20:00 total 16 17:20:00 drwxr-xr-x 3 jenkins jenkins 4096 Jan 2 17:15 . 17:20:00 drwxrwxr-x 10 jenkins jenkins 4096 Jan 2 17:15 .. 17:20:00 drwxr-xr-x 2 jenkins jenkins 4096 Jan 2 17:15 cost 17:20:00 -rw-r--r-- 1 jenkins jenkins 84 Jan 2 17:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:20:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:20:01 ---> package-listing.sh 17:20:01 ++ facter osfamily 17:20:01 ++ tr '[:upper:]' '[:lower:]' 17:20:01 + OS_FAMILY=debian 17:20:01 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-505 17:20:01 + START_PACKAGES=/tmp/packages_start.txt 17:20:01 + END_PACKAGES=/tmp/packages_end.txt 17:20:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:20:01 + PACKAGES=/tmp/packages_start.txt 17:20:01 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-505 ']' 17:20:01 + PACKAGES=/tmp/packages_end.txt 17:20:01 + case "${OS_FAMILY}" in 17:20:01 + dpkg -l 17:20:01 + grep '^ii' 17:20:01 + '[' -f /tmp/packages_start.txt ']' 17:20:01 + '[' -f /tmp/packages_end.txt ']' 17:20:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:20:01 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-505 ']' 17:20:01 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives/ 17:20:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives/ [Pipeline] echo 17:20:01 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-505/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:20:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:20:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:20:02 prd-ubuntu20.04-docker-8c-8g-26649 does not seem to be running inside a container 17:20:02 $ 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-505/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-505 -v /w/workspace/edgexfoundry_device-sdk-c_PR-505:/w/workspace/edgexfoundry_device-sdk-c_PR-505:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:20:02 $ docker top ea34d9ea0c9e0adf965c49aa52c7085dcfd6a544070732663cf8e69d31e31e4a -eo pid,comm [Pipeline] { [Pipeline] sh 17:20:03 + touch /tmp/pre-build-complete [Pipeline] sh 17:20:03 + mkdir -p /var/log/sysstat [Pipeline] sh 17:20:03 + ls /var/log/sa-host 17:20:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:20:03 provisioning config files... 17:20:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/config4228758347223632190tmp [Pipeline] { [Pipeline] echo 17:20:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:20:04 ---> create-netrc.sh [Pipeline] } 17:20:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:20:04 ---> python-tools-install.sh [Pipeline] echo 17:20:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:20:05 ---> sudo-logs.sh 17:20:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:20:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:20:05 ---> job-cost.sh 17:20:05 lf-activate-venv: SKIPPING 17:20:05 DEBUG: total: 0.2199999988079071 17:20:05 INFO: Retrieving Stack Cost... 17:20:05 INFO: Retrieving Pricing Info for: v3-standard-8 17:20:05 INFO: Archiving Costs [Pipeline] echo 17:20:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:20:06 ---> logs-deploy.sh 17:20:06 lf-activate-venv: SKIPPING 17:20:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-505/2 17:20:06 INFO: archiving workspace using pattern(s): 17:20:07 Archives upload complete. 17:20:07 INFO: archiving logs to Nexus