Pull request #512 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 eaton-coreymutter for edgexfoundry/device-sdk-c Obtained Jenkinsfile from edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8+442156b10c8e48709838cfe148b6b6cf65ecf635 (44852c6051c25c0630b14f32eee44c091bb4d1a9) 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-ssh8080863516518623743.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-ssh5971715137978983333.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-512/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-512/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15772122640437102096.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-ssh9249266958959960773.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-512/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-512/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh766658812912996498.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-2553 in /w/workspace/edgexfoundry_device-sdk-c_PR-512 [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-512 # 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/512/head:refs/remotes/origin/PR-512 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 442156b10c8e48709838cfe148b6b6cf65ecf635 into PR head commit edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 Merge succeeded, producing edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 Checking out Revision edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 (PR-512) > git config core.sparsecheckout # timeout=10 > git checkout -f edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 # 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 442156b10c8e48709838cfe148b6b6cf65ecf635 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 # timeout=10 Commit message: "feat: Make strdup-if-set more readable." First time build. Skipping changelog. > git rev-list --no-walk 6cf0366f7c54f230287b420458dc2527694989f6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:42:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:42:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:42:34 ========================================================= 13:42:34 EdgeX Global Pipelines Version Info 13:42:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:42:35 ------------------- 13:42:35 stable info: 13:42:35 ------------------- 13:42:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:42:35 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 13:42:35 Message: update stable to v1.0.258 13:42:35 ------------------- 13:42:35 experimental info: 13:42:35 ------------------- 13:42:35 Commited By: **** collab-it+edgex@linuxfoundation.org 13:42:35 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 13:42:35 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:42:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 13:42:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 13:42:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:42:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:42:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:42:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 13:42:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 13:42:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:42:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:42:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 13:42:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:42:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:42:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:42:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:42:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:42:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:42:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:42:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-512 [Pipeline] echo 13:42:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-512 [Pipeline] echo 13:42:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-512 [Pipeline] echo 13:42:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 [Pipeline] echo 13:42:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = edd26a6 [Pipeline] echo 13:42:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:42:36 provisioning config files... 13:42:36 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp/config12227577113762765822tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:42:36 ---> ****-login.sh 13:42:36 nexus3.edgexfoundry.org:10001 13:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:42:36 Configure a credential helper to remove this warning. See 13:42:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:42:36 13:42:36 Login Succeeded 13:42:36 nexus3.edgexfoundry.org:10002 13:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:42:37 Configure a credential helper to remove this warning. See 13:42:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:42:37 13:42:37 Login Succeeded 13:42:37 nexus3.edgexfoundry.org:10003 13:42:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:42:37 Configure a credential helper to remove this warning. See 13:42:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:42:37 13:42:37 Login Succeeded 13:42:37 nexus3.edgexfoundry.org:10004 13:42:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:42:37 Configure a credential helper to remove this warning. See 13:42:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:42:37 13:42:37 Login Succeeded 13:42:37 ****.io 13:42:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:42:37 Configure a credential helper to remove this warning. See 13:42:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:42:37 13:42:37 Login Succeeded 13:42:37 ---> ****-login.sh ends [Pipeline] } 13:42:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 13:42:38 + git rev-list -1 --merges edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8~1..edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 [Pipeline] echo 13:42:38 -----------> git rev-list -1 --merges edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8~1..edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 [false] [Pipeline] sh 13:42:38 + git log --format=format:%s -1 edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 [Pipeline] echo 13:42:38 ========================================================= 13:42:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:42:38 ========================================================= 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 13:42:38 + git rev-list -1 --merges edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8~1..edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 [Pipeline] echo 13:42:38 -----------> git rev-list -1 --merges edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8~1..edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 [false] [Pipeline] sh 13:42:39 + git log --format=format:%s -1 edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 [Pipeline] echo 13:42:39 ========================================================= 13:42:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:42:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 13:42:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:42:39 + grep -v github /etc/ssh/ssh_known_hosts 13:42:39 + [ -e /tmp/ssh_known_hosts ] 13:42:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:42:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:42:39 + sudo tee -a /etc/ssh/ssh_known_hosts 13:42:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:42:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:42:39 13:42:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:42:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:42:40 0.1.4: Pulling from edgex-devops/py-git-semver 13:42:40 b85a868b505f: Pulling fs layer 13:42:40 e2be974225ed: Pulling fs layer 13:42:40 339a4e72a1f5: Pulling fs layer 13:42:40 988bab9f4d93: Pulling fs layer 13:42:40 1469e6f7b9e6: Pulling fs layer 13:42:40 eaf3925da568: Pulling fs layer 13:42:40 bab4dde63d76: Pulling fs layer 13:42:40 bde34c3a00c8: Pulling fs layer 13:42:40 b352a97aabf1: Pulling fs layer 13:42:40 eaf3925da568: Waiting 13:42:40 988bab9f4d93: Waiting 13:42:40 4872d77fe225: Pulling fs layer 13:42:40 5851b861e8e6: Pulling fs layer 13:42:40 b352a97aabf1: Waiting 13:42:40 4872d77fe225: Waiting 13:42:40 5851b861e8e6: Waiting 13:42:40 e2be974225ed: Verifying Checksum 13:42:40 e2be974225ed: Download complete 13:42:40 1469e6f7b9e6: Verifying Checksum 13:42:40 1469e6f7b9e6: Download complete 13:42:40 eaf3925da568: Download complete 13:42:40 339a4e72a1f5: Verifying Checksum 13:42:40 339a4e72a1f5: Download complete 13:42:40 bde34c3a00c8: Download complete 13:42:40 b352a97aabf1: Verifying Checksum 13:42:40 b352a97aabf1: Download complete 13:42:40 4872d77fe225: Verifying Checksum 13:42:40 4872d77fe225: Download complete 13:42:40 5851b861e8e6: Download complete 13:42:40 b85a868b505f: Verifying Checksum 13:42:40 b85a868b505f: Download complete 13:42:40 bab4dde63d76: Verifying Checksum 13:42:40 bab4dde63d76: Download complete 13:42:41 b85a868b505f: Pull complete 13:42:41 e2be974225ed: Pull complete 13:42:42 339a4e72a1f5: Pull complete 13:42:42 988bab9f4d93: Pull complete 13:42:42 1469e6f7b9e6: Pull complete 13:42:42 eaf3925da568: Pull complete 13:42:44 bab4dde63d76: Pull complete 13:42:44 bde34c3a00c8: Pull complete 13:42:44 b352a97aabf1: Pull complete 13:42:44 4872d77fe225: Pull complete 13:42:44 5851b861e8e6: Pull complete 13:42:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:42:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:42:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:42:44 prd-ubuntu20.04-docker-8c-8g-2553 does not seem to be running inside a container 13:42:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-512 -v /w/workspace/edgexfoundry_device-sdk-c_PR-512:/w/workspace/edgexfoundry_device-sdk-c_PR-512:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-512@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 13:42:47 $ docker top 6a7a57b1a24ddc312947eea037971859ea932554884897b8cefe134e992d28f9 -eo pid,comm 13:42:47 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). 13:42:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:42:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:42:47 [ssh-agent] Looking for ssh-agent implementation... 13:42:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:42:47 $ docker exec 6a7a57b1a24ddc312947eea037971859ea932554884897b8cefe134e992d28f9 ssh-agent 13:42:48 SSH_AUTH_SOCK=/tmp/ssh-kPDuspE0xwUi/agent.33 13:42:48 SSH_AGENT_PID=39 13:42:48 Running ssh-add (command line suppressed) 13:42:48 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp/private_key_8516886282256750729.key (/w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp/private_key_8516886282256750729.key) 13:42:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:42:48 + git tag --points-at HEAD [Pipeline] } 13:42:48 $ docker exec --env ******** --env ******** 6a7a57b1a24ddc312947eea037971859ea932554884897b8cefe134e992d28f9 ssh-agent -k 13:42:48 unset SSH_AUTH_SOCK; 13:42:48 unset SSH_AGENT_PID; 13:42:48 echo Agent pid 39 killed; 13:42:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:42:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:42:48 [ssh-agent] Looking for ssh-agent implementation... 13:42:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:42:48 $ docker exec 6a7a57b1a24ddc312947eea037971859ea932554884897b8cefe134e992d28f9 ssh-agent 13:42:48 SSH_AUTH_SOCK=/tmp/ssh-KOPmdz1vwFQM/agent.72 13:42:48 SSH_AGENT_PID=78 13:42:48 Running ssh-add (command line suppressed) 13:42:48 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp/private_key_2875776810658836960.key (/w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp/private_key_2875776810658836960.key) 13:42:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:42:49 + git semver init 13:42:49 2024-04-16 13:42:49,435 [run_init] DEBUG init version:0.0.0 force:False 13:42:49 2024-04-16 13:42:49,436 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-512/.semver 13:42:49 2024-04-16 13:42:49,437 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-512/.semver 13:42:49 2024-04-16 13:42:49,438 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-512/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-512, universal_newlines=False, shell=None, istream=None) 13:42:50 2024-04-16 13:42:50,252 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-512/.git/info/exclude 13:42:50 2024-04-16 13:42:50,253 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-512/.semver/PR-512 with force:False 13:42:50 2024-04-16 13:42:50,253 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-512/.semver/PR-512 13:42:50 2024-04-16 13:42:50,258 [execute] INFO git cat-file --batch-check 13:42:50 2024-04-16 13:42:50,258 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-512/.semver, universal_newlines=False, shell=None, istream=) 13:42:50 2024-04-16 13:42:50,263 [execute] INFO git cat-file --batch 13:42:50 2024-04-16 13:42:50,263 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-512/.semver, universal_newlines=False, shell=None, istream=) 13:42:50 2024-04-16 13:42:50,268 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-512/.semver/PR-512 13:42:50 0.0.0 [Pipeline] } 13:42:50 $ docker exec --env ******** --env ******** 6a7a57b1a24ddc312947eea037971859ea932554884897b8cefe134e992d28f9 ssh-agent -k 13:42:50 unset SSH_AUTH_SOCK; 13:42:50 unset SSH_AGENT_PID; 13:42:50 echo Agent pid 78 killed; 13:42:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:42:50 + git semver [Pipeline] } 13:42:51 $ docker stop --time=1 6a7a57b1a24ddc312947eea037971859ea932554884897b8cefe134e992d28f9 13:42:52 $ docker rm -f --volumes 6a7a57b1a24ddc312947eea037971859ea932554884897b8cefe134e992d28f9 [Pipeline] // withDockerContainer [Pipeline] sh 13:42:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:42:52 Stashed 1 file(s) [Pipeline] echo 13:42:52 [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 13:42:53 provisioning config files... 13:42:53 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp/config12257151544689314199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:42:53 ---> ****-login.sh 13:42:53 nexus3.edgexfoundry.org:10001 13:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:42:53 Configure a credential helper to remove this warning. See 13:42:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:42:53 13:42:53 Login Succeeded 13:42:53 nexus3.edgexfoundry.org:10002 13:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:42:53 Configure a credential helper to remove this warning. See 13:42:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:42:53 13:42:53 Login Succeeded 13:42:53 nexus3.edgexfoundry.org:10003 13:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:42:53 Configure a credential helper to remove this warning. See 13:42:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:42:53 13:42:53 Login Succeeded 13:42:53 nexus3.edgexfoundry.org:10004 13:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:42:53 Configure a credential helper to remove this warning. See 13:42:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:42:53 13:42:53 Login Succeeded 13:42:53 ****.io 13:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:42:53 Configure a credential helper to remove this warning. See 13:42:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:42:53 13:42:53 Login Succeeded 13:42:53 ---> ****-login.sh ends [Pipeline] } 13:42:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:42:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:42:54 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 13:42:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:42:54 ========================================================= 13:42:54 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 13:42:54 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:42:54 + 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 . 13:42:54 Sending build context to Docker daemon 5.076MB 13:42:54 Step 1/21 : ARG BASE=alpine:3.18 13:42:54 Step 2/21 : FROM ${BASE} as builder 13:42:54 latest: Pulling from edgex-devops/edgex-gcc-base 13:42:54 96526aa774ef: Pulling fs layer 13:42:54 da60e534fd72: Pulling fs layer 13:42:54 96526aa774ef: Verifying Checksum 13:42:54 96526aa774ef: Download complete 13:42:54 96526aa774ef: Pull complete 13:42:55 da60e534fd72: Verifying Checksum 13:42:55 da60e534fd72: Download complete 13:42:58 da60e534fd72: Pull complete 13:42:58 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 13:42:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 13:42:58 ---> 6605166a5db4 13:42:58 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 13:43:00 ---> Running in fdd5c32e77f5 13:43:00 Connecting to iotech.jfrog.io (54.73.4.50:443) 13:43:01 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:43:01 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:43:01 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:43:01 Removing intermediate container fdd5c32e77f5 13:43:01 ---> 85c803e33fd5 13:43:01 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 13:43:01 ---> Running in 95917eed3c19 13:43:01 Removing intermediate container 95917eed3c19 13:43:01 ---> 90e6f7940178 13:43:01 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 13:43:01 ---> Running in bcb7ac0f497a 13:43:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:43:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:43:02 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 13:43:02 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:43:02 (1/17) Installing hiredis (1.1.0-r2) 13:43:02 (2/17) Installing hiredis-dev (1.1.0-r2) 13:43:02 (3/17) Installing libcbor (0.10.2-r1) 13:43:02 (4/17) Installing iotech-iot-1.5 (1.5.3-r0) 13:43:03 (5/17) Installing iotech-iot-1.5-dev (1.5.3-r0) 13:43:03 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 13:43:04 (7/17) Installing libcbor-dev (0.10.2-r1) 13:43:04 (8/17) Installing libmenuw (6.4_p20230506-r0) 13:43:04 (9/17) Installing libpanelw (6.4_p20230506-r0) 13:43:04 (10/17) Installing libncurses++ (6.4_p20230506-r0) 13:43:04 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 13:43:04 (12/17) Installing libblkid (2.38.1-r8) 13:43:04 (13/17) Installing libuuid (2.38.1-r8) 13:43:04 (14/17) Installing libfdisk (2.38.1-r8) 13:43:04 (15/17) Installing libmount (2.38.1-r8) 13:43:04 (16/17) Installing libsmartcols (2.38.1-r8) 13:43:04 (17/17) Installing util-linux-dev (2.38.1-r8) 13:43:04 Executing busybox-1.36.1-r4.trigger 13:43:04 OK: 336 MiB in 99 packages 13:43:04 Removing intermediate container bcb7ac0f497a 13:43:04 ---> 09ea52b15ca7 13:43:04 Step 6/21 : RUN mkdir /tmp/sdk 13:43:04 ---> Running in fad6196ecaca 13:43:05 Removing intermediate container fad6196ecaca 13:43:05 ---> 762dfa385b5e 13:43:05 Step 7/21 : COPY VERSION /tmp/sdk 13:43:05 ---> f5f2ab9ef18f 13:43:05 Step 8/21 : COPY src /tmp/sdk/src 13:43:05 ---> 233f69895c71 13:43:05 Step 9/21 : COPY include /tmp/sdk/include 13:43:05 ---> 72e80c8f0a75 13:43:05 Step 10/21 : COPY scripts /tmp/sdk/scripts 13:43:05 ---> bf980d0742f7 13:43:05 Step 11/21 : COPY LICENSE /tmp/sdk 13:43:06 ---> 1683481605cd 13:43:06 Step 12/21 : COPY Attribution.txt /tmp/sdk 13:43:06 ---> 8ad416587149 13:43:06 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:43:06 ---> Running in ab5cb40b4b65 13:43:06 + CPPCHECK=false 13:43:06 + DOCGEN=false 13:43:06 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 13:43:06 + '[' 0 -gt 0 ] 13:43:06 + readlink -f ./scripts/build.sh 13:43:06 + dirname /tmp/sdk/scripts/build.sh 13:43:06 + dirname /tmp/sdk/scripts 13:43:06 + ROOT=/tmp/sdk 13:43:06 + cd /tmp/sdk 13:43:06 + mkdir -p /tmp/sdk/build/release 13:43:06 + cd /tmp/sdk/build/release 13:43:06 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:43:06 -- The C compiler identification is GNU 12.2.1 13:43:06 -- Detecting C compiler ABI info 13:43:06 -- Detecting C compiler ABI info - done 13:43:06 -- Check for working C compiler: /usr/bin/cc - skipped 13:43:06 -- Detecting C compile features 13:43:06 -- Detecting C compile features - done 13:43:06 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:43:06 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 13:43:06 -- Found LIBYAML: /usr/lib/libyaml.so 13:43:06 -- Found LIBUUID: /usr/lib/libuuid.so 13:43:06 -- Found LIBCBOR: /usr/lib/libcbor.so 13:43:06 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:43:06 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:43:06 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 13:43:06 -- /opt/iotech/iot/1.5/include 13:43:06 -- C SDK 0.0.0 for Linux 13:43:06 -- Performing Test CSDK_HAVE_ATOMIC 13:43:06 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:43:06 -- Found Curses: /usr/lib/libcurses.so 13:43:06 -- Configuring done (0.4s) 13:43:06 -- Generating done (0.0s) 13:43:06 -- Build files have been written to: /tmp/sdk/build/release 13:43:06 + make all package 13:43:06 + tee release.log 13:43:06 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:43:07 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 13:43:07 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 13:43:07 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 13:43:07 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 13:43:07 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:43:07 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:43:07 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 13:43:07 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 13:43:07 294 | while (privateConfig) 13:43:07 | ^~~~~~~~~~~~~ 13:43:07 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 13:43:07 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 13:43:07 | ^~~~~~~~~~~~~ 13:43:07 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 13:43:07 271 | while (result) 13:43:07 | ^~~~~~ 13:43:07 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 13:43:07 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 13:43:07 | ^~~~~~ 13:43:07 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:43:07 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:43:08 Still waiting to schedule task 13:43:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:43:08 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:43:08 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:43:08 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:43:08 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:43:08 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:43:08 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 13:43:08 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:43:08 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:43:09 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:43:09 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:43:09 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:43:09 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:43:10 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:43:11 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:43:11 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:43:11 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 13:43:11 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:43:11 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:43:11 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:43:11 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:43:11 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:43:12 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:43:12 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 13:43:12 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13:43:12 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 13:43:12 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 13:43:12 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13:43:12 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 13:43:12 | ^ 13:43:12 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 13:43:12 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 13:43:12 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13:43:12 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here 13:43:12 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 13:43:12 | ^~~~~~~~~~~~~~~~~~~~~ 13:43:12 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:43:12 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 13:43:12 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:43:12 [ 68%] Linking C shared library libcsdk.so 13:43:12 [ 68%] Built target csdk 13:43:12 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:43:12 [ 72%] Linking C executable template 13:43:12 [ 72%] Built target template 13:43:12 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:43:13 [ 76%] Linking C executable device-counter 13:43:13 [ 76%] Built target device-counter 13:43:13 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:43:13 [ 80%] Linking C executable device-random 13:43:13 [ 80%] Built target device-random 13:43:13 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:43:13 [ 84%] Linking C executable device-gyro 13:43:13 [ 84%] Built target device-gyro 13:43:13 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:43:13 [ 88%] Linking C executable device-bitfields 13:43:13 [ 88%] Built target device-bitfields 13:43:13 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:43:13 [ 92%] Linking C executable template-discovery 13:43:13 [ 92%] Built target template-discovery 13:43:13 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:43:14 [ 96%] Linking C executable device-file 13:43:14 [ 96%] Built target device-file 13:43:14 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:43:14 [100%] Linking C executable device-terminal 13:43:14 [100%] Built target device-terminal 13:43:14 Run CPack packaging tool... 13:43:14 CPack: Create package using TGZ 13:43:14 CPack: Install projects 13:43:14 CPack: - Run preinstall target for: Csdk 13:43:14 CPack: - Install project: Csdk [] 13:43:14 CPack: Create package 13:43:14 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 13:43:14 + '[' false '=' true ] 13:43:14 + '[' false '=' true ] 13:43:14 + mkdir -p /tmp/sdk/build/debug 13:43:14 + cd /tmp/sdk/build/debug 13:43:14 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:43:14 -- The C compiler identification is GNU 12.2.1 13:43:14 -- Detecting C compiler ABI info 13:43:14 -- Detecting C compiler ABI info - done 13:43:14 -- Check for working C compiler: /usr/bin/cc - skipped 13:43:14 -- Detecting C compile features 13:43:14 -- Detecting C compile features - done 13:43:14 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:43:14 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 13:43:14 -- Found LIBYAML: /usr/lib/libyaml.so 13:43:14 -- Found LIBUUID: /usr/lib/libuuid.so 13:43:14 -- Found LIBCBOR: /usr/lib/libcbor.so 13:43:14 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:43:14 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:43:14 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 13:43:14 -- /opt/iotech/iot/1.5/include 13:43:14 -- C SDK 0.0.0 for Linux 13:43:14 -- Performing Test CSDK_HAVE_ATOMIC 13:43:14 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:43:14 -- Found Curses: /usr/lib/libcurses.so 13:43:14 -- Configuring done (0.4s) 13:43:15 -- Generating done (0.0s) 13:43:15 -- Build files have been written to: /tmp/sdk/build/debug 13:43:15 + make 13:43:15 + tee debug.log 13:43:15 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:43:15 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 13:43:15 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 13:43:15 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 13:43:15 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 13:43:15 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:43:15 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:43:15 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:43:15 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:43:15 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:43:15 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:43:15 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:43:15 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:43:16 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:43:16 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 13:43:16 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:43:16 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:43:16 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:43:16 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:43:16 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:43:16 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:43:16 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:43:17 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:43:17 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:43:17 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 13:43:17 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:43:17 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:43:17 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:43:17 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:43:17 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:43:17 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:43:17 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 13:43:17 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13:43:17 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 13:43:17 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 13:43:17 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13:43:17 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 13:43:17 | ^ 13:43:17 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:43:17 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 13:43:17 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:43:18 [ 68%] Linking C shared library libcsdk.so 13:43:18 [ 68%] Built target csdk 13:43:18 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:43:18 [ 72%] Linking C executable template 13:43:18 [ 72%] Built target template 13:43:18 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:43:18 [ 76%] Linking C executable device-counter 13:43:18 [ 76%] Built target device-counter 13:43:18 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:43:18 [ 80%] Linking C executable device-random 13:43:18 [ 80%] Built target device-random 13:43:18 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:43:18 [ 84%] Linking C executable device-gyro 13:43:18 [ 84%] Built target device-gyro 13:43:18 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:43:18 [ 88%] Linking C executable device-bitfields 13:43:18 [ 88%] Built target device-bitfields 13:43:18 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:43:18 [ 92%] Linking C executable template-discovery 13:43:18 [ 92%] Built target template-discovery 13:43:18 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:43:19 [ 96%] Linking C executable device-file 13:43:19 [ 96%] Built target device-file 13:43:19 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:43:19 [100%] Linking C executable device-terminal 13:43:19 [100%] Built target device-terminal 13:43:19 make: Entering directory '/tmp/sdk/build/release' 13:43:19 [ 68%] Built target csdk 13:43:19 [ 72%] Built target template 13:43:19 [ 76%] Built target device-counter 13:43:19 [ 80%] Built target device-random 13:43:19 [ 84%] Built target device-gyro 13:43:19 [ 88%] Built target device-bitfields 13:43:19 [ 92%] Built target template-discovery 13:43:19 [ 96%] Built target device-file 13:43:19 [100%] Built target device-terminal 13:43:19 Install the project... 13:43:19 -- Install configuration: "Release" 13:43:19 -- Installing: /usr/local/lib/libcsdk.so 13:43:19 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 13:43:19 -- Installing: /usr/local/include 13:43:19 -- Installing: /usr/local/include/devsdk 13:43:19 -- Installing: /usr/local/include/devsdk/devsdk.h 13:43:19 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:43:19 -- Installing: /usr/local/include/edgex 13:43:19 -- Installing: /usr/local/include/edgex/edgex.h 13:43:19 -- Installing: /usr/local/include/edgex/devices.h 13:43:19 -- Installing: /usr/local/include/edgex/profiles.h 13:43:19 -- Installing: /usr/local/include/edgex/edgex-base.h 13:43:19 -- Installing: /usr/local/include/edgex/rest-server.h 13:43:19 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:43:19 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:43:19 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 13:43:19 make: Leaving directory '/tmp/sdk/build/release' 13:43:20 Removing intermediate container ab5cb40b4b65 13:43:20 ---> 89c1709731db 13:43:20 Step 14/21 : FROM ${BASE} 13:43:20 ---> 6605166a5db4 13:43:20 Step 15/21 : LABEL maintainer="IOTech " 13:43:20 ---> Running in 2d3a99b23c52 13:43:20 Removing intermediate container 2d3a99b23c52 13:43:20 ---> bbab515c9ba5 13:43:20 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 13:43:20 ---> Running in e9e66110ad5a 13:43:20 Connecting to iotech.jfrog.io (34.246.139.145:443) 13:43:21 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:43:21 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:43:21 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:43:21 Removing intermediate container e9e66110ad5a 13:43:21 ---> 608a320c739d 13:43:21 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 13:43:21 ---> Running in 37d725e1fb22 13:43:21 Removing intermediate container 37d725e1fb22 13:43:21 ---> c9bff6cdd39d 13:43:21 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 13:43:21 ---> Running in ed4158bfe810 13:43:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:43:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:43:22 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 13:43:23 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:43:23 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) 13:43:23 (2/9) Installing curl (8.5.0-r0) 13:43:23 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) 13:43:23 (4/9) Installing hiredis (1.1.0-r2) 13:43:23 (5/9) Installing hiredis-dev (1.1.0-r2) 13:43:23 (6/9) Installing libcbor (0.10.2-r1) 13:43:23 (7/9) Installing iotech-iot-1.5 (1.5.3-r0) 13:43:23 (8/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 13:43:23 (9/9) Installing libuuid (2.38.1-r8) 13:43:23 Executing busybox-1.36.1-r4.trigger 13:43:23 OK: 331 MiB in 89 packages 13:43:24 Removing intermediate container ed4158bfe810 13:43:24 ---> bf7c953e12df 13:43:24 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:43:24 ---> adb89775e121 13:43:24 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 13:43:24 ---> aec83293101c 13:43:24 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 13:43:24 ---> abf0c53544dc 13:43:24 Successfully built abf0c53544dc 13:43:24 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 13:43:25 + docker inspect -f . ci-base-image-x86_64 13:43:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:43:25 prd-ubuntu20.04-docker-8c-8g-2553 does not seem to be running inside a container 13:43:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-512 -v /w/workspace/edgexfoundry_device-sdk-c_PR-512:/w/workspace/edgexfoundry_device-sdk-c_PR-512:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-512@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 13:43:25 $ docker top 99bbe6e637e5bcc648e9710c21db90060c0b48cb4eb679618bd7d5095bab57f2 -eo pid,comm [Pipeline] { [Pipeline] sh 13:43:25 + make test 13:43:25 echo "make test" 13:43:25 make test [Pipeline] } 13:43:25 $ docker stop --time=1 99bbe6e637e5bcc648e9710c21db90060c0b48cb4eb679618bd7d5095bab57f2 13:43:27 $ docker rm -f --volumes 99bbe6e637e5bcc648e9710c21db90060c0b48cb4eb679618bd7d5095bab57f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:43:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:43:28 + ls -al . 13:43:28 total 212 13:43:28 drwxrwxr-x 9 jenkins jenkins 4096 Apr 16 13:42 . 13:43:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 13:42 .. 13:43:28 drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 13:42 .git 13:43:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 13:42 .github 13:43:28 -rw-rw-r-- 1 jenkins jenkins 176 Apr 16 13:42 .gitignore 13:43:28 drwxr-xr-x 3 jenkins jenkins 4096 Apr 16 13:42 .semver 13:43:28 -rw-rw-r-- 1 jenkins jenkins 2908 Apr 16 13:42 Attribution.txt 13:43:28 -rw-rw-r-- 1 jenkins jenkins 11953 Apr 16 13:42 CHANGELOG.md 13:43:28 -rw-rw-r-- 1 jenkins jenkins 108574 Apr 16 13:42 Doxyfile 13:43:28 -rw-rw-r-- 1 jenkins jenkins 677 Apr 16 13:42 GOVERNANCE.md 13:43:28 -rw-rw-r-- 1 jenkins jenkins 784 Apr 16 13:42 Jenkinsfile 13:43:28 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 16 13:42 LICENSE 13:43:28 -rw-rw-r-- 1 jenkins jenkins 444 Apr 16 13:42 Makefile 13:43:28 -rw-rw-r-- 1 jenkins jenkins 618 Apr 16 13:42 OWNERS.md 13:43:28 -rw-rw-r-- 1 jenkins jenkins 1651 Apr 16 13:42 README.IOT.md 13:43:28 -rw-rw-r-- 1 jenkins jenkins 4215 Apr 16 13:42 README.md 13:43:28 -rw-rw-r-- 1 jenkins jenkins 1245 Apr 16 13:42 README.v3.md 13:43:28 -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 13:42 VERSION 13:43:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 13:42 docs 13:43:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 13:42 include 13:43:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 13:42 scripts 13:43:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 13:42 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:43:28 + 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=edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 --label arch=amd64 --label version=0.0.0 . 13:43:28 Sending build context to Docker daemon 5.076MB 13:43:28 Step 1/17 : ARG BASE=alpine:3.18 13:43:28 Step 2/17 : FROM ${BASE} 13:43:28 ---> abf0c53544dc 13:43:28 Step 3/17 : LABEL maintainer="IOTech " 13:43:28 ---> Running in e7a4c8c460e2 13:43:28 Removing intermediate container e7a4c8c460e2 13:43:28 ---> 810049c25458 13:43:28 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 13:43:28 ---> Running in 6daea47cfb74 13:43:28 Connecting to iotech.jfrog.io (34.246.139.145:443) 13:43:29 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:43:29 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:43:29 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:43:29 Removing intermediate container 6daea47cfb74 13:43:29 ---> 748cbd6373fe 13:43:29 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 13:43:29 ---> Running in 48ebe87cab87 13:43:29 Removing intermediate container 48ebe87cab87 13:43:29 ---> 724e341484ea 13:43:29 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 13:43:29 ---> Running in f7cc55a2a6d0 13:43:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:43:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:43:30 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 13:43:31 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:43:31 (1/11) Installing iotech-iot-1.5-dev (1.5.3-r0) 13:43:31 (2/11) Installing libcbor-dev (0.10.2-r1) 13:43:31 (3/11) Installing libmenuw (6.4_p20230506-r0) 13:43:31 (4/11) Installing libpanelw (6.4_p20230506-r0) 13:43:31 (5/11) Installing libncurses++ (6.4_p20230506-r0) 13:43:31 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 13:43:31 (7/11) Installing libblkid (2.38.1-r8) 13:43:31 (8/11) Installing libfdisk (2.38.1-r8) 13:43:31 (9/11) Installing libmount (2.38.1-r8) 13:43:31 (10/11) Installing libsmartcols (2.38.1-r8) 13:43:31 (11/11) Installing util-linux-dev (2.38.1-r8) 13:43:31 Executing busybox-1.36.1-r4.trigger 13:43:31 OK: 336 MiB in 100 packages 13:43:31 Removing intermediate container f7cc55a2a6d0 13:43:31 ---> d6449e545800 13:43:31 Step 7/17 : COPY VERSION /edgex-c-sdk/ 13:43:31 ---> d65ba45be7f1 13:43:31 Step 8/17 : COPY src /edgex-c-sdk/src/ 13:43:32 ---> 499f2009a1fc 13:43:32 Step 9/17 : COPY include /edgex-c-sdk/include/ 13:43:32 ---> 95c0b5fae803 13:43:32 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 13:43:32 ---> 0901c427b636 13:43:32 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 13:43:32 ---> f92580e3fafe 13:43:32 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 13:43:32 ---> 0fa286a4e330 13:43:32 Step 13/17 : WORKDIR /edgex-c-sdk 13:43:32 ---> Running in e37a4afe70b8 13:43:32 Removing intermediate container e37a4afe70b8 13:43:32 ---> 8931a4319430 13:43:32 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 13:43:32 ---> Running in 0ade232642fd 13:43:32 Removing intermediate container 0ade232642fd 13:43:32 ---> 12c6a1b2eb85 13:43:32 Step 15/17 : LABEL arch=amd64 13:43:32 ---> Running in 0f2a6e60809e 13:43:32 Removing intermediate container 0f2a6e60809e 13:43:32 ---> 916dbbea482e 13:43:32 Step 16/17 : LABEL git_sha=edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 13:43:32 ---> Running in b2174c72740e 13:43:32 Removing intermediate container b2174c72740e 13:43:32 ---> 0a88af38fdd8 13:43:32 Step 17/17 : LABEL version=0.0.0 13:43:32 ---> Running in d5c8fe812eab 13:43:33 Removing intermediate container d5c8fe812eab 13:43:33 ---> d82988edf2ec 13:43:33 [Warning] One or more build-args [ARCH MAKE] were not consumed 13:43:33 Successfully built d82988edf2ec 13:43:33 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 13:43:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:43:33 13:43:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:43:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:43:33 latest: Pulling from edgex-lftools-log-publisher 13:43:33 5eb5b503b376: Pulling fs layer 13:43:33 5c69ac0246d0: Pulling fs layer 13:43:33 ec43610c2a17: Pulling fs layer 13:43:33 3a2ae6a8a46f: Pulling fs layer 13:43:33 33b1e0a273af: Pulling fs layer 13:43:33 5d3b04190fa2: Pulling fs layer 13:43:33 2f39f015ded8: Pulling fs layer 13:43:33 33b1e0a273af: Waiting 13:43:33 5d3b04190fa2: Waiting 13:43:33 2f39f015ded8: Waiting 13:43:33 3a2ae6a8a46f: Waiting 13:43:33 5c69ac0246d0: Verifying Checksum 13:43:33 5c69ac0246d0: Download complete 13:43:33 3a2ae6a8a46f: Download complete 13:43:33 33b1e0a273af: Verifying Checksum 13:43:33 33b1e0a273af: Download complete 13:43:33 ec43610c2a17: Verifying Checksum 13:43:33 ec43610c2a17: Download complete 13:43:33 5d3b04190fa2: Verifying Checksum 13:43:33 5d3b04190fa2: Download complete 13:43:34 5eb5b503b376: Verifying Checksum 13:43:34 5eb5b503b376: Download complete 13:43:34 2f39f015ded8: Verifying Checksum 13:43:34 2f39f015ded8: Download complete 13:43:35 5eb5b503b376: Pull complete 13:43:35 5c69ac0246d0: Pull complete 13:43:35 ec43610c2a17: Pull complete 13:43:35 3a2ae6a8a46f: Pull complete 13:43:35 33b1e0a273af: Pull complete 13:43:36 5d3b04190fa2: Pull complete 13:43:40 2f39f015ded8: Pull complete 13:43:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:43:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:43:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:43:40 prd-ubuntu20.04-docker-8c-8g-2553 does not seem to be running inside a container 13:43:40 $ 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-512 -v /w/workspace/edgexfoundry_device-sdk-c_PR-512:/w/workspace/edgexfoundry_device-sdk-c_PR-512:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-512@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 13:43:45 $ docker top fef044e0cb25968b78b744ec17d65c01dd2ef47f79f28cc80a67b05a8ff854c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:43:45 ---> job-cost.sh 13:43:45 lf-activate-venv: SKIPPING 13:43:45 INFO: No Stack... 13:43:46 INFO: Retrieving Pricing Info for: v3-standard-8 13:43:46 INFO: Archiving Costs [Pipeline] sh 13:43:46 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-512/archives/cost.csv 13:43:46 + cut -d, -f6 [Pipeline] lock 13:43:46 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-512-3-stack-cost] 13:43:46 Resource [jenkins-edgexfoundry-device-sdk-c-PR-512-3-stack-cost] did not exist. Created. 13:43:46 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-512-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:43:46 + echo total: 0.2199999988079071 [Pipeline] stash 13:43:46 Stashed 1 file(s) [Pipeline] } 13:43:47 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-512-3-stack-cost] [Pipeline] // lock [Pipeline] } 13:43:47 $ docker stop --time=1 fef044e0cb25968b78b744ec17d65c01dd2ef47f79f28cc80a67b05a8ff854c9 13:43:48 $ docker rm -f --volumes fef044e0cb25968b78b744ec17d65c01dd2ef47f79f28cc80a67b05a8ff854c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:44:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2554 in /w/workspace/edgexfoundry_device-sdk-c_PR-512 [Pipeline] { [Pipeline] ws 13:44:46 Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout 13:44:49 Selected Git installation does not exist. Using Default 13:44:49 The recommended git tool is: NONE 13:44:54 using credential edgex-jenkins-ssh 13:44:54 Cloning the remote Git repository 13:44:54 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 13:44:54 > git init /w/workspace/device-sdk-c/3 # timeout=10 13:44:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:44:54 > git --version # timeout=10 13:44:54 > git --version # 'git version 2.25.1' 13:44:54 using GIT_SSH to set credentials SSH Credentials for GitHub 13:44:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:44:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:44:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:44:57 Merging remotes/origin/main commit 442156b10c8e48709838cfe148b6b6cf65ecf635 into PR head commit edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 13:44:57 Merge succeeded, producing edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 13:44:57 Checking out Revision edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 (PR-512) 13:44:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 13:44:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 13:44:57 using GIT_SSH to set credentials SSH Credentials for GitHub 13:44:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/512/head:refs/remotes/origin/PR-512 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:44:57 > git config core.sparsecheckout # timeout=10 13:44:57 > git checkout -f edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 # timeout=10 13:44:57 > git remote # timeout=10 13:44:57 > git config --get remote.origin.url # timeout=10 13:44:57 using GIT_SSH to set credentials SSH Credentials for GitHub 13:44:57 > git merge 442156b10c8e48709838cfe148b6b6cf65ecf635 # timeout=10 13:44:57 > git rev-parse HEAD^{commit} # timeout=10 13:44:58 > git config core.sparsecheckout # timeout=10 13:44:58 > git checkout -f edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 # timeout=10 13:45:01 Commit message: "feat: Make strdup-if-set more readable." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:45:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:45:03 % Total % Received % Xferd Average Speed Time Time Time Current 13:45:03 Dload Upload Total Spent Left Speed 13:45:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 13:45:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:45:03 + sudo tee /etc/docker/daemon.new 13:45:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:45:03 { 13:45:03 "registry-mirrors": [ 13:45:03 "https://nexus3.edgexfoundry.org:10001" 13:45:03 ], 13:45:03 "bip": "10.250.0.254/24", 13:45:03 "hosts": [ 13:45:03 "tcp://0.0.0.0:5555", 13:45:03 "unix:///var/run/docker.sock" 13:45:03 ], 13:45:03 "mtu": 1458, 13:45:03 "selinux-enabled": true, 13:45:03 "seccomp-profile": "/etc/docker/seccomp.json" 13:45:03 } [Pipeline] sh 13:45:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:45:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:45:22 provisioning config files... 13:45:22 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config11055322489052237730tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:45:23 ---> ****-login.sh 13:45:23 nexus3.edgexfoundry.org:10001 13:45:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:45:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:45:23 Configure a credential helper to remove this warning. See 13:45:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:45:23 13:45:23 Login Succeeded 13:45:23 nexus3.edgexfoundry.org:10002 13:45:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:45:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:45:24 Configure a credential helper to remove this warning. See 13:45:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:45:24 13:45:24 Login Succeeded 13:45:24 nexus3.edgexfoundry.org:10003 13:45:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:45:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:45:24 Configure a credential helper to remove this warning. See 13:45:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:45:24 13:45:24 Login Succeeded 13:45:24 nexus3.edgexfoundry.org:10004 13:45:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:45:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:45:24 Configure a credential helper to remove this warning. See 13:45:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:45:24 13:45:24 Login Succeeded 13:45:24 ****.io 13:45:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:45:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:45:25 Configure a credential helper to remove this warning. See 13:45:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:45:25 13:45:25 Login Succeeded 13:45:25 ---> ****-login.sh ends [Pipeline] } 13:45:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:45:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:45:25 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 13:45:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:45:25 ========================================================= 13:45:25 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 13:45:25 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:45:26 + 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 . 13:45:26 Sending build context to Docker daemon 3.062MB 13:45:26 Step 1/21 : ARG BASE=alpine:3.18 13:45:26 Step 2/21 : FROM ${BASE} as builder 13:45:26 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 13:45:26 579b34f0a95b: Pulling fs layer 13:45:26 e71477ac5e1b: Pulling fs layer 13:45:26 579b34f0a95b: Verifying Checksum 13:45:26 579b34f0a95b: Download complete 13:45:27 579b34f0a95b: Pull complete 13:45:29 e71477ac5e1b: Verifying Checksum 13:45:29 e71477ac5e1b: Download complete 13:45:41 e71477ac5e1b: Pull complete 13:45:41 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 13:45:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 13:45:41 ---> 2b552cad5dd9 13:45: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 13:45:41 ---> Running in 10c311811b74 13:45:42 Connecting to iotech.jfrog.io (34.247.22.236:443) 13:45:42 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:45:42 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:45:42 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:45:43 Removing intermediate container 10c311811b74 13:45:43 ---> dfe5bba80e65 13:45:43 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 13:45:43 ---> Running in 0212a4832de1 13:45:45 Removing intermediate container 0212a4832de1 13:45:45 ---> 53372f6d9875 13:45: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 13:45:45 ---> Running in 5f78082d5051 13:45:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:45:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:45:47 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 13:45:48 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:45:48 (1/17) Installing hiredis (1.1.0-r2) 13:45:48 (2/17) Installing hiredis-dev (1.1.0-r2) 13:45:48 (3/17) Installing libcbor (0.10.2-r1) 13:45:48 (4/17) Installing iotech-iot-1.5 (1.5.3-r0) 13:45:50 (5/17) Installing iotech-iot-1.5-dev (1.5.3-r0) 13:45:50 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 13:45:50 (7/17) Installing libcbor-dev (0.10.2-r1) 13:45:50 (8/17) Installing libmenuw (6.4_p20230506-r0) 13:45:50 (9/17) Installing libpanelw (6.4_p20230506-r0) 13:45:50 (10/17) Installing libncurses++ (6.4_p20230506-r0) 13:45:50 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 13:45:50 (12/17) Installing libblkid (2.38.1-r8) 13:45:50 (13/17) Installing libuuid (2.38.1-r8) 13:45:50 (14/17) Installing libfdisk (2.38.1-r8) 13:45:50 (15/17) Installing libmount (2.38.1-r8) 13:45:50 (16/17) Installing libsmartcols (2.38.1-r8) 13:45:50 (17/17) Installing util-linux-dev (2.38.1-r8) 13:45:51 Executing busybox-1.36.1-r4.trigger 13:45:51 OK: 333 MiB in 99 packages 13:45:52 Removing intermediate container 5f78082d5051 13:45:52 ---> 5652ea4c2d92 13:45:52 Step 6/21 : RUN mkdir /tmp/sdk 13:45:52 ---> Running in 6b9132e7b241 13:45:54 Removing intermediate container 6b9132e7b241 13:45:54 ---> 03fbd0f69825 13:45:54 Step 7/21 : COPY VERSION /tmp/sdk 13:45:54 ---> c9417156d181 13:45:54 Step 8/21 : COPY src /tmp/sdk/src 13:45:55 ---> f3e7ef88a4db 13:45:55 Step 9/21 : COPY include /tmp/sdk/include 13:45:55 ---> 8d9e6d816453 13:45:55 Step 10/21 : COPY scripts /tmp/sdk/scripts 13:45:56 ---> a2773d89de4b 13:45:56 Step 11/21 : COPY LICENSE /tmp/sdk 13:45:56 ---> e263317711a3 13:45:56 Step 12/21 : COPY Attribution.txt /tmp/sdk 13:45:57 ---> e18effeae2fb 13:45:57 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 13:45:57 ---> Running in e651532a3652 13:45:58 + CPPCHECK=false 13:45:58 + DOCGEN=false 13:45:58 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 13:45:58 + '[' 0 -gt 0 ] 13:45:58 + readlink -f ./scripts/build.sh 13:45:58 + dirname /tmp/sdk/scripts/build.sh 13:45:58 + dirname /tmp/sdk/scripts 13:45:58 + ROOT=/tmp/sdk 13:45:58 + cd /tmp/sdk 13:45:58 + mkdir -p /tmp/sdk/build/release 13:45:58 + cd /tmp/sdk/build/release 13:45:58 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 13:45:58 -- The C compiler identification is GNU 12.2.1 13:45:58 -- Detecting C compiler ABI info 13:45:59 -- Detecting C compiler ABI info - done 13:45:59 -- Check for working C compiler: /usr/bin/cc - skipped 13:45:59 -- Detecting C compile features 13:45:59 -- Detecting C compile features - done 13:45:59 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:45:59 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 13:45:59 -- Found LIBYAML: /usr/lib/libyaml.so 13:45:59 -- Found LIBUUID: /usr/lib/libuuid.so 13:45:59 -- Found LIBCBOR: /usr/lib/libcbor.so 13:45:59 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:45:59 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:45:59 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 13:45:59 -- /opt/iotech/iot/1.5/include 13:45:59 -- C SDK 0.0.0 for Linux 13:45:59 -- Performing Test CSDK_HAVE_ATOMIC 13:45:59 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:45:59 -- Found Curses: /usr/lib/libcurses.so 13:46:00 -- Configuring done (1.7s) 13:46:00 -- Generating done (0.2s) 13:46:00 -- Build files have been written to: /tmp/sdk/build/release 13:46:00 + make all package 13:46:00 + tee release.log 13:46:00 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:46:01 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 13:46:01 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 13:46:02 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 13:46:03 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 13:46:04 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:46:05 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:46:06 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 13:46:06 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 13:46:06 294 | while (privateConfig) 13:46:06 | ^~~~~~~~~~~~~ 13:46:06 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 13:46:06 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 13:46:06 | ^~~~~~~~~~~~~ 13:46:06 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 13:46:06 271 | while (result) 13:46:06 | ^~~~~~ 13:46:06 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 13:46:06 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 13:46:06 | ^~~~~~ 13:46:07 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:46:07 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:46:08 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:46:10 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:46:10 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:46:11 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:46:12 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:46:12 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 13:46:13 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:46:13 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:46:16 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:46:16 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:46:17 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:46:18 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:46:25 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:46:25 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:46:25 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:46:26 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 13:46:26 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:46:28 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:46:30 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:46:30 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:46:31 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:46:32 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:46:32 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 13:46:32 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13:46:32 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 13:46:32 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 13:46:32 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13:46:32 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 13:46:32 | ^ 13:46:33 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 13:46:33 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 13:46:33 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13:46:33 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here 13:46:33 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 13:46:33 | ^~~~~~~~~~~~~~~~~~~~~ 13:46:34 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:46:35 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 13:46:36 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:46:36 [ 68%] Linking C shared library libcsdk.so 13:46:36 [ 68%] Built target csdk 13:46:36 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:46:37 [ 72%] Linking C executable template 13:46:38 [ 72%] Built target template 13:46:38 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:46:38 [ 76%] Linking C executable device-counter 13:46:38 [ 76%] Built target device-counter 13:46:38 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:46:39 [ 80%] Linking C executable device-random 13:46:39 [ 80%] Built target device-random 13:46:39 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:46:40 [ 84%] Linking C executable device-gyro 13:46:40 [ 84%] Built target device-gyro 13:46:40 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:46:41 [ 88%] Linking C executable device-bitfields 13:46:41 [ 88%] Built target device-bitfields 13:46:41 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:46:42 [ 92%] Linking C executable template-discovery 13:46:42 [ 92%] Built target template-discovery 13:46:42 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:46:43 [ 96%] Linking C executable device-file 13:46:43 [ 96%] Built target device-file 13:46:43 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:46:44 [100%] Linking C executable device-terminal 13:46:44 [100%] Built target device-terminal 13:46:44 Run CPack packaging tool... 13:46:44 CPack: Create package using TGZ 13:46:44 CPack: Install projects 13:46:44 CPack: - Run preinstall target for: Csdk 13:46:45 CPack: - Install project: Csdk [] 13:46:45 CPack: Create package 13:46:45 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 13:46:45 + '[' false '=' true ] 13:46:45 + '[' false '=' true ] 13:46:45 + mkdir -p /tmp/sdk/build/debug 13:46:45 + cd /tmp/sdk/build/debug 13:46:45 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 13:46:45 -- The C compiler identification is GNU 12.2.1 13:46:46 -- Detecting C compiler ABI info 13:46:46 -- Detecting C compiler ABI info - done 13:46:46 -- Check for working C compiler: /usr/bin/cc - skipped 13:46:46 -- Detecting C compile features 13:46:46 -- Detecting C compile features - done 13:46:46 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 13:46:46 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 13:46:46 -- Found LIBYAML: /usr/lib/libyaml.so 13:46:46 -- Found LIBUUID: /usr/lib/libuuid.so 13:46:46 -- Found LIBCBOR: /usr/lib/libcbor.so 13:46:46 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 13:46:46 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 13:46:46 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 13:46:46 -- /opt/iotech/iot/1.5/include 13:46:46 -- C SDK 0.0.0 for Linux 13:46:46 -- Performing Test CSDK_HAVE_ATOMIC 13:46:47 -- Performing Test CSDK_HAVE_ATOMIC - Success 13:46:47 -- Found Curses: /usr/lib/libcurses.so 13:46:47 -- Configuring done (1.8s) 13:46:47 -- Generating done (0.3s) 13:46:47 -- Build files have been written to: /tmp/sdk/build/debug 13:46:47 + make 13:46:47 + tee debug.log 13:46:48 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 13:46:48 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 13:46:48 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 13:46:49 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 13:46:49 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 13:46:50 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 13:46:50 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 13:46:50 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 13:46:51 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 13:46:51 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 13:46:52 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 13:46:52 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 13:46:53 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 13:46:53 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 13:46:53 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 13:46:53 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 13:46:54 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 13:46:55 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 13:46:55 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 13:46:55 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 13:46:55 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 13:46:56 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 13:46:57 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 13:46:57 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 13:46:58 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 13:46:58 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 13:46:58 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 13:47:00 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 13:47:00 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 13:47:00 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 13:47:00 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 13:47:01 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 13:47:01 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13:47:01 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 13:47:01 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 13:47:01 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13:47:01 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 13:47:01 | ^ 13:47:01 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 13:47:02 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 13:47:02 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 13:47:02 [ 68%] Linking C shared library libcsdk.so 13:47:02 [ 68%] Built target csdk 13:47:02 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 13:47:03 [ 72%] Linking C executable template 13:47:03 [ 72%] Built target template 13:47:03 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 13:47:03 [ 76%] Linking C executable device-counter 13:47:04 [ 76%] Built target device-counter 13:47:04 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 13:47:04 [ 80%] Linking C executable device-random 13:47:04 [ 80%] Built target device-random 13:47:04 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 13:47:05 [ 84%] Linking C executable device-gyro 13:47:05 [ 84%] Built target device-gyro 13:47:05 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 13:47:05 [ 88%] Linking C executable device-bitfields 13:47:06 [ 88%] Built target device-bitfields 13:47:06 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 13:47:06 [ 92%] Linking C executable template-discovery 13:47:06 [ 92%] Built target template-discovery 13:47:06 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 13:47:07 [ 96%] Linking C executable device-file 13:47:07 [ 96%] Built target device-file 13:47:07 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 13:47:08 [100%] Linking C executable device-terminal 13:47:08 [100%] Built target device-terminal 13:47:08 make: Entering directory '/tmp/sdk/build/release' 13:47:08 [ 68%] Built target csdk 13:47:08 [ 72%] Built target template 13:47:08 [ 76%] Built target device-counter 13:47:08 [ 80%] Built target device-random 13:47:08 [ 84%] Built target device-gyro 13:47:08 [ 88%] Built target device-bitfields 13:47:08 [ 92%] Built target template-discovery 13:47:08 [ 96%] Built target device-file 13:47:08 [100%] Built target device-terminal 13:47:08 Install the project... 13:47:08 -- Install configuration: "Release" 13:47:08 -- Installing: /usr/local/lib/libcsdk.so 13:47:08 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 13:47:08 -- Installing: /usr/local/include 13:47:08 -- Installing: /usr/local/include/devsdk 13:47:08 -- Installing: /usr/local/include/devsdk/devsdk.h 13:47:08 -- Installing: /usr/local/include/devsdk/devsdk-base.h 13:47:08 -- Installing: /usr/local/include/edgex 13:47:08 -- Installing: /usr/local/include/edgex/rest-server.h 13:47:08 -- Installing: /usr/local/include/edgex/edgex.h 13:47:08 -- Installing: /usr/local/include/edgex/edgex-base.h 13:47:08 -- Installing: /usr/local/include/edgex/devices.h 13:47:08 -- Installing: /usr/local/include/edgex/profiles.h 13:47:08 -- Installing: /usr/local/include/edgex/csdk-defs.h 13:47:08 -- Installing: /usr/local/share/device-sdk-c/LICENSE 13:47:08 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 13:47:08 make: Leaving directory '/tmp/sdk/build/release' 13:47:10 Removing intermediate container e651532a3652 13:47:10 ---> 58505f7bf470 13:47:10 Step 14/21 : FROM ${BASE} 13:47:10 ---> 2b552cad5dd9 13:47:10 Step 15/21 : LABEL maintainer="IOTech " 13:47:10 ---> Running in 8c203cffc19a 13:47:10 Removing intermediate container 8c203cffc19a 13:47:10 ---> 3fb9abc1c7bc 13:47:10 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 13:47:10 ---> Running in 14f9906f89b3 13:47:11 Connecting to iotech.jfrog.io (34.246.139.145:443) 13:47:12 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:47:12 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:47:12 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:47:12 Removing intermediate container 14f9906f89b3 13:47:12 ---> 0c221a7a64a2 13:47:12 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 13:47:12 ---> Running in 88d48eca6576 13:47:14 Removing intermediate container 88d48eca6576 13:47:14 ---> f19873467b9b 13:47:14 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 13:47:14 ---> Running in e63ad2307ef4 13:47:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:47:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:47:16 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 13:47:17 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:47:17 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) 13:47:17 (2/9) Installing curl (8.5.0-r0) 13:47:17 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) 13:47:17 (4/9) Installing hiredis (1.1.0-r2) 13:47:17 (5/9) Installing hiredis-dev (1.1.0-r2) 13:47:17 (6/9) Installing libcbor (0.10.2-r1) 13:47:17 (7/9) Installing iotech-iot-1.5 (1.5.3-r0) 13:47:18 (8/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 13:47:18 (9/9) Installing libuuid (2.38.1-r8) 13:47:18 Executing busybox-1.36.1-r4.trigger 13:47:18 OK: 327 MiB in 89 packages 13:47:19 Removing intermediate container e63ad2307ef4 13:47:19 ---> 78cd4a8afb36 13:47:19 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 13:47:20 ---> 6986cbd431a7 13:47:20 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 13:47:20 ---> eb943a118d57 13:47:20 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 13:47:21 ---> 1a0de06162c6 13:47:21 Successfully built 1a0de06162c6 13:47:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:21 + docker inspect -f . ci-base-image-arm64 13:47:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:47:22 prd-ubuntu20.04-docker-arm64-4c-16g-2554 does not seem to be running inside a container 13:47:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:47:23 $ docker top 9fc62e1e9435e08f49b51a18c2733c8555aae11c8700fb4baec765ae464f8419 -eo pid,comm [Pipeline] { [Pipeline] sh 13:47:24 + make test 13:47:24 echo "make test" 13:47:24 make test [Pipeline] } 13:47:24 $ docker stop --time=1 9fc62e1e9435e08f49b51a18c2733c8555aae11c8700fb4baec765ae464f8419 13:47:25 $ docker rm -f --volumes 9fc62e1e9435e08f49b51a18c2733c8555aae11c8700fb4baec765ae464f8419 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:47:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:47:26 + ls -al . 13:47:26 total 208 13:47:26 drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 13:44 . 13:47:26 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 13:44 .. 13:47:26 drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 13:44 .git 13:47:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 13:44 .github 13:47:26 -rw-rw-r-- 1 jenkins jenkins 176 Apr 16 13:44 .gitignore 13:47:26 -rw-rw-r-- 1 jenkins jenkins 2908 Apr 16 13:44 Attribution.txt 13:47:26 -rw-rw-r-- 1 jenkins jenkins 11953 Apr 16 13:44 CHANGELOG.md 13:47:26 -rw-rw-r-- 1 jenkins jenkins 108574 Apr 16 13:44 Doxyfile 13:47:26 -rw-rw-r-- 1 jenkins jenkins 677 Apr 16 13:44 GOVERNANCE.md 13:47:26 -rw-rw-r-- 1 jenkins jenkins 784 Apr 16 13:44 Jenkinsfile 13:47:26 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 16 13:44 LICENSE 13:47:26 -rw-rw-r-- 1 jenkins jenkins 444 Apr 16 13:44 Makefile 13:47:26 -rw-rw-r-- 1 jenkins jenkins 618 Apr 16 13:44 OWNERS.md 13:47:26 -rw-rw-r-- 1 jenkins jenkins 1651 Apr 16 13:44 README.IOT.md 13:47:26 -rw-rw-r-- 1 jenkins jenkins 4215 Apr 16 13:44 README.md 13:47:26 -rw-rw-r-- 1 jenkins jenkins 1245 Apr 16 13:44 README.v3.md 13:47:26 -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 13:42 VERSION 13:47:26 drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 13:44 docs 13:47:26 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 13:44 include 13:47:26 drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 13:44 scripts 13:47:26 drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 13:44 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:27 + 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=edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 --label arch=arm64 --label version=0.0.0 . 13:47:27 Sending build context to Docker daemon 3.062MB 13:47:27 Step 1/17 : ARG BASE=alpine:3.18 13:47:27 Step 2/17 : FROM ${BASE} 13:47:27 ---> 1a0de06162c6 13:47:27 Step 3/17 : LABEL maintainer="IOTech " 13:47:27 ---> Running in 0b9efffdb42b 13:47:27 Removing intermediate container 0b9efffdb42b 13:47:27 ---> 3e5f2ac61d18 13:47:27 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 13:47:27 ---> Running in 586ca92aaa40 13:47:28 Connecting to iotech.jfrog.io (34.247.22.236:443) 13:47:29 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 13:47:29 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 13:47:29 '/etc/apk/keys/alpine.dev.rsa.pub' saved 13:47:29 Removing intermediate container 586ca92aaa40 13:47:29 ---> a89e4e061417 13:47:29 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 13:47:29 ---> Running in 2d8a4e657664 13:47:31 Removing intermediate container 2d8a4e657664 13:47:31 ---> 6f999b5c2326 13:47:31 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 13:47:31 ---> Running in 1eab7cdb527c 13:47:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:47:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:47:33 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 13:47:34 WARNING: This apk-tools is OLD! Some packages might not function properly. 13:47:34 (1/11) Installing iotech-iot-1.5-dev (1.5.3-r0) 13:47:34 (2/11) Installing libcbor-dev (0.10.2-r1) 13:47:34 (3/11) Installing libmenuw (6.4_p20230506-r0) 13:47:34 (4/11) Installing libpanelw (6.4_p20230506-r0) 13:47:34 (5/11) Installing libncurses++ (6.4_p20230506-r0) 13:47:34 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 13:47:34 (7/11) Installing libblkid (2.38.1-r8) 13:47:34 (8/11) Installing libfdisk (2.38.1-r8) 13:47:34 (9/11) Installing libmount (2.38.1-r8) 13:47:34 (10/11) Installing libsmartcols (2.38.1-r8) 13:47:34 (11/11) Installing util-linux-dev (2.38.1-r8) 13:47:35 Executing busybox-1.36.1-r4.trigger 13:47:35 OK: 333 MiB in 100 packages 13:47:36 Removing intermediate container 1eab7cdb527c 13:47:36 ---> dcd4aaf253af 13:47:36 Step 7/17 : COPY VERSION /edgex-c-sdk/ 13:47:36 ---> 9302600d4e0e 13:47:36 Step 8/17 : COPY src /edgex-c-sdk/src/ 13:47:37 ---> 44186a7b375f 13:47:37 Step 9/17 : COPY include /edgex-c-sdk/include/ 13:47:37 ---> 73657e17e804 13:47:37 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 13:47:38 ---> 4e72fe2af0fc 13:47:38 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 13:47:39 ---> 4272c9b60226 13:47:39 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 13:47:39 ---> 59d69b96c5e1 13:47:39 Step 13/17 : WORKDIR /edgex-c-sdk 13:47:39 ---> Running in 896c2b83af0b 13:47:39 Removing intermediate container 896c2b83af0b 13:47:39 ---> cad8e223216a 13:47:39 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 13:47:39 ---> Running in 6bcf07ae77e1 13:47:40 Removing intermediate container 6bcf07ae77e1 13:47:40 ---> 707f99cb8dcf 13:47:40 Step 15/17 : LABEL arch=arm64 13:47:40 ---> Running in 151dfc4ee9b5 13:47:40 Removing intermediate container 151dfc4ee9b5 13:47:40 ---> da5a400c3da3 13:47:40 Step 16/17 : LABEL git_sha=edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 13:47:40 ---> Running in 8d9e3893633e 13:47:40 Removing intermediate container 8d9e3893633e 13:47:40 ---> 718dc4f0487b 13:47:40 Step 17/17 : LABEL version=0.0.0 13:47:40 ---> Running in 219e55a08f35 13:47:41 Removing intermediate container 219e55a08f35 13:47:41 ---> b089aaa2f55a 13:47:41 [Warning] One or more build-args [ARCH MAKE] were not consumed 13:47:41 Successfully built b089aaa2f55a 13:47:41 Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:47:41 13:47:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:47:42 arm64: Pulling from edgex-lftools-log-publisher 13:47:42 8998bd30e6a1: Pulling fs layer 13:47:42 04944245beec: Pulling fs layer 13:47:42 699f458cf7ca: Pulling fs layer 13:47:42 765212b225bb: Pulling fs layer 13:47:42 f23df028b6ca: Pulling fs layer 13:47:42 d65c8cfc05b1: Pulling fs layer 13:47:42 2437ff75d9bd: Pulling fs layer 13:47:42 f23df028b6ca: Waiting 13:47:42 d65c8cfc05b1: Waiting 13:47:42 2437ff75d9bd: Waiting 13:47:42 765212b225bb: Waiting 13:47:42 04944245beec: Verifying Checksum 13:47:42 04944245beec: Download complete 13:47:42 765212b225bb: Verifying Checksum 13:47:42 765212b225bb: Download complete 13:47:42 f23df028b6ca: Verifying Checksum 13:47:42 f23df028b6ca: Download complete 13:47:42 d65c8cfc05b1: Verifying Checksum 13:47:42 d65c8cfc05b1: Download complete 13:47:42 699f458cf7ca: Verifying Checksum 13:47:42 699f458cf7ca: Download complete 13:47:43 8998bd30e6a1: Verifying Checksum 13:47:43 8998bd30e6a1: Download complete 13:47:45 2437ff75d9bd: Verifying Checksum 13:47:45 2437ff75d9bd: Download complete 13:47:47 8998bd30e6a1: Pull complete 13:47:47 04944245beec: Pull complete 13:47:49 699f458cf7ca: Pull complete 13:47:49 765212b225bb: Pull complete 13:47:50 f23df028b6ca: Pull complete 13:47:50 d65c8cfc05b1: Pull complete 13:48:09 2437ff75d9bd: Pull complete 13:48:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:48:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:48:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:48:09 prd-ubuntu20.04-docker-arm64-4c-16g-2554 does not seem to be running inside a container 13:48:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:48:11 $ docker top 94fbfbe634a2cff23c97842f0fb1cee684a4be3ca86fa48582835ed0b5239d38 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:48:12 ---> job-cost.sh 13:48:12 lf-activate-venv: SKIPPING 13:48:12 INFO: No Stack... 13:48:12 INFO: Retrieving Pricing Info for: v3-standard-4 13:48:13 INFO: Archiving Costs [Pipeline] sh 13:48:14 + cat /w/workspace/device-sdk-c/3/archives/cost.csv 13:48:14 + cut -d, -f6 [Pipeline] lock 13:48:14 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-512-3-stack-cost] 13:48:14 Resource [jenkins-edgexfoundry-device-sdk-c-PR-512-3-stack-cost] did not exist. Created. 13:48:14 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-512-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:48:15 /w/workspace/device-sdk-c/3@tmp/durable-9c899f34/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:48:15 + echo total: 0.10999999940395355 [Pipeline] stash 13:48:15 Warning: overwriting stash ‘stack-cost’ 13:48:16 Stashed 1 file(s) [Pipeline] } 13:48:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-512-3-stack-cost] [Pipeline] // lock [Pipeline] } 13:48:16 $ docker stop --time=1 94fbfbe634a2cff23c97842f0fb1cee684a4be3ca86fa48582835ed0b5239d38 13:48:17 $ docker rm -f --volumes 94fbfbe634a2cff23c97842f0fb1cee684a4be3ca86fa48582835ed0b5239d38 [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 13:48:18 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-512/archives ] 13:48:18 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-512/archives 13:48:18 total 16 13:48:18 drwxr-xr-x 3 root root 4096 Apr 16 13:43 . 13:48:18 drwxrwxr-x 10 jenkins jenkins 4096 Apr 16 13:43 .. 13:48:18 drwxr-xr-x 2 root root 4096 Apr 16 13:43 cost 13:48:18 -rw-r--r-- 1 root root 84 Apr 16 13:43 cost.csv 13:48:18 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-512/archives 13:48:18 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-512/archives 13:48:18 total 16 13:48:18 drwxr-xr-x 3 jenkins jenkins 4096 Apr 16 13:43 . 13:48:18 drwxrwxr-x 10 jenkins jenkins 4096 Apr 16 13:43 .. 13:48:18 drwxr-xr-x 2 jenkins jenkins 4096 Apr 16 13:43 cost 13:48:18 -rw-r--r-- 1 jenkins jenkins 84 Apr 16 13:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:48:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:48:19 ---> package-listing.sh 13:48:19 ++ facter osfamily 13:48:19 ++ tr '[:upper:]' '[:lower:]' 13:48:20 + OS_FAMILY=debian 13:48:20 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-512 13:48:20 + START_PACKAGES=/tmp/packages_start.txt 13:48:20 + END_PACKAGES=/tmp/packages_end.txt 13:48:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:48:20 + PACKAGES=/tmp/packages_start.txt 13:48:20 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-512 ']' 13:48:20 + PACKAGES=/tmp/packages_end.txt 13:48:20 + case "${OS_FAMILY}" in 13:48:20 + dpkg -l 13:48:20 + grep '^ii' 13:48:20 + '[' -f /tmp/packages_start.txt ']' 13:48:20 + '[' -f /tmp/packages_end.txt ']' 13:48:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:48:20 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-512 ']' 13:48:20 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-512/archives/ 13:48:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-512/archives/ [Pipeline] echo 13:48:20 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-512/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:48:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:48:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:48:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:48:21 prd-ubuntu20.04-docker-8c-8g-2553 does not seem to be running inside a container 13:48:21 $ 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-512/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-512 -v /w/workspace/edgexfoundry_device-sdk-c_PR-512:/w/workspace/edgexfoundry_device-sdk-c_PR-512:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-512@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 13:48:21 $ docker top f99868a3b46071e2c2ea23e48c10de513b6ea4f489bc25df4b7e9d26634f4bee -eo pid,comm [Pipeline] { [Pipeline] sh 13:48:21 + touch /tmp/pre-build-complete [Pipeline] sh 13:48:21 + mkdir -p /var/log/sysstat [Pipeline] sh 13:48:22 + ls /var/log/sa-host 13:48:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:48:22 provisioning config files... 13:48:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp/config8940728847588840066tmp [Pipeline] { [Pipeline] echo 13:48:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:48:22 ---> create-netrc.sh [Pipeline] } 13:48:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:48:22 ---> python-tools-install.sh [Pipeline] echo 13:48:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:48:40 ---> sudo-logs.sh 13:48:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:48:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:48:41 ---> job-cost.sh 13:48:41 lf-activate-venv: SKIPPING 13:48:41 DEBUG: total: 0.2199999988079071 13:48:41 INFO: Retrieving Stack Cost... 13:48:41 INFO: Retrieving Pricing Info for: v3-standard-8 13:48:41 INFO: Archiving Costs [Pipeline] echo 13:48:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:48:42 ---> logs-deploy.sh 13:48:42 lf-activate-venv: SKIPPING 13:48:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-512/3 13:48:42 INFO: archiving workspace using pattern(s): 13:48:43 Archives upload complete. 13:48:43 INFO: archiving logs to Nexus