Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6abec0de53f1544e48264173dbee0aea1a2aa14a 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-ssh13779159016628049565.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-ssh12179104764095645153.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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16491136059798315866.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-ssh12261315949914575515.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10858963872008374437.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 ‘prd-ubuntu20.04-docker-8c-8g-2575’ Running on prd-ubuntu20.04-docker-8c-8g-2581 in /w/workspace/edgexfoundry_device-sdk-c_main [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_main # 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 Avoid second fetch Checking out Revision 6abec0de53f1544e48264173dbee0aea1a2aa14a (main) Commit message: "feat: Add optional Parent field to Device objects. (#512)" > 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 core.sparsecheckout # timeout=10 > git checkout -f 6abec0de53f1544e48264173dbee0aea1a2aa14a # timeout=10 > git rev-list --no-walk 442156b10c8e48709838cfe148b6b6cf65ecf635 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:28:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:28:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:28:05 ========================================================= 02:28:05 EdgeX Global Pipelines Version Info 02:28:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:28:06 ------------------- 02:28:06 stable info: 02:28:06 ------------------- 02:28:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:28:06 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 02:28:06 Message: update stable to v1.0.258 02:28:06 ------------------- 02:28:06 experimental info: 02:28:06 ------------------- 02:28:06 Commited By: **** collab-it+edgex@linuxfoundation.org 02:28:06 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 02:28:06 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:28:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 02:28:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 02:28:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:28:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:28:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:28:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 02:28:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 02:28:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:28:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:28:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 02:28:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:28:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:28:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:28:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:28:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:28:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:28:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:28:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:28:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:28:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:28:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6abec0de53f1544e48264173dbee0aea1a2aa14a [Pipeline] echo 02:28:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6abec0d [Pipeline] echo 02:28:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:28:07 provisioning config files... 02:28:07 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config11975116683732365541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:28:07 ---> ****-login.sh 02:28:07 nexus3.edgexfoundry.org:10001 02:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:08 Configure a credential helper to remove this warning. See 02:28:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:08 02:28:08 Login Succeeded 02:28:08 nexus3.edgexfoundry.org:10002 02:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:08 Configure a credential helper to remove this warning. See 02:28:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:08 02:28:08 Login Succeeded 02:28:08 nexus3.edgexfoundry.org:10003 02:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:08 Configure a credential helper to remove this warning. See 02:28:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:08 02:28:08 Login Succeeded 02:28:08 nexus3.edgexfoundry.org:10004 02:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:08 Configure a credential helper to remove this warning. See 02:28:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:08 02:28:08 Login Succeeded 02:28:08 ****.io 02:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:08 Configure a credential helper to remove this warning. See 02:28:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:08 02:28:08 Login Succeeded 02:28:08 ---> ****-login.sh ends [Pipeline] } 02:28:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 02:28:09 + git rev-list -1 --merges 6abec0de53f1544e48264173dbee0aea1a2aa14a~1..6abec0de53f1544e48264173dbee0aea1a2aa14a [Pipeline] echo 02:28:09 -----------> git rev-list -1 --merges 6abec0de53f1544e48264173dbee0aea1a2aa14a~1..6abec0de53f1544e48264173dbee0aea1a2aa14a 6abec0de53f1544e48264173dbee0aea1a2aa14a [false] [Pipeline] sh 02:28:09 + git log --format=format:%s -1 6abec0de53f1544e48264173dbee0aea1a2aa14a [Pipeline] echo 02:28:09 ========================================================= 02:28:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:28:09 ========================================================= 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 02:28:10 + git rev-list -1 --merges 6abec0de53f1544e48264173dbee0aea1a2aa14a~1..6abec0de53f1544e48264173dbee0aea1a2aa14a [Pipeline] echo 02:28:10 -----------> git rev-list -1 --merges 6abec0de53f1544e48264173dbee0aea1a2aa14a~1..6abec0de53f1544e48264173dbee0aea1a2aa14a 6abec0de53f1544e48264173dbee0aea1a2aa14a [false] [Pipeline] sh 02:28:10 + git log --format=format:%s -1 6abec0de53f1544e48264173dbee0aea1a2aa14a [Pipeline] echo 02:28:10 ========================================================= 02:28:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:28:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 02:28:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:28:10 + grep -v github /etc/ssh/ssh_known_hosts 02:28:10 + [ -e /tmp/ssh_known_hosts ] 02:28:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:28:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 02:28:10 sudo tee -a /etc/ssh/ssh_known_hosts 02:28:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:28:11 02:28:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:28:11 0.1.4: Pulling from edgex-devops/py-git-semver 02:28:11 b85a868b505f: Pulling fs layer 02:28:11 e2be974225ed: Pulling fs layer 02:28:11 339a4e72a1f5: Pulling fs layer 02:28:11 988bab9f4d93: Pulling fs layer 02:28:11 1469e6f7b9e6: Pulling fs layer 02:28:11 eaf3925da568: Pulling fs layer 02:28:11 bab4dde63d76: Pulling fs layer 02:28:11 bde34c3a00c8: Pulling fs layer 02:28:11 b352a97aabf1: Pulling fs layer 02:28:11 4872d77fe225: Pulling fs layer 02:28:11 5851b861e8e6: Pulling fs layer 02:28:11 988bab9f4d93: Waiting 02:28:11 1469e6f7b9e6: Waiting 02:28:11 bde34c3a00c8: Waiting 02:28:11 eaf3925da568: Waiting 02:28:11 4872d77fe225: Waiting 02:28:11 5851b861e8e6: Waiting 02:28:11 bab4dde63d76: Waiting 02:28:11 b352a97aabf1: Waiting 02:28:11 e2be974225ed: Download complete 02:28:11 988bab9f4d93: Verifying Checksum 02:28:11 988bab9f4d93: Download complete 02:28:11 1469e6f7b9e6: Verifying Checksum 02:28:11 1469e6f7b9e6: Download complete 02:28:11 339a4e72a1f5: Verifying Checksum 02:28:11 339a4e72a1f5: Download complete 02:28:11 eaf3925da568: Verifying Checksum 02:28:11 eaf3925da568: Download complete 02:28:11 bde34c3a00c8: Download complete 02:28:11 b352a97aabf1: Download complete 02:28:11 4872d77fe225: Download complete 02:28:11 5851b861e8e6: Verifying Checksum 02:28:11 5851b861e8e6: Download complete 02:28:11 b85a868b505f: Verifying Checksum 02:28:11 b85a868b505f: Download complete 02:28:12 bab4dde63d76: Verifying Checksum 02:28:12 bab4dde63d76: Download complete 02:28:13 b85a868b505f: Pull complete 02:28:13 e2be974225ed: Pull complete 02:28:13 339a4e72a1f5: Pull complete 02:28:13 988bab9f4d93: Pull complete 02:28:14 1469e6f7b9e6: Pull complete 02:28:14 eaf3925da568: Pull complete 02:28:16 bab4dde63d76: Pull complete 02:28:16 bde34c3a00c8: Pull complete 02:28:16 b352a97aabf1: Pull complete 02:28:16 4872d77fe225: Pull complete 02:28:16 5851b861e8e6: Pull complete 02:28:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:28:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:28:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:28:16 prd-ubuntu20.04-docker-8c-8g-2581 does not seem to be running inside a container 02:28:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:28:19 $ docker top 83d70b3a6560dc6d6d28c45196a8dc90c1f70db51c21b0c00da85aab172e2db8 -eo pid,comm 02:28:19 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). 02:28:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:28:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:28:19 [ssh-agent] Looking for ssh-agent implementation... 02:28:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:28:19 $ docker exec 83d70b3a6560dc6d6d28c45196a8dc90c1f70db51c21b0c00da85aab172e2db8 ssh-agent 02:28:19 SSH_AUTH_SOCK=/tmp/ssh-WXajOZqQp7Ol/agent.33 02:28:19 SSH_AGENT_PID=39 02:28:19 Running ssh-add (command line suppressed) 02:28:20 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15817612884690909207.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15817612884690909207.key) 02:28:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:28:20 + git tag --points-at HEAD [Pipeline] } 02:28:20 $ docker exec --env ******** --env ******** 83d70b3a6560dc6d6d28c45196a8dc90c1f70db51c21b0c00da85aab172e2db8 ssh-agent -k 02:28:20 unset SSH_AUTH_SOCK; 02:28:20 unset SSH_AGENT_PID; 02:28:20 echo Agent pid 39 killed; 02:28:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:28:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:28:20 [ssh-agent] Looking for ssh-agent implementation... 02:28:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:28:20 $ docker exec 83d70b3a6560dc6d6d28c45196a8dc90c1f70db51c21b0c00da85aab172e2db8 ssh-agent 02:28:20 SSH_AUTH_SOCK=/tmp/ssh-HU05SxKBjBQx/agent.73 02:28:20 SSH_AGENT_PID=79 02:28:20 Running ssh-add (command line suppressed) 02:28:20 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6758143650223714503.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6758143650223714503.key) 02:28:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:28:21 + git semver init 02:28:21 2024-04-17 02:28:21,456 [run_init] DEBUG init version:0.0.0 force:False 02:28:21 2024-04-17 02:28:21,457 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 02:28:21 2024-04-17 02:28:21,458 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 02:28:21 2024-04-17 02:28:21,459 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 02:28:22 2024-04-17 02:28:22,336 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 02:28:22 2024-04-17 02:28:22,337 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 02:28:22 2024-04-17 02:28:22,337 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 02:28:22 2024-04-17 02:28:22,337 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 02:28:22 3.0.3-dev.13 [Pipeline] } 02:28:22 $ docker exec --env ******** --env ******** 83d70b3a6560dc6d6d28c45196a8dc90c1f70db51c21b0c00da85aab172e2db8 ssh-agent -k 02:28:22 unset SSH_AUTH_SOCK; 02:28:22 unset SSH_AGENT_PID; 02:28:22 echo Agent pid 79 killed; 02:28:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:28:22 + git semver [Pipeline] } 02:28:23 $ docker stop --time=1 83d70b3a6560dc6d6d28c45196a8dc90c1f70db51c21b0c00da85aab172e2db8 02:28:24 $ docker rm -f --volumes 83d70b3a6560dc6d6d28c45196a8dc90c1f70db51c21b0c00da85aab172e2db8 [Pipeline] // withDockerContainer [Pipeline] sh 02:28:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:28:25 Stashed 1 file(s) [Pipeline] echo 02:28:25 [edgeXSemver]: initialized semver on version 3.0.3-dev.13 [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 02:28:25 provisioning config files... 02:28:25 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config8739786227673522185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:28:25 ---> ****-login.sh 02:28:25 nexus3.edgexfoundry.org:10001 02:28:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:25 Configure a credential helper to remove this warning. See 02:28:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:25 02:28:25 Login Succeeded 02:28:25 nexus3.edgexfoundry.org:10002 02:28:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:25 Configure a credential helper to remove this warning. See 02:28:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:25 02:28:25 Login Succeeded 02:28:25 nexus3.edgexfoundry.org:10003 02:28:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:25 Configure a credential helper to remove this warning. See 02:28:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:25 02:28:25 Login Succeeded 02:28:25 nexus3.edgexfoundry.org:10004 02:28:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:25 Configure a credential helper to remove this warning. See 02:28:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:25 02:28:25 Login Succeeded 02:28:25 ****.io 02:28:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:28:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:28:26 Configure a credential helper to remove this warning. See 02:28:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:28:26 02:28:26 Login Succeeded 02:28:26 ---> ****-login.sh ends [Pipeline] } 02:28:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:28:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:28:26 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 02:28:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:28:26 ========================================================= 02:28:26 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 02:28:26 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:26 + 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 . 02:28:26 Sending build context to Docker daemon 5.012MB 02:28:26 Step 1/21 : ARG BASE=alpine:3.18 02:28:26 Step 2/21 : FROM ${BASE} as builder 02:28:26 latest: Pulling from edgex-devops/edgex-gcc-base 02:28:26 96526aa774ef: Pulling fs layer 02:28:26 da60e534fd72: Pulling fs layer 02:28:26 96526aa774ef: Verifying Checksum 02:28:26 96526aa774ef: Download complete 02:28:26 96526aa774ef: Pull complete 02:28:27 da60e534fd72: Verifying Checksum 02:28:27 da60e534fd72: Download complete 02:28:31 da60e534fd72: Pull complete 02:28:31 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 02:28:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 02:28:31 ---> 6605166a5db4 02:28:31 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 02:28:32 ---> Running in 46ef06d38f4f 02:28:33 Connecting to iotech.jfrog.io (34.247.22.236:443) 02:28:33 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:28:33 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:28:33 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:28:34 Removing intermediate container 46ef06d38f4f 02:28:34 ---> e459c206f9dd 02:28:34 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 02:28:34 ---> Running in 36b9e5611a15 02:28:34 Removing intermediate container 36b9e5611a15 02:28:34 ---> 905688747548 02:28:34 Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 02:28:34 ---> Running in 6092cd34895e 02:28:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:28:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:28:35 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 02:28:35 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:28:35 (1/17) Installing hiredis (1.1.0-r2) 02:28:35 (2/17) Installing hiredis-dev (1.1.0-r2) 02:28:35 (3/17) Installing libcbor (0.10.2-r1) 02:28:35 (4/17) Installing iotech-iot-1.5 (1.5.3-r0) 02:28:36 (5/17) Installing iotech-iot-1.5-dev (1.5.3-r0) 02:28:36 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 02:28:36 (7/17) Installing libcbor-dev (0.10.2-r1) 02:28:36 (8/17) Installing libmenuw (6.4_p20230506-r0) 02:28:36 (9/17) Installing libpanelw (6.4_p20230506-r0) 02:28:36 (10/17) Installing libncurses++ (6.4_p20230506-r0) 02:28:36 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 02:28:36 (12/17) Installing libblkid (2.38.1-r8) 02:28:36 (13/17) Installing libuuid (2.38.1-r8) 02:28:36 (14/17) Installing libfdisk (2.38.1-r8) 02:28:36 (15/17) Installing libmount (2.38.1-r8) 02:28:36 (16/17) Installing libsmartcols (2.38.1-r8) 02:28:36 (17/17) Installing util-linux-dev (2.38.1-r8) 02:28:36 Executing busybox-1.36.1-r4.trigger 02:28:36 OK: 336 MiB in 99 packages 02:28:37 Removing intermediate container 6092cd34895e 02:28:37 ---> ff530cc87e77 02:28:37 Step 6/21 : RUN mkdir /tmp/sdk 02:28:37 ---> Running in b00afcb27f87 02:28:38 Removing intermediate container b00afcb27f87 02:28:38 ---> 8ff95ae341cc 02:28:38 Step 7/21 : COPY VERSION /tmp/sdk 02:28:38 ---> 64b98918f265 02:28:38 Step 8/21 : COPY src /tmp/sdk/src 02:28:38 ---> 340040260dc6 02:28:38 Step 9/21 : COPY include /tmp/sdk/include 02:28:38 ---> b992a4ffa4b0 02:28:38 Step 10/21 : COPY scripts /tmp/sdk/scripts 02:28:38 ---> edb41ab2e78b 02:28:38 Step 11/21 : COPY LICENSE /tmp/sdk 02:28:39 ---> 73e629212598 02:28:39 Step 12/21 : COPY Attribution.txt /tmp/sdk 02:28:39 ---> 99e55549ce09 02:28:39 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 02:28:39 ---> Running in 921982e54ff4 02:28:39 + CPPCHECK=false 02:28:39 + DOCGEN=false 02:28:39 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 02:28:39 + '[' 0 -gt 0 ] 02:28:39 + readlink -f ./scripts/build.sh 02:28:39 + dirname /tmp/sdk/scripts/build.sh 02:28:39 + dirname /tmp/sdk/scripts 02:28:39 + ROOT=/tmp/sdk 02:28:39 + cd /tmp/sdk 02:28:39 + mkdir -p /tmp/sdk/build/release 02:28:39 + cd /tmp/sdk/build/release 02:28:39 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 02:28:39 -- The C compiler identification is GNU 12.2.1 02:28:39 -- Detecting C compiler ABI info 02:28:39 -- Detecting C compiler ABI info - done 02:28:39 -- Check for working C compiler: /usr/bin/cc - skipped 02:28:39 -- Detecting C compile features 02:28:39 -- Detecting C compile features - done 02:28:39 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:28:39 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 02:28:39 -- Found LIBYAML: /usr/lib/libyaml.so 02:28:39 -- Found LIBUUID: /usr/lib/libuuid.so 02:28:39 -- Found LIBCBOR: /usr/lib/libcbor.so 02:28:39 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:28:39 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 02:28:39 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:28:39 -- /opt/iotech/iot/1.5/include 02:28:39 -- C SDK 3.0.3-dev.13 for Linux 02:28:39 -- Performing Test CSDK_HAVE_ATOMIC 02:28:39 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:28:39 -- Found Curses: /usr/lib/libcurses.so 02:28:39 -- Configuring done (0.4s) 02:28:39 -- Generating done (0.0s) 02:28:39 -- Build files have been written to: /tmp/sdk/build/release 02:28:39 + make all package 02:28:39 + tee release.log 02:28:39 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:28:40 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:28:40 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 02:28:40 Still waiting to schedule task 02:28:40 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2579’ is offline 02:28:40 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:28:40 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:28:40 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:28:40 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 02:28:40 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 02:28:40 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 02:28:40 294 | while (privateConfig) 02:28:40 | ^~~~~~~~~~~~~ 02:28:40 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 02:28:40 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 02:28:40 | ^~~~~~~~~~~~~ 02:28:40 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 02:28:40 271 | while (result) 02:28:40 | ^~~~~~ 02:28:40 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 02:28:40 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 02:28:40 | ^~~~~~ 02:28:40 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:28:41 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:28:41 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:28:41 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:28:41 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:28:41 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:28:41 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:28:41 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:28:42 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:28:42 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:28:42 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:28:42 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:28:42 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:28:42 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:28:44 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:28:44 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:28:44 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:28:44 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:28:44 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:28:44 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:28:44 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:28:44 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:28:44 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:28:45 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:28:45 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 02:28:45 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 02:28:45 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 02:28:45 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:28:45 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 02:28:45 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 02:28:45 | ^ 02:28:45 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 02:28:45 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 02:28:45 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:28:45 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here 02:28:45 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 02:28:45 | ^~~~~~~~~~~~~~~~~~~~~ 02:28:45 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:28:45 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:28:45 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:28:45 [ 68%] Linking C shared library libcsdk.so 02:28:45 [ 68%] Built target csdk 02:28:45 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:28:45 [ 72%] Linking C executable template 02:28:45 [ 72%] Built target template 02:28:45 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:28:46 [ 76%] Linking C executable device-counter 02:28:46 [ 76%] Built target device-counter 02:28:46 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:28:46 [ 80%] Linking C executable device-random 02:28:46 [ 80%] Built target device-random 02:28:46 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:28:46 [ 84%] Linking C executable device-gyro 02:28:46 [ 84%] Built target device-gyro 02:28:46 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:28:46 [ 88%] Linking C executable device-bitfields 02:28:46 [ 88%] Built target device-bitfields 02:28:46 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:28:46 [ 92%] Linking C executable template-discovery 02:28:46 [ 92%] Built target template-discovery 02:28:46 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:28:46 [ 96%] Linking C executable device-file 02:28:47 [ 96%] Built target device-file 02:28:47 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:28:47 [100%] Linking C executable device-terminal 02:28:47 [100%] Built target device-terminal 02:28:47 Run CPack packaging tool... 02:28:47 CPack: Create package using TGZ 02:28:47 CPack: Install projects 02:28:47 CPack: - Run preinstall target for: Csdk 02:28:47 CPack: - Install project: Csdk [] 02:28:47 CPack: Create package 02:28:47 CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.13.tar.gz generated. 02:28:47 + '[' false '=' true ] 02:28:47 + '[' false '=' true ] 02:28:47 + mkdir -p /tmp/sdk/build/debug 02:28:47 + cd /tmp/sdk/build/debug 02:28:47 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 02:28:47 -- The C compiler identification is GNU 12.2.1 02:28:47 -- Detecting C compiler ABI info 02:28:47 -- Detecting C compiler ABI info - done 02:28:47 -- Check for working C compiler: /usr/bin/cc - skipped 02:28:47 -- Detecting C compile features 02:28:47 -- Detecting C compile features - done 02:28:47 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:28:48 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 02:28:48 -- Found LIBYAML: /usr/lib/libyaml.so 02:28:48 -- Found LIBUUID: /usr/lib/libuuid.so 02:28:48 -- Found LIBCBOR: /usr/lib/libcbor.so 02:28:48 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:28:48 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 02:28:48 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:28:48 -- /opt/iotech/iot/1.5/include 02:28:48 -- C SDK 3.0.3-dev.13 for Linux 02:28:48 -- Performing Test CSDK_HAVE_ATOMIC 02:28:48 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:28:48 -- Found Curses: /usr/lib/libcurses.so 02:28:48 -- Configuring done (0.4s) 02:28:48 -- Generating done (0.0s) 02:28:48 -- Build files have been written to: /tmp/sdk/build/debug 02:28:48 + make 02:28:48 + tee debug.log 02:28:48 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:28:48 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:28:48 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 02:28:48 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:28:48 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:28:48 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:28:48 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 02:28:48 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:28:48 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:28:48 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:28:49 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:28:49 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:28:49 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:28:49 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:28:49 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:28:49 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:28:49 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:28:49 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:28:49 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:28:49 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:28:49 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:28:49 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:28:50 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:28:50 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:28:50 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:28:50 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:28:50 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:28:50 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:28:50 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:28:50 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:28:50 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:28:50 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 02:28:50 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 02:28:50 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 02:28:50 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:28:50 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 02:28:50 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 02:28:50 | ^ 02:28:50 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:28:50 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:28:50 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:28:50 [ 68%] Linking C shared library libcsdk.so 02:28:51 [ 68%] Built target csdk 02:28:51 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:28:51 [ 72%] Linking C executable template 02:28:51 [ 72%] Built target template 02:28:51 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:28:51 [ 76%] Linking C executable device-counter 02:28:51 [ 76%] Built target device-counter 02:28:51 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:28:51 [ 80%] Linking C executable device-random 02:28:51 [ 80%] Built target device-random 02:28:51 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:28:51 [ 84%] Linking C executable device-gyro 02:28:51 [ 84%] Built target device-gyro 02:28:51 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:28:51 [ 88%] Linking C executable device-bitfields 02:28:51 [ 88%] Built target device-bitfields 02:28:51 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:28:51 [ 92%] Linking C executable template-discovery 02:28:51 [ 92%] Built target template-discovery 02:28:51 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:28:51 [ 96%] Linking C executable device-file 02:28:52 [ 96%] Built target device-file 02:28:52 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:28:52 [100%] Linking C executable device-terminal 02:28:52 [100%] Built target device-terminal 02:28:52 make: Entering directory '/tmp/sdk/build/release' 02:28:52 [ 68%] Built target csdk 02:28:52 [ 72%] Built target template 02:28:52 [ 76%] Built target device-counter 02:28:52 [ 80%] Built target device-random 02:28:52 [ 84%] Built target device-gyro 02:28:52 [ 88%] Built target device-bitfields 02:28:52 [ 92%] Built target template-discovery 02:28:52 [ 96%] Built target device-file 02:28:52 [100%] Built target device-terminal 02:28:52 Install the project... 02:28:52 -- Install configuration: "Release" 02:28:52 -- Installing: /usr/local/lib/libcsdk.so 02:28:52 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 02:28:52 -- Installing: /usr/local/include 02:28:52 -- Installing: /usr/local/include/devsdk 02:28:52 -- Installing: /usr/local/include/devsdk/devsdk.h 02:28:52 -- Installing: /usr/local/include/devsdk/devsdk-base.h 02:28:52 -- Installing: /usr/local/include/edgex 02:28:52 -- Installing: /usr/local/include/edgex/edgex.h 02:28:52 -- Installing: /usr/local/include/edgex/devices.h 02:28:52 -- Installing: /usr/local/include/edgex/profiles.h 02:28:52 -- Installing: /usr/local/include/edgex/edgex-base.h 02:28:52 -- Installing: /usr/local/include/edgex/rest-server.h 02:28:52 -- Installing: /usr/local/include/edgex/csdk-defs.h 02:28:52 -- Installing: /usr/local/share/device-sdk-c/LICENSE 02:28:52 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 02:28:52 make: Leaving directory '/tmp/sdk/build/release' 02:28:53 Removing intermediate container 921982e54ff4 02:28:53 ---> 0896967bf4c0 02:28:53 Step 14/21 : FROM ${BASE} 02:28:53 ---> 6605166a5db4 02:28:53 Step 15/21 : LABEL maintainer="IOTech " 02:28:53 ---> Running in 70f36932ae48 02:28:53 Removing intermediate container 70f36932ae48 02:28:53 ---> 8f57d7f51013 02:28:53 Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 02:28:53 ---> Running in f4d294b40965 02:28:53 Connecting to iotech.jfrog.io (34.246.139.145:443) 02:28:53 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:28:53 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:28:53 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:28:54 Removing intermediate container f4d294b40965 02:28:54 ---> 17bbbc5aa6b3 02:28:54 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 02:28:54 ---> Running in 7c2b82923872 02:28:54 Removing intermediate container 7c2b82923872 02:28:54 ---> 724226d37d29 02:28:54 Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev 02:28:54 ---> Running in f32f1d339fcf 02:28:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:28:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:28:55 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 02:28:56 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:28:56 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) 02:28:56 (2/9) Installing curl (8.5.0-r0) 02:28:56 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) 02:28:56 (4/9) Installing hiredis (1.1.0-r2) 02:28:56 (5/9) Installing hiredis-dev (1.1.0-r2) 02:28:56 (6/9) Installing libcbor (0.10.2-r1) 02:28:56 (7/9) Installing iotech-iot-1.5 (1.5.3-r0) 02:28:56 (8/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 02:28:56 (9/9) Installing libuuid (2.38.1-r8) 02:28:56 Executing busybox-1.36.1-r4.trigger 02:28:56 OK: 331 MiB in 89 packages 02:28:57 Removing intermediate container f32f1d339fcf 02:28:57 ---> 82f9571155ed 02:28:57 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 02:28:57 ---> 2b006c234a70 02:28:57 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 02:28:57 ---> 3e57e6d4dbb1 02:28:57 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 02:28:57 ---> 3bb0f1e567f8 02:28:57 Successfully built 3bb0f1e567f8 02:28:57 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 02:28:58 + docker inspect -f . ci-base-image-x86_64 02:28:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:28:58 prd-ubuntu20.04-docker-8c-8g-2581 does not seem to be running inside a container 02:28:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** ci-base-image-x86_64 cat 02:28:58 $ docker top 64c95771da6320e988e85fca5c9ccc82c077f393b9165cb576f9acb670e757e7 -eo pid,comm [Pipeline] { [Pipeline] sh 02:28:58 + make test 02:28:58 echo "make test" 02:28:58 make test [Pipeline] } 02:28:58 $ docker stop --time=1 64c95771da6320e988e85fca5c9ccc82c077f393b9165cb576f9acb670e757e7 02:29:00 $ docker rm -f --volumes 64c95771da6320e988e85fca5c9ccc82c077f393b9165cb576f9acb670e757e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:29:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:29:01 + ls -al . 02:29:01 total 212 02:29:01 drwxrwxr-x 9 jenkins jenkins 4096 Apr 17 02:28 . 02:29:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 02:28 .. 02:29:01 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 02:28 .git 02:29:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 02:28 .github 02:29:01 -rw-rw-r-- 1 jenkins jenkins 176 Apr 17 02:28 .gitignore 02:29:01 drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 02:28 .semver 02:29:01 -rw-rw-r-- 1 jenkins jenkins 2908 Apr 17 02:28 Attribution.txt 02:29:01 -rw-rw-r-- 1 jenkins jenkins 11953 Apr 17 02:28 CHANGELOG.md 02:29:01 -rw-rw-r-- 1 jenkins jenkins 108574 Apr 17 02:28 Doxyfile 02:29:01 -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 02:28 GOVERNANCE.md 02:29:01 -rw-rw-r-- 1 jenkins jenkins 784 Apr 17 02:28 Jenkinsfile 02:29:01 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 17 02:28 LICENSE 02:29:01 -rw-rw-r-- 1 jenkins jenkins 444 Apr 17 02:28 Makefile 02:29:01 -rw-rw-r-- 1 jenkins jenkins 618 Apr 17 02:28 OWNERS.md 02:29:01 -rw-rw-r-- 1 jenkins jenkins 1651 Apr 17 02:28 README.IOT.md 02:29:01 -rw-rw-r-- 1 jenkins jenkins 4215 Apr 17 02:28 README.md 02:29:01 -rw-rw-r-- 1 jenkins jenkins 1245 Apr 17 02:28 README.v3.md 02:29:01 -rw-rw-r-- 1 jenkins jenkins 12 Apr 17 02:28 VERSION 02:29:01 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 02:28 docs 02:29:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 02:28 include 02:29:01 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 02:28 scripts 02:29:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 02:28 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:29:01 + 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=6abec0de53f1544e48264173dbee0aea1a2aa14a --label arch=amd64 --label version=3.0.3-dev.13 . 02:29:01 Sending build context to Docker daemon 5.012MB 02:29:01 Step 1/17 : ARG BASE=alpine:3.18 02:29:01 Step 2/17 : FROM ${BASE} 02:29:01 ---> 3bb0f1e567f8 02:29:01 Step 3/17 : LABEL maintainer="IOTech " 02:29:01 ---> Running in b9bc4c7b0ee7 02:29:01 Removing intermediate container b9bc4c7b0ee7 02:29:01 ---> 6b97bd039869 02:29:01 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 02:29:01 ---> Running in 9a0d69406a64 02:29:01 Connecting to iotech.jfrog.io (34.246.139.145:443) 02:29:02 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:29:02 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:29:02 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:29:02 Removing intermediate container 9a0d69406a64 02:29:02 ---> 33f8ae6fbde3 02:29:02 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 02:29:02 ---> Running in a5561e84f943 02:29:03 Removing intermediate container a5561e84f943 02:29:03 ---> 795d5cadba44 02:29:03 Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build 02:29:03 ---> Running in 4115db337ea3 02:29:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:29:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:29:03 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 02:29:04 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:29:04 (1/11) Installing iotech-iot-1.5-dev (1.5.3-r0) 02:29:04 (2/11) Installing libcbor-dev (0.10.2-r1) 02:29:04 (3/11) Installing libmenuw (6.4_p20230506-r0) 02:29:04 (4/11) Installing libpanelw (6.4_p20230506-r0) 02:29:04 (5/11) Installing libncurses++ (6.4_p20230506-r0) 02:29:04 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 02:29:04 (7/11) Installing libblkid (2.38.1-r8) 02:29:04 (8/11) Installing libfdisk (2.38.1-r8) 02:29:04 (9/11) Installing libmount (2.38.1-r8) 02:29:04 (10/11) Installing libsmartcols (2.38.1-r8) 02:29:04 (11/11) Installing util-linux-dev (2.38.1-r8) 02:29:04 Executing busybox-1.36.1-r4.trigger 02:29:04 OK: 336 MiB in 100 packages 02:29:04 Removing intermediate container 4115db337ea3 02:29:04 ---> 5b1000684212 02:29:04 Step 7/17 : COPY VERSION /edgex-c-sdk/ 02:29:05 ---> c03af545672d 02:29:05 Step 8/17 : COPY src /edgex-c-sdk/src/ 02:29:05 ---> fec914086636 02:29:05 Step 9/17 : COPY include /edgex-c-sdk/include/ 02:29:05 ---> b24c52e1a3cb 02:29:05 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 02:29:05 ---> bcd590061366 02:29:05 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 02:29:05 ---> 2792ac17960b 02:29:05 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 02:29:05 ---> 9f42f6a29f6a 02:29:05 Step 13/17 : WORKDIR /edgex-c-sdk 02:29:05 ---> Running in 5c380f299362 02:29:05 Removing intermediate container 5c380f299362 02:29:05 ---> 17243e227d56 02:29:05 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 02:29:05 ---> Running in 5a167889edf3 02:29:05 Removing intermediate container 5a167889edf3 02:29:05 ---> 7605ba0286a0 02:29:05 Step 15/17 : LABEL arch=amd64 02:29:05 ---> Running in a3cf200d6bd8 02:29:05 Removing intermediate container a3cf200d6bd8 02:29:05 ---> 0864378559da 02:29:05 Step 16/17 : LABEL git_sha=6abec0de53f1544e48264173dbee0aea1a2aa14a 02:29:05 ---> Running in e85e048438a8 02:29:06 Removing intermediate container e85e048438a8 02:29:06 ---> 5981b1721748 02:29:06 Step 17/17 : LABEL version=3.0.3-dev.13 02:29:06 ---> Running in a1891c00d2d9 02:29:06 Removing intermediate container a1891c00d2d9 02:29:06 ---> a178b19416bb 02:29:06 [Warning] One or more build-args [MAKE ARCH] were not consumed 02:29:06 Successfully built a178b19416bb 02:29:06 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 02:29:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:29:06 02:29:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:29:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:29:07 latest: Pulling from edgex-lftools-log-publisher 02:29:07 5eb5b503b376: Pulling fs layer 02:29:07 5c69ac0246d0: Pulling fs layer 02:29:07 ec43610c2a17: Pulling fs layer 02:29:07 3a2ae6a8a46f: Pulling fs layer 02:29:07 33b1e0a273af: Pulling fs layer 02:29:07 5d3b04190fa2: Pulling fs layer 02:29:07 2f39f015ded8: Pulling fs layer 02:29:07 3a2ae6a8a46f: Waiting 02:29:07 33b1e0a273af: Waiting 02:29:07 5d3b04190fa2: Waiting 02:29:07 2f39f015ded8: Waiting 02:29:07 5c69ac0246d0: Verifying Checksum 02:29:07 5c69ac0246d0: Download complete 02:29:07 3a2ae6a8a46f: Verifying Checksum 02:29:07 3a2ae6a8a46f: Download complete 02:29:07 33b1e0a273af: Verifying Checksum 02:29:07 33b1e0a273af: Download complete 02:29:07 5d3b04190fa2: Verifying Checksum 02:29:07 5d3b04190fa2: Download complete 02:29:07 ec43610c2a17: Verifying Checksum 02:29:07 ec43610c2a17: Download complete 02:29:07 5eb5b503b376: Verifying Checksum 02:29:07 5eb5b503b376: Download complete 02:29:07 2f39f015ded8: Verifying Checksum 02:29:07 2f39f015ded8: Download complete 02:29:08 5eb5b503b376: Pull complete 02:29:08 5c69ac0246d0: Pull complete 02:29:09 ec43610c2a17: Pull complete 02:29:09 3a2ae6a8a46f: Pull complete 02:29:09 33b1e0a273af: Pull complete 02:29:09 5d3b04190fa2: Pull complete 02:29:13 2f39f015ded8: Pull complete 02:29:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:29:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:29:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:29:13 prd-ubuntu20.04-docker-8c-8g-2581 does not seem to be running inside a container 02:29:13 $ 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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:29:18 $ docker top 8f2e14a676d4e23504d7a31da2224b1c6b698115501040b71ff57ca9c1f359d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:29:18 ---> job-cost.sh 02:29:18 lf-activate-venv: SKIPPING 02:29:18 INFO: No Stack... 02:29:18 INFO: Retrieving Pricing Info for: v3-standard-8 02:29:19 INFO: Archiving Costs [Pipeline] sh 02:29:19 + cut -d, -f6 02:29:19 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [Pipeline] lock 02:29:19 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-73-stack-cost] 02:29:19 Resource [jenkins-edgexfoundry-device-sdk-c-main-73-stack-cost] did not exist. Created. 02:29:19 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:29:19 + echo total: 0.2199999988079071 [Pipeline] stash 02:29:19 Stashed 1 file(s) [Pipeline] } 02:29:19 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-73-stack-cost] [Pipeline] // lock [Pipeline] } 02:29:19 $ docker stop --time=1 8f2e14a676d4e23504d7a31da2224b1c6b698115501040b71ff57ca9c1f359d2 02:29:20 $ docker rm -f --volumes 8f2e14a676d4e23504d7a31da2224b1c6b698115501040b71ff57ca9c1f359d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:30:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2582 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 02:30:15 Running in /w/workspace/device-sdk-c/73 [Pipeline] { [Pipeline] checkout 02:30:18 Selected Git installation does not exist. Using Default 02:30:18 The recommended git tool is: NONE 02:30:23 using credential edgex-jenkins-ssh 02:30:23 Cloning the remote Git repository 02:30:23 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 02:30:24 > git init /w/workspace/device-sdk-c/73 # timeout=10 02:30:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 02:30:24 > git --version # timeout=10 02:30:24 > git --version # 'git version 2.25.1' 02:30:24 using GIT_SSH to set credentials SSH Credentials for GitHub 02:30:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:30:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 02:30:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:30:26 Avoid second fetch 02:30:26 Checking out Revision 6abec0de53f1544e48264173dbee0aea1a2aa14a (main) 02:30:26 Commit message: "feat: Add optional Parent field to Device objects. (#512)" 02:30:26 > git config core.sparsecheckout # timeout=10 02:30:26 > git checkout -f 6abec0de53f1544e48264173dbee0aea1a2aa14a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:30:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:30:31 % Total % Received % Xferd Average Speed Time Time Time Current 02:30:31 Dload Upload Total Spent Left Speed 02:30:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97k 0 --:--:-- --:--:-- --:--:-- 97k [Pipeline] sh 02:30:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:30:32 + sudo tee /etc/docker/daemon.new 02:30:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:30:32 { 02:30:32 "registry-mirrors": [ 02:30:32 "https://nexus3.edgexfoundry.org:10001" 02:30:32 ], 02:30:32 "bip": "10.250.0.254/24", 02:30:32 "hosts": [ 02:30:32 "tcp://0.0.0.0:5555", 02:30:32 "unix:///var/run/docker.sock" 02:30:32 ], 02:30:32 "mtu": 1458, 02:30:32 "selinux-enabled": true, 02:30:32 "seccomp-profile": "/etc/docker/seccomp.json" 02:30:32 } [Pipeline] sh 02:30:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:30:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:30:51 provisioning config files... 02:30:51 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/73@tmp/config15348981603748862781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:30:51 ---> ****-login.sh 02:30:51 nexus3.edgexfoundry.org:10001 02:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:52 Configure a credential helper to remove this warning. See 02:30:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:52 02:30:52 Login Succeeded 02:30:52 nexus3.edgexfoundry.org:10002 02:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:52 Configure a credential helper to remove this warning. See 02:30:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:52 02:30:52 Login Succeeded 02:30:52 nexus3.edgexfoundry.org:10003 02:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:53 Configure a credential helper to remove this warning. See 02:30:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:53 02:30:53 Login Succeeded 02:30:53 nexus3.edgexfoundry.org:10004 02:30:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:53 Configure a credential helper to remove this warning. See 02:30:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:53 02:30:53 Login Succeeded 02:30:53 ****.io 02:30:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:53 Configure a credential helper to remove this warning. See 02:30:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:53 02:30:53 Login Succeeded 02:30:53 ---> ****-login.sh ends [Pipeline] } 02:30:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:30:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:30:54 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 02:30:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:30:54 ========================================================= 02:30:54 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 02:30:54 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:54 + 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 . 02:30:54 Sending build context to Docker daemon 3MB 02:30:55 Step 1/21 : ARG BASE=alpine:3.18 02:30:55 Step 2/21 : FROM ${BASE} as builder 02:30:55 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 02:30:55 579b34f0a95b: Pulling fs layer 02:30:55 e71477ac5e1b: Pulling fs layer 02:30:55 579b34f0a95b: Verifying Checksum 02:30:55 579b34f0a95b: Download complete 02:30:55 579b34f0a95b: Pull complete 02:30:57 e71477ac5e1b: Verifying Checksum 02:30:57 e71477ac5e1b: Download complete 02:31:10 e71477ac5e1b: Pull complete 02:31:10 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 02:31:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 02:31:10 ---> 2b552cad5dd9 02:31:10 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 02:31:10 ---> Running in e15006f6f1c3 02:31:10 Connecting to iotech.jfrog.io (54.73.4.50:443) 02:31:11 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:31:11 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:31:11 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:31:11 Removing intermediate container e15006f6f1c3 02:31:11 ---> 18a98c180059 02:31:11 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 02:31:12 ---> Running in c01860f900fd 02:31:13 Removing intermediate container c01860f900fd 02:31:13 ---> 6df8f608cf5a 02:31:13 Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 02:31:13 ---> Running in 8b178f775205 02:31:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:31:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:31:18 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 02:31:19 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:31:19 (1/17) Installing hiredis (1.1.0-r2) 02:31:19 (2/17) Installing hiredis-dev (1.1.0-r2) 02:31:19 (3/17) Installing libcbor (0.10.2-r1) 02:31:19 (4/17) Installing iotech-iot-1.5 (1.5.3-r0) 02:31:20 (5/17) Installing iotech-iot-1.5-dev (1.5.3-r0) 02:31:20 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 02:31:20 (7/17) Installing libcbor-dev (0.10.2-r1) 02:31:20 (8/17) Installing libmenuw (6.4_p20230506-r0) 02:31:20 (9/17) Installing libpanelw (6.4_p20230506-r0) 02:31:20 (10/17) Installing libncurses++ (6.4_p20230506-r0) 02:31:20 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 02:31:20 (12/17) Installing libblkid (2.38.1-r8) 02:31:20 (13/17) Installing libuuid (2.38.1-r8) 02:31:20 (14/17) Installing libfdisk (2.38.1-r8) 02:31:20 (15/17) Installing libmount (2.38.1-r8) 02:31:20 (16/17) Installing libsmartcols (2.38.1-r8) 02:31:20 (17/17) Installing util-linux-dev (2.38.1-r8) 02:31:20 Executing busybox-1.36.1-r4.trigger 02:31:20 OK: 333 MiB in 99 packages 02:31:22 Removing intermediate container 8b178f775205 02:31:22 ---> b901ee0c2fb4 02:31:22 Step 6/21 : RUN mkdir /tmp/sdk 02:31:22 ---> Running in 64a182839661 02:31:23 Removing intermediate container 64a182839661 02:31:23 ---> e8a3c8c70c86 02:31:23 Step 7/21 : COPY VERSION /tmp/sdk 02:31:24 ---> ead6b845edfe 02:31:24 Step 8/21 : COPY src /tmp/sdk/src 02:31:24 ---> 1ced5592242f 02:31:24 Step 9/21 : COPY include /tmp/sdk/include 02:31:25 ---> 04ec907b80dd 02:31:25 Step 10/21 : COPY scripts /tmp/sdk/scripts 02:31:25 ---> 6cb8a3e31c7b 02:31:25 Step 11/21 : COPY LICENSE /tmp/sdk 02:31:26 ---> ca5268e17ba9 02:31:26 Step 12/21 : COPY Attribution.txt /tmp/sdk 02:31:26 ---> 43c3d188cb10 02:31:26 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 02:31:26 ---> Running in fb057add7720 02:31:27 + CPPCHECK=false 02:31:27 + DOCGEN=false 02:31:27 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 02:31:27 + '[' 0 -gt 0 ] 02:31:27 + readlink -f ./scripts/build.sh 02:31:27 + dirname /tmp/sdk/scripts/build.sh 02:31:27 + dirname /tmp/sdk/scripts 02:31:27 + ROOT=/tmp/sdk 02:31:27 + cd /tmp/sdk 02:31:27 + mkdir -p /tmp/sdk/build/release 02:31:27 + cd /tmp/sdk/build/release 02:31:27 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 02:31:27 -- The C compiler identification is GNU 12.2.1 02:31:27 -- Detecting C compiler ABI info 02:31:28 -- Detecting C compiler ABI info - done 02:31:28 -- Check for working C compiler: /usr/bin/cc - skipped 02:31:28 -- Detecting C compile features 02:31:28 -- Detecting C compile features - done 02:31:28 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:31:28 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 02:31:28 -- Found LIBYAML: /usr/lib/libyaml.so 02:31:28 -- Found LIBUUID: /usr/lib/libuuid.so 02:31:28 -- Found LIBCBOR: /usr/lib/libcbor.so 02:31:28 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:31:28 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 02:31:28 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:31:28 -- /opt/iotech/iot/1.5/include 02:31:28 -- C SDK 3.0.3-dev.13 for Linux 02:31:28 -- Performing Test CSDK_HAVE_ATOMIC 02:31:28 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:31:29 -- Found Curses: /usr/lib/libcurses.so 02:31:29 -- Configuring done (1.7s) 02:31:29 -- Generating done (0.2s) 02:31:29 -- Build files have been written to: /tmp/sdk/build/release 02:31:29 + make all package 02:31:29 + tee release.log 02:31:29 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:31:30 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:31:31 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 02:31:31 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:31:32 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:31:33 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:31:35 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 02:31:36 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 02:31:36 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 02:31:36 294 | while (privateConfig) 02:31:36 | ^~~~~~~~~~~~~ 02:31:36 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 02:31:36 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 02:31:36 | ^~~~~~~~~~~~~ 02:31:36 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 02:31:36 271 | while (result) 02:31:36 | ^~~~~~ 02:31:36 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 02:31:36 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 02:31:36 | ^~~~~~ 02:31:36 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:31:36 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:31:37 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:31:39 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:31:40 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:31:40 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:31:41 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:31:41 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:31:42 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:31:43 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:31:45 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:31:45 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:31:46 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:31:47 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:31:53 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:31:54 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:31:54 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:31:55 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:31:55 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:31:56 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:31:58 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:31:59 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:32:00 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:32:01 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:32:01 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 02:32:01 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 02:32:01 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 02:32:01 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:32:01 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 02:32:01 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 02:32:01 | ^ 02:32:02 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 02:32:02 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 02:32:02 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:32:02 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here 02:32:02 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 02:32:02 | ^~~~~~~~~~~~~~~~~~~~~ 02:32:03 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:32:04 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:32:04 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:32:05 [ 68%] Linking C shared library libcsdk.so 02:32:05 [ 68%] Built target csdk 02:32:05 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:32:06 [ 72%] Linking C executable template 02:32:06 [ 72%] Built target template 02:32:06 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:32:07 [ 76%] Linking C executable device-counter 02:32:07 [ 76%] Built target device-counter 02:32:07 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:32:08 [ 80%] Linking C executable device-random 02:32:08 [ 80%] Built target device-random 02:32:08 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:32:08 [ 84%] Linking C executable device-gyro 02:32:09 [ 84%] Built target device-gyro 02:32:09 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:32:09 [ 88%] Linking C executable device-bitfields 02:32:10 [ 88%] Built target device-bitfields 02:32:10 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:32:10 [ 92%] Linking C executable template-discovery 02:32:11 [ 92%] Built target template-discovery 02:32:11 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:32:12 [ 96%] Linking C executable device-file 02:32:12 [ 96%] Built target device-file 02:32:12 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:32:13 [100%] Linking C executable device-terminal 02:32:13 [100%] Built target device-terminal 02:32:13 Run CPack packaging tool... 02:32:13 CPack: Create package using TGZ 02:32:13 CPack: Install projects 02:32:13 CPack: - Run preinstall target for: Csdk 02:32:14 CPack: - Install project: Csdk [] 02:32:14 CPack: Create package 02:32:14 CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.13.tar.gz generated. 02:32:14 + '[' false '=' true ] 02:32:14 + '[' false '=' true ] 02:32:14 + mkdir -p /tmp/sdk/build/debug 02:32:14 + cd /tmp/sdk/build/debug 02:32:14 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 02:32:14 -- The C compiler identification is GNU 12.2.1 02:32:14 -- Detecting C compiler ABI info 02:32:15 -- Detecting C compiler ABI info - done 02:32:15 -- Check for working C compiler: /usr/bin/cc - skipped 02:32:15 -- Detecting C compile features 02:32:15 -- Detecting C compile features - done 02:32:15 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:32:15 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 02:32:15 -- Found LIBYAML: /usr/lib/libyaml.so 02:32:15 -- Found LIBUUID: /usr/lib/libuuid.so 02:32:15 -- Found LIBCBOR: /usr/lib/libcbor.so 02:32:15 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:32:15 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 02:32:15 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:32:15 -- /opt/iotech/iot/1.5/include 02:32:15 -- C SDK 3.0.3-dev.13 for Linux 02:32:15 -- Performing Test CSDK_HAVE_ATOMIC 02:32:15 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:32:16 -- Found Curses: /usr/lib/libcurses.so 02:32:16 -- Configuring done (1.7s) 02:32:16 -- Generating done (0.2s) 02:32:16 -- Build files have been written to: /tmp/sdk/build/debug 02:32:16 + make 02:32:16 + tee debug.log 02:32:16 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:32:16 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:32:17 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 02:32:17 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:32:17 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:32:18 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:32:19 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 02:32:19 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:32:19 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:32:20 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:32:20 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:32:21 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:32:21 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:32:21 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:32:22 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:32:22 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:32:22 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:32:23 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:32:23 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:32:23 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:32:24 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:32:25 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:32:25 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:32:26 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:32:26 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:32:26 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:32:27 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:32:28 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:32:28 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:32:29 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:32:29 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:32:29 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 02:32:29 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 02:32:29 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 02:32:29 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:32:29 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 02:32:29 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 02:32:29 | ^ 02:32:30 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:32:30 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:32:30 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:32:31 [ 68%] Linking C shared library libcsdk.so 02:32:31 [ 68%] Built target csdk 02:32:31 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:32:32 [ 72%] Linking C executable template 02:32:32 [ 72%] Built target template 02:32:32 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:32:32 [ 76%] Linking C executable device-counter 02:32:32 [ 76%] Built target device-counter 02:32:32 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:32:33 [ 80%] Linking C executable device-random 02:32:33 [ 80%] Built target device-random 02:32:33 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:32:33 [ 84%] Linking C executable device-gyro 02:32:34 [ 84%] Built target device-gyro 02:32:34 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:32:34 [ 88%] Linking C executable device-bitfields 02:32:34 [ 88%] Built target device-bitfields 02:32:34 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:32:35 [ 92%] Linking C executable template-discovery 02:32:35 [ 92%] Built target template-discovery 02:32:35 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:32:35 [ 96%] Linking C executable device-file 02:32:36 [ 96%] Built target device-file 02:32:36 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:32:36 [100%] Linking C executable device-terminal 02:32:36 [100%] Built target device-terminal 02:32:36 make: Entering directory '/tmp/sdk/build/release' 02:32:37 [ 68%] Built target csdk 02:32:37 [ 72%] Built target template 02:32:37 [ 76%] Built target device-counter 02:32:37 [ 80%] Built target device-random 02:32:37 [ 84%] Built target device-gyro 02:32:37 [ 88%] Built target device-bitfields 02:32:37 [ 92%] Built target template-discovery 02:32:37 [ 96%] Built target device-file 02:32:37 [100%] Built target device-terminal 02:32:37 Install the project... 02:32:37 -- Install configuration: "Release" 02:32:37 -- Installing: /usr/local/lib/libcsdk.so 02:32:37 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 02:32:37 -- Installing: /usr/local/include 02:32:37 -- Installing: /usr/local/include/devsdk 02:32:37 -- Installing: /usr/local/include/devsdk/devsdk.h 02:32:37 -- Installing: /usr/local/include/devsdk/devsdk-base.h 02:32:37 -- Installing: /usr/local/include/edgex 02:32:37 -- Installing: /usr/local/include/edgex/rest-server.h 02:32:37 -- Installing: /usr/local/include/edgex/edgex.h 02:32:37 -- Installing: /usr/local/include/edgex/edgex-base.h 02:32:37 -- Installing: /usr/local/include/edgex/devices.h 02:32:37 -- Installing: /usr/local/include/edgex/profiles.h 02:32:37 -- Installing: /usr/local/include/edgex/csdk-defs.h 02:32:37 -- Installing: /usr/local/share/device-sdk-c/LICENSE 02:32:37 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 02:32:37 make: Leaving directory '/tmp/sdk/build/release' 02:32:39 Removing intermediate container fb057add7720 02:32:39 ---> 143bb9ef575a 02:32:39 Step 14/21 : FROM ${BASE} 02:32:39 ---> 2b552cad5dd9 02:32:39 Step 15/21 : LABEL maintainer="IOTech " 02:32:39 ---> Running in 36525ccc1278 02:32:39 Removing intermediate container 36525ccc1278 02:32:39 ---> 01d2e1bf492d 02:32:39 Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 02:32:39 ---> Running in 4628728d5437 02:32:40 Connecting to iotech.jfrog.io (34.247.22.236:443) 02:32:41 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:32:41 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:32:41 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:32:41 Removing intermediate container 4628728d5437 02:32:41 ---> f2d00541fbd0 02:32:41 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 02:32:41 ---> Running in 7b862de521b5 02:32:43 Removing intermediate container 7b862de521b5 02:32:43 ---> 95de21a6cfd4 02:32:43 Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev 02:32:43 ---> Running in afb9072fd47f 02:32:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:32:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:32:45 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 02:32:46 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:32:46 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) 02:32:46 (2/9) Installing curl (8.5.0-r0) 02:32:46 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) 02:32:46 (4/9) Installing hiredis (1.1.0-r2) 02:32:46 (5/9) Installing hiredis-dev (1.1.0-r2) 02:32:46 (6/9) Installing libcbor (0.10.2-r1) 02:32:46 (7/9) Installing iotech-iot-1.5 (1.5.3-r0) 02:32:47 (8/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 02:32:47 (9/9) Installing libuuid (2.38.1-r8) 02:32:47 Executing busybox-1.36.1-r4.trigger 02:32:47 OK: 327 MiB in 89 packages 02:32:48 Removing intermediate container afb9072fd47f 02:32:48 ---> 7d8f67d33989 02:32:48 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 02:32:49 ---> ad069c047c88 02:32:49 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 02:32:49 ---> bccf0cc7dbff 02:32:49 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 02:32:50 ---> 45a9b771c6f6 02:32:50 Successfully built 45a9b771c6f6 02:32:50 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 02:32:50 + docker inspect -f . ci-base-image-arm64 02:32:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:50 prd-ubuntu20.04-docker-arm64-4c-16g-2582 does not seem to be running inside a container 02:32:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/73 -v /w/workspace/device-sdk-c/73:/w/workspace/device-sdk-c/73:rw,z -v /w/workspace/device-sdk-c/73@tmp:/w/workspace/device-sdk-c/73@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 ******** ci-base-image-arm64 cat 02:32:52 $ docker top 51c562ac43d5ff72d7ddb0926e381ef90a06f27c2a69e2bc02ad1641d21c14d1 -eo pid,comm [Pipeline] { [Pipeline] sh 02:32:53 + make test 02:32:53 echo "make test" 02:32:53 make test [Pipeline] } 02:32:53 $ docker stop --time=1 51c562ac43d5ff72d7ddb0926e381ef90a06f27c2a69e2bc02ad1641d21c14d1 02:32:54 $ docker rm -f --volumes 51c562ac43d5ff72d7ddb0926e381ef90a06f27c2a69e2bc02ad1641d21c14d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:32:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:32:55 + ls -al . 02:32:55 total 208 02:32:55 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 02:30 . 02:32:55 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 02:30 .. 02:32:55 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 02:30 .git 02:32:55 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 02:30 .github 02:32:55 -rw-rw-r-- 1 jenkins jenkins 176 Apr 17 02:30 .gitignore 02:32:55 -rw-rw-r-- 1 jenkins jenkins 2908 Apr 17 02:30 Attribution.txt 02:32:55 -rw-rw-r-- 1 jenkins jenkins 11953 Apr 17 02:30 CHANGELOG.md 02:32:55 -rw-rw-r-- 1 jenkins jenkins 108574 Apr 17 02:30 Doxyfile 02:32:55 -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 02:30 GOVERNANCE.md 02:32:55 -rw-rw-r-- 1 jenkins jenkins 784 Apr 17 02:30 Jenkinsfile 02:32:55 -rw-rw-r-- 1 jenkins jenkins 10174 Apr 17 02:30 LICENSE 02:32:55 -rw-rw-r-- 1 jenkins jenkins 444 Apr 17 02:30 Makefile 02:32:55 -rw-rw-r-- 1 jenkins jenkins 618 Apr 17 02:30 OWNERS.md 02:32:55 -rw-rw-r-- 1 jenkins jenkins 1651 Apr 17 02:30 README.IOT.md 02:32:55 -rw-rw-r-- 1 jenkins jenkins 4215 Apr 17 02:30 README.md 02:32:55 -rw-rw-r-- 1 jenkins jenkins 1245 Apr 17 02:30 README.v3.md 02:32:55 -rw-rw-r-- 1 jenkins jenkins 12 Apr 17 02:28 VERSION 02:32:55 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 02:30 docs 02:32:55 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 02:30 include 02:32:55 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 02:30 scripts 02:32:55 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 02:30 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:55 + 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=6abec0de53f1544e48264173dbee0aea1a2aa14a --label arch=arm64 --label version=3.0.3-dev.13 . 02:32:56 Sending build context to Docker daemon 3MB 02:32:56 Step 1/17 : ARG BASE=alpine:3.18 02:32:56 Step 2/17 : FROM ${BASE} 02:32:56 ---> 45a9b771c6f6 02:32:56 Step 3/17 : LABEL maintainer="IOTech " 02:32:56 ---> Running in 8c39d30464e2 02:32:56 Removing intermediate container 8c39d30464e2 02:32:56 ---> d11a71546775 02:32:56 Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 02:32:56 ---> Running in 864fbdc1c680 02:32:57 Connecting to iotech.jfrog.io (54.73.4.50:443) 02:32:58 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:32:58 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:32:58 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:32:58 Removing intermediate container 864fbdc1c680 02:32:58 ---> 2ba4407b365a 02:32:58 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 02:32:59 ---> Running in 5c3d93600b32 02:33:00 Removing intermediate container 5c3d93600b32 02:33:00 ---> cf54c4f30b25 02:33:00 Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build 02:33:00 ---> Running in e2f681733c07 02:33:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:33:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:33:02 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 02:33:03 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:33:03 (1/11) Installing iotech-iot-1.5-dev (1.5.3-r0) 02:33:03 (2/11) Installing libcbor-dev (0.10.2-r1) 02:33:03 (3/11) Installing libmenuw (6.4_p20230506-r0) 02:33:03 (4/11) Installing libpanelw (6.4_p20230506-r0) 02:33:03 (5/11) Installing libncurses++ (6.4_p20230506-r0) 02:33:03 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 02:33:03 (7/11) Installing libblkid (2.38.1-r8) 02:33:03 (8/11) Installing libfdisk (2.38.1-r8) 02:33:03 (9/11) Installing libmount (2.38.1-r8) 02:33:03 (10/11) Installing libsmartcols (2.38.1-r8) 02:33:03 (11/11) Installing util-linux-dev (2.38.1-r8) 02:33:03 Executing busybox-1.36.1-r4.trigger 02:33:03 OK: 333 MiB in 100 packages 02:33:04 Removing intermediate container e2f681733c07 02:33:04 ---> 04d5c0bf035d 02:33:04 Step 7/17 : COPY VERSION /edgex-c-sdk/ 02:33:05 ---> 0a647416d95b 02:33:05 Step 8/17 : COPY src /edgex-c-sdk/src/ 02:33:06 ---> 2c22fe2d53bc 02:33:06 Step 9/17 : COPY include /edgex-c-sdk/include/ 02:33:06 ---> 21cfe686e791 02:33:06 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 02:33:07 ---> 9817c83fec18 02:33:07 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 02:33:07 ---> 815084c27cc9 02:33:07 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 02:33:07 ---> f0ab32ff30af 02:33:07 Step 13/17 : WORKDIR /edgex-c-sdk 02:33:07 ---> Running in 18b4d1088f1c 02:33:08 Removing intermediate container 18b4d1088f1c 02:33:08 ---> 1bc11ff9d019 02:33:08 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 02:33:08 ---> Running in 27aeb4f80640 02:33:08 Removing intermediate container 27aeb4f80640 02:33:08 ---> efa96155b3bd 02:33:08 Step 15/17 : LABEL arch=arm64 02:33:08 ---> Running in edc07889b580 02:33:09 Removing intermediate container edc07889b580 02:33:09 ---> ad1adcb95b3e 02:33:09 Step 16/17 : LABEL git_sha=6abec0de53f1544e48264173dbee0aea1a2aa14a 02:33:09 ---> Running in b48f8406e649 02:33:09 Removing intermediate container b48f8406e649 02:33:09 ---> 5d78e31ee8af 02:33:09 Step 17/17 : LABEL version=3.0.3-dev.13 02:33:09 ---> Running in 2360ca3be2af 02:33:09 Removing intermediate container 2360ca3be2af 02:33:09 ---> a4e704488e1a 02:33:09 [Warning] One or more build-args [MAKE ARCH] were not consumed 02:33:09 Successfully built a4e704488e1a 02:33:09 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 02:33:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:33:10 02:33:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:33:10 arm64: Pulling from edgex-lftools-log-publisher 02:33:10 8998bd30e6a1: Pulling fs layer 02:33:10 04944245beec: Pulling fs layer 02:33:10 699f458cf7ca: Pulling fs layer 02:33:10 765212b225bb: Pulling fs layer 02:33:10 f23df028b6ca: Pulling fs layer 02:33:10 d65c8cfc05b1: Pulling fs layer 02:33:10 2437ff75d9bd: Pulling fs layer 02:33:10 f23df028b6ca: Waiting 02:33:10 d65c8cfc05b1: Waiting 02:33:10 2437ff75d9bd: Waiting 02:33:10 765212b225bb: Waiting 02:33:10 04944245beec: Verifying Checksum 02:33:10 04944245beec: Download complete 02:33:10 765212b225bb: Verifying Checksum 02:33:10 765212b225bb: Download complete 02:33:10 f23df028b6ca: Verifying Checksum 02:33:10 f23df028b6ca: Download complete 02:33:10 d65c8cfc05b1: Verifying Checksum 02:33:10 d65c8cfc05b1: Download complete 02:33:10 699f458cf7ca: Verifying Checksum 02:33:10 699f458cf7ca: Download complete 02:33:11 8998bd30e6a1: Verifying Checksum 02:33:11 8998bd30e6a1: Download complete 02:33:14 2437ff75d9bd: Verifying Checksum 02:33:14 2437ff75d9bd: Download complete 02:33:16 8998bd30e6a1: Pull complete 02:33:16 04944245beec: Pull complete 02:33:17 699f458cf7ca: Pull complete 02:33:18 765212b225bb: Pull complete 02:33:18 f23df028b6ca: Pull complete 02:33:19 d65c8cfc05b1: Pull complete 02:33:37 2437ff75d9bd: Pull complete 02:33:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:33:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:33:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:33:37 prd-ubuntu20.04-docker-arm64-4c-16g-2582 does not seem to be running inside a container 02:33:37 $ 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/73 -v /w/workspace/device-sdk-c/73:/w/workspace/device-sdk-c/73:rw,z -v /w/workspace/device-sdk-c/73@tmp:/w/workspace/device-sdk-c/73@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:33:40 $ docker top e4bdc06d737bdc063009b9232a1f189ad8793965f25918a40f9864836807d0cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:33:41 ---> job-cost.sh 02:33:41 lf-activate-venv: SKIPPING 02:33:41 INFO: No Stack... 02:33:41 INFO: Retrieving Pricing Info for: v3-standard-4 02:33:42 INFO: Archiving Costs [Pipeline] sh 02:33:42 + cat /w/workspace/device-sdk-c/73/archives/cost.csv 02:33:42 + cut -d, -f6 [Pipeline] lock 02:33:42 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-73-stack-cost] 02:33:42 Resource [jenkins-edgexfoundry-device-sdk-c-main-73-stack-cost] did not exist. Created. 02:33:42 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-73-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:33:43 /w/workspace/device-sdk-c/73@tmp/durable-e69621a7/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:33:43 + echo total: 0.10999999940395355 [Pipeline] stash 02:33:43 Warning: overwriting stash ‘stack-cost’ 02:33:44 Stashed 1 file(s) [Pipeline] } 02:33:44 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-73-stack-cost] [Pipeline] // lock [Pipeline] } 02:33:44 $ docker stop --time=1 e4bdc06d737bdc063009b9232a1f189ad8793965f25918a40f9864836807d0cc 02:33:45 $ docker rm -f --volumes e4bdc06d737bdc063009b9232a1f189ad8793965f25918a40f9864836807d0cc [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh 02:33:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:33:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:33:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:33:46 prd-ubuntu20.04-docker-8c-8g-2581 does not seem to be running inside a container 02:33:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:33:47 $ docker top d3b8e70481ee667946a263f6605b9df36997cddf532d3bcb0ea0c18da8afa299 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:33:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:33:47 [ssh-agent] Looking for ssh-agent implementation... 02:33:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:33:47 $ docker exec d3b8e70481ee667946a263f6605b9df36997cddf532d3bcb0ea0c18da8afa299 ssh-agent 02:33:47 SSH_AUTH_SOCK=/tmp/ssh-g7ikIQsMQuHl/agent.32 02:33:47 SSH_AGENT_PID=38 02:33:47 Running ssh-add (command line suppressed) 02:33:47 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13824653684711575552.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_13824653684711575552.key) 02:33:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:33:48 + git semver tag 02:33:48 2024-04-17 02:33:48,208 [run_tag] DEBUG tag force:False 02:33:48 2024-04-17 02:33:48,208 [check_head_tag] DEBUG check head tag 02:33:48 2024-04-17 02:33:48,208 [execute] INFO git cat-file --batch-check 02:33:48 2024-04-17 02:33:48,209 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 02:33:48 2024-04-17 02:33:48,212 [execute] INFO git cat-file --batch 02:33:48 2024-04-17 02:33:48,212 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 02:33:48 2024-04-17 02:33:48,227 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 02:33:48 2024-04-17 02:33:48,228 [execute] INFO git tag -a v3.0.3-dev.13 -m v3.0.3-dev.13 02:33:48 2024-04-17 02:33:48,228 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.3-dev.13', '-m', 'v3.0.3-dev.13'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 02:33:48 2024-04-17 02:33:48,233 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 02:33:48 3.0.3-dev.13 [Pipeline] } 02:33:48 $ docker exec --env ******** --env ******** d3b8e70481ee667946a263f6605b9df36997cddf532d3bcb0ea0c18da8afa299 ssh-agent -k 02:33:48 unset SSH_AUTH_SOCK; 02:33:48 unset SSH_AGENT_PID; 02:33:48 echo Agent pid 38 killed; 02:33:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:33:48 + git semver [Pipeline] } 02:33:48 $ docker stop --time=1 d3b8e70481ee667946a263f6605b9df36997cddf532d3bcb0ea0c18da8afa299 02:33:50 $ docker rm -f --volumes d3b8e70481ee667946a263f6605b9df36997cddf532d3bcb0ea0c18da8afa299 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:33:50 02:33:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:33:51 0.23.1-centos7: Pulling from edgex-lftools 02:33:51 ab5ef0e58194: Pulling fs layer 02:33:51 9712f1f96733: Pulling fs layer 02:33:51 63f879dbbcfc: Pulling fs layer 02:33:51 0d9ebad4ef96: Pulling fs layer 02:33:51 e9a5061849ea: Pulling fs layer 02:33:51 d747dcd14b5f: Pulling fs layer 02:33:51 2de7ff778b66: Pulling fs layer 02:33:51 e9a5061849ea: Waiting 02:33:51 2de7ff778b66: Waiting 02:33:51 d747dcd14b5f: Waiting 02:33:51 0d9ebad4ef96: Waiting 02:33:51 9712f1f96733: Download complete 02:33:51 63f879dbbcfc: Verifying Checksum 02:33:51 63f879dbbcfc: Download complete 02:33:51 e9a5061849ea: Verifying Checksum 02:33:51 e9a5061849ea: Download complete 02:33:51 d747dcd14b5f: Verifying Checksum 02:33:51 d747dcd14b5f: Download complete 02:33:51 ab5ef0e58194: Verifying Checksum 02:33:51 ab5ef0e58194: Download complete 02:33:51 0d9ebad4ef96: Download complete 02:33:51 2de7ff778b66: Verifying Checksum 02:33:51 2de7ff778b66: Download complete 02:33:54 ab5ef0e58194: Pull complete 02:33:54 9712f1f96733: Pull complete 02:33:55 63f879dbbcfc: Pull complete 02:33:59 0d9ebad4ef96: Pull complete 02:33:59 e9a5061849ea: Pull complete 02:33:59 d747dcd14b5f: Pull complete 02:34:00 2de7ff778b66: Pull complete 02:34:00 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:34:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:34:00 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:34:00 prd-ubuntu20.04-docker-8c-8g-2581 does not seem to be running inside a container 02:34:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:34:06 $ docker top 504470cc62c7a5f344c157f7cebf53d9374030219269bfb685a77b7253723dc9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:34:06 provisioning config files... 02:34:06 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5013984759719667773tmp 02:34:06 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15768343184970177925tmp 02:34:06 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config18054907694188634889tmp [Pipeline] { [Pipeline] echo 02:34:06 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:34:06 ---> sigul-configuration.sh 02:34:06 gpg: directory `/root/.gnupg' created 02:34:06 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:34:06 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:34:06 gpg: keyring `/root/.gnupg/secring.gpg' created 02:34:06 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:34:06 gpg: CAST5 encrypted data 02:34:06 gpg: encrypted with 1 passphrase 02:34:06 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:34:07 + mkdir /home/jenkins 02:34:07 + mkdir /home/jenkins/sigul [Pipeline] sh 02:34:07 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 02:34:07 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:34:07 ---> sigul-install.sh 02:34:07 Sigul already installed; skipping installation. [Pipeline] sh 02:34:07 + git tag --list 02:34:07 0.7.0 02:34:07 0.7.1 02:34:07 1.0.0 02:34:07 v1.0.1 02:34:07 v1.0.2 02:34:07 v1.0.3 02:34:07 v1.1.0 02:34:07 v1.1.1 02:34:07 v1.2.0 02:34:07 v1.2.1 02:34:07 v1.2.2 02:34:07 v1.3.0 02:34:07 v1.3.1 02:34:07 v2.0.0 02:34:07 v2.1.0 02:34:07 v2.2.0 02:34:07 v2.3.0 02:34:07 v3.0 02:34:07 v3.0.0 02:34:07 v3.0.1 02:34:07 v3.0.2 02:34:07 v3.0.3-dev.1 02:34:07 v3.0.3-dev.10 02:34:07 v3.0.3-dev.11 02:34:07 v3.0.3-dev.12 02:34:07 v3.0.3-dev.13 02:34:07 v3.0.3-dev.2 02:34:07 v3.0.3-dev.3 02:34:07 v3.0.3-dev.4 02:34:07 v3.0.3-dev.5 02:34:07 v3.0.3-dev.6 02:34:07 v3.0.3-dev.7 02:34:07 v3.0.3-dev.8 02:34:07 v3.0.3-dev.9 02:34:07 v3.1 02:34:07 v3.1.0 02:34:07 v3.1.0-dev.1 02:34:07 v3.1.0-dev.2 02:34:07 v3.1.0-dev.3 02:34:07 v3.1.0-dev.4 02:34:07 v3.1.0-dev.5 02:34:07 v3.1.0-dev.6 02:34:07 v3.1.0-dev.7 02:34:07 v3.1.0-dev.8 02:34:07 v3.1.0-dev.9 [Pipeline] sh 02:34:08 + lftools sign git-tag v3.0.3-dev.13 02:34:08 Signing Git tag with Sigul... 02:34:08 Signing v3.0.3-dev.13 [Pipeline] echo 02:34:09 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:34:09 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:34:09 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:34:09 $ docker stop --time=1 504470cc62c7a5f344c157f7cebf53d9374030219269bfb685a77b7253723dc9 02:34:10 $ docker rm -f --volumes 504470cc62c7a5f344c157f7cebf53d9374030219269bfb685a77b7253723dc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:34:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:34:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:34:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:34:11 prd-ubuntu20.04-docker-8c-8g-2581 does not seem to be running inside a container 02:34:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:34:11 $ docker top 3bf2462108fc58077c0204f370bb353040ad91a986941adc52d80ac64980d952 -eo pid,comm 02:34:12 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). 02:34:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:34:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:34:12 [ssh-agent] Looking for ssh-agent implementation... 02:34:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:34:12 $ docker exec 3bf2462108fc58077c0204f370bb353040ad91a986941adc52d80ac64980d952 ssh-agent 02:34:12 SSH_AUTH_SOCK=/tmp/ssh-O09dRgqOADQa/agent.31 02:34:12 SSH_AGENT_PID=37 02:34:12 Running ssh-add (command line suppressed) 02:34:12 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2960010690657213589.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2960010690657213589.key) 02:34:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:34:12 + git semver bump pre 02:34:13 2024-04-17 02:34:12,953 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 02:34:13 2024-04-17 02:34:12,953 [bump_version] DEBUG bumping version:3.0.3-dev.13 on axis:pre with prefix:dev 02:34:13 2024-04-17 02:34:12,953 [bump_version] DEBUG bumped version:3.0.3-dev.14 02:34:13 2024-04-17 02:34:12,953 [write_version] DEBUG write version:3.0.3-dev.14 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 02:34:13 2024-04-17 02:34:12,953 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 02:34:13 2024-04-17 02:34:12,953 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 02:34:13 2024-04-17 02:34:12,955 [execute] INFO git cat-file --batch-check 02:34:13 2024-04-17 02:34:12,955 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 02:34:13 2024-04-17 02:34:12,961 [execute] INFO git cat-file --batch 02:34:13 2024-04-17 02:34:12,961 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 02:34:13 2024-04-17 02:34:12,968 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 02:34:13 3.0.3-dev.14 [Pipeline] } 02:34:13 $ docker exec --env ******** --env ******** 3bf2462108fc58077c0204f370bb353040ad91a986941adc52d80ac64980d952 ssh-agent -k 02:34:13 unset SSH_AUTH_SOCK; 02:34:13 unset SSH_AGENT_PID; 02:34:13 echo Agent pid 37 killed; 02:34:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:34:13 + git semver [Pipeline] } 02:34:13 $ docker stop --time=1 3bf2462108fc58077c0204f370bb353040ad91a986941adc52d80ac64980d952 02:34:15 $ docker rm -f --volumes 3bf2462108fc58077c0204f370bb353040ad91a986941adc52d80ac64980d952 [Pipeline] // withDockerContainer [Pipeline] sh 02:34:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:34:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:34:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:34:15 prd-ubuntu20.04-docker-8c-8g-2581 does not seem to be running inside a container 02:34:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:34:16 $ docker top ae0e9d0d8f2052551f9362b3c9404727232cf5ac76ece27025e7d7f29a9c787f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:34:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:34:16 [ssh-agent] Looking for ssh-agent implementation... 02:34:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:34:16 $ docker exec ae0e9d0d8f2052551f9362b3c9404727232cf5ac76ece27025e7d7f29a9c787f ssh-agent 02:34:16 SSH_AUTH_SOCK=/tmp/ssh-EfUGMUsYVi9K/agent.32 02:34:16 SSH_AGENT_PID=38 02:34:16 Running ssh-add (command line suppressed) 02:34:16 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5333003698769960582.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5333003698769960582.key) 02:34:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:34:16 + git semver push 02:34:17 2024-04-17 02:34:17,149 [run_push] DEBUG push 02:34:17 2024-04-17 02:34:17,150 [execute] INFO git cat-file --batch-check 02:34:17 2024-04-17 02:34:17,150 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 02:34:17 2024-04-17 02:34:17,154 [execute] INFO git rev-list 86c7089d0d7376f057cb7d191084b500c6056e32 -- 02:34:17 2024-04-17 02:34:17,155 [execute] DEBUG Popen(['git', 'rev-list', '86c7089d0d7376f057cb7d191084b500c6056e32', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 02:34:17 2024-04-17 02:34:17,163 [execute] INFO git fetch -v origin 02:34:17 2024-04-17 02:34:17,163 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 02:34:17 2024-04-17 02:34:17,658 [run_push] DEBUG no remote changes detected 02:34:17 2024-04-17 02:34:17,658 [execute] INFO git push origin semver 02:34:17 2024-04-17 02:34:17,659 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 02:34:18 2024-04-17 02:34:18,411 [run_push] DEBUG push all version tags 02:34:18 2024-04-17 02:34:18,412 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:34:18 2024-04-17 02:34:18,412 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 02:34:19 2024-04-17 02:34:19,135 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 02:34:19 3.0.3-dev.14 [Pipeline] } 02:34:19 $ docker exec --env ******** --env ******** ae0e9d0d8f2052551f9362b3c9404727232cf5ac76ece27025e7d7f29a9c787f ssh-agent -k 02:34:19 unset SSH_AUTH_SOCK; 02:34:19 unset SSH_AGENT_PID; 02:34:19 echo Agent pid 38 killed; 02:34:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:34:19 + git semver [Pipeline] } 02:34:19 $ docker stop --time=1 ae0e9d0d8f2052551f9362b3c9404727232cf5ac76ece27025e7d7f29a9c787f 02:34:21 $ docker rm -f --volumes ae0e9d0d8f2052551f9362b3c9404727232cf5ac76ece27025e7d7f29a9c787f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:34:21 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 02:34:21 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 02:34:21 total 16 02:34:21 drwxr-xr-x 3 root root 4096 Apr 17 02:29 . 02:34:21 drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 02:34 .. 02:34:21 drwxr-xr-x 2 root root 4096 Apr 17 02:29 cost 02:34:21 -rw-r--r-- 1 root root 83 Apr 17 02:29 cost.csv 02:34:21 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 02:34:21 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 02:34:21 total 16 02:34:21 drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 02:29 . 02:34:21 drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 02:34 .. 02:34:21 drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 02:29 cost 02:34:21 -rw-r--r-- 1 jenkins jenkins 83 Apr 17 02:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:34:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:34:22 ---> package-listing.sh 02:34:22 ++ facter osfamily 02:34:22 ++ tr '[:upper:]' '[:lower:]' 02:34:23 + OS_FAMILY=debian 02:34:23 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 02:34:23 + START_PACKAGES=/tmp/packages_start.txt 02:34:23 + END_PACKAGES=/tmp/packages_end.txt 02:34:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:34:23 + PACKAGES=/tmp/packages_start.txt 02:34:23 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 02:34:23 + PACKAGES=/tmp/packages_end.txt 02:34:23 + case "${OS_FAMILY}" in 02:34:23 + dpkg -l 02:34:23 + grep '^ii' 02:34:23 + '[' -f /tmp/packages_start.txt ']' 02:34:23 + '[' -f /tmp/packages_end.txt ']' 02:34:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:34:23 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 02:34:23 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 02:34:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 02:34:23 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:34:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:34:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:34:24 prd-ubuntu20.04-docker-8c-8g-2581 does not seem to be running inside a container 02:34:24 $ 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_main/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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:34:24 $ docker top e00fdd48589931f300f94c2a9ee2721a4a427bf521d1531255603fa0727f6251 -eo pid,comm [Pipeline] { [Pipeline] sh 02:34:24 + touch /tmp/pre-build-complete [Pipeline] sh 02:34:25 + mkdir -p /var/log/sysstat [Pipeline] sh 02:34:25 + ls /var/log/sa-host 02:34:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:34:25 provisioning config files... 02:34:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15721164028485708866tmp [Pipeline] { [Pipeline] echo 02:34:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:34:25 ---> create-netrc.sh [Pipeline] } 02:34:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:34:26 ---> python-tools-install.sh [Pipeline] echo 02:34:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:34:26 ---> sudo-logs.sh 02:34:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:34:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:34:26 ---> job-cost.sh 02:34:26 lf-activate-venv: SKIPPING 02:34:26 DEBUG: total: 0.2199999988079071 02:34:26 INFO: Retrieving Stack Cost... 02:34:27 INFO: Retrieving Pricing Info for: v3-standard-8 02:34:27 INFO: Archiving Costs [Pipeline] echo 02:34:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:34:27 ---> logs-deploy.sh 02:34:27 lf-activate-venv: SKIPPING 02:34:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/73 02:34:27 INFO: archiving workspace using pattern(s): 02:34:28 Archives upload complete. 02:34:28 INFO: archiving logs to Nexus 02:34:29 ---> uname -a: 02:34:29 Linux prd-ubuntu20-04-docker-8c-8g-2581 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:34:29 02:34:29 02:34:29 ---> lscpu: 02:34:29 Architecture: x86_64 02:34:29 CPU op-mode(s): 32-bit, 64-bit 02:34:29 Byte Order: Little Endian 02:34:29 Address sizes: 40 bits physical, 48 bits virtual 02:34:29 CPU(s): 8 02:34:29 On-line CPU(s) list: 0-7 02:34:29 Thread(s) per core: 1 02:34:29 Core(s) per socket: 1 02:34:29 Socket(s): 8 02:34:29 NUMA node(s): 1 02:34:29 Vendor ID: AuthenticAMD 02:34:29 CPU family: 23 02:34:29 Model: 49 02:34:29 Model name: AMD EPYC-Rome Processor 02:34:29 Stepping: 0 02:34:29 CPU MHz: 2800.000 02:34:29 BogoMIPS: 5600.00 02:34:29 Virtualization: AMD-V 02:34:29 Hypervisor vendor: KVM 02:34:29 Virtualization type: full 02:34:29 L1d cache: 256 KiB 02:34:29 L1i cache: 256 KiB 02:34:29 L2 cache: 4 MiB 02:34:29 L3 cache: 128 MiB 02:34:29 NUMA node0 CPU(s): 0-7 02:34:29 Vulnerability Itlb multihit: Not affected 02:34:29 Vulnerability L1tf: Not affected 02:34:29 Vulnerability Mds: Not affected 02:34:29 Vulnerability Meltdown: Not affected 02:34:29 Vulnerability Mmio stale data: Not affected 02:34:29 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:34:29 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:34:29 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:34:29 Vulnerability Srbds: Not affected 02:34:29 Vulnerability Tsx async abort: Not affected 02:34:29 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 02:34:29 02:34:29 02:34:29 ---> nproc: 02:34:29 8 02:34:29 02:34:29 02:34:29 ---> df -h: 02:34:29 Filesystem Size Used Avail Use% Mounted on 02:34:29 overlay 155G 11G 145G 8% / 02:34:29 tmpfs 64M 0 64M 0% /dev 02:34:29 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:34:29 shm 64M 0 64M 0% /dev/shm 02:34:29 /dev/vda1 155G 11G 145G 8% /facter-os 02:34:29 02:34:29 02:34:29 ---> sar -b -r -n DEV: 02:34:29 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-2581) 04/17/24 _x86_64_ (8 CPU) 02:34:29 02:34:29 02:27:25 LINUX RESTART (8 CPU) 02:34:29 02:34:29 02:28:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:34:29 02:29:01 391.35 10.68 380.67 0.00 1762.24 27984.54 0.00 02:34:29 02:30:01 112.90 0.15 112.75 0.00 7.60 18503.07 0.00 02:34:29 02:31:01 0.95 0.00 0.95 0.00 0.00 10.66 0.00 02:34:29 02:32:01 1.53 0.00 1.53 0.00 0.00 16.79 0.00 02:34:29 02:33:01 36.44 11.68 24.76 0.00 5429.36 6269.89 0.00 02:34:29 02:34:01 19.91 0.00 19.91 0.00 0.00 1778.90 0.00 02:34:29 Average: 93.85 3.75 90.09 0.00 1199.83 9093.72 0.00 02:34:29 02:34:29 02:28:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:34:29 02:29:01 29504292 31547548 784032 2.38 68680 2258000 1745844 5.15 1065476 1948300 416 02:34:29 02:30:01 28983668 31539076 768536 2.34 89776 2717188 1758124 5.18 1084716 2391696 20 02:34:29 02:31:01 28983636 31539176 768028 2.34 89804 2717188 1758124 5.18 1084832 2391696 16 02:34:29 02:32:01 28987296 31542772 764504 2.32 89832 2717256 1758124 5.18 1081900 2391764 16 02:34:29 02:33:01 28610960 31520460 775480 2.36 98028 3050648 1820156 5.36 1325792 2502600 892 02:34:29 02:34:01 27874580 31495024 796868 2.42 132888 3654536 1855560 5.47 1384144 3103072 596568 02:34:29 Average: 28824072 31530676 776241 2.36 94835 2852469 1782655 5.25 1171143 2454855 99655 02:34:29 02:34:29 02:28:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:34:29 02:29:01 lo 6.00 6.00 0.59 0.59 0.00 0.00 0.00 0.00 02:34:29 02:29:01 ens3 263.16 174.87 3931.52 72.24 0.00 0.00 0.00 0.00 02:34:29 02:29:01 docker0 14.06 19.83 1.04 151.77 0.00 0.00 0.00 0.00 02:34:29 02:30:01 lo 1.13 1.13 0.10 0.10 0.00 0.00 0.00 0.00 02:34:29 02:30:01 ens3 100.85 62.31 2584.38 13.38 0.00 0.00 0.00 0.00 02:34:29 02:30:01 docker0 2.73 4.45 0.21 56.82 0.00 0.00 0.00 0.00 02:34:29 02:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:34:29 02:31:01 ens3 5.15 3.00 11.76 0.40 0.00 0.00 0.00 0.00 02:34:29 02:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:34:29 02:32:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:34:29 02:32:01 ens3 0.15 0.12 0.01 0.01 0.00 0.00 0.00 0.00 02:34:29 02:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:34:29 02:33:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 02:34:29 02:33:01 ens3 104.75 38.73 2043.69 2.98 0.00 0.00 0.00 0.00 02:34:29 02:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:34:29 02:34:01 lo 1.07 1.07 0.10 0.10 0.00 0.00 0.00 0.00 02:34:29 02:34:01 ens3 130.14 90.73 3197.36 47.94 0.00 0.00 0.00 0.00 02:34:29 02:34:01 docker0 0.00 0.03 0.00 0.00 0.00 0.00 0.00 0.00 02:34:29 Average: lo 1.46 1.46 0.14 0.14 0.00 0.00 0.00 0.00 02:34:29 Average: ens3 100.70 61.62 1961.40 22.83 0.00 0.00 0.00 0.00 02:34:29 Average: docker0 2.80 4.05 0.21 34.76 0.00 0.00 0.00 0.00 02:34:29 02:34:29 02:34:29 ---> sar -P ALL: 02:34:29 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-2581) 04/17/24 _x86_64_ (8 CPU) 02:34:29 02:34:29 02:27:25 LINUX RESTART (8 CPU) 02:34:29 02:34:29 02:28:01 CPU %user %nice %system %iowait %steal %idle 02:34:29 02:29:01 all 8.79 0.00 3.68 1.89 0.07 85.58 02:34:29 02:29:01 0 7.56 0.00 3.86 1.12 0.07 87.39 02:34:29 02:29:01 1 9.33 0.00 3.18 0.38 0.07 87.04 02:34:29 02:29:01 2 9.00 0.00 3.75 3.38 0.07 83.79 02:34:29 02:29:01 3 6.92 0.00 3.64 2.74 0.07 86.63 02:34:29 02:29:01 4 8.28 0.00 4.59 5.10 0.07 81.96 02:34:29 02:29:01 5 9.88 0.00 3.22 0.29 0.08 86.53 02:34:29 02:29:01 6 9.13 0.00 3.38 0.42 0.05 87.02 02:34:29 02:29:01 7 10.23 0.00 3.80 1.68 0.07 84.22 02:34:29 02:30:01 all 3.42 0.00 1.64 1.03 0.03 93.88 02:34:29 02:30:01 0 3.38 0.00 1.84 0.03 0.03 94.72 02:34:29 02:30:01 1 3.92 0.00 1.76 0.35 0.03 93.94 02:34:29 02:30:01 2 2.59 0.00 1.69 1.49 0.02 94.22 02:34:29 02:30:01 3 3.74 0.00 1.93 6.14 0.03 88.16 02:34:29 02:30:01 4 3.76 0.00 1.06 0.02 0.03 95.14 02:34:29 02:30:01 5 2.96 0.00 1.91 0.12 0.02 95.00 02:34:29 02:30:01 6 3.47 0.00 1.41 0.05 0.03 95.03 02:34:29 02:30:01 7 3.57 0.00 1.51 0.03 0.05 94.84 02:34:29 02:31:01 all 0.03 0.00 0.01 0.00 0.01 99.95 02:34:29 02:31:01 0 0.03 0.00 0.03 0.00 0.02 99.92 02:34:29 02:31:01 1 0.03 0.00 0.03 0.02 0.02 99.90 02:34:29 02:31:01 2 0.00 0.00 0.00 0.00 0.00 100.00 02:34:29 02:31:01 3 0.00 0.00 0.00 0.00 0.00 100.00 02:34:29 02:31:01 4 0.05 0.00 0.03 0.00 0.02 99.90 02:34:29 02:31:01 5 0.02 0.00 0.00 0.00 0.00 99.98 02:34:29 02:31:01 6 0.03 0.00 0.00 0.00 0.00 99.97 02:34:29 02:31:01 7 0.05 0.00 0.02 0.00 0.00 99.93 02:34:29 02:32:01 all 0.05 0.00 0.03 0.01 0.01 99.91 02:34:29 02:32:01 0 0.07 0.00 0.02 0.00 0.02 99.90 02:34:29 02:32:01 1 0.03 0.00 0.02 0.02 0.02 99.92 02:34:29 02:32:01 2 0.03 0.00 0.02 0.00 0.02 99.93 02:34:29 02:32:01 3 0.07 0.00 0.07 0.03 0.02 99.82 02:34:29 02:32:01 4 0.02 0.00 0.03 0.00 0.00 99.95 02:34:29 02:32:01 5 0.02 0.00 0.02 0.00 0.02 99.95 02:34:29 02:32:01 6 0.02 0.00 0.02 0.00 0.00 99.97 02:34:29 02:32:01 7 0.12 0.00 0.02 0.00 0.02 99.85 02:34:29 02:33:01 all 1.21 0.00 0.59 0.51 0.01 97.68 02:34:29 02:33:01 0 1.18 0.00 0.68 0.43 0.02 97.68 02:34:29 02:33:01 1 0.59 0.00 0.37 0.85 0.02 98.17 02:34:29 02:33:01 2 1.40 0.00 0.43 0.38 0.00 97.78 02:34:29 02:33:01 3 2.34 0.00 0.75 0.45 0.02 96.44 02:34:29 02:33:01 4 0.93 0.00 0.72 1.04 0.02 97.30 02:34:29 02:33:01 5 0.67 0.00 0.55 0.57 0.00 98.21 02:34:29 02:33:01 6 0.80 0.00 0.58 0.23 0.02 98.37 02:34:29 02:33:01 7 1.75 0.00 0.63 0.10 0.03 97.48 02:34:29 02:34:01 all 3.89 0.00 1.63 0.17 0.03 94.29 02:34:29 02:34:01 0 4.23 0.00 2.18 0.00 0.07 93.53 02:34:29 02:34:01 1 3.87 0.00 1.39 0.02 0.03 94.68 02:34:29 02:34:01 2 4.49 0.00 1.31 0.77 0.03 93.39 02:34:29 02:34:01 3 4.30 0.00 1.45 0.03 0.05 94.17 02:34:29 02:34:01 4 3.70 0.00 1.71 0.00 0.02 94.58 02:34:29 02:34:01 5 3.72 0.00 1.89 0.28 0.03 94.07 02:34:29 02:34:01 6 3.30 0.00 1.39 0.02 0.02 95.28 02:34:29 02:34:01 7 3.49 0.00 1.69 0.20 0.02 94.60 02:34:29 Average: all 2.89 0.00 1.26 0.60 0.03 95.23 02:34:29 Average: 0 2.74 0.00 1.43 0.26 0.04 95.53 02:34:29 Average: 1 2.97 0.00 1.13 0.27 0.03 95.60 02:34:29 Average: 2 2.91 0.00 1.20 1.00 0.02 94.87 02:34:29 Average: 3 2.89 0.00 1.30 1.56 0.03 94.22 02:34:29 Average: 4 2.78 0.00 1.35 1.02 0.03 94.83 02:34:29 Average: 5 2.87 0.00 1.26 0.21 0.03 95.64 02:34:29 Average: 6 2.78 0.00 1.13 0.12 0.02 95.95 02:34:29 Average: 7 3.19 0.00 1.27 0.33 0.03 95.17 02:34:29 02:34:29 02:34:29