Branch indexing 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 lenny-intel for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 4410ed02c89f9f775968b3c16ea152ec31bdb83a+442156b10c8e48709838cfe148b6b6cf65ecf635 (789d01f3542f4b4ba2143ab6afeddea828e88fed) 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-ssh11101092042502168911.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-ssh9498029036463201596.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-496/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-496/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3747866356333595638.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-ssh18051307476066158034.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-496/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-496/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1247420374479188107.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1571 in /w/workspace/edgexfoundry_device-sdk-c_PR-496 [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-496 # 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/496/head:refs/remotes/origin/PR-496 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 442156b10c8e48709838cfe148b6b6cf65ecf635 into PR head commit 4410ed02c89f9f775968b3c16ea152ec31bdb83a Merge succeeded, producing 6a42469b08578544c30b417c6d74da361b3be3ec Checking out Revision 6a42469b08578544c30b417c6d74da361b3be3ec (PR-496) > git config core.sparsecheckout # timeout=10 > git checkout -f 4410ed02c89f9f775968b3c16ea152ec31bdb83a # 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 6a42469b08578544c30b417c6d74da361b3be3ec # timeout=10 Commit message: "Merge commit '442156b10c8e48709838cfe148b6b6cf65ecf635' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk bca1b49ac5df6988ad03e5ad4a63aa627d45501d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:56:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:56:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:56:47 ========================================================= 18:56:47 EdgeX Global Pipelines Version Info 18:56:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:56:48 ------------------- 18:56:48 stable info: 18:56:48 ------------------- 18:56:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:56:48 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:56:48 Message: update stable to v1.0.258 18:56:49 ------------------- 18:56:49 experimental info: 18:56:49 ------------------- 18:56:49 Commited By: **** collab-it+edgex@linuxfoundation.org 18:56:49 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:56:49 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:56:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-496 [Pipeline] echo 18:56:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-496 [Pipeline] echo 18:56:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-496 [Pipeline] echo 18:56:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6a42469b08578544c30b417c6d74da361b3be3ec [Pipeline] echo 18:56:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6a42469 [Pipeline] echo 18:56:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:56:50 provisioning config files... 18:56:50 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/config11159534167831836677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:56:50 ---> ****-login.sh 18:56:50 nexus3.edgexfoundry.org:10001 18:56:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:56:50 Configure a credential helper to remove this warning. See 18:56:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:56:50 18:56:50 Login Succeeded 18:56:50 nexus3.edgexfoundry.org:10002 18:56:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:56:50 Configure a credential helper to remove this warning. See 18:56:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:56:50 18:56:50 Login Succeeded 18:56:50 nexus3.edgexfoundry.org:10003 18:56:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:56:51 Configure a credential helper to remove this warning. See 18:56:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:56:51 18:56:51 Login Succeeded 18:56:51 nexus3.edgexfoundry.org:10004 18:56:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:56:51 Configure a credential helper to remove this warning. See 18:56:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:56:51 18:56:51 Login Succeeded 18:56:51 ****.io 18:56:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:56:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:56:51 Configure a credential helper to remove this warning. See 18:56:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:56:51 18:56:51 Login Succeeded 18:56:51 ---> ****-login.sh ends [Pipeline] } 18:56:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 18:56:51 + git rev-list -1 --merges 6a42469b08578544c30b417c6d74da361b3be3ec~1..6a42469b08578544c30b417c6d74da361b3be3ec [Pipeline] echo 18:56:51 -----------> git rev-list -1 --merges 6a42469b08578544c30b417c6d74da361b3be3ec~1..6a42469b08578544c30b417c6d74da361b3be3ec 6a42469b08578544c30b417c6d74da361b3be3ec 18:56:51 6a42469b08578544c30b417c6d74da361b3be3ec [false] [Pipeline] sh 18:56:52 + git log --format=format:%s -1 6a42469b08578544c30b417c6d74da361b3be3ec [Pipeline] echo 18:56:52 ========================================================= 18:56:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:56:52 ========================================================= 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 18:56:52 + git rev-list -1 --merges 6a42469b08578544c30b417c6d74da361b3be3ec~1..6a42469b08578544c30b417c6d74da361b3be3ec [Pipeline] echo 18:56:52 -----------> git rev-list -1 --merges 6a42469b08578544c30b417c6d74da361b3be3ec~1..6a42469b08578544c30b417c6d74da361b3be3ec 6a42469b08578544c30b417c6d74da361b3be3ec 18:56:52 6a42469b08578544c30b417c6d74da361b3be3ec [false] [Pipeline] sh 18:56:52 + git log --format=format:%s -1 6a42469b08578544c30b417c6d74da361b3be3ec [Pipeline] echo 18:56:52 ========================================================= 18:56:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:56:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 18:56:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:56:53 + grep -v github /etc/ssh/ssh_known_hosts 18:56:53 + [ -e /tmp/ssh_known_hosts ] 18:56:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:56:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:56:53 + sudo tee -a /etc/ssh/ssh_known_hosts 18:56:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:56:53 18:56:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:56:53 0.1.4: Pulling from edgex-devops/py-git-semver 18:56:53 b85a868b505f: Pulling fs layer 18:56:53 e2be974225ed: Pulling fs layer 18:56:53 339a4e72a1f5: Pulling fs layer 18:56:53 988bab9f4d93: Pulling fs layer 18:56:53 1469e6f7b9e6: Pulling fs layer 18:56:53 eaf3925da568: Pulling fs layer 18:56:53 bab4dde63d76: Pulling fs layer 18:56:53 bde34c3a00c8: Pulling fs layer 18:56:53 b352a97aabf1: Pulling fs layer 18:56:53 1469e6f7b9e6: Waiting 18:56:53 bab4dde63d76: Waiting 18:56:53 bde34c3a00c8: Waiting 18:56:53 988bab9f4d93: Waiting 18:56:53 4872d77fe225: Pulling fs layer 18:56:53 5851b861e8e6: Pulling fs layer 18:56:53 b352a97aabf1: Waiting 18:56:53 5851b861e8e6: Waiting 18:56:53 e2be974225ed: Download complete 18:56:53 988bab9f4d93: Verifying Checksum 18:56:53 988bab9f4d93: Download complete 18:56:53 1469e6f7b9e6: Verifying Checksum 18:56:53 1469e6f7b9e6: Download complete 18:56:54 339a4e72a1f5: Verifying Checksum 18:56:54 339a4e72a1f5: Download complete 18:56:54 eaf3925da568: Verifying Checksum 18:56:54 eaf3925da568: Download complete 18:56:54 bde34c3a00c8: Verifying Checksum 18:56:54 bde34c3a00c8: Download complete 18:56:54 b352a97aabf1: Download complete 18:56:54 4872d77fe225: Download complete 18:56:54 5851b861e8e6: Verifying Checksum 18:56:54 5851b861e8e6: Download complete 18:56:54 b85a868b505f: Verifying Checksum 18:56:54 b85a868b505f: Download complete 18:56:54 bab4dde63d76: Verifying Checksum 18:56:54 bab4dde63d76: Download complete 18:56:55 b85a868b505f: Pull complete 18:56:55 e2be974225ed: Pull complete 18:56:56 339a4e72a1f5: Pull complete 18:56:56 988bab9f4d93: Pull complete 18:56:56 1469e6f7b9e6: Pull complete 18:56:56 eaf3925da568: Pull complete 18:56:58 bab4dde63d76: Pull complete 18:56:58 bde34c3a00c8: Pull complete 18:56:58 b352a97aabf1: Pull complete 18:56:58 4872d77fe225: Pull complete 18:56:58 5851b861e8e6: Pull complete 18:56:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:56:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:56:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:59 prd-ubuntu20.04-docker-8c-8g-1571 does not seem to be running inside a container 18:56:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-496 -v /w/workspace/edgexfoundry_device-sdk-c_PR-496:/w/workspace/edgexfoundry_device-sdk-c_PR-496:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-496@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-devops/py-git-semver:0.1.4 cat 18:57:02 $ docker top 1193860aeebf935e23b08b119b6d984fdabeec2f58e52ce00a5b01814f132cad -eo pid,comm 18:57:02 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). 18:57:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:57:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:57:02 [ssh-agent] Looking for ssh-agent implementation... 18:57:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:57:02 $ docker exec 1193860aeebf935e23b08b119b6d984fdabeec2f58e52ce00a5b01814f132cad ssh-agent 18:57:02 SSH_AUTH_SOCK=/tmp/ssh-o0M69AhuCM4A/agent.32 18:57:02 SSH_AGENT_PID=38 18:57:02 Running ssh-add (command line suppressed) 18:57:02 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_1315346377150354184.key (/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_1315346377150354184.key) 18:57:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:57:02 + git tag --points-at HEAD [Pipeline] } 18:57:02 $ docker exec --env ******** --env ******** 1193860aeebf935e23b08b119b6d984fdabeec2f58e52ce00a5b01814f132cad ssh-agent -k 18:57:02 unset SSH_AUTH_SOCK; 18:57:02 unset SSH_AGENT_PID; 18:57:02 echo Agent pid 38 killed; 18:57:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:57:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:57:02 [ssh-agent] Looking for ssh-agent implementation... 18:57:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:57:03 $ docker exec 1193860aeebf935e23b08b119b6d984fdabeec2f58e52ce00a5b01814f132cad ssh-agent 18:57:03 SSH_AUTH_SOCK=/tmp/ssh-yK2KzXNBprTr/agent.71 18:57:03 SSH_AGENT_PID=77 18:57:03 Running ssh-add (command line suppressed) 18:57:03 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_3749365239845754779.key (/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_3749365239845754779.key) 18:57:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:57:03 + git semver init 18:57:03 2024-03-28 18:57:03,828 [run_init] DEBUG init version:0.0.0 force:False 18:57:03 2024-03-28 18:57:03,830 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver 18:57:03 2024-03-28 18:57:03,831 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver 18:57:03 2024-03-28 18:57:03,831 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-496, universal_newlines=False, shell=None, istream=None) 18:57:04 2024-03-28 18:57:04,639 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.git/info/exclude 18:57:04 2024-03-28 18:57:04,640 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver/PR-496 with force:False 18:57:04 2024-03-28 18:57:04,640 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver/PR-496 18:57:04 2024-03-28 18:57:04,644 [execute] INFO git cat-file --batch-check 18:57:04 2024-03-28 18:57:04,645 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver, universal_newlines=False, shell=None, istream=) 18:57:04 2024-03-28 18:57:04,651 [execute] INFO git cat-file --batch 18:57:04 2024-03-28 18:57:04,651 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver, universal_newlines=False, shell=None, istream=) 18:57:04 2024-03-28 18:57:04,657 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver/PR-496 18:57:04 0.0.0 [Pipeline] } 18:57:04 $ docker exec --env ******** --env ******** 1193860aeebf935e23b08b119b6d984fdabeec2f58e52ce00a5b01814f132cad ssh-agent -k 18:57:04 unset SSH_AUTH_SOCK; 18:57:04 unset SSH_AGENT_PID; 18:57:04 echo Agent pid 77 killed; 18:57:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:57:05 + git semver [Pipeline] } 18:57:05 $ docker stop --time=1 1193860aeebf935e23b08b119b6d984fdabeec2f58e52ce00a5b01814f132cad 18:57:06 $ docker rm -f --volumes 1193860aeebf935e23b08b119b6d984fdabeec2f58e52ce00a5b01814f132cad [Pipeline] // withDockerContainer [Pipeline] sh 18:57:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:57:07 Stashed 1 file(s) [Pipeline] echo 18:57:07 [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 18:57:07 provisioning config files... 18:57:07 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/config6995319723351180017tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:57:07 ---> ****-login.sh 18:57:07 nexus3.edgexfoundry.org:10001 18:57:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:57:07 Configure a credential helper to remove this warning. See 18:57:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:57:07 18:57:07 Login Succeeded 18:57:07 nexus3.edgexfoundry.org:10002 18:57:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:57:07 Configure a credential helper to remove this warning. See 18:57:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:57:07 18:57:07 Login Succeeded 18:57:07 nexus3.edgexfoundry.org:10003 18:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:57:08 Configure a credential helper to remove this warning. See 18:57:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:57:08 18:57:08 Login Succeeded 18:57:08 nexus3.edgexfoundry.org:10004 18:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:57:08 Configure a credential helper to remove this warning. See 18:57:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:57:08 18:57:08 Login Succeeded 18:57:08 ****.io 18:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:57:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:57:08 Configure a credential helper to remove this warning. See 18:57:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:57:08 18:57:08 Login Succeeded 18:57:08 ---> ****-login.sh ends [Pipeline] } 18:57:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:57:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:57:08 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 18:57:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:57:08 ========================================================= 18:57:08 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 18:57:08 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:09 + 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 . 18:57:09 Sending build context to Docker daemon 5.017MB 18:57:09 Step 1/22 : ARG BASE=alpine:3.18 18:57:09 Step 2/22 : FROM ${BASE} as builder 18:57:09 latest: Pulling from edgex-devops/edgex-gcc-base 18:57:09 96526aa774ef: Pulling fs layer 18:57:09 da60e534fd72: Pulling fs layer 18:57:09 96526aa774ef: Verifying Checksum 18:57:09 96526aa774ef: Download complete 18:57:09 96526aa774ef: Pull complete 18:57:10 da60e534fd72: Verifying Checksum 18:57:10 da60e534fd72: Download complete 18:57:13 da60e534fd72: Pull complete 18:57:13 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 18:57:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 18:57:13 ---> 6605166a5db4 18:57:13 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 18:57:16 ---> Running in 8a67b3e4ea52 18:57:16 Connecting to iotech.jfrog.io (34.247.22.236:443) 18:57:16 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:57:16 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:57:16 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:57:16 Removing intermediate container 8a67b3e4ea52 18:57:16 ---> 80cbcb19d04e 18:57:16 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 18:57:16 ---> Running in ff1abcaab822 18:57:17 Removing intermediate container ff1abcaab822 18:57:17 ---> e4ae089e68d3 18:57:17 Step 5/22 : 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 18:57:17 ---> Running in 2a5f27db65a1 18:57:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:57:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:57:18 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 18:57:18 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:57:18 (1/17) Installing hiredis (1.1.0-r2) 18:57:18 (2/17) Installing hiredis-dev (1.1.0-r2) 18:57:18 (3/17) Installing libcbor (0.10.2-r1) 18:57:18 (4/17) Installing iotech-iot-1.5 (1.5.3-r0) 18:57:19 (5/17) Installing iotech-iot-1.5-dev (1.5.3-r0) 18:57:19 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 18:57:19 (7/17) Installing libcbor-dev (0.10.2-r1) 18:57:19 (8/17) Installing libmenuw (6.4_p20230506-r0) 18:57:19 (9/17) Installing libpanelw (6.4_p20230506-r0) 18:57:19 (10/17) Installing libncurses++ (6.4_p20230506-r0) 18:57:19 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 18:57:19 (12/17) Installing libblkid (2.38.1-r8) 18:57:19 (13/17) Installing libuuid (2.38.1-r8) 18:57:19 (14/17) Installing libfdisk (2.38.1-r8) 18:57:19 (15/17) Installing libmount (2.38.1-r8) 18:57:19 (16/17) Installing libsmartcols (2.38.1-r8) 18:57:19 (17/17) Installing util-linux-dev (2.38.1-r8) 18:57:19 Executing busybox-1.36.1-r4.trigger 18:57:19 OK: 336 MiB in 99 packages 18:57:20 Removing intermediate container 2a5f27db65a1 18:57:20 ---> 0351e170783a 18:57:20 Step 6/22 : RUN mkdir /tmp/sdk 18:57:20 ---> Running in 054c58fed254 18:57:20 Removing intermediate container 054c58fed254 18:57:20 ---> 97efab14a0bd 18:57:20 Step 7/22 : COPY VERSION /tmp/sdk 18:57:21 ---> 106fbec35d36 18:57:21 Step 8/22 : COPY src /tmp/sdk/src 18:57:21 ---> 937dc9376f13 18:57:21 Step 9/22 : COPY include /tmp/sdk/include 18:57:21 ---> 926d982ec197 18:57:21 Step 10/22 : COPY scripts /tmp/sdk/scripts 18:57:21 ---> eb38e3967d07 18:57:21 Step 11/22 : COPY LICENSE /tmp/sdk 18:57:21 ---> e3bae35080dd 18:57:21 Step 12/22 : COPY Attribution.txt /tmp/sdk 18:57:21 ---> 214a7349864d 18:57:21 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 18:57:21 ---> Running in 5aa0320f3fb9 18:57:22 + CPPCHECK=false 18:57:22 + DOCGEN=false 18:57:22 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 18:57:22 + '[' 0 -gt 0 ] 18:57:22 + readlink -f ./scripts/build.sh 18:57:22 + dirname /tmp/sdk/scripts/build.sh 18:57:22 + dirname /tmp/sdk/scripts 18:57:22 + ROOT=/tmp/sdk 18:57:22 + cd /tmp/sdk 18:57:22 + mkdir -p /tmp/sdk/build/release 18:57:22 + cd /tmp/sdk/build/release 18:57:22 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 18:57:22 -- The C compiler identification is GNU 12.2.1 18:57:22 -- Detecting C compiler ABI info 18:57:22 -- Detecting C compiler ABI info - done 18:57:22 -- Check for working C compiler: /usr/bin/cc - skipped 18:57:22 -- Detecting C compile features 18:57:22 -- Detecting C compile features - done 18:57:22 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:57:22 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 18:57:22 -- Found LIBYAML: /usr/lib/libyaml.so 18:57:22 -- Found LIBUUID: /usr/lib/libuuid.so 18:57:22 -- Found LIBCBOR: /usr/lib/libcbor.so 18:57:22 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:57:22 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:57:22 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 18:57:22 -- /opt/iotech/iot/1.5/include 18:57:22 -- C SDK 0.0.0 for Linux 18:57:22 -- Performing Test CSDK_HAVE_ATOMIC 18:57:22 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:57:22 -- Found Curses: /usr/lib/libcurses.so 18:57:22 Still waiting to schedule task 18:57:22 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:57:22 -- Configuring done (0.5s) 18:57:22 -- Generating done (0.0s) 18:57:22 -- Build files have been written to: /tmp/sdk/build/release 18:57:22 + make all package 18:57:22 + tee release.log 18:57:22 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:57:22 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 18:57:23 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 18:57:23 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 18:57:23 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 18:57:23 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:57:23 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:57:23 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 18:57:23 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 18:57:23 294 | while (privateConfig) 18:57:23 | ^~~~~~~~~~~~~ 18:57:23 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 18:57:23 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 18:57:23 | ^~~~~~~~~~~~~ 18:57:23 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 18:57:23 271 | while (result) 18:57:23 | ^~~~~~ 18:57:23 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 18:57:23 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 18:57:23 | ^~~~~~ 18:57:23 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:57:23 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:57:24 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:57:24 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:57:24 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:57:24 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:57:24 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:57:24 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 18:57:24 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:57:24 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:57:25 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 18:57:25 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:57:25 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:57:25 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:57:26 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:57:26 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:57:26 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 18:57:26 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 18:57:26 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:57:27 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:57:27 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 18:57:27 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 18:57:27 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 18:57:27 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:57:27 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 18:57:27 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18:57:27 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 18:57:27 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:57:27 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18:57:27 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 18:57:27 | ^ 18:57:28 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 18:57:28 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 18:57:28 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:57:28 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here 18:57:28 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 18:57:28 | ^~~~~~~~~~~~~~~~~~~~~ 18:57:28 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:57:28 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 18:57:28 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:57:28 [ 68%] Linking C shared library libcsdk.so 18:57:28 [ 68%] Built target csdk 18:57:28 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:57:28 [ 72%] Linking C executable template 18:57:28 [ 72%] Built target template 18:57:28 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:57:28 [ 76%] Linking C executable device-counter 18:57:28 [ 76%] Built target device-counter 18:57:28 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:57:29 [ 80%] Linking C executable device-random 18:57:29 [ 80%] Built target device-random 18:57:29 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:57:29 [ 84%] Linking C executable device-gyro 18:57:29 [ 84%] Built target device-gyro 18:57:29 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 18:57:29 [ 88%] Linking C executable device-bitfields 18:57:29 [ 88%] Built target device-bitfields 18:57:29 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:57:29 [ 92%] Linking C executable template-discovery 18:57:29 [ 92%] Built target template-discovery 18:57:29 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 18:57:30 [ 96%] Linking C executable device-file 18:57:30 [ 96%] Built target device-file 18:57:30 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:57:30 [100%] Linking C executable device-terminal 18:57:30 [100%] Built target device-terminal 18:57:30 Run CPack packaging tool... 18:57:30 CPack: Create package using TGZ 18:57:30 CPack: Install projects 18:57:30 CPack: - Run preinstall target for: Csdk 18:57:30 CPack: - Install project: Csdk [] 18:57:30 CPack: Create package 18:57:30 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 18:57:30 + '[' false '=' true ] 18:57:30 + '[' false '=' true ] 18:57:30 + mkdir -p /tmp/sdk/build/debug 18:57:30 + cd /tmp/sdk/build/debug 18:57:30 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 18:57:30 -- The C compiler identification is GNU 12.2.1 18:57:30 -- Detecting C compiler ABI info 18:57:30 -- Detecting C compiler ABI info - done 18:57:30 -- Check for working C compiler: /usr/bin/cc - skipped 18:57:30 -- Detecting C compile features 18:57:30 -- Detecting C compile features - done 18:57:30 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 18:57:30 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 18:57:30 -- Found LIBYAML: /usr/lib/libyaml.so 18:57:30 -- Found LIBUUID: /usr/lib/libuuid.so 18:57:30 -- Found LIBCBOR: /usr/lib/libcbor.so 18:57:30 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 18:57:30 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 18:57:30 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 18:57:30 -- /opt/iotech/iot/1.5/include 18:57:30 -- C SDK 0.0.0 for Linux 18:57:30 -- Performing Test CSDK_HAVE_ATOMIC 18:57:30 -- Performing Test CSDK_HAVE_ATOMIC - Success 18:57:31 -- Found Curses: /usr/lib/libcurses.so 18:57:31 -- Configuring done (0.4s) 18:57:31 -- Generating done (0.0s) 18:57:31 -- Build files have been written to: /tmp/sdk/build/debug 18:57:31 + + teemake debug.log 18:57:31 18:57:31 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 18:57:31 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 18:57:31 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 18:57:31 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 18:57:31 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 18:57:31 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 18:57:31 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 18:57:31 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 18:57:31 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 18:57:31 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 18:57:31 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 18:57:31 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 18:57:31 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 18:57:32 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 18:57:32 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 18:57:32 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 18:57:32 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 18:57:32 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 18:57:32 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 18:57:32 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 18:57:32 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 18:57:32 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 18:57:32 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 18:57:32 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 18:57:32 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 18:57:33 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 18:57:33 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 18:57:33 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 18:57:33 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 18:57:33 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 18:57:33 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 18:57:33 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 18:57:33 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18:57:33 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 18:57:33 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 18:57:33 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18:57:33 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 18:57:33 | ^ 18:57:33 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 18:57:33 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 18:57:33 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 18:57:33 [ 68%] Linking C shared library libcsdk.so 18:57:34 [ 68%] Built target csdk 18:57:34 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 18:57:34 [ 72%] Linking C executable template 18:57:34 [ 72%] Built target template 18:57:34 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 18:57:34 [ 76%] Linking C executable device-counter 18:57:34 [ 76%] Built target device-counter 18:57:34 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 18:57:34 [ 80%] Linking C executable device-random 18:57:34 [ 80%] Built target device-random 18:57:34 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 18:57:34 [ 84%] Linking C executable device-gyro 18:57:34 [ 84%] Built target device-gyro 18:57:34 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 18:57:34 [ 88%] Linking C executable device-bitfields 18:57:34 [ 88%] Built target device-bitfields 18:57:34 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 18:57:34 [ 92%] Linking C executable template-discovery 18:57:34 [ 92%] Built target template-discovery 18:57:34 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 18:57:34 [ 96%] Linking C executable device-file 18:57:35 [ 96%] Built target device-file 18:57:35 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 18:57:35 [100%] Linking C executable device-terminal 18:57:35 [100%] Built target device-terminal 18:57:35 make: Entering directory '/tmp/sdk/build/release' 18:57:35 [ 68%] Built target csdk 18:57:35 [ 72%] Built target template 18:57:35 [ 76%] Built target device-counter 18:57:35 [ 80%] Built target device-random 18:57:35 [ 84%] Built target device-gyro 18:57:35 [ 88%] Built target device-bitfields 18:57:35 [ 92%] Built target template-discovery 18:57:35 [ 96%] Built target device-file 18:57:35 [100%] Built target device-terminal 18:57:35 Install the project... 18:57:35 -- Install configuration: "Release" 18:57:35 -- Installing: /usr/local/lib/libcsdk.so 18:57:35 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 18:57:35 -- Installing: /usr/local/include 18:57:35 -- Installing: /usr/local/include/devsdk 18:57:35 -- Installing: /usr/local/include/devsdk/devsdk.h 18:57:35 -- Installing: /usr/local/include/devsdk/devsdk-base.h 18:57:35 -- Installing: /usr/local/include/edgex 18:57:35 -- Installing: /usr/local/include/edgex/edgex.h 18:57:35 -- Installing: /usr/local/include/edgex/devices.h 18:57:35 -- Installing: /usr/local/include/edgex/profiles.h 18:57:35 -- Installing: /usr/local/include/edgex/edgex-base.h 18:57:35 -- Installing: /usr/local/include/edgex/rest-server.h 18:57:35 -- Installing: /usr/local/include/edgex/csdk-defs.h 18:57:35 -- Installing: /usr/local/share/device-sdk-c/LICENSE 18:57:35 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 18:57:35 make: Leaving directory '/tmp/sdk/build/release' 18:57:36 Removing intermediate container 5aa0320f3fb9 18:57:36 ---> dd77cb3eb654 18:57:36 Step 14/22 : FROM ${BASE} 18:57:36 ---> 6605166a5db4 18:57:36 Step 15/22 : LABEL maintainer="IOTech " 18:57:36 ---> Running in d51a60071af9 18:57:36 Removing intermediate container d51a60071af9 18:57:36 ---> bb1a6018a272 18:57:36 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 18:57:36 ---> Running in 7b6e59509862 18:57:36 Connecting to iotech.jfrog.io (34.247.22.236:443) 18:57:37 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:57:37 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:57:37 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:57:37 Removing intermediate container 7b6e59509862 18:57:37 ---> 60d07f30a4cd 18:57:37 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 18:57:37 ---> Running in 885472dd335b 18:57:37 Removing intermediate container 885472dd335b 18:57:37 ---> 35e5be9c1ec2 18:57:37 Step 18/22 : 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 dumb-init 18:57:37 ---> Running in 915a0a18aacf 18:57:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:57:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:57:38 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 18:57:39 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:57:39 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) 18:57:39 (2/10) Installing curl (8.5.0-r0) 18:57:39 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) 18:57:39 (4/10) Installing dumb-init (1.2.5-r2) 18:57:39 (5/10) Installing hiredis (1.1.0-r2) 18:57:39 (6/10) Installing hiredis-dev (1.1.0-r2) 18:57:39 (7/10) Installing libcbor (0.10.2-r1) 18:57:39 (8/10) Installing iotech-iot-1.5 (1.5.3-r0) 18:57:39 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 18:57:39 (10/10) Installing libuuid (2.38.1-r8) 18:57:39 Executing busybox-1.36.1-r4.trigger 18:57:39 OK: 331 MiB in 90 packages 18:57:40 Removing intermediate container 915a0a18aacf 18:57:40 ---> a54d370d1c2e 18:57:40 Step 19/22 : RUN apk --no-cache upgrade 18:57:40 ---> Running in a16c23b6c306 18:57:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:57:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:57:40 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 18:57:41 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:57:41 (1/12) Upgrading busybox (1.36.1-r4 -> 1.36.1-r5) 18:57:41 Executing busybox-1.36.1-r5.post-upgrade 18:57:41 (2/12) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r5) 18:57:41 (3/12) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 18:57:41 (4/12) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.4-r5) 18:57:41 (5/12) Upgrading libssl3 (3.1.4-r0 -> 3.1.4-r5) 18:57:41 (6/12) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r5) 18:57:41 (7/12) Upgrading libexpat (2.5.0-r1 -> 2.6.2-r0) 18:57:41 (8/12) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 18:57:41 (9/12) Upgrading openssl-dev (3.1.4-r0 -> 3.1.4-r5) 18:57:41 (10/12) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 18:57:41 (11/12) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 18:57:41 (12/12) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 18:57:41 Executing busybox-1.36.1-r5.trigger 18:57:41 Executing ca-certificates-20240226-r0.trigger 18:57:41 OK: 331 MiB in 90 packages 18:57:42 Removing intermediate container a16c23b6c306 18:57:42 ---> 7229c425fbe0 18:57:42 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 18:57:42 ---> 4ffd4ab5016b 18:57:42 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 18:57:42 ---> a81be51145c3 18:57:42 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 18:57:42 ---> 93d3554dd74f 18:57:42 Successfully built 93d3554dd74f 18:57:42 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 18:57:43 + docker inspect -f . ci-base-image-x86_64 18:57:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:43 prd-ubuntu20.04-docker-8c-8g-1571 does not seem to be running inside a container 18:57:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-496 -v /w/workspace/edgexfoundry_device-sdk-c_PR-496:/w/workspace/edgexfoundry_device-sdk-c_PR-496:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-496@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 ******** -e ******** ci-base-image-x86_64 cat 18:57:43 $ docker top b2ba90fee41dc22e62816353959147685a7b93ffb8f0955aa481bd2083b4821a -eo pid,comm [Pipeline] { [Pipeline] sh 18:57:44 + make test 18:57:44 echo "make test" 18:57:44 make test [Pipeline] } 18:57:44 $ docker stop --time=1 b2ba90fee41dc22e62816353959147685a7b93ffb8f0955aa481bd2083b4821a 18:57:45 $ docker rm -f --volumes b2ba90fee41dc22e62816353959147685a7b93ffb8f0955aa481bd2083b4821a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:57:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:57:46 + ls -al . 18:57:46 total 212 18:57:46 drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 18:57 . 18:57:46 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:56 .. 18:57:46 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 18:57 .git 18:57:46 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 18:56 .github 18:57:46 -rw-rw-r-- 1 jenkins jenkins 176 Mar 28 18:56 .gitignore 18:57:46 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 18:57 .semver 18:57:46 -rw-rw-r-- 1 jenkins jenkins 2908 Mar 28 18:56 Attribution.txt 18:57:46 -rw-rw-r-- 1 jenkins jenkins 11953 Mar 28 18:56 CHANGELOG.md 18:57:46 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 28 18:56 Doxyfile 18:57:46 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 18:56 GOVERNANCE.md 18:57:46 -rw-rw-r-- 1 jenkins jenkins 784 Mar 28 18:56 Jenkinsfile 18:57:46 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 28 18:56 LICENSE 18:57:46 -rw-rw-r-- 1 jenkins jenkins 444 Mar 28 18:56 Makefile 18:57:46 -rw-rw-r-- 1 jenkins jenkins 618 Mar 28 18:56 OWNERS.md 18:57:46 -rw-rw-r-- 1 jenkins jenkins 1651 Mar 28 18:56 README.IOT.md 18:57:46 -rw-rw-r-- 1 jenkins jenkins 4215 Mar 28 18:56 README.md 18:57:46 -rw-rw-r-- 1 jenkins jenkins 1245 Mar 28 18:56 README.v3.md 18:57:46 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 18:57 VERSION 18:57:46 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 18:56 docs 18:57:46 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:56 include 18:57:46 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 18:56 scripts 18:57:46 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:56 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:46 + 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=6a42469b08578544c30b417c6d74da361b3be3ec --label arch=amd64 --label version=0.0.0 . 18:57:46 Sending build context to Docker daemon 5.017MB 18:57:46 Step 1/18 : ARG BASE=alpine:3.18 18:57:46 Step 2/18 : FROM ${BASE} 18:57:46 ---> 93d3554dd74f 18:57:46 Step 3/18 : LABEL maintainer="IOTech " 18:57:46 ---> Running in 5fd4e2759610 18:57:46 Removing intermediate container 5fd4e2759610 18:57:46 ---> 1761fd4d2ab4 18:57:46 Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 18:57:46 ---> Running in 25e1e0ef1cb2 18:57:47 Connecting to iotech.jfrog.io (34.246.139.145:443) 18:57:47 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 18:57:47 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 18:57:47 '/etc/apk/keys/alpine.dev.rsa.pub' saved 18:57:48 Removing intermediate container 25e1e0ef1cb2 18:57:48 ---> ee9f8c365396 18:57:48 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 18:57:48 ---> Running in 0bd6ca70b5fa 18:57:48 Removing intermediate container 0bd6ca70b5fa 18:57:48 ---> a56eb42603b0 18:57:48 Step 6/18 : 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 dumb-init && mkdir -p /edgex-c-sdk/build 18:57:48 ---> Running in cd8834dfa7a2 18:57:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:57:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:57:49 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 18:57:49 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:57:49 (1/11) Installing iotech-iot-1.5-dev (1.5.3-r0) 18:57:49 (2/11) Installing libcbor-dev (0.10.2-r1) 18:57:49 (3/11) Installing libmenuw (6.4_p20230506-r0) 18:57:49 (4/11) Installing libpanelw (6.4_p20230506-r0) 18:57:49 (5/11) Installing libncurses++ (6.4_p20230506-r0) 18:57:49 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 18:57:49 (7/11) Installing libblkid (2.38.1-r8) 18:57:49 (8/11) Installing libfdisk (2.38.1-r8) 18:57:49 (9/11) Installing libmount (2.38.1-r8) 18:57:49 (10/11) Installing libsmartcols (2.38.1-r8) 18:57:49 (11/11) Installing util-linux-dev (2.38.1-r8) 18:57:49 Executing busybox-1.36.1-r5.trigger 18:57:49 OK: 337 MiB in 101 packages 18:57:50 Removing intermediate container cd8834dfa7a2 18:57:50 ---> 4192860ee7b2 18:57:50 Step 7/18 : RUN apk --no-cache upgrade 18:57:50 ---> Running in 8af63dfa8d60 18:57:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:57:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:57:50 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 18:57:51 WARNING: This apk-tools is OLD! Some packages might not function properly. 18:57:51 OK: 337 MiB in 101 packages 18:57:51 Removing intermediate container 8af63dfa8d60 18:57:51 ---> 5738d634b86e 18:57:51 Step 8/18 : COPY VERSION /edgex-c-sdk/ 18:57:51 ---> a9571e8f3592 18:57:51 Step 9/18 : COPY src /edgex-c-sdk/src/ 18:57:51 ---> f31f06e415a6 18:57:51 Step 10/18 : COPY include /edgex-c-sdk/include/ 18:57:52 ---> e4d1137e73af 18:57:52 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 18:57:52 ---> acc724e14f05 18:57:52 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 18:57:52 ---> 78335398bcf6 18:57:52 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 18:57:52 ---> db13d6774764 18:57:52 Step 14/18 : WORKDIR /edgex-c-sdk 18:57:52 ---> Running in a5d1808e83cd 18:57:52 Removing intermediate container a5d1808e83cd 18:57:52 ---> 3120a95e43bc 18:57:52 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 18:57:52 ---> Running in 29870a2c4da5 18:57:52 Removing intermediate container 29870a2c4da5 18:57:52 ---> 26e749effa1a 18:57:52 Step 16/18 : LABEL arch=amd64 18:57:52 ---> Running in ffb2043bc3e5 18:57:52 Removing intermediate container ffb2043bc3e5 18:57:52 ---> d76712cb5e7f 18:57:52 Step 17/18 : LABEL git_sha=6a42469b08578544c30b417c6d74da361b3be3ec 18:57:52 ---> Running in 48e9f2fd7d00 18:57:53 Removing intermediate container 48e9f2fd7d00 18:57:53 ---> 36af4c39680c 18:57:53 Step 18/18 : LABEL version=0.0.0 18:57:53 ---> Running in 6ad01b5d3615 18:57:53 Removing intermediate container 6ad01b5d3615 18:57:53 ---> c37bade434e1 18:57:53 [Warning] One or more build-args [ARCH MAKE] were not consumed 18:57:53 Successfully built c37bade434e1 18:57:53 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 18:57:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:57:53 18:57:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:57:53 latest: Pulling from edgex-lftools-log-publisher 18:57:53 5eb5b503b376: Pulling fs layer 18:57:53 5c69ac0246d0: Pulling fs layer 18:57:53 ec43610c2a17: Pulling fs layer 18:57:53 3a2ae6a8a46f: Pulling fs layer 18:57:53 33b1e0a273af: Pulling fs layer 18:57:53 5d3b04190fa2: Pulling fs layer 18:57:53 2f39f015ded8: Pulling fs layer 18:57:53 3a2ae6a8a46f: Waiting 18:57:53 33b1e0a273af: Waiting 18:57:53 5d3b04190fa2: Waiting 18:57:53 2f39f015ded8: Waiting 18:57:53 5c69ac0246d0: Verifying Checksum 18:57:53 5c69ac0246d0: Download complete 18:57:53 3a2ae6a8a46f: Verifying Checksum 18:57:53 3a2ae6a8a46f: Download complete 18:57:53 33b1e0a273af: Verifying Checksum 18:57:53 33b1e0a273af: Download complete 18:57:53 5d3b04190fa2: Verifying Checksum 18:57:53 5d3b04190fa2: Download complete 18:57:53 ec43610c2a17: Verifying Checksum 18:57:53 ec43610c2a17: Download complete 18:57:54 5eb5b503b376: Download complete 18:57:54 2f39f015ded8: Download complete 18:57:55 5eb5b503b376: Pull complete 18:57:55 5c69ac0246d0: Pull complete 18:57:55 ec43610c2a17: Pull complete 18:57:55 3a2ae6a8a46f: Pull complete 18:57:56 33b1e0a273af: Pull complete 18:57:56 5d3b04190fa2: Pull complete 18:58:00 2f39f015ded8: Pull complete 18:58:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:58:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:58:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:58:00 prd-ubuntu20.04-docker-8c-8g-1571 does not seem to be running inside a container 18:58:00 $ 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-496 -v /w/workspace/edgexfoundry_device-sdk-c_PR-496:/w/workspace/edgexfoundry_device-sdk-c_PR-496:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-496@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:58:05 $ docker top 3f73cc6d992f76ded20741dc706642c9f14e5a981369039f87eb16d5af0deb9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:58:05 ---> job-cost.sh 18:58:05 lf-activate-venv: SKIPPING 18:58:05 INFO: No Stack... 18:58:06 INFO: Retrieving Pricing Info for: v3-standard-8 18:58:06 INFO: Archiving Costs [Pipeline] sh 18:58:06 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives/cost.csv 18:58:06 + cut -d, -f6 [Pipeline] lock 18:58:06 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-496-6-stack-cost] 18:58:06 Resource [jenkins-edgexfoundry-device-sdk-c-PR-496-6-stack-cost] did not exist. Created. 18:58:06 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-496-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:58:07 + echo total: 0.2199999988079071 [Pipeline] stash 18:58:07 Stashed 1 file(s) [Pipeline] } 18:58:07 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-496-6-stack-cost] [Pipeline] // lock [Pipeline] } 18:58:07 $ docker stop --time=1 3f73cc6d992f76ded20741dc706642c9f14e5a981369039f87eb16d5af0deb9d 18:58:08 $ docker rm -f --volumes 3f73cc6d992f76ded20741dc706642c9f14e5a981369039f87eb16d5af0deb9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:00:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1574 in /w/workspace/edgexfoundry_device-sdk-c_PR-496 [Pipeline] { [Pipeline] ws 19:00:27 Running in /w/workspace/device-sdk-c/6 [Pipeline] { [Pipeline] checkout 19:00:27 Selected Git installation does not exist. Using Default 19:00:27 The recommended git tool is: NONE 19:00:32 using credential edgex-jenkins-ssh 19:00:33 Cloning the remote Git repository 19:00:33 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 19:00:33 > git init /w/workspace/device-sdk-c/6 # timeout=10 19:00:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 19:00:33 > git --version # timeout=10 19:00:33 > git --version # 'git version 2.25.1' 19:00:33 using GIT_SSH to set credentials SSH Credentials for GitHub 19:00:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:00:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 19:00:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:00:36 Merging remotes/origin/main commit 442156b10c8e48709838cfe148b6b6cf65ecf635 into PR head commit 4410ed02c89f9f775968b3c16ea152ec31bdb83a 19:00:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 19:00:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 19:00:35 using GIT_SSH to set credentials SSH Credentials for GitHub 19:00:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/496/head:refs/remotes/origin/PR-496 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:00:36 > git config core.sparsecheckout # timeout=10 19:00:36 > git checkout -f 4410ed02c89f9f775968b3c16ea152ec31bdb83a # timeout=10 19:00:36 > git remote # timeout=10 19:00:36 > git config --get remote.origin.url # timeout=10 19:00:36 using GIT_SSH to set credentials SSH Credentials for GitHub 19:00:36 > git merge 442156b10c8e48709838cfe148b6b6cf65ecf635 # timeout=10 19:00:36 Merge succeeded, producing f95beaf80225190ec09120b30a0a2c33f7b90e1e 19:00:36 Checking out Revision f95beaf80225190ec09120b30a0a2c33f7b90e1e (PR-496) 19:00:36 > git rev-parse HEAD^{commit} # timeout=10 19:00:36 > git config core.sparsecheckout # timeout=10 19:00:36 > git checkout -f f95beaf80225190ec09120b30a0a2c33f7b90e1e # timeout=10 19:00:40 Commit message: "Merge commit '442156b10c8e48709838cfe148b6b6cf65ecf635' into HEAD" 19:00:40 First time build. Skipping changelog. 19:00:40 > git rev-list --no-walk bca1b49ac5df6988ad03e5ad4a63aa627d45501d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:00:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:00:41 % Total % Received % Xferd Average Speed Time Time Time Current 19:00:41 Dload Upload Total Spent Left Speed 19:00:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 240k 0 --:--:-- --:--:-- --:--:-- 240k [Pipeline] sh 19:00:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:00:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:00:42 + sudo tee /etc/docker/daemon.new 19:00:42 { 19:00:42 "registry-mirrors": [ 19:00:42 "https://nexus3.edgexfoundry.org:10001" 19:00:42 ], 19:00:42 "bip": "10.250.0.254/24", 19:00:42 "hosts": [ 19:00:42 "tcp://0.0.0.0:5555", 19:00:42 "unix:///var/run/docker.sock" 19:00:42 ], 19:00:42 "mtu": 1458, 19:00:42 "selinux-enabled": true, 19:00:42 "seccomp-profile": "/etc/docker/seccomp.json" 19:00:42 } [Pipeline] sh 19:00:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:00:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:01:01 provisioning config files... 19:01:01 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/6@tmp/config12870748703129718674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:01:01 ---> ****-login.sh 19:01:01 nexus3.edgexfoundry.org:10001 19:01:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:01:02 Configure a credential helper to remove this warning. See 19:01:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:01:02 19:01:02 Login Succeeded 19:01:02 nexus3.edgexfoundry.org:10002 19:01:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:01:02 Configure a credential helper to remove this warning. See 19:01:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:01:02 19:01:02 Login Succeeded 19:01:02 nexus3.edgexfoundry.org:10003 19:01:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:01:03 Configure a credential helper to remove this warning. See 19:01:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:01:03 19:01:03 Login Succeeded 19:01:03 nexus3.edgexfoundry.org:10004 19:01:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:01:03 Configure a credential helper to remove this warning. See 19:01:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:01:03 19:01:03 Login Succeeded 19:01:03 ****.io 19:01:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:01:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:01:04 Configure a credential helper to remove this warning. See 19:01:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:01:04 19:01:04 Login Succeeded 19:01:04 ---> ****-login.sh ends [Pipeline] } 19:01:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:01:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:01:04 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 19:01:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:01:04 ========================================================= 19:01:04 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 19:01:04 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:04 + 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 . 19:01:04 Sending build context to Docker daemon 3.008MB 19:01:05 Step 1/22 : ARG BASE=alpine:3.18 19:01:05 Step 2/22 : FROM ${BASE} as builder 19:01:05 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 19:01:05 579b34f0a95b: Pulling fs layer 19:01:05 e71477ac5e1b: Pulling fs layer 19:01:05 579b34f0a95b: Download complete 19:01:06 579b34f0a95b: Pull complete 19:01:08 e71477ac5e1b: Verifying Checksum 19:01:08 e71477ac5e1b: Download complete 19:01:20 e71477ac5e1b: Pull complete 19:01:20 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 19:01:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 19:01:20 ---> 2b552cad5dd9 19:01:20 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 19:01:20 ---> Running in 864b28323e6a 19:01:21 Connecting to iotech.jfrog.io (34.247.22.236:443) 19:01:21 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 19:01:21 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 19:01:21 '/etc/apk/keys/alpine.dev.rsa.pub' saved 19:01:22 Removing intermediate container 864b28323e6a 19:01:22 ---> 52b1e120a599 19:01:22 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 19:01:22 ---> Running in 33f5b96497c4 19:01:24 Removing intermediate container 33f5b96497c4 19:01:24 ---> 351188fbc626 19:01:24 Step 5/22 : 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 19:01:24 ---> Running in 8621578acb06 19:01:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:01:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:01:26 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 19:01:27 WARNING: This apk-tools is OLD! Some packages might not function properly. 19:01:27 (1/17) Installing hiredis (1.1.0-r2) 19:01:27 (2/17) Installing hiredis-dev (1.1.0-r2) 19:01:27 (3/17) Installing libcbor (0.10.2-r1) 19:01:27 (4/17) Installing iotech-iot-1.5 (1.5.3-r0) 19:01:28 (5/17) Installing iotech-iot-1.5-dev (1.5.3-r0) 19:01:28 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 19:01:28 (7/17) Installing libcbor-dev (0.10.2-r1) 19:01:28 (8/17) Installing libmenuw (6.4_p20230506-r0) 19:01:28 (9/17) Installing libpanelw (6.4_p20230506-r0) 19:01:28 (10/17) Installing libncurses++ (6.4_p20230506-r0) 19:01:28 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 19:01:28 (12/17) Installing libblkid (2.38.1-r8) 19:01:28 (13/17) Installing libuuid (2.38.1-r8) 19:01:28 (14/17) Installing libfdisk (2.38.1-r8) 19:01:28 (15/17) Installing libmount (2.38.1-r8) 19:01:28 (16/17) Installing libsmartcols (2.38.1-r8) 19:01:28 (17/17) Installing util-linux-dev (2.38.1-r8) 19:01:28 Executing busybox-1.36.1-r4.trigger 19:01:28 OK: 333 MiB in 99 packages 19:01:30 Removing intermediate container 8621578acb06 19:01:30 ---> 59ca6f785843 19:01:30 Step 6/22 : RUN mkdir /tmp/sdk 19:01:30 ---> Running in c3801aabf4bf 19:01:32 Removing intermediate container c3801aabf4bf 19:01:32 ---> 93b5dc669ef7 19:01:32 Step 7/22 : COPY VERSION /tmp/sdk 19:01:32 ---> f033443fb69b 19:01:32 Step 8/22 : COPY src /tmp/sdk/src 19:01:33 ---> 8b7e4a67e01b 19:01:33 Step 9/22 : COPY include /tmp/sdk/include 19:01:33 ---> bbca1f9acd65 19:01:33 Step 10/22 : COPY scripts /tmp/sdk/scripts 19:01:34 ---> e0b674495421 19:01:34 Step 11/22 : COPY LICENSE /tmp/sdk 19:01:34 ---> c01b3a338f33 19:01:34 Step 12/22 : COPY Attribution.txt /tmp/sdk 19:01:35 ---> 56e3cb9bf1aa 19:01:35 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 19:01:35 ---> Running in fe774372fee1 19:01:36 + CPPCHECK=false 19:01:36 + DOCGEN=false 19:01:36 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 19:01:36 + '[' 0 -gt 0 ] 19:01:36 + readlink -f ./scripts/build.sh 19:01:36 + dirname /tmp/sdk/scripts/build.sh 19:01:36 + dirname /tmp/sdk/scripts 19:01:36 + ROOT=/tmp/sdk 19:01:36 + cd /tmp/sdk 19:01:36 + mkdir -p /tmp/sdk/build/release 19:01:36 + cd /tmp/sdk/build/release 19:01:36 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 19:01:37 -- The C compiler identification is GNU 12.2.1 19:01:37 -- Detecting C compiler ABI info 19:01:37 -- Detecting C compiler ABI info - done 19:01:37 -- Check for working C compiler: /usr/bin/cc - skipped 19:01:37 -- Detecting C compile features 19:01:37 -- Detecting C compile features - done 19:01:37 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 19:01:37 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 19:01:37 -- Found LIBYAML: /usr/lib/libyaml.so 19:01:37 -- Found LIBUUID: /usr/lib/libuuid.so 19:01:37 -- Found LIBCBOR: /usr/lib/libcbor.so 19:01:37 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 19:01:37 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 19:01:37 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 19:01:37 -- /opt/iotech/iot/1.5/include 19:01:37 -- C SDK 0.0.0 for Linux 19:01:37 -- Performing Test CSDK_HAVE_ATOMIC 19:01:38 -- Performing Test CSDK_HAVE_ATOMIC - Success 19:01:38 -- Found Curses: /usr/lib/libcurses.so 19:01:38 -- Configuring done (2.0s) 19:01:38 -- Generating done (0.3s) 19:01:38 -- Build files have been written to: /tmp/sdk/build/release 19:01:38 + make+ tee release.log 19:01:38  all package 19:01:38 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 19:01:39 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 19:01:40 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 19:01:41 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 19:01:42 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 19:01:43 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 19:01:45 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 19:01:46 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 19:01:46 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 19:01:46 294 | while (privateConfig) 19:01:46 | ^~~~~~~~~~~~~ 19:01:46 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 19:01:46 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 19:01:46 | ^~~~~~~~~~~~~ 19:01:46 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 19:01:46 271 | while (result) 19:01:46 | ^~~~~~ 19:01:46 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 19:01:46 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 19:01:46 | ^~~~~~ 19:01:47 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 19:01:47 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 19:01:48 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 19:01:50 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 19:01:51 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 19:01:52 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 19:01:53 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 19:01:53 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 19:01:55 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 19:01:55 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 19:01:58 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 19:01:58 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 19:01:59 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 19:02:00 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 19:02:08 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 19:02:08 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 19:02:08 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 19:02:09 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 19:02:10 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 19:02:11 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 19:02:14 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 19:02:14 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 19:02:15 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 19:02:16 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 19:02:16 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 19:02:16 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 19:02:16 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 19:02:16 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 19:02:16 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 19:02:16 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 19:02:16 | ^ 19:02:18 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 19:02:18 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 19:02:18 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19:02:18 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here 19:02:18 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 19:02:18 | ^~~~~~~~~~~~~~~~~~~~~ 19:02:19 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 19:02:20 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 19:02:20 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 19:02:21 [ 68%] Linking C shared library libcsdk.so 19:02:21 [ 68%] Built target csdk 19:02:21 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 19:02:22 [ 72%] Linking C executable template 19:02:23 [ 72%] Built target template 19:02:23 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 19:02:24 [ 76%] Linking C executable device-counter 19:02:24 [ 76%] Built target device-counter 19:02:24 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 19:02:25 [ 80%] Linking C executable device-random 19:02:25 [ 80%] Built target device-random 19:02:25 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 19:02:26 [ 84%] Linking C executable device-gyro 19:02:26 [ 84%] Built target device-gyro 19:02:26 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 19:02:27 [ 88%] Linking C executable device-bitfields 19:02:27 [ 88%] Built target device-bitfields 19:02:27 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 19:02:28 [ 92%] Linking C executable template-discovery 19:02:28 [ 92%] Built target template-discovery 19:02:28 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 19:02:29 [ 96%] Linking C executable device-file 19:02:30 [ 96%] Built target device-file 19:02:30 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 19:02:31 [100%] Linking C executable device-terminal 19:02:31 [100%] Built target device-terminal 19:02:31 Run CPack packaging tool... 19:02:31 CPack: Create package using TGZ 19:02:31 CPack: Install projects 19:02:31 CPack: - Run preinstall target for: Csdk 19:02:32 CPack: - Install project: Csdk [] 19:02:32 CPack: Create package 19:02:32 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 19:02:32 + '[' false '=' true ] 19:02:32 + '[' false '=' true ] 19:02:32 + mkdir -p /tmp/sdk/build/debug 19:02:32 + cd /tmp/sdk/build/debug 19:02:32 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 19:02:32 -- The C compiler identification is GNU 12.2.1 19:02:32 -- Detecting C compiler ABI info 19:02:33 -- Detecting C compiler ABI info - done 19:02:33 -- Check for working C compiler: /usr/bin/cc - skipped 19:02:33 -- Detecting C compile features 19:02:33 -- Detecting C compile features - done 19:02:33 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 19:02:33 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 19:02:33 -- Found LIBYAML: /usr/lib/libyaml.so 19:02:33 -- Found LIBUUID: /usr/lib/libuuid.so 19:02:33 -- Found LIBCBOR: /usr/lib/libcbor.so 19:02:33 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 19:02:33 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 19:02:33 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 19:02:33 -- /opt/iotech/iot/1.5/include 19:02:33 -- C SDK 0.0.0 for Linux 19:02:33 -- Performing Test CSDK_HAVE_ATOMIC 19:02:34 -- Performing Test CSDK_HAVE_ATOMIC - Success 19:02:34 -- Found Curses: /usr/lib/libcurses.so 19:02:34 -- Configuring done (2.0s) 19:02:34 -- Generating done (0.3s) 19:02:34 -- Build files have been written to: /tmp/sdk/build/debug 19:02:34 + make 19:02:34 + tee debug.log 19:02:35 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 19:02:35 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 19:02:35 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 19:02:36 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 19:02:36 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 19:02:37 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 19:02:37 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 19:02:38 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 19:02:38 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 19:02:39 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 19:02:40 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 19:02:40 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 19:02:40 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 19:02:41 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 19:02:41 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 19:02:42 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 19:02:42 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 19:02:43 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 19:02:43 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 19:02:44 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 19:02:44 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 19:02:46 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 19:02:46 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 19:02:47 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 19:02:47 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 19:02:47 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 19:02:48 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 19:02:50 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 19:02:50 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 19:02:50 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 19:02:51 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 19:02:51 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 19:02:51 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 19:02:51 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 19:02:51 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 19:02:51 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 19:02:51 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 19:02:51 | ^ 19:02:52 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 19:02:52 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 19:02:53 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 19:02:53 [ 68%] Linking C shared library libcsdk.so 19:02:53 [ 68%] Built target csdk 19:02:53 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 19:02:54 [ 72%] Linking C executable template 19:02:54 [ 72%] Built target template 19:02:54 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 19:02:54 [ 76%] Linking C executable device-counter 19:02:55 [ 76%] Built target device-counter 19:02:55 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 19:02:55 [ 80%] Linking C executable device-random 19:02:55 [ 80%] Built target device-random 19:02:55 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 19:02:56 [ 84%] Linking C executable device-gyro 19:02:56 [ 84%] Built target device-gyro 19:02:56 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 19:02:56 [ 88%] Linking C executable device-bitfields 19:02:57 [ 88%] Built target device-bitfields 19:02:57 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 19:02:57 [ 92%] Linking C executable template-discovery 19:02:58 [ 92%] Built target template-discovery 19:02:58 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 19:02:58 [ 96%] Linking C executable device-file 19:02:58 [ 96%] Built target device-file 19:02:58 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 19:02:59 [100%] Linking C executable device-terminal 19:02:59 [100%] Built target device-terminal 19:02:59 make: Entering directory '/tmp/sdk/build/release' 19:03:00 [ 68%] Built target csdk 19:03:00 [ 72%] Built target template 19:03:00 [ 76%] Built target device-counter 19:03:00 [ 80%] Built target device-random 19:03:00 [ 84%] Built target device-gyro 19:03:00 [ 88%] Built target device-bitfields 19:03:00 [ 92%] Built target template-discovery 19:03:00 [ 96%] Built target device-file 19:03:00 [100%] Built target device-terminal 19:03:00 Install the project... 19:03:00 -- Install configuration: "Release" 19:03:00 -- Installing: /usr/local/lib/libcsdk.so 19:03:00 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 19:03:00 -- Installing: /usr/local/include 19:03:00 -- Installing: /usr/local/include/devsdk 19:03:00 -- Installing: /usr/local/include/devsdk/devsdk.h 19:03:00 -- Installing: /usr/local/include/devsdk/devsdk-base.h 19:03:00 -- Installing: /usr/local/include/edgex 19:03:00 -- Installing: /usr/local/include/edgex/rest-server.h 19:03:00 -- Installing: /usr/local/include/edgex/edgex.h 19:03:00 -- Installing: /usr/local/include/edgex/edgex-base.h 19:03:00 -- Installing: /usr/local/include/edgex/devices.h 19:03:00 -- Installing: /usr/local/include/edgex/profiles.h 19:03:00 -- Installing: /usr/local/include/edgex/csdk-defs.h 19:03:00 -- Installing: /usr/local/share/device-sdk-c/LICENSE 19:03:00 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 19:03:00 make: Leaving directory '/tmp/sdk/build/release' 19:03:01 Removing intermediate container fe774372fee1 19:03:01 ---> 7adedc765692 19:03:01 Step 14/22 : FROM ${BASE} 19:03:01 ---> 2b552cad5dd9 19:03:01 Step 15/22 : LABEL maintainer="IOTech " 19:03:02 ---> Running in f2dbb5c2723d 19:03:02 Removing intermediate container f2dbb5c2723d 19:03:02 ---> ee553fd63b2f 19:03:02 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 19:03:02 ---> Running in 2fe6ff98f6cc 19:03:03 Connecting to iotech.jfrog.io (34.247.22.236:443) 19:03:04 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 19:03:04 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 19:03:04 '/etc/apk/keys/alpine.dev.rsa.pub' saved 19:03:04 Removing intermediate container 2fe6ff98f6cc 19:03:04 ---> 1fb671fe7799 19:03:04 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 19:03:04 ---> Running in bf4ed589a21b 19:03:06 Removing intermediate container bf4ed589a21b 19:03:06 ---> c051d9b76565 19:03:06 Step 18/22 : 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 dumb-init 19:03:06 ---> Running in b9fb15270cb2 19:03:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:03:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:03:08 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 19:03:09 WARNING: This apk-tools is OLD! Some packages might not function properly. 19:03:09 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) 19:03:09 (2/10) Installing curl (8.5.0-r0) 19:03:09 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) 19:03:09 (4/10) Installing dumb-init (1.2.5-r2) 19:03:09 (5/10) Installing hiredis (1.1.0-r2) 19:03:09 (6/10) Installing hiredis-dev (1.1.0-r2) 19:03:09 (7/10) Installing libcbor (0.10.2-r1) 19:03:09 (8/10) Installing iotech-iot-1.5 (1.5.3-r0) 19:03:10 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 19:03:10 (10/10) Installing libuuid (2.38.1-r8) 19:03:10 Executing busybox-1.36.1-r4.trigger 19:03:10 OK: 328 MiB in 90 packages 19:03:11 Removing intermediate container b9fb15270cb2 19:03:11 ---> 452b2220515a 19:03:11 Step 19/22 : RUN apk --no-cache upgrade 19:03:11 ---> Running in fd9fc86864a9 19:03:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:03:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:03:13 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 19:03:14 WARNING: This apk-tools is OLD! Some packages might not function properly. 19:03:14 (1/12) Upgrading busybox (1.36.1-r4 -> 1.36.1-r5) 19:03:14 Executing busybox-1.36.1-r5.post-upgrade 19:03:14 (2/12) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r5) 19:03:14 (3/12) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 19:03:14 (4/12) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.4-r5) 19:03:14 (5/12) Upgrading libssl3 (3.1.4-r0 -> 3.1.4-r5) 19:03:14 (6/12) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r5) 19:03:14 (7/12) Upgrading libexpat (2.5.0-r1 -> 2.6.2-r0) 19:03:14 (8/12) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 19:03:14 (9/12) Upgrading openssl-dev (3.1.4-r0 -> 3.1.4-r5) 19:03:14 (10/12) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 19:03:14 (11/12) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 19:03:14 (12/12) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 19:03:15 Executing busybox-1.36.1-r5.trigger 19:03:15 Executing ca-certificates-20240226-r0.trigger 19:03:15 OK: 328 MiB in 90 packages 19:03:16 Removing intermediate container fd9fc86864a9 19:03:16 ---> 64629202a8c0 19:03:16 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 19:03:17 ---> 81170893473a 19:03:17 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 19:03:18 ---> f552349c1eae 19:03:18 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 19:03:18 ---> 9a868bd2a282 19:03:18 Successfully built 9a868bd2a282 19:03:18 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 19:03:19 + docker inspect -f . ci-base-image-arm64 19:03:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:03:19 prd-ubuntu20.04-docker-arm64-4c-16g-1574 does not seem to be running inside a container 19:03:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@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 ******** -e ******** ci-base-image-arm64 cat 19:03:20 $ docker top fce2ebfb8aa0d2ffd9f560f70578e61060ff4fa356e7c1d42902598e69ea3621 -eo pid,comm [Pipeline] { [Pipeline] sh 19:03:21 + make test 19:03:21 echo "make test" 19:03:21 make test [Pipeline] } 19:03:21 $ docker stop --time=1 fce2ebfb8aa0d2ffd9f560f70578e61060ff4fa356e7c1d42902598e69ea3621 19:03:23 $ docker rm -f --volumes fce2ebfb8aa0d2ffd9f560f70578e61060ff4fa356e7c1d42902598e69ea3621 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:03:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:03:23 + ls -al . 19:03:23 total 208 19:03:23 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 19:00 . 19:03:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 19:00 .. 19:03:23 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 19:00 .git 19:03:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 19:00 .github 19:03:23 -rw-rw-r-- 1 jenkins jenkins 176 Mar 28 19:00 .gitignore 19:03:23 -rw-rw-r-- 1 jenkins jenkins 2908 Mar 28 19:00 Attribution.txt 19:03:23 -rw-rw-r-- 1 jenkins jenkins 11953 Mar 28 19:00 CHANGELOG.md 19:03:23 -rw-rw-r-- 1 jenkins jenkins 108574 Mar 28 19:00 Doxyfile 19:03:23 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 19:00 GOVERNANCE.md 19:03:23 -rw-rw-r-- 1 jenkins jenkins 784 Mar 28 19:00 Jenkinsfile 19:03:23 -rw-rw-r-- 1 jenkins jenkins 10174 Mar 28 19:00 LICENSE 19:03:23 -rw-rw-r-- 1 jenkins jenkins 444 Mar 28 19:00 Makefile 19:03:23 -rw-rw-r-- 1 jenkins jenkins 618 Mar 28 19:00 OWNERS.md 19:03:23 -rw-rw-r-- 1 jenkins jenkins 1651 Mar 28 19:00 README.IOT.md 19:03:23 -rw-rw-r-- 1 jenkins jenkins 4215 Mar 28 19:00 README.md 19:03:23 -rw-rw-r-- 1 jenkins jenkins 1245 Mar 28 19:00 README.v3.md 19:03:23 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 18:57 VERSION 19:03:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 19:00 docs 19:03:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 19:00 include 19:03:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 19:00 scripts 19:03:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 19:00 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:24 + 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=f95beaf80225190ec09120b30a0a2c33f7b90e1e --label arch=arm64 --label version=0.0.0 . 19:03:24 Sending build context to Docker daemon 3.008MB 19:03:24 Step 1/18 : ARG BASE=alpine:3.18 19:03:24 Step 2/18 : FROM ${BASE} 19:03:24 ---> 9a868bd2a282 19:03:24 Step 3/18 : LABEL maintainer="IOTech " 19:03:24 ---> Running in e01f8f9bf364 19:03:25 Removing intermediate container e01f8f9bf364 19:03:25 ---> 7a7f76c9a0e6 19:03:25 Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 19:03:25 ---> Running in a110fc91d710 19:03:26 Connecting to iotech.jfrog.io (54.73.4.50:443) 19:03:26 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 19:03:26 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 19:03:26 '/etc/apk/keys/alpine.dev.rsa.pub' saved 19:03:27 Removing intermediate container a110fc91d710 19:03:27 ---> 9e8d3ab65a60 19:03:27 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 19:03:27 ---> Running in a2cf8c4e39f5 19:03:29 Removing intermediate container a2cf8c4e39f5 19:03:29 ---> e8174a0f91cf 19:03:29 Step 6/18 : 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 dumb-init && mkdir -p /edgex-c-sdk/build 19:03:29 ---> Running in 2bc725a721c2 19:03:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:03:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:03:31 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 19:03:32 WARNING: This apk-tools is OLD! Some packages might not function properly. 19:03:32 (1/11) Installing iotech-iot-1.5-dev (1.5.3-r0) 19:03:32 (2/11) Installing libcbor-dev (0.10.2-r1) 19:03:32 (3/11) Installing libmenuw (6.4_p20230506-r0) 19:03:32 (4/11) Installing libpanelw (6.4_p20230506-r0) 19:03:32 (5/11) Installing libncurses++ (6.4_p20230506-r0) 19:03:32 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 19:03:32 (7/11) Installing libblkid (2.38.1-r8) 19:03:32 (8/11) Installing libfdisk (2.38.1-r8) 19:03:32 (9/11) Installing libmount (2.38.1-r8) 19:03:32 (10/11) Installing libsmartcols (2.38.1-r8) 19:03:32 (11/11) Installing util-linux-dev (2.38.1-r8) 19:03:33 Executing busybox-1.36.1-r5.trigger 19:03:33 OK: 334 MiB in 101 packages 19:03:34 Removing intermediate container 2bc725a721c2 19:03:34 ---> 3891751ebfb6 19:03:34 Step 7/18 : RUN apk --no-cache upgrade 19:03:34 ---> Running in dfb2c3f2bcf6 19:03:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:03:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:03:36 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 19:03:37 WARNING: This apk-tools is OLD! Some packages might not function properly. 19:03:37 OK: 334 MiB in 101 packages 19:03:38 Removing intermediate container dfb2c3f2bcf6 19:03:38 ---> a3c71a7f4fd2 19:03:38 Step 8/18 : COPY VERSION /edgex-c-sdk/ 19:03:38 ---> 9937f9f1ca05 19:03:38 Step 9/18 : COPY src /edgex-c-sdk/src/ 19:03:39 ---> 35bcbc16070a 19:03:39 Step 10/18 : COPY include /edgex-c-sdk/include/ 19:03:40 ---> ba53266ae086 19:03:40 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 19:03:40 ---> 6c8b7caf6e70 19:03:40 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 19:03:41 ---> 16d11ffbc923 19:03:41 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 19:03:41 ---> 5339d0781b76 19:03:41 Step 14/18 : WORKDIR /edgex-c-sdk 19:03:41 ---> Running in 9c5bb51b4c1d 19:03:42 Removing intermediate container 9c5bb51b4c1d 19:03:42 ---> c070b3412b18 19:03:42 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 19:03:42 ---> Running in 4160c76f5b4b 19:03:42 Removing intermediate container 4160c76f5b4b 19:03:42 ---> 29cce589a2b4 19:03:42 Step 16/18 : LABEL arch=arm64 19:03:42 ---> Running in 9f75b787470b 19:03:42 Removing intermediate container 9f75b787470b 19:03:42 ---> 3468ef5ddcf3 19:03:42 Step 17/18 : LABEL git_sha=f95beaf80225190ec09120b30a0a2c33f7b90e1e 19:03:42 ---> Running in e6a4400a0b77 19:03:43 Removing intermediate container e6a4400a0b77 19:03:43 ---> d6aaaf0bf224 19:03:43 Step 18/18 : LABEL version=0.0.0 19:03:43 ---> Running in 706f307cd182 19:03:43 Removing intermediate container 706f307cd182 19:03:43 ---> 155ab2c8f6d0 19:03:43 [Warning] One or more build-args [MAKE ARCH] were not consumed 19:03:43 Successfully built 155ab2c8f6d0 19:03:43 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 19:03:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:03:44 19:03:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:03:44 arm64: Pulling from edgex-lftools-log-publisher 19:03:44 8998bd30e6a1: Pulling fs layer 19:03:44 04944245beec: Pulling fs layer 19:03:44 699f458cf7ca: Pulling fs layer 19:03:44 765212b225bb: Pulling fs layer 19:03:44 f23df028b6ca: Pulling fs layer 19:03:44 d65c8cfc05b1: Pulling fs layer 19:03:44 2437ff75d9bd: Pulling fs layer 19:03:44 765212b225bb: Waiting 19:03:44 f23df028b6ca: Waiting 19:03:44 d65c8cfc05b1: Waiting 19:03:44 2437ff75d9bd: Waiting 19:03:44 04944245beec: Verifying Checksum 19:03:44 04944245beec: Download complete 19:03:44 765212b225bb: Verifying Checksum 19:03:44 765212b225bb: Download complete 19:03:44 f23df028b6ca: Download complete 19:03:44 d65c8cfc05b1: Verifying Checksum 19:03:44 d65c8cfc05b1: Download complete 19:03:45 699f458cf7ca: Verifying Checksum 19:03:45 699f458cf7ca: Download complete 19:03:45 8998bd30e6a1: Download complete 19:03:47 2437ff75d9bd: Verifying Checksum 19:03:47 2437ff75d9bd: Download complete 19:03:49 8998bd30e6a1: Pull complete 19:03:50 04944245beec: Pull complete 19:03:52 699f458cf7ca: Pull complete 19:03:52 765212b225bb: Pull complete 19:03:53 f23df028b6ca: Pull complete 19:03:53 d65c8cfc05b1: Pull complete 19:04:11 2437ff75d9bd: Pull complete 19:04:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:04:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:04:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:04:11 prd-ubuntu20.04-docker-arm64-4c-16g-1574 does not seem to be running inside a container 19:04:11 $ 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/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:04:14 $ docker top 58266e3a636f2ade6dc3b2392866a1ac3038831f786828e7d3f372eed449700d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:04:15 ---> job-cost.sh 19:04:15 lf-activate-venv: SKIPPING 19:04:15 INFO: No Stack... 19:04:16 INFO: Retrieving Pricing Info for: v3-standard-4 19:04:17 INFO: Archiving Costs [Pipeline] sh 19:04:18 + + cat /w/workspace/device-sdk-c/6/archives/cost.csv 19:04:18 cut -d, -f6 [Pipeline] lock 19:04:18 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-496-6-stack-cost] 19:04:18 Resource [jenkins-edgexfoundry-device-sdk-c-PR-496-6-stack-cost] did not exist. Created. 19:04:18 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-496-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:04:19 /w/workspace/device-sdk-c/6@tmp/durable-5d76aa11/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:04:19 + echo total: 0.10999999940395355 [Pipeline] stash 19:04:19 Warning: overwriting stash ‘stack-cost’ 19:04:20 Stashed 1 file(s) [Pipeline] } 19:04:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-496-6-stack-cost] [Pipeline] // lock [Pipeline] } 19:04:20 $ docker stop --time=1 58266e3a636f2ade6dc3b2392866a1ac3038831f786828e7d3f372eed449700d 19:04:21 $ docker rm -f --volumes 58266e3a636f2ade6dc3b2392866a1ac3038831f786828e7d3f372eed449700d [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 19:04:22 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives ] 19:04:22 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives 19:04:22 total 16 19:04:22 drwxr-xr-x 3 root root 4096 Mar 28 18:58 . 19:04:22 drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 18:58 .. 19:04:22 drwxr-xr-x 2 root root 4096 Mar 28 18:58 cost 19:04:22 -rw-r--r-- 1 root root 84 Mar 28 18:58 cost.csv 19:04:22 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives 19:04:22 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives 19:04:22 total 16 19:04:22 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 18:58 . 19:04:22 drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 18:58 .. 19:04:22 drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 18:58 cost 19:04:22 -rw-r--r-- 1 jenkins jenkins 84 Mar 28 18:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:04:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:04:23 ---> package-listing.sh 19:04:23 ++ facter osfamily 19:04:23 ++ tr '[:upper:]' '[:lower:]' 19:04:24 + OS_FAMILY=debian 19:04:24 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-496 19:04:24 + START_PACKAGES=/tmp/packages_start.txt 19:04:24 + END_PACKAGES=/tmp/packages_end.txt 19:04:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:04:24 + PACKAGES=/tmp/packages_start.txt 19:04:24 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-496 ']' 19:04:24 + PACKAGES=/tmp/packages_end.txt 19:04:24 + case "${OS_FAMILY}" in 19:04:24 + dpkg -l 19:04:24 + grep '^ii' 19:04:24 + '[' -f /tmp/packages_start.txt ']' 19:04:24 + '[' -f /tmp/packages_end.txt ']' 19:04:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:04:24 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-496 ']' 19:04:24 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives/ 19:04:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives/ [Pipeline] echo 19:04:24 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-496/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:04:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:04:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:04:25 prd-ubuntu20.04-docker-8c-8g-1571 does not seem to be running inside a container 19:04:25 $ 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-496/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-496 -v /w/workspace/edgexfoundry_device-sdk-c_PR-496:/w/workspace/edgexfoundry_device-sdk-c_PR-496:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:04:25 $ docker top cd21f581b57ff9841b820551957afdb053beac4ede954433a44042712dbcf627 -eo pid,comm [Pipeline] { [Pipeline] sh 19:04:25 + touch /tmp/pre-build-complete [Pipeline] sh 19:04:25 + mkdir -p /var/log/sysstat [Pipeline] sh 19:04:26 + ls /var/log/sa-host 19:04:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:04:26 provisioning config files... 19:04:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/config9414093284162773032tmp [Pipeline] { [Pipeline] echo 19:04:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:04:26 ---> create-netrc.sh [Pipeline] } 19:04:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:04:26 ---> python-tools-install.sh [Pipeline] echo 19:04:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:04:27 ---> sudo-logs.sh 19:04:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:04:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:04:27 ---> job-cost.sh 19:04:27 lf-activate-venv: SKIPPING 19:04:27 DEBUG: total: 0.2199999988079071 19:04:27 INFO: Retrieving Stack Cost... 19:04:28 INFO: Retrieving Pricing Info for: v3-standard-8 19:04:28 INFO: Archiving Costs [Pipeline] echo 19:04:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:04:28 ---> logs-deploy.sh 19:04:28 lf-activate-venv: SKIPPING 19:04:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-496/6 19:04:28 INFO: archiving workspace using pattern(s): 19:04:29 Archives upload complete. 19:04:29 INFO: archiving logs to Nexus