Pull request #513 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of Tylerg2471 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at b5fd43aa6b4e8069e65248caa2e7d6db03f961ef rather than f76fc440d6364581e30103e413241f79fbf200a2 Obtained Jenkinsfile from b5fd43aa6b4e8069e65248caa2e7d6db03f961ef 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-ssh623337340302878793.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh12074911578438394200.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 f3350a1713306dce7682ed7e37d5774890d03277 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-513/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-513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5911396253171015445.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh14210379505896365614.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-513/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-513/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7565959153964972558.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-10614 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [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-513 # 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/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit f76fc440d6364581e30103e413241f79fbf200a2 Merge succeeded, producing f76fc440d6364581e30103e413241f79fbf200a2 Checking out Revision f76fc440d6364581e30103e413241f79fbf200a2 (PR-513) > git config core.sparsecheckout # timeout=10 > git checkout -f f76fc440d6364581e30103e413241f79fbf200a2 # 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 b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f76fc440d6364581e30103e413241f79fbf200a2 # timeout=10 Commit message: "feat: Update function comment" First time build. Skipping changelog. > git rev-list --no-walk e3990ef7270bffea63c659f6e7b10f2e35825ab8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:25:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:25:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:25:12 ========================================================= 14:25:12 EdgeX Global Pipelines Version Info 14:25:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:25:13 ------------------- 14:25:13 stable info: 14:25:13 ------------------- 14:25:13 Commited By: Cherry Wang cherry@iotechsys.com 14:25:13 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 14:25:13 Message: update stable to v1.0.263 14:25:14 ------------------- 14:25:14 experimental info: 14:25:14 ------------------- 14:25:14 Commited By: Cherry Wang cherry@iotechsys.com 14:25:14 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 14:25:14 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:25:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 14:25:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 14:25:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:25:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:25:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:25:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 14:25:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 14:25:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:25:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:25:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 14:25:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:25:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:25:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:25:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:25:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:25:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:25:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:25:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-513 [Pipeline] echo 14:25:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-513 [Pipeline] echo 14:25:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-513 [Pipeline] echo 14:25:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f76fc440d6364581e30103e413241f79fbf200a2 [Pipeline] echo 14:25:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f76fc44 [Pipeline] echo 14:25:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:25:15 provisioning config files... 14:25:15 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config5577565290501631751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:25:15 ---> ****-login.sh 14:25:15 nexus3.edgexfoundry.org:10001 14:25:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:25:16 Configure a credential helper to remove this warning. See 14:25:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:25:16 14:25:16 Login Succeeded 14:25:16 nexus3.edgexfoundry.org:10002 14:25:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:25:16 Configure a credential helper to remove this warning. See 14:25:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:25:16 14:25:16 Login Succeeded 14:25:16 nexus3.edgexfoundry.org:10003 14:25:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:25:16 Configure a credential helper to remove this warning. See 14:25:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:25:16 14:25:16 Login Succeeded 14:25:16 nexus3.edgexfoundry.org:10004 14:25:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:25:16 Configure a credential helper to remove this warning. See 14:25:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:25:16 14:25:16 Login Succeeded 14:25:16 ****.io 14:25:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:25:16 Configure a credential helper to remove this warning. See 14:25:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:25:16 14:25:16 Login Succeeded 14:25:16 ---> ****-login.sh ends [Pipeline] } 14:25:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 14:25:17 + git rev-list -1 --merges f76fc440d6364581e30103e413241f79fbf200a2~1..f76fc440d6364581e30103e413241f79fbf200a2 [Pipeline] echo 14:25:17 -----------> git rev-list -1 --merges f76fc440d6364581e30103e413241f79fbf200a2~1..f76fc440d6364581e30103e413241f79fbf200a2 f76fc440d6364581e30103e413241f79fbf200a2 [false] [Pipeline] sh 14:25:17 + git log --format=format:%s -1 f76fc440d6364581e30103e413241f79fbf200a2 [Pipeline] echo 14:25:17 ========================================================= 14:25:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:25:17 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:25:17 + git rev-list -1 --merges f76fc440d6364581e30103e413241f79fbf200a2~1..f76fc440d6364581e30103e413241f79fbf200a2 [Pipeline] echo 14:25:18 -----------> git rev-list -1 --merges f76fc440d6364581e30103e413241f79fbf200a2~1..f76fc440d6364581e30103e413241f79fbf200a2 f76fc440d6364581e30103e413241f79fbf200a2 [false] [Pipeline] sh 14:25:18 + git log --format=format:%s -1 f76fc440d6364581e30103e413241f79fbf200a2 [Pipeline] echo 14:25:18 ========================================================= 14:25:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:25:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 14:25:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:25:18 + grep -v github /etc/ssh/ssh_known_hosts 14:25:18 + [ -e /tmp/ssh_known_hosts ] 14:25:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:25:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:25:18 + sudo tee -a /etc/ssh/ssh_known_hosts 14:25:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:25:19 14:25:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:25:19 0.1.4: Pulling from edgex-devops/py-git-semver 14:25:19 b85a868b505f: Pulling fs layer 14:25:19 e2be974225ed: Pulling fs layer 14:25:19 339a4e72a1f5: Pulling fs layer 14:25:19 988bab9f4d93: Pulling fs layer 14:25:19 1469e6f7b9e6: Pulling fs layer 14:25:19 eaf3925da568: Pulling fs layer 14:25:19 bab4dde63d76: Pulling fs layer 14:25:19 bde34c3a00c8: Pulling fs layer 14:25:19 b352a97aabf1: Pulling fs layer 14:25:19 4872d77fe225: Pulling fs layer 14:25:19 5851b861e8e6: Pulling fs layer 14:25:19 988bab9f4d93: Waiting 14:25:19 1469e6f7b9e6: Waiting 14:25:19 eaf3925da568: Waiting 14:25:19 bab4dde63d76: Waiting 14:25:19 bde34c3a00c8: Waiting 14:25:19 5851b861e8e6: Waiting 14:25:19 4872d77fe225: Waiting 14:25:19 b352a97aabf1: Waiting 14:25:19 e2be974225ed: Download complete 14:25:19 988bab9f4d93: Download complete 14:25:19 1469e6f7b9e6: Verifying Checksum 14:25:19 1469e6f7b9e6: Download complete 14:25:19 339a4e72a1f5: Verifying Checksum 14:25:19 339a4e72a1f5: Download complete 14:25:19 eaf3925da568: Download complete 14:25:19 bde34c3a00c8: Verifying Checksum 14:25:19 bde34c3a00c8: Download complete 14:25:19 b352a97aabf1: Download complete 14:25:19 4872d77fe225: Verifying Checksum 14:25:19 4872d77fe225: Download complete 14:25:19 5851b861e8e6: Verifying Checksum 14:25:19 5851b861e8e6: Download complete 14:25:19 b85a868b505f: Download complete 14:25:20 bab4dde63d76: Verifying Checksum 14:25:20 bab4dde63d76: Download complete 14:25:20 b85a868b505f: Pull complete 14:25:21 e2be974225ed: Pull complete 14:25:21 339a4e72a1f5: Pull complete 14:25:21 988bab9f4d93: Pull complete 14:25:21 1469e6f7b9e6: Pull complete 14:25:21 eaf3925da568: Pull complete 14:25:23 bab4dde63d76: Pull complete 14:25:23 bde34c3a00c8: Pull complete 14:25:24 b352a97aabf1: Pull complete 14:25:24 4872d77fe225: Pull complete 14:25:24 5851b861e8e6: Pull complete 14:25:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:25:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:25:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:25:24 prd-ubuntu20.04-docker-8c-8g-10614 does not seem to be running inside a container 14:25:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:25:29 $ docker top c59549661509b378048b284755c0543c2f36a663095f7726aaa8b2640a662e52 -eo pid,comm 14:25:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 14:25:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:25:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:25:29 [ssh-agent] Looking for ssh-agent implementation... 14:25:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:25:29 $ docker exec c59549661509b378048b284755c0543c2f36a663095f7726aaa8b2640a662e52 ssh-agent 14:25:29 SSH_AUTH_SOCK=/tmp/ssh-hjuwLETYBmW2/agent.31 14:25:29 SSH_AGENT_PID=37 14:25:29 Running ssh-add (command line suppressed) 14:25:29 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_6848550911446654090.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_6848550911446654090.key) 14:25:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:25:29 + git tag --points-at HEAD [Pipeline] } 14:25:29 $ docker exec --env ******** --env ******** c59549661509b378048b284755c0543c2f36a663095f7726aaa8b2640a662e52 ssh-agent -k 14:25:30 unset SSH_AUTH_SOCK; 14:25:30 unset SSH_AGENT_PID; 14:25:30 echo Agent pid 37 killed; 14:25:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:25:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:25:30 [ssh-agent] Looking for ssh-agent implementation... 14:25:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:25:30 $ docker exec c59549661509b378048b284755c0543c2f36a663095f7726aaa8b2640a662e52 ssh-agent 14:25:30 SSH_AUTH_SOCK=/tmp/ssh-PwAQfpBBDyUW/agent.70 14:25:30 SSH_AGENT_PID=76 14:25:30 Running ssh-add (command line suppressed) 14:25:30 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_5756339909325368667.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_5756339909325368667.key) 14:25:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:25:30 + git semver init 14:25:31 2024-09-18 14:25:30,923 [run_init] DEBUG init version:0.0.0 force:False 14:25:31 2024-09-18 14:25:30,924 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver 14:25:31 2024-09-18 14:25:30,924 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver 14:25:31 2024-09-18 14:25:30,924 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513, universal_newlines=False, shell=None, istream=None) 14:25:31 2024-09-18 14:25:31,705 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.git/info/exclude 14:25:31 2024-09-18 14:25:31,706 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 with force:False 14:25:31 2024-09-18 14:25:31,706 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 14:25:31 2024-09-18 14:25:31,710 [execute] INFO git cat-file --batch-check 14:25:31 2024-09-18 14:25:31,711 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver, universal_newlines=False, shell=None, istream=) 14:25:31 2024-09-18 14:25:31,717 [execute] INFO git cat-file --batch 14:25:31 2024-09-18 14:25:31,717 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver, universal_newlines=False, shell=None, istream=) 14:25:31 2024-09-18 14:25:31,721 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 14:25:31 0.0.0 [Pipeline] } 14:25:31 $ docker exec --env ******** --env ******** c59549661509b378048b284755c0543c2f36a663095f7726aaa8b2640a662e52 ssh-agent -k 14:25:32 unset SSH_AUTH_SOCK; 14:25:32 unset SSH_AGENT_PID; 14:25:32 echo Agent pid 76 killed; 14:25:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:25:32 + git semver [Pipeline] } 14:25:32 $ docker stop --time=1 c59549661509b378048b284755c0543c2f36a663095f7726aaa8b2640a662e52 14:25:34 $ docker rm -f --volumes c59549661509b378048b284755c0543c2f36a663095f7726aaa8b2640a662e52 [Pipeline] // withDockerContainer [Pipeline] sh 14:25:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:25:34 Stashed 1 file(s) [Pipeline] echo 14:25:34 [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 14:25:34 provisioning config files... 14:25:34 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config3794991426445214676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:25:35 ---> ****-login.sh 14:25:35 nexus3.edgexfoundry.org:10001 14:25:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:25:35 Configure a credential helper to remove this warning. See 14:25:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:25:35 14:25:35 Login Succeeded 14:25:35 nexus3.edgexfoundry.org:10002 14:25:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:25:35 Configure a credential helper to remove this warning. See 14:25:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:25:35 14:25:35 Login Succeeded 14:25:35 nexus3.edgexfoundry.org:10003 14:25:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:25:35 Configure a credential helper to remove this warning. See 14:25:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:25:35 14:25:35 Login Succeeded 14:25:35 nexus3.edgexfoundry.org:10004 14:25:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:25:35 Configure a credential helper to remove this warning. See 14:25:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:25:35 14:25:35 Login Succeeded 14:25:35 ****.io 14:25:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:25:35 Configure a credential helper to remove this warning. See 14:25:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:25:35 14:25:35 Login Succeeded 14:25:35 ---> ****-login.sh ends [Pipeline] } 14:25:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:25:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:25:35 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 14:25:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:25:35 ========================================================= 14:25:35 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 14:25:35 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:36 + 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 . 14:25:36 Sending build context to Docker daemon 5.194MB 14:25:36 Step 1/22 : ARG BASE=alpine:3.18 14:25:36 Step 2/22 : FROM ${BASE} as builder 14:25:36 latest: Pulling from edgex-devops/edgex-gcc-base 14:25:36 96526aa774ef: Pulling fs layer 14:25:36 da60e534fd72: Pulling fs layer 14:25:36 96526aa774ef: Verifying Checksum 14:25:36 96526aa774ef: Download complete 14:25:36 96526aa774ef: Pull complete 14:25:37 da60e534fd72: Verifying Checksum 14:25:37 da60e534fd72: Download complete 14:25:40 da60e534fd72: Pull complete 14:25:40 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 14:25:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 14:25:40 ---> 6605166a5db4 14:25:40 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 14:25:43 ---> Running in 5a98a9d3b139 14:25:43 Connecting to iotech.jfrog.io (34.247.22.236:443) 14:25:44 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:25:44 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:25:44 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:25:44 Removing intermediate container 5a98a9d3b139 14:25:44 ---> ae83db2ac605 14:25:44 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:25:44 ---> Running in 5f1130cd4675 14:25:45 Removing intermediate container 5f1130cd4675 14:25:45 ---> 016c4e1d5bbb 14:25:45 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 14:25:45 ---> Running in 07472a87d77e 14:25:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:25:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:25:46 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:25:46 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:25:46 (1/17) Installing hiredis (1.1.0-r2) 14:25:46 (2/17) Installing hiredis-dev (1.1.0-r2) 14:25:46 (3/17) Installing libcbor (0.10.2-r1) 14:25:46 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 14:25:47 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:25:47 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:25:47 (7/17) Installing libcbor-dev (0.10.2-r1) 14:25:47 (8/17) Installing libmenuw (6.4_p20230506-r0) 14:25:47 (9/17) Installing libpanelw (6.4_p20230506-r0) 14:25:47 (10/17) Installing libncurses++ (6.4_p20230506-r0) 14:25:47 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 14:25:47 (12/17) Installing libblkid (2.38.1-r8) 14:25:47 (13/17) Installing libuuid (2.38.1-r8) 14:25:47 (14/17) Installing libfdisk (2.38.1-r8) 14:25:47 (15/17) Installing libmount (2.38.1-r8) 14:25:47 (16/17) Installing libsmartcols (2.38.1-r8) 14:25:47 (17/17) Installing util-linux-dev (2.38.1-r8) 14:25:47 Executing busybox-1.36.1-r4.trigger 14:25:47 OK: 336 MiB in 99 packages 14:25:48 Removing intermediate container 07472a87d77e 14:25:48 ---> 6a3b9191b168 14:25:48 Step 6/22 : RUN mkdir /tmp/sdk 14:25:48 ---> Running in 0abf5d646ba7 14:25:49 Removing intermediate container 0abf5d646ba7 14:25:49 ---> 1ec92d73bb71 14:25:49 Step 7/22 : COPY VERSION /tmp/sdk 14:25:49 ---> 5e32d1993ffc 14:25:49 Step 8/22 : COPY src /tmp/sdk/src 14:25:49 ---> 8e3695f6704b 14:25:49 Step 9/22 : COPY include /tmp/sdk/include 14:25:49 Still waiting to schedule task 14:25:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:25:49 ---> 51db81061410 14:25:49 Step 10/22 : COPY scripts /tmp/sdk/scripts 14:25:49 ---> 52042d9b2895 14:25:49 Step 11/22 : COPY LICENSE /tmp/sdk 14:25:50 ---> 728941321d0f 14:25:50 Step 12/22 : COPY Attribution.txt /tmp/sdk 14:25:50 ---> 264262b4b3c9 14:25:50 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 14:25:50 ---> Running in 3f9bd6c63000 14:25:50 + CPPCHECK=false 14:25:50 + DOCGEN=false 14:25:50 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 14:25:50 + '[' 0 -gt 0 ] 14:25:50 + readlink -f ./scripts/build.sh 14:25:50 + dirname /tmp/sdk/scripts/build.sh 14:25:50 + dirname /tmp/sdk/scripts 14:25:50 + ROOT=/tmp/sdk 14:25:50 + cd /tmp/sdk 14:25:50 + mkdir -p /tmp/sdk/build/release 14:25:50 + cd /tmp/sdk/build/release 14:25:50 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 14:25:50 -- The C compiler identification is GNU 12.2.1 14:25:50 -- Detecting C compiler ABI info 14:25:50 -- Detecting C compiler ABI info - done 14:25:50 -- Check for working C compiler: /usr/bin/cc - skipped 14:25:50 -- Detecting C compile features 14:25:50 -- Detecting C compile features - done 14:25:50 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:25:50 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:25:50 -- Found LIBYAML: /usr/lib/libyaml.so 14:25:50 -- Found LIBUUID: /usr/lib/libuuid.so 14:25:50 -- Found LIBCBOR: /usr/lib/libcbor.so 14:25:50 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:25:50 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:25:50 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:25:50 -- /opt/iotech/iot/1.5/include 14:25:50 -- C SDK 0.0.0 for Linux 14:25:50 -- Performing Test CSDK_HAVE_ATOMIC 14:25:50 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:25:50 -- Found Curses: /usr/lib/libcurses.so 14:25:50 -- Configuring done (0.4s) 14:25:50 -- Generating done (0.0s) 14:25:50 -- Build files have been written to: /tmp/sdk/build/release 14:25:50 + make all package 14:25:50 + tee release.log 14:25:51 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:25:51 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:25:51 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:25:51 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:25:51 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:25:51 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:25:51 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:25:52 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 14:25:52 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 14:25:52 294 | while (privateConfig) 14:25:52 | ^~~~~~~~~~~~~ 14:25:52 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 14:25:52 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:25:52 | ^~~~~~~~~~~~~ 14:25:52 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 14:25:52 271 | while (result) 14:25:52 | ^~~~~~ 14:25:52 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 14:25:52 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 14:25:52 | ^~~~~~ 14:25:52 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:25:52 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:25:52 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:25:52 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:25:52 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:25:52 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:25:53 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:25:53 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:25:53 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:25:53 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:25:53 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:25:53 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:25:53 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:25:54 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:25:55 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:25:55 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:25:55 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:25:55 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:25:55 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:25:55 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:25:55 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:25:55 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:25:56 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:25:56 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:25:56 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:25:56 /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:25:56 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:25:56 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:25:56 /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:25:56 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:25:56 | ^ 14:25:56 /tmp/sdk/src/c/service.c:1047:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 14:25:56 1047 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 14:25:56 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:25:56 /tmp/sdk/src/c/service.c:859:68: note: 'deviceservices_config' was declared here 14:25:56 859 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 14:25:56 | ^~~~~~~~~~~~~~~~~~~~~ 14:25:56 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:25:56 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:25:56 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:25:56 [ 68%] Linking C shared library libcsdk.so 14:25:56 [ 68%] Built target csdk 14:25:56 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:25:56 /tmp/sdk/src/c/examples/template.c: In function 'main': 14:25:56 /tmp/sdk/src/c/examples/template.c:265:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] 14:25:56 265 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); 14:25:56 | ^~~~~~~~~~~~~~~~~ 14:25:56 | | 14:25:56 | void (*)(void *) 14:25:56 In file included from /tmp/sdk/src/c/examples/template.c:11: 14:25:56 /tmp/sdk/src/c/examples/../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' 14:25:56 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); 14:25:56 | ~~~~~~~~~~~~~~~~^~~~~~~~ 14:25:57 [ 72%] Linking C executable template 14:25:57 [ 72%] Built target template 14:25:57 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:25:57 [ 76%] Linking C executable device-counter 14:25:57 [ 76%] Built target device-counter 14:25:57 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:25:57 [ 80%] Linking C executable device-random 14:25:57 [ 80%] Built target device-random 14:25:57 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:25:57 [ 84%] Linking C executable device-gyro 14:25:57 [ 84%] Built target device-gyro 14:25:57 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:25:57 [ 88%] Linking C executable device-bitfields 14:25:57 [ 88%] Built target device-bitfields 14:25:57 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:25:57 /tmp/sdk/src/c/examples/discovery/template.c: In function 'main': 14:25:57 /tmp/sdk/src/c/examples/discovery/template.c:289:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] 14:25:57 289 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); 14:25:57 | ^~~~~~~~~~~~~~~~~ 14:25:57 | | 14:25:57 | void (*)(void *) 14:25:57 In file included from /tmp/sdk/src/c/examples/discovery/template.c:11: 14:25:57 /tmp/sdk/src/c/examples/discovery/../../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' 14:25:57 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); 14:25:57 | ~~~~~~~~~~~~~~~~^~~~~~~~ 14:25:57 [ 92%] Linking C executable template-discovery 14:25:58 [ 92%] Built target template-discovery 14:25:58 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:25:58 [ 96%] Linking C executable device-file 14:25:58 [ 96%] Built target device-file 14:25:58 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:25:58 [100%] Linking C executable device-terminal 14:25:58 [100%] Built target device-terminal 14:25:58 Run CPack packaging tool... 14:25:58 CPack: Create package using TGZ 14:25:58 CPack: Install projects 14:25:58 CPack: - Run preinstall target for: Csdk 14:25:58 CPack: - Install project: Csdk [] 14:25:58 CPack: Create package 14:25:58 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 14:25:58 + '[' false '=' true ] 14:25:58 + '[' false '=' true ] 14:25:58 + mkdir -p /tmp/sdk/build/debug 14:25:58 + cd /tmp/sdk/build/debug 14:25:58 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 14:25:58 -- The C compiler identification is GNU 12.2.1 14:25:58 -- Detecting C compiler ABI info 14:25:58 -- Detecting C compiler ABI info - done 14:25:58 -- Check for working C compiler: /usr/bin/cc - skipped 14:25:58 -- Detecting C compile features 14:25:58 -- Detecting C compile features - done 14:25:58 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 14:25:58 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 14:25:58 -- Found LIBYAML: /usr/lib/libyaml.so 14:25:58 -- Found LIBUUID: /usr/lib/libuuid.so 14:25:58 -- Found LIBCBOR: /usr/lib/libcbor.so 14:25:58 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 14:25:58 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 14:25:58 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 14:25:58 -- /opt/iotech/iot/1.5/include 14:25:58 -- C SDK 0.0.0 for Linux 14:25:58 -- Performing Test CSDK_HAVE_ATOMIC 14:25:59 -- Performing Test CSDK_HAVE_ATOMIC - Success 14:25:59 -- Found Curses: /usr/lib/libcurses.so 14:25:59 -- Configuring done (0.4s) 14:25:59 -- Generating done (0.0s) 14:25:59 -- Build files have been written to: /tmp/sdk/build/debug 14:25:59 + tee debug.log 14:25:59 + make 14:25:59 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 14:25:59 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 14:25:59 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 14:25:59 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 14:25:59 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 14:25:59 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 14:25:59 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 14:25:59 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 14:25:59 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 14:25:59 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 14:25:59 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 14:26:00 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 14:26:00 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 14:26:00 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 14:26:00 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 14:26:00 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 14:26:00 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 14:26:00 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 14:26:00 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 14:26:00 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 14:26:00 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 14:26:01 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 14:26:01 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 14:26:01 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 14:26:01 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 14:26:01 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 14:26:01 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 14:26:01 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 14:26:01 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 14:26:01 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 14:26:01 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 14:26:02 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 14:26:02 /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:26:02 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 14:26:02 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 14:26:02 /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 14:26:02 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 14:26:02 | ^ 14:26:02 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 14:26:02 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 14:26:02 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 14:26:02 [ 68%] Linking C shared library libcsdk.so 14:26:02 [ 68%] Built target csdk 14:26:02 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 14:26:02 /tmp/sdk/src/c/examples/template.c: In function 'main': 14:26:02 /tmp/sdk/src/c/examples/template.c:265:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] 14:26:02 265 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); 14:26:02 | ^~~~~~~~~~~~~~~~~ 14:26:02 | | 14:26:02 | void (*)(void *) 14:26:02 In file included from /tmp/sdk/src/c/examples/template.c:11: 14:26:02 /tmp/sdk/src/c/examples/../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' 14:26:02 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); 14:26:02 | ~~~~~~~~~~~~~~~~^~~~~~~~ 14:26:02 [ 72%] Linking C executable template 14:26:02 [ 72%] Built target template 14:26:02 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 14:26:02 [ 76%] Linking C executable device-counter 14:26:02 [ 76%] Built target device-counter 14:26:02 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 14:26:02 [ 80%] Linking C executable device-random 14:26:02 [ 80%] Built target device-random 14:26:02 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 14:26:02 [ 84%] Linking C executable device-gyro 14:26:02 [ 84%] Built target device-gyro 14:26:02 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 14:26:03 [ 88%] Linking C executable device-bitfields 14:26:03 [ 88%] Built target device-bitfields 14:26:03 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 14:26:03 /tmp/sdk/src/c/examples/discovery/template.c: In function 'main': 14:26:03 /tmp/sdk/src/c/examples/discovery/template.c:289:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] 14:26:03 289 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); 14:26:03 | ^~~~~~~~~~~~~~~~~ 14:26:03 | | 14:26:03 | void (*)(void *) 14:26:03 In file included from /tmp/sdk/src/c/examples/discovery/template.c:11: 14:26:03 /tmp/sdk/src/c/examples/discovery/../../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' 14:26:03 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); 14:26:03 | ~~~~~~~~~~~~~~~~^~~~~~~~ 14:26:03 [ 92%] Linking C executable template-discovery 14:26:03 [ 92%] Built target template-discovery 14:26:03 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 14:26:03 [ 96%] Linking C executable device-file 14:26:03 [ 96%] Built target device-file 14:26:03 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 14:26:03 [100%] Linking C executable device-terminal 14:26:03 [100%] Built target device-terminal 14:26:03 make: Entering directory '/tmp/sdk/build/release' 14:26:03 [ 68%] Built target csdk 14:26:03 [ 72%] Built target template 14:26:03 [ 76%] Built target device-counter 14:26:03 [ 80%] Built target device-random 14:26:03 [ 84%] Built target device-gyro 14:26:03 [ 88%] Built target device-bitfields 14:26:03 [ 92%] Built target template-discovery 14:26:03 [ 96%] Built target device-file 14:26:03 [100%] Built target device-terminal 14:26:03 Install the project... 14:26:03 -- Install configuration: "Release" 14:26:03 -- Installing: /usr/local/lib/libcsdk.so 14:26:03 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 14:26:03 -- Installing: /usr/local/include 14:26:03 -- Installing: /usr/local/include/devsdk 14:26:03 -- Installing: /usr/local/include/devsdk/devsdk.h 14:26:03 -- Installing: /usr/local/include/devsdk/devsdk-base.h 14:26:03 -- Installing: /usr/local/include/edgex 14:26:03 -- Installing: /usr/local/include/edgex/edgex.h 14:26:03 -- Installing: /usr/local/include/edgex/devices.h 14:26:03 -- Installing: /usr/local/include/edgex/profiles.h 14:26:03 -- Installing: /usr/local/include/edgex/edgex-base.h 14:26:03 -- Installing: /usr/local/include/edgex/rest-server.h 14:26:03 -- Installing: /usr/local/include/edgex/csdk-defs.h 14:26:03 -- Installing: /usr/local/share/device-sdk-c/LICENSE 14:26:03 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 14:26:03 make: Leaving directory '/tmp/sdk/build/release' 14:26:05 Removing intermediate container 3f9bd6c63000 14:26:05 ---> dfc02f326068 14:26:05 Step 14/22 : FROM ${BASE} 14:26:05 ---> 6605166a5db4 14:26:05 Step 15/22 : LABEL maintainer="IOTech " 14:26:05 ---> Running in ff4c8f7364d4 14:26:05 Removing intermediate container ff4c8f7364d4 14:26:05 ---> 69ed2da601e5 14:26:05 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 14:26:06 ---> Running in 4d49fc1c1f35 14:26:06 Connecting to iotech.jfrog.io (34.246.139.145:443) 14:26:06 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:26:06 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:26:06 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:26:06 Removing intermediate container 4d49fc1c1f35 14:26:06 ---> 0bb31e437ab8 14:26:06 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:26:06 ---> Running in f69729dfbc4a 14:26:07 Removing intermediate container f69729dfbc4a 14:26:07 ---> 4d378dc443dd 14:26:07 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 14:26:07 ---> Running in 727da690a875 14:26:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:26:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:26:08 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:26:08 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:26:08 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) 14:26:08 (2/10) Installing curl (8.9.1-r0) 14:26:08 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) 14:26:08 (4/10) Installing dumb-init (1.2.5-r2) 14:26:08 (5/10) Installing hiredis (1.1.0-r2) 14:26:08 (6/10) Installing hiredis-dev (1.1.0-r2) 14:26:08 (7/10) Installing libcbor (0.10.2-r1) 14:26:08 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 14:26:09 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 14:26:09 (10/10) Installing libuuid (2.38.1-r8) 14:26:09 Executing busybox-1.36.1-r4.trigger 14:26:09 OK: 331 MiB in 90 packages 14:26:10 Removing intermediate container 727da690a875 14:26:10 ---> 40f5c3f04542 14:26:10 Step 19/22 : RUN apk --no-cache upgrade 14:26:10 ---> Running in 06594eaaa7ac 14:26:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:26:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:26:10 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:26:10 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:26:10 Upgrading critical system libraries and apk-tools: 14:26:10 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 14:26:10 Executing busybox-1.36.1-r4.trigger 14:26:10 Continuing the upgrade transaction with new apk-tools: 14:26:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:26:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:26:11 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:26:11 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:26:11 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 14:26:11 Executing busybox-1.36.1-r7.post-upgrade 14:26:11 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 14:26:11 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 14:26:11 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) 14:26:11 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) 14:26:11 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 14:26:11 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) 14:26:11 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) 14:26:11 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 14:26:11 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) 14:26:11 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 14:26:11 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 14:26:11 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 14:26:11 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 14:26:11 Executing busybox-1.36.1-r7.trigger 14:26:11 Executing ca-certificates-20240226-r0.trigger 14:26:11 OK: 331 MiB in 90 packages 14:26:12 Removing intermediate container 06594eaaa7ac 14:26:12 ---> d1ac4c040a88 14:26:12 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 14:26:12 ---> f85abf5dd187 14:26:12 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 14:26:13 ---> a018104ee29c 14:26:13 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 14:26:13 ---> 5cd6ca79c27d 14:26:13 Successfully built 5cd6ca79c27d 14:26:13 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 14:26:13 + docker inspect -f . ci-base-image-x86_64 14:26:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:26:13 prd-ubuntu20.04-docker-8c-8g-10614 does not seem to be running inside a container 14:26:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:26:13 $ docker top 6f460ea59c98a55a0078a37f7894c008ce73c9061658c5c100ed7487fe304214 -eo pid,comm [Pipeline] { [Pipeline] sh 14:26:14 + make test 14:26:14 echo "make test" 14:26:14 make test [Pipeline] } 14:26:14 $ docker stop --time=1 6f460ea59c98a55a0078a37f7894c008ce73c9061658c5c100ed7487fe304214 14:26:15 $ docker rm -f --volumes 6f460ea59c98a55a0078a37f7894c008ce73c9061658c5c100ed7487fe304214 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:26:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:26:16 + ls -al . 14:26:16 total 212 14:26:16 drwxrwxr-x 9 jenkins jenkins 4096 Sep 18 14:25 . 14:26:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:25 .. 14:26:16 drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 14:25 .git 14:26:16 drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 14:25 .github 14:26:16 -rw-rw-r-- 1 jenkins jenkins 176 Sep 18 14:25 .gitignore 14:26:16 drwxr-xr-x 3 jenkins jenkins 4096 Sep 18 14:25 .semver 14:26:16 -rw-rw-r-- 1 jenkins jenkins 2908 Sep 18 14:25 Attribution.txt 14:26:16 -rw-rw-r-- 1 jenkins jenkins 11953 Sep 18 14:25 CHANGELOG.md 14:26:16 -rw-rw-r-- 1 jenkins jenkins 108574 Sep 18 14:25 Doxyfile 14:26:16 -rw-rw-r-- 1 jenkins jenkins 677 Sep 18 14:25 GOVERNANCE.md 14:26:16 -rw-rw-r-- 1 jenkins jenkins 784 Sep 18 14:25 Jenkinsfile 14:26:16 -rw-rw-r-- 1 jenkins jenkins 10174 Sep 18 14:25 LICENSE 14:26:16 -rw-rw-r-- 1 jenkins jenkins 444 Sep 18 14:25 Makefile 14:26:16 -rw-rw-r-- 1 jenkins jenkins 618 Sep 18 14:25 OWNERS.md 14:26:16 -rw-rw-r-- 1 jenkins jenkins 1651 Sep 18 14:25 README.IOT.md 14:26:16 -rw-rw-r-- 1 jenkins jenkins 4215 Sep 18 14:25 README.md 14:26:16 -rw-rw-r-- 1 jenkins jenkins 1245 Sep 18 14:25 README.v3.md 14:26:16 -rw-rw-r-- 1 jenkins jenkins 5 Sep 18 14:25 VERSION 14:26:16 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 14:25 docs 14:26:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:25 include 14:26:16 drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 14:25 scripts 14:26:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:25 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:26:16 + 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=f76fc440d6364581e30103e413241f79fbf200a2 --label arch=amd64 --label version=0.0.0 . 14:26:16 Sending build context to Docker daemon 5.194MB 14:26:16 Step 1/18 : ARG BASE=alpine:3.18 14:26:16 Step 2/18 : FROM ${BASE} 14:26:16 ---> 5cd6ca79c27d 14:26:16 Step 3/18 : LABEL maintainer="IOTech " 14:26:16 ---> Running in 57ab0b9aa8e0 14:26:16 Removing intermediate container 57ab0b9aa8e0 14:26:16 ---> 5bc1bab0214b 14:26:16 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 14:26:17 ---> Running in d872e5e365a4 14:26:17 Connecting to iotech.jfrog.io (34.247.22.236:443) 14:26:17 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 14:26:17 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 14:26:17 '/etc/apk/keys/alpine.dev.rsa.pub' saved 14:26:18 Removing intermediate container d872e5e365a4 14:26:18 ---> 202965c5310a 14:26:18 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 14:26:18 ---> Running in 3645695e53d3 14:26:18 Removing intermediate container 3645695e53d3 14:26:18 ---> 1b938a00b489 14:26:18 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 14:26:18 ---> Running in ddebfc9c43a8 14:26:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:26:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:26:19 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:26:19 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:26:19 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 14:26:19 (2/11) Installing libcbor-dev (0.10.2-r1) 14:26:19 (3/11) Installing libmenuw (6.4_p20230506-r0) 14:26:19 (4/11) Installing libpanelw (6.4_p20230506-r0) 14:26:19 (5/11) Installing libncurses++ (6.4_p20230506-r0) 14:26:19 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 14:26:19 (7/11) Installing libblkid (2.38.1-r8) 14:26:19 (8/11) Installing libfdisk (2.38.1-r8) 14:26:20 (9/11) Installing libmount (2.38.1-r8) 14:26:20 (10/11) Installing libsmartcols (2.38.1-r8) 14:26:20 (11/11) Installing util-linux-dev (2.38.1-r8) 14:26:20 Executing busybox-1.36.1-r7.trigger 14:26:20 OK: 337 MiB in 101 packages 14:26:20 Removing intermediate container ddebfc9c43a8 14:26:20 ---> ea047f0c2f90 14:26:20 Step 7/18 : RUN apk --no-cache upgrade 14:26:20 ---> Running in 2b22cd5b71d5 14:26:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 14:26:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 14:26:20 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 14:26:21 WARNING: This apk-tools is OLD! Some packages might not function properly. 14:26:21 OK: 337 MiB in 101 packages 14:26:21 Removing intermediate container 2b22cd5b71d5 14:26:21 ---> bbab87e14d79 14:26:21 Step 8/18 : COPY VERSION /edgex-c-sdk/ 14:26:21 ---> c69c24faed7a 14:26:21 Step 9/18 : COPY src /edgex-c-sdk/src/ 14:26:22 ---> 8b42f238500b 14:26:22 Step 10/18 : COPY include /edgex-c-sdk/include/ 14:26:22 ---> edae670af41e 14:26:22 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 14:26:22 ---> 358f83464c8b 14:26:22 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 14:26:22 ---> 63e8856f7be4 14:26:22 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 14:26:22 ---> 7efc7a1b074c 14:26:22 Step 14/18 : WORKDIR /edgex-c-sdk 14:26:22 ---> Running in f1011fefde0e 14:26:22 Removing intermediate container f1011fefde0e 14:26:22 ---> 6d601ed947b0 14:26:22 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 14:26:22 ---> Running in 6c85037bb5c2 14:26:22 Removing intermediate container 6c85037bb5c2 14:26:22 ---> a482459213cd 14:26:22 Step 16/18 : LABEL arch=amd64 14:26:22 ---> Running in c87abd5370bc 14:26:22 Removing intermediate container c87abd5370bc 14:26:22 ---> b00be065563a 14:26:22 Step 17/18 : LABEL git_sha=f76fc440d6364581e30103e413241f79fbf200a2 14:26:22 ---> Running in 473cb5db719d 14:26:22 Removing intermediate container 473cb5db719d 14:26:22 ---> 3609c11febb5 14:26:22 Step 18/18 : LABEL version=0.0.0 14:26:22 ---> Running in ab5787d3fec2 14:26:23 Removing intermediate container ab5787d3fec2 14:26:23 ---> 10c9be05a505 14:26:23 [Warning] One or more build-args [MAKE ARCH] were not consumed 14:26:23 Successfully built 10c9be05a505 14:26:23 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:26:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:26:23 14:26:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:26:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:26:23 latest: Pulling from edgex-lftools-log-publisher 14:26:23 5eb5b503b376: Pulling fs layer 14:26:23 5c69ac0246d0: Pulling fs layer 14:26:23 ec43610c2a17: Pulling fs layer 14:26:23 3a2ae6a8a46f: Pulling fs layer 14:26:23 33b1e0a273af: Pulling fs layer 14:26:23 5d3b04190fa2: Pulling fs layer 14:26:23 2f39f015ded8: Pulling fs layer 14:26:23 3a2ae6a8a46f: Waiting 14:26:23 33b1e0a273af: Waiting 14:26:23 5c69ac0246d0: Download complete 14:26:23 3a2ae6a8a46f: Verifying Checksum 14:26:23 3a2ae6a8a46f: Download complete 14:26:23 33b1e0a273af: Verifying Checksum 14:26:23 33b1e0a273af: Download complete 14:26:23 5d3b04190fa2: Download complete 14:26:23 ec43610c2a17: Verifying Checksum 14:26:23 ec43610c2a17: Download complete 14:26:24 5eb5b503b376: Download complete 14:26:24 2f39f015ded8: Download complete 14:26:25 5eb5b503b376: Pull complete 14:26:25 5c69ac0246d0: Pull complete 14:26:26 ec43610c2a17: Pull complete 14:26:26 3a2ae6a8a46f: Pull complete 14:26:26 33b1e0a273af: Pull complete 14:26:26 5d3b04190fa2: Pull complete 14:26:30 2f39f015ded8: Pull complete 14:26:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:26:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:26:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:26:31 prd-ubuntu20.04-docker-8c-8g-10614 does not seem to be running inside a container 14:26:31 $ 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-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:26:34 $ docker top e39d99211bb917e5a62526fd78ec35b3033b128f4ef686d4addde013b7f9db9e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:26:35 ---> job-cost.sh 14:26:35 lf-activate-venv: SKIPPING 14:26:35 INFO: No Stack... 14:26:35 INFO: Retrieving Pricing Info for: v3-standard-8 14:26:35 INFO: Archiving Costs [Pipeline] sh 14:26:36 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/cost.csv 14:26:36 + cut -d, -f6 [Pipeline] lock 14:26:36 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-3-stack-cost] 14:26:36 Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-3-stack-cost] did not exist. Created. 14:26:36 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:26:36 + echo total: 0.2199999988079071 [Pipeline] stash 14:26:36 Stashed 1 file(s) [Pipeline] } 14:26:36 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-3-stack-cost] [Pipeline] // lock [Pipeline] } 14:26:36 $ docker stop --time=1 e39d99211bb917e5a62526fd78ec35b3033b128f4ef686d4addde013b7f9db9e 14:26:37 $ docker rm -f --volumes e39d99211bb917e5a62526fd78ec35b3033b128f4ef686d4addde013b7f9db9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:27:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10615 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [Pipeline] { [Pipeline] ws 14:27:16 Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout 14:27:19 Selected Git installation does not exist. Using Default 14:27:19 The recommended git tool is: NONE 14:27:23 using credential edgex-jenkins-ssh 14:27:23 Cloning the remote Git repository 14:27:24 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 14:27:24 > git init /w/workspace/device-sdk-c/3 # timeout=10 14:27:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:27:24 > git --version # timeout=10 14:27:24 > git --version # 'git version 2.25.1' 14:27:24 using GIT_SSH to set credentials SSH Credentials for GitHub 14:27:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:27:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:27:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:27:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 14:27:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 14:27:26 using GIT_SSH to set credentials SSH Credentials for GitHub 14:27:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:27:26 Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit f76fc440d6364581e30103e413241f79fbf200a2 14:27:27 ERROR: Checkout failed 14:27:27 hudson.plugins.git.GitException: Command "git checkout -f f76fc440d6364581e30103e413241f79fbf200a2" returned status code 128: 14:27:27 stdout: 14:27:27 stderr: fatal: reference is not a tree: f76fc440d6364581e30103e413241f79fbf200a2 14:27:27 14:27:27 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2846) 14:27:27 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:3174) 14:27:27 Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to prd-ubuntu20.04-docker-arm64-4c-16g-10615 14:27:27 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1787) 14:27:27 at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356) 14:27:27 at hudson.remoting.Channel.call(Channel.java:1003) 14:27:27 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:153) 14:27:27 at jdk.internal.reflect.GeneratedMethodAccessor684.invoke(Unknown Source) 14:27:27 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 14:27:27 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 14:27:27 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:138) 14:27:27 at com.sun.proxy.$Proxy230.execute(Unknown Source) 14:27:27 at jenkins.plugins.git.MergeWithGitSCMExtension.checkout(MergeWithGitSCMExtension.java:144) 14:27:27 at jenkins.plugins.git.MergeWithGitSCMExtension.decorateRevisionToBuild(MergeWithGitSCMExtension.java:110) 14:27:27 at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:1162) 14:27:27 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1306) 14:27:27 at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:136) 14:27:27 at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:101) 14:27:27 at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:88) 14:27:27 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) 14:27:27 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) 14:27:27 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) 14:27:27 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 14:27:27 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 14:27:27 at java.base/java.lang.Thread.run(Thread.java:829) 14:27:27 Caused: hudson.plugins.git.GitException: Could not checkout f76fc440d6364581e30103e413241f79fbf200a2 14:27:27 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:3202) 14:27:27 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:170) 14:27:27 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:161) 14:27:27 at hudson.remoting.UserRequest.perform(UserRequest.java:211) 14:27:27 at hudson.remoting.UserRequest.perform(UserRequest.java:54) 14:27:27 at hudson.remoting.Request$2.run(Request.java:377) 14:27:27 at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78) 14:27:27 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) 14:27:27 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) 14:27:27 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) 14:27:27 at java.base/java.lang.Thread.run(Thread.java:829) 14:27:27 ERROR: Maximum checkout retry attempts reached, aborting [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:27:27 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:27:27 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives ] 14:27:27 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives 14:27:27 total 16 14:27:27 drwxr-xr-x 3 root root 4096 Sep 18 14:26 . 14:27:27 drwxrwxr-x 10 jenkins jenkins 4096 Sep 18 14:26 .. 14:27:27 drwxr-xr-x 2 root root 4096 Sep 18 14:26 cost 14:27:27 -rw-r--r-- 1 root root 84 Sep 18 14:26 cost.csv 14:27:27 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives 14:27:27 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives 14:27:27 total 16 14:27:27 drwxr-xr-x 3 jenkins jenkins 4096 Sep 18 14:26 . 14:27:27 drwxrwxr-x 10 jenkins jenkins 4096 Sep 18 14:26 .. 14:27:27 drwxr-xr-x 2 jenkins jenkins 4096 Sep 18 14:26 cost 14:27:27 -rw-r--r-- 1 jenkins jenkins 84 Sep 18 14:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:27:27 > git config core.sparsecheckout # timeout=10 14:27:27 > git checkout -f f76fc440d6364581e30103e413241f79fbf200a2 # timeout=10 14:27:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:27:28 ---> package-listing.sh 14:27:28 ++ facter osfamily 14:27:28 ++ tr '[:upper:]' '[:lower:]' 14:27:29 + OS_FAMILY=debian 14:27:29 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-513 14:27:29 + START_PACKAGES=/tmp/packages_start.txt 14:27:29 + END_PACKAGES=/tmp/packages_end.txt 14:27:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:27:29 + PACKAGES=/tmp/packages_start.txt 14:27:29 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' 14:27:29 + PACKAGES=/tmp/packages_end.txt 14:27:29 + case "${OS_FAMILY}" in 14:27:29 + dpkg -l 14:27:29 + grep '^ii' 14:27:29 + '[' -f /tmp/packages_start.txt ']' 14:27:29 + '[' -f /tmp/packages_end.txt ']' 14:27:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:27:29 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' 14:27:29 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/ 14:27:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/ [Pipeline] echo 14:27:29 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-513/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:27:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:27:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:27:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:27:30 prd-ubuntu20.04-docker-8c-8g-10614 does not seem to be running inside a container 14:27:30 $ 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-513/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-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:27:30 $ docker top c5b19c53f37a9acd47f0c675c6d3a249ed17728295749a4acda8752e112adfff -eo pid,comm [Pipeline] { [Pipeline] sh 14:27:30 + touch /tmp/pre-build-complete [Pipeline] sh 14:27:30 + mkdir -p /var/log/sysstat [Pipeline] sh 14:27:31 + ls /var/log/sa-host 14:27:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:27:31 provisioning config files... 14:27:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config6832511802319498080tmp [Pipeline] { [Pipeline] echo 14:27:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:27:31 ---> create-netrc.sh [Pipeline] } 14:27:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:27:32 ---> python-tools-install.sh [Pipeline] echo 14:27:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:27:32 ---> sudo-logs.sh 14:27:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:27:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:27:32 ---> job-cost.sh 14:27:32 lf-activate-venv: SKIPPING 14:27:32 DEBUG: total: 0.2199999988079071 14:27:32 INFO: Retrieving Stack Cost... 14:27:33 INFO: Retrieving Pricing Info for: v3-standard-8 14:27:33 INFO: Archiving Costs [Pipeline] echo 14:27:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:27:33 ---> logs-deploy.sh 14:27:33 lf-activate-venv: SKIPPING 14:27:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-513/3 14:27:33 INFO: archiving workspace using pattern(s): 14:27:34 Archives upload complete. 14:27:34 INFO: archiving logs to Nexus