Pull request #532 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 4d3bb0caef1aa5668de697f4dc558339b75e740a+62fc64c90db9bc421ef18031b23432b09bce4dbe (3fb4d86dc175cb6f7eaec179943e16e74fbdb21f) 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-ssh7558544895111720355.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh12760747165697781120.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-532/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-532/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2659129879795321299.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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-ssh17427622514796261926.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-532/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-532/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11576296585525596278.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 Running on prd-ubuntu20.04-docker-8c-8g-34629 in /w/workspace/edgexfoundry_device-sdk-c_PR-532 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-532 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/532/head:refs/remotes/origin/PR-532 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 62fc64c90db9bc421ef18031b23432b09bce4dbe into PR head commit 4d3bb0caef1aa5668de697f4dc558339b75e740a Merge succeeded, producing 4d3bb0caef1aa5668de697f4dc558339b75e740a Checking out Revision 4d3bb0caef1aa5668de697f4dc558339b75e740a (PR-532) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d3bb0caef1aa5668de697f4dc558339b75e740a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 62fc64c90db9bc421ef18031b23432b09bce4dbe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4d3bb0caef1aa5668de697f4dc558339b75e740a # timeout=10 Commit message: "feat: Add device up/down detection" First time build. Skipping changelog. > git rev-list --no-walk 493d4cdb9dda813960475a75833033e412ec51e2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:23:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:23:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:23:19 ========================================================= 15:23:19 EdgeX Global Pipelines Version Info 15:23:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:23:21 ------------------- 15:23:21 stable info: 15:23:21 ------------------- 15:23:21 Commited By: Cherry Wang cherry@iotechsys.com 15:23:21 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 15:23:21 Message: update stable to v1.0.269 15:23:21 ------------------- 15:23:21 experimental info: 15:23:21 ------------------- 15:23:21 Commited By: **** collab-it+edgex@linuxfoundation.org 15:23:21 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 15:23:21 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:23:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 15:23:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 15:23:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:23:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:23:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:23:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 15:23:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 15:23:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:23:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:23:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 15:23:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:23:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:23:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:23:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:23:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:23:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:23:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:23:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-532 [Pipeline] echo 15:23:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-532 [Pipeline] echo 15:23:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-532 [Pipeline] echo 15:23:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4d3bb0caef1aa5668de697f4dc558339b75e740a [Pipeline] echo 15:23:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4d3bb0c [Pipeline] echo 15:23:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:23:21 provisioning config files... 15:23:22 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp/config3844461179295957773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:23:22 ---> ****-login.sh 15:23:22 nexus3.edgexfoundry.org:10001 15:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:23:22 Configure a credential helper to remove this warning. See 15:23:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:23:22 15:23:22 Login Succeeded 15:23:22 nexus3.edgexfoundry.org:10002 15:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:23:22 Configure a credential helper to remove this warning. See 15:23:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:23:22 15:23:22 Login Succeeded 15:23:22 nexus3.edgexfoundry.org:10003 15:23:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:23:23 Configure a credential helper to remove this warning. See 15:23:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:23:23 15:23:23 Login Succeeded 15:23:23 nexus3.edgexfoundry.org:10004 15:23:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:23:23 Configure a credential helper to remove this warning. See 15:23:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:23:23 15:23:23 Login Succeeded 15:23:23 ****.io 15:23:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:23:23 Configure a credential helper to remove this warning. See 15:23:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:23:23 15:23:23 Login Succeeded 15:23:23 ---> ****-login.sh ends [Pipeline] } 15:23:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 15:23:23 + git rev-list -1 --merges 4d3bb0caef1aa5668de697f4dc558339b75e740a~1..4d3bb0caef1aa5668de697f4dc558339b75e740a [Pipeline] echo 15:23:23 -----------> git rev-list -1 --merges 4d3bb0caef1aa5668de697f4dc558339b75e740a~1..4d3bb0caef1aa5668de697f4dc558339b75e740a 4d3bb0caef1aa5668de697f4dc558339b75e740a [false] [Pipeline] sh 15:23:24 + git log --format=format:%s -1 4d3bb0caef1aa5668de697f4dc558339b75e740a [Pipeline] echo 15:23:24 ========================================================= 15:23:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:23:24 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:23:24 + git rev-list -1 --merges 4d3bb0caef1aa5668de697f4dc558339b75e740a~1..4d3bb0caef1aa5668de697f4dc558339b75e740a [Pipeline] echo 15:23:24 -----------> git rev-list -1 --merges 4d3bb0caef1aa5668de697f4dc558339b75e740a~1..4d3bb0caef1aa5668de697f4dc558339b75e740a 4d3bb0caef1aa5668de697f4dc558339b75e740a [false] [Pipeline] sh 15:23:25 + git log --format=format:%s -1 4d3bb0caef1aa5668de697f4dc558339b75e740a [Pipeline] echo 15:23:25 ========================================================= 15:23:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:23:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 15:23:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:23:25 + grep -v github /etc/ssh/ssh_known_hosts 15:23:25 + [ -e /tmp/ssh_known_hosts ] 15:23:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:23:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:23:25 + sudo tee -a /etc/ssh/ssh_known_hosts 15:23:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:23:26 15:23:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:23:26 0.1.4: Pulling from edgex-devops/py-git-semver 15:23:26 b85a868b505f: Pulling fs layer 15:23:26 e2be974225ed: Pulling fs layer 15:23:26 339a4e72a1f5: Pulling fs layer 15:23:26 988bab9f4d93: Pulling fs layer 15:23:26 1469e6f7b9e6: Pulling fs layer 15:23:26 eaf3925da568: Pulling fs layer 15:23:26 bab4dde63d76: Pulling fs layer 15:23:26 bde34c3a00c8: Pulling fs layer 15:23:26 b352a97aabf1: Pulling fs layer 15:23:26 4872d77fe225: Pulling fs layer 15:23:26 5851b861e8e6: Pulling fs layer 15:23:26 bab4dde63d76: Waiting 15:23:26 bde34c3a00c8: Waiting 15:23:26 b352a97aabf1: Waiting 15:23:26 4872d77fe225: Waiting 15:23:26 5851b861e8e6: Waiting 15:23:26 988bab9f4d93: Waiting 15:23:26 1469e6f7b9e6: Waiting 15:23:26 eaf3925da568: Waiting 15:23:26 e2be974225ed: Download complete 15:23:26 988bab9f4d93: Verifying Checksum 15:23:26 988bab9f4d93: Download complete 15:23:26 339a4e72a1f5: Verifying Checksum 15:23:26 339a4e72a1f5: Download complete 15:23:26 1469e6f7b9e6: Verifying Checksum 15:23:26 1469e6f7b9e6: Download complete 15:23:26 eaf3925da568: Verifying Checksum 15:23:26 eaf3925da568: Download complete 15:23:26 bde34c3a00c8: Download complete 15:23:26 b352a97aabf1: Verifying Checksum 15:23:26 4872d77fe225: Verifying Checksum 15:23:26 4872d77fe225: Download complete 15:23:26 5851b861e8e6: Download complete 15:23:26 b85a868b505f: Verifying Checksum 15:23:26 b85a868b505f: Download complete 15:23:26 bab4dde63d76: Verifying Checksum 15:23:26 bab4dde63d76: Download complete 15:23:27 b85a868b505f: Pull complete 15:23:28 e2be974225ed: Pull complete 15:23:28 339a4e72a1f5: Pull complete 15:23:28 988bab9f4d93: Pull complete 15:23:28 1469e6f7b9e6: Pull complete 15:23:28 eaf3925da568: Pull complete 15:23:30 bab4dde63d76: Pull complete 15:23:30 bde34c3a00c8: Pull complete 15:23:31 b352a97aabf1: Pull complete 15:23:31 4872d77fe225: Pull complete 15:23:31 5851b861e8e6: Pull complete 15:23:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:23:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:23:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:23:31 prd-ubuntu20.04-docker-8c-8g-34629 does not seem to be running inside a container 15:23:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-532 -v /w/workspace/edgexfoundry_device-sdk-c_PR-532:/w/workspace/edgexfoundry_device-sdk-c_PR-532:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:23:34 $ docker top 093a006b7662c201e8cdc52181088d319839d201411be463ec885024f43e8b01 -eo pid,comm 15:23:34 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). 15:23:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:23:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:23:34 [ssh-agent] Looking for ssh-agent implementation... 15:23:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:23:34 $ docker exec 093a006b7662c201e8cdc52181088d319839d201411be463ec885024f43e8b01 ssh-agent 15:23:35 SSH_AUTH_SOCK=/tmp/ssh-MRasVpsN6iVN/agent.33 15:23:35 SSH_AGENT_PID=39 15:23:35 Running ssh-add (command line suppressed) 15:23:35 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp/private_key_10638418190802916108.key (/w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp/private_key_10638418190802916108.key) 15:23:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:23:35 + git tag --points-at HEAD [Pipeline] } 15:23:35 $ docker exec --env ******** --env ******** 093a006b7662c201e8cdc52181088d319839d201411be463ec885024f43e8b01 ssh-agent -k 15:23:35 unset SSH_AUTH_SOCK; 15:23:35 unset SSH_AGENT_PID; 15:23:35 echo Agent pid 39 killed; 15:23:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:23:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:23:35 [ssh-agent] Looking for ssh-agent implementation... 15:23:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:23:35 $ docker exec 093a006b7662c201e8cdc52181088d319839d201411be463ec885024f43e8b01 ssh-agent 15:23:35 SSH_AUTH_SOCK=/tmp/ssh-16HL99jmaM0V/agent.72 15:23:35 SSH_AGENT_PID=78 15:23:35 Running ssh-add (command line suppressed) 15:23:35 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp/private_key_14362327115075861670.key (/w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp/private_key_14362327115075861670.key) 15:23:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:23:36 + git semver init 15:23:36 2024-12-06 15:23:36,467 [run_init] DEBUG init version:0.0.0 force:False 15:23:36 2024-12-06 15:23:36,467 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-532/.semver 15:23:36 2024-12-06 15:23:36,468 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-532/.semver 15:23:36 2024-12-06 15:23:36,468 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-532/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-532, universal_newlines=False, shell=None, istream=None) 15:23:37 2024-12-06 15:23:37,395 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-532/.git/info/exclude 15:23:37 2024-12-06 15:23:37,396 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-532/.semver/PR-532 with force:False 15:23:37 2024-12-06 15:23:37,396 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-532/.semver/PR-532 15:23:37 2024-12-06 15:23:37,400 [execute] INFO git cat-file --batch-check 15:23:37 2024-12-06 15:23:37,401 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-532/.semver, universal_newlines=False, shell=None, istream=) 15:23:37 2024-12-06 15:23:37,407 [execute] INFO git cat-file --batch 15:23:37 2024-12-06 15:23:37,408 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-532/.semver, universal_newlines=False, shell=None, istream=) 15:23:37 2024-12-06 15:23:37,413 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-532/.semver/PR-532 15:23:37 0.0.0 [Pipeline] } 15:23:37 $ docker exec --env ******** --env ******** 093a006b7662c201e8cdc52181088d319839d201411be463ec885024f43e8b01 ssh-agent -k 15:23:37 unset SSH_AUTH_SOCK; 15:23:37 unset SSH_AGENT_PID; 15:23:37 echo Agent pid 78 killed; 15:23:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:23:37 + git semver [Pipeline] } 15:23:38 $ docker stop --time=1 093a006b7662c201e8cdc52181088d319839d201411be463ec885024f43e8b01 15:23:39 $ docker rm -f --volumes 093a006b7662c201e8cdc52181088d319839d201411be463ec885024f43e8b01 [Pipeline] // withDockerContainer [Pipeline] sh 15:23:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:23:40 Stashed 1 file(s) [Pipeline] echo 15:23:40 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:23:40 provisioning config files... [Pipeline] // stage [Pipeline] } 15:23:40 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp/config2784027118628583136tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 15:23:40 ---> ****-login.sh 15:23:40 nexus3.edgexfoundry.org:10001 15:23:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:23:40 Configure a credential helper to remove this warning. See 15:23:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:23:40 15:23:40 Login Succeeded 15:23:40 nexus3.edgexfoundry.org:10002 15:23:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:23:40 Configure a credential helper to remove this warning. See 15:23:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:23:40 15:23:40 Login Succeeded 15:23:40 nexus3.edgexfoundry.org:10003 15:23:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:23:41 Configure a credential helper to remove this warning. See 15:23:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:23:41 15:23:41 Login Succeeded 15:23:41 nexus3.edgexfoundry.org:10004 15:23:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:23:41 Configure a credential helper to remove this warning. See 15:23:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:23:41 15:23:41 Login Succeeded 15:23:41 ****.io 15:23:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 15:23:41 Configure a credential helper to remove this warning. See 15:23:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 15:23:41 15:23:41 Login Succeeded 15:23:41 ---> ****-login.sh ends [Pipeline] } 15:23:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:23:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:23:41 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 15:23:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:23:41 ========================================================= 15:23:41 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 15:23:41 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:41 + 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 . 15:23:41 Sending build context to Docker daemon 5.277MB 15:23:41 Step 1/22 : ARG BASE=alpine:3.18 15:23:41 Step 2/22 : FROM ${BASE} as builder 15:23:41 latest: Pulling from edgex-devops/edgex-gcc-base 15:23:41 96526aa774ef: Pulling fs layer 15:23:41 da60e534fd72: Pulling fs layer 15:23:42 96526aa774ef: Verifying Checksum 15:23:42 96526aa774ef: Download complete 15:23:42 96526aa774ef: Pull complete 15:23:42 da60e534fd72: Verifying Checksum 15:23:42 da60e534fd72: Download complete 15:23:46 da60e534fd72: Pull complete 15:23:46 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 15:23:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 15:23:46 ---> 6605166a5db4 15:23:46 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 15:23:49 ---> Running in b7d776cc2936 15:23:49 Connecting to iotech.jfrog.io (34.247.22.236:443) 15:23:49 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:23:49 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:23:49 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:23:50 Removing intermediate container b7d776cc2936 15:23:50 ---> fc7a97a2ed1a 15:23:50 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 15:23:50 ---> Running in 69b8cdc2176f 15:23:50 Removing intermediate container 69b8cdc2176f 15:23:50 ---> 7bfb647e3a9a 15:23:50 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev 15:23:50 ---> Running in 129390454b35 15:23:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:23:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:23:51 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 15:23:52 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:23:52 (1/15) Installing libcbor (0.10.2-r1) 15:23:52 (2/15) Installing iotech-iot-1.5 (1.5.5-r0) 15:23:53 (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) 15:23:53 (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 15:23:53 (5/15) Installing libcbor-dev (0.10.2-r1) 15:23:53 (6/15) Installing libmenuw (6.4_p20230506-r0) 15:23:53 (7/15) Installing libpanelw (6.4_p20230506-r0) 15:23:53 (8/15) Installing libncurses++ (6.4_p20230506-r0) 15:23:53 (9/15) Installing ncurses-dev (6.4_p20230506-r0) 15:23:53 (10/15) Installing libblkid (2.38.1-r8) 15:23:53 (11/15) Installing libuuid (2.38.1-r8) 15:23:53 (12/15) Installing libfdisk (2.38.1-r8) 15:23:53 (13/15) Installing libmount (2.38.1-r8) 15:23:53 (14/15) Installing libsmartcols (2.38.1-r8) 15:23:53 (15/15) Installing util-linux-dev (2.38.1-r8) 15:23:53 Executing busybox-1.36.1-r4.trigger 15:23:53 OK: 336 MiB in 97 packages 15:23:54 Removing intermediate container 129390454b35 15:23:54 ---> 959219e36023 15:23:54 Step 6/22 : RUN mkdir /tmp/sdk 15:23:54 ---> Running in 9849df677c44 15:23:54 Removing intermediate container 9849df677c44 15:23:54 ---> 58ab33f6387f 15:23:54 Step 7/22 : COPY VERSION /tmp/sdk 15:23:54 ---> 0cfeaa378666 15:23:54 Step 8/22 : COPY src /tmp/sdk/src 15:23:55 ---> 345b346c79a4 15:23:55 Step 9/22 : COPY include /tmp/sdk/include 15:23:55 ---> 7b81030e1b0c 15:23:55 Step 10/22 : COPY scripts /tmp/sdk/scripts 15:23:55 ---> 879f9534a6e7 15:23:55 Step 11/22 : COPY LICENSE /tmp/sdk 15:23:55 ---> 0763c9f54322 15:23:55 Step 12/22 : COPY Attribution.txt /tmp/sdk 15:23:55 ---> 7f90ba0df466 15:23:55 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 15:23:55 ---> Running in fd0289274ff9 15:23:55 + CPPCHECK=false 15:23:55 + DOCGEN=false 15:23:55 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 15:23:55 + '[' 0 -gt 0 ] 15:23:55 + readlink -f ./scripts/build.sh 15:23:55 + dirname /tmp/sdk/scripts/build.sh 15:23:55 + dirname /tmp/sdk/scripts 15:23:55 + ROOT=/tmp/sdk 15:23:55 + cd /tmp/sdk 15:23:55 + mkdir -p /tmp/sdk/build/release 15:23:55 + cd /tmp/sdk/build/release 15:23:55 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 15:23:55 -- The C compiler identification is GNU 12.2.1 15:23:55 -- Detecting C compiler ABI info 15:23:56 -- Detecting C compiler ABI info - done 15:23:56 -- Check for working C compiler: /usr/bin/cc - skipped 15:23:56 -- Detecting C compile features 15:23:56 -- Detecting C compile features - done 15:23:56 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:23:56 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 15:23:56 -- Found LIBYAML: /usr/lib/libyaml.so 15:23:56 -- Found LIBUUID: /usr/lib/libuuid.so 15:23:56 -- Found LIBCBOR: /usr/lib/libcbor.so 15:23:56 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:23:56 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 15:23:56 -- /opt/iotech/iot/1.5/include 15:23:56 -- C SDK 0.0.0 for Linux 15:23:56 -- Performing Test CSDK_HAVE_ATOMIC 15:23:56 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:23:56 -- Found Curses: /usr/lib/libcurses.so 15:23:56 -- Configuring done (0.4s) 15:23:56 -- Generating done (0.0s) 15:23:56 -- Build files have been written to: /tmp/sdk/build/release 15:23:56 + make all package 15:23:56 + tee release.log 15:23:56 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:23:56 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 15:23:56 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 15:23:56 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 15:23:56 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:23:57 [ 11%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:23:57 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 15:23:57 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 15:23:57 294 | while (privateConfig) 15:23:57 | ^~~~~~~~~~~~~ 15:23:57 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 15:23:57 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 15:23:57 | ^~~~~~~~~~~~~ 15:23:57 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 15:23:57 271 | while (result) 15:23:57 | ^~~~~~ 15:23:57 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 15:23:57 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 15:23:57 | ^~~~~~ 15:23:57 [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:23:57 [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:23:57 [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:23:57 [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:23:58 [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:23:58 [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:23:58 [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:23:58 [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 15:23:58 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:23:58 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:23:58 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:23:59 [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 15:23:59 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 15:23:59 from /tmp/sdk/src/c/registry.h:14, 15:23:59 from /tmp/sdk/src/c/registry-impl.h:12, 15:23:59 from /tmp/sdk/src/c/keeper.h:12, 15:23:59 from /tmp/sdk/src/c/keeper.c:1: 15:23:59 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 15:23:59 /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 15:23:59 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 15:23:59 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15:23:59 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 15:23:59 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 15:23:59 | ^~~~~~~~~~~ 15:23:59 /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here 15:23:59 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 15:23:59 | ~^ 15:23:59 | | 15:23:59 | char * 15:23:59 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:23:59 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:23:59 [ 40%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 15:23:59 [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:24:00 [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:24:00 [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:24:00 [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:24:00 [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 15:24:00 [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:24:01 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:24:01 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:24:01 [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:24:01 [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:24:01 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:24:02 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 15:24:02 /tmp/sdk/src/c/service.c:1079:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 15:24:02 1079 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 15:24:02 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15:24:02 /tmp/sdk/src/c/service.c:883:21: note: 'deviceservices_config' was declared here 15:24:02 883 | const iot_data_t *deviceservices_config; 15:24:02 | ^~~~~~~~~~~~~~~~~~~~~ 15:24:02 [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:24:02 [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 15:24:02 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:24:02 [ 69%] Linking C shared library libcsdk.so 15:24:02 [ 69%] Built target csdk 15:24:02 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:24:02 [ 73%] Linking C executable template 15:24:02 [ 73%] Built target template 15:24:03 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:24:03 [ 76%] Linking C executable device-counter 15:24:03 [ 76%] Built target device-counter 15:24:03 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:24:03 [ 80%] Linking C executable device-random 15:24:03 [ 80%] Built target device-random 15:24:03 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:24:03 [ 84%] Linking C executable device-gyro 15:24:03 [ 84%] Built target device-gyro 15:24:03 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:24:03 [ 88%] Linking C executable device-bitfields 15:24:03 [ 88%] Built target device-bitfields 15:24:03 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:24:03 [ 92%] Linking C executable template-discovery 15:24:03 [ 92%] Built target template-discovery 15:24:03 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:24:04 [ 96%] Linking C executable device-file 15:24:04 [ 96%] Built target device-file 15:24:04 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:24:04 [100%] Linking C executable device-terminal 15:24:04 [100%] Built target device-terminal 15:24:04 Run CPack packaging tool... 15:24:04 CPack: Create package using TGZ 15:24:04 CPack: Install projects 15:24:04 CPack: - Run preinstall target for: Csdk 15:24:04 CPack: - Install project: Csdk [] 15:24:04 CPack: Create package 15:24:04 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 15:24:04 + '[' false '=' true ] 15:24:04 + '[' false '=' true ] 15:24:04 + mkdir -p /tmp/sdk/build/debug 15:24:04 + cd /tmp/sdk/build/debug 15:24:04 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 15:24:04 -- The C compiler identification is GNU 12.2.1 15:24:04 -- Detecting C compiler ABI info 15:24:04 -- Detecting C compiler ABI info - done 15:24:04 -- Check for working C compiler: /usr/bin/cc - skipped 15:24:04 -- Detecting C compile features 15:24:04 -- Detecting C compile features - done 15:24:04 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 15:24:04 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 15:24:04 -- Found LIBYAML: /usr/lib/libyaml.so 15:24:04 -- Found LIBUUID: /usr/lib/libuuid.so 15:24:04 -- Found LIBCBOR: /usr/lib/libcbor.so 15:24:04 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 15:24:04 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 15:24:04 -- /opt/iotech/iot/1.5/include 15:24:04 -- C SDK 0.0.0 for Linux 15:24:04 -- Performing Test CSDK_HAVE_ATOMIC 15:24:04 -- Performing Test CSDK_HAVE_ATOMIC - Success 15:24:05 -- Found Curses: /usr/lib/libcurses.so 15:24:05 -- Configuring done (0.4s) 15:24:05 -- Generating done (0.0s) 15:24:05 -- Build files have been written to: /tmp/sdk/build/debug 15:24:05 + make 15:24:05 + tee debug.log 15:24:05 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 15:24:05 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 15:24:05 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 15:24:05 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 15:24:05 [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o 15:24:05 [ 11%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 15:24:05 [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 15:24:05 [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o 15:24:05 [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o 15:24:05 [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 15:24:05 [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 15:24:06 [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 15:24:06 [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 15:24:06 [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 15:24:06 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 15:24:06 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 15:24:06 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 15:24:06 [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 15:24:06 In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, 15:24:06 from /tmp/sdk/src/c/registry.h:14, 15:24:06 from /tmp/sdk/src/c/registry-impl.h:12, 15:24:06 from /tmp/sdk/src/c/keeper.h:12, 15:24:06 from /tmp/sdk/src/c/keeper.c:1: 15:24:06 /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': 15:24:06 /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 15:24:06 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 15:24:06 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15:24:06 /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' 15:24:06 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) 15:24:06 | ^~~~~~~~~~~ 15:24:06 /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here 15:24:06 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); 15:24:06 | ~^ 15:24:06 | | 15:24:06 | char * 15:24:06 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 15:24:06 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 15:24:06 [ 40%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 15:24:06 [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 15:24:06 [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 15:24:07 [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 15:24:07 [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 15:24:07 [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 15:24:07 [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 15:24:07 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 15:24:07 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 15:24:07 [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 15:24:07 [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 15:24:07 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 15:24:07 [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 15:24:07 [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 15:24:08 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 15:24:08 [ 69%] Linking C shared library libcsdk.so 15:24:08 [ 69%] Built target csdk 15:24:08 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 15:24:08 [ 73%] Linking C executable template 15:24:08 [ 73%] Built target template 15:24:08 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 15:24:08 [ 76%] Linking C executable device-counter 15:24:08 [ 76%] Built target device-counter 15:24:08 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 15:24:08 [ 80%] Linking C executable device-random 15:24:08 [ 80%] Built target device-random 15:24:08 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 15:24:08 [ 84%] Linking C executable device-gyro 15:24:08 [ 84%] Built target device-gyro 15:24:09 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 15:24:09 [ 88%] Linking C executable device-bitfields 15:24:09 [ 88%] Built target device-bitfields 15:24:09 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 15:24:09 [ 92%] Linking C executable template-discovery 15:24:09 [ 92%] Built target template-discovery 15:24:09 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 15:24:09 [ 96%] Linking C executable device-file 15:24:09 [ 96%] Built target device-file 15:24:09 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 15:24:09 [100%] Linking C executable device-terminal 15:24:09 [100%] Built target device-terminal 15:24:09 make: Entering directory '/tmp/sdk/build/release' 15:24:09 [ 69%] Built target csdk 15:24:09 [ 73%] Built target template 15:24:09 [ 76%] Built target device-counter 15:24:09 [ 80%] Built target device-random 15:24:09 [ 84%] Built target device-gyro 15:24:09 [ 88%] Built target device-bitfields 15:24:09 [ 92%] Built target template-discovery 15:24:09 [ 96%] Built target device-file 15:24:09 [100%] Built target device-terminal 15:24:09 Install the project... 15:24:09 -- Install configuration: "Release" 15:24:09 -- Installing: /usr/local/lib/libcsdk.so 15:24:09 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 15:24:09 -- Installing: /usr/local/include 15:24:09 -- Installing: /usr/local/include/devsdk 15:24:09 -- Installing: /usr/local/include/devsdk/devsdk.h 15:24:09 -- Installing: /usr/local/include/devsdk/devsdk-base.h 15:24:09 -- Installing: /usr/local/include/edgex 15:24:09 -- Installing: /usr/local/include/edgex/edgex.h 15:24:09 -- Installing: /usr/local/include/edgex/devices.h 15:24:09 -- Installing: /usr/local/include/edgex/profiles.h 15:24:09 -- Installing: /usr/local/include/edgex/edgex-base.h 15:24:09 -- Installing: /usr/local/include/edgex/rest-server.h 15:24:09 -- Installing: /usr/local/include/edgex/csdk-defs.h 15:24:09 -- Installing: /usr/local/share/device-sdk-c/LICENSE 15:24:09 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 15:24:09 make: Leaving directory '/tmp/sdk/build/release' 15:24:10 Removing intermediate container fd0289274ff9 15:24:10 ---> 465e1675a3c6 15:24:10 Step 14/22 : FROM ${BASE} 15:24:10 ---> 6605166a5db4 15:24:10 Step 15/22 : LABEL maintainer="IOTech " 15:24:10 ---> Running in e5c711e157b2 15:24:10 Removing intermediate container e5c711e157b2 15:24:10 ---> 413557a1d623 15:24:10 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 15:24:10 ---> Running in f28db6174124 15:24:10 Connecting to iotech.jfrog.io (54.73.4.50:443) 15:24:11 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:24:11 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:24:11 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:24:11 Removing intermediate container f28db6174124 15:24:11 ---> 102fe12ab6dd 15:24:11 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 15:24:11 ---> Running in 82405a22b700 15:24:12 Removing intermediate container 82405a22b700 15:24:12 ---> e81986395a89 15:24:12 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 dumb-init 15:24:12 ---> Running in 4fe028b11122 15:24:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:24:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:24:12 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 15:24:13 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:24:13 (1/8) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) 15:24:13 (2/8) Installing curl (8.9.1-r1) 15:24:13 (3/8) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) 15:24:13 (4/8) Installing dumb-init (1.2.5-r2) 15:24:13 (5/8) Installing libcbor (0.10.2-r1) 15:24:13 (6/8) Installing iotech-iot-1.5 (1.5.5-r0) 15:24:14 (7/8) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 15:24:14 (8/8) Installing libuuid (2.38.1-r8) 15:24:14 Executing busybox-1.36.1-r4.trigger 15:24:14 OK: 331 MiB in 88 packages 15:24:14 Removing intermediate container 4fe028b11122 15:24:14 ---> c068cc6c2a42 15:24:14 Step 19/22 : RUN apk --no-cache upgrade 15:24:14 ---> Running in 69bac0a6ce45 15:24:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:24:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:24:15 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 15:24:16 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:24:16 Upgrading critical system libraries and apk-tools: 15:24:16 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 15:24:16 Executing busybox-1.36.1-r4.trigger 15:24:16 Continuing the upgrade transaction with new apk-tools: 15:24:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:24:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:24:16 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 15:24:16 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:24:16 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 15:24:16 Executing busybox-1.36.1-r7.post-upgrade 15:24:16 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 15:24:16 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 15:24:16 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 15:24:16 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 15:24:16 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 15:24:16 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 15:24:16 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 15:24:16 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 15:24:16 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 15:24:17 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 15:24:17 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 15:24:17 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 15:24:17 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 15:24:17 Executing busybox-1.36.1-r7.trigger 15:24:17 Executing ca-certificates-20240226-r0.trigger 15:24:17 OK: 331 MiB in 88 packages 15:24:18 Removing intermediate container 69bac0a6ce45 15:24:18 ---> ad34b28b4fc1 15:24:18 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 15:24:18 ---> f490dbe02dfd 15:24:18 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 15:24:18 ---> 4c299620cb95 15:24:18 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 15:24:18 ---> 078bb673fa2f 15:24:18 Successfully built 078bb673fa2f 15:24:18 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 15:24:18 + docker inspect -f . ci-base-image-x86_64 15:24:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:24:19 prd-ubuntu20.04-docker-8c-8g-34629 does not seem to be running inside a container 15:24:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-532 -v /w/workspace/edgexfoundry_device-sdk-c_PR-532:/w/workspace/edgexfoundry_device-sdk-c_PR-532:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:24:19 $ docker top 07826f999805e1a444f8e6efa3feb63c8f4cc7c1a8aa0f74251dedbec31a6e8f -eo pid,comm [Pipeline] { [Pipeline] sh 15:24:19 + make test 15:24:19 echo "make test" 15:24:19 make test [Pipeline] } 15:24:19 $ docker stop --time=1 07826f999805e1a444f8e6efa3feb63c8f4cc7c1a8aa0f74251dedbec31a6e8f 15:24:21 $ docker rm -f --volumes 07826f999805e1a444f8e6efa3feb63c8f4cc7c1a8aa0f74251dedbec31a6e8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:24:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:24:22 + ls -al . 15:24:22 total 212 15:24:22 drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 15:23 . 15:24:22 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 15:23 .. 15:24:22 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 15:23 .git 15:24:22 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 15:23 .github 15:24:22 -rw-rw-r-- 1 jenkins jenkins 176 Dec 6 15:23 .gitignore 15:24:22 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 15:23 .semver 15:24:22 -rw-rw-r-- 1 jenkins jenkins 2908 Dec 6 15:23 Attribution.txt 15:24:22 -rw-rw-r-- 1 jenkins jenkins 11953 Dec 6 15:23 CHANGELOG.md 15:24:22 -rw-rw-r-- 1 jenkins jenkins 108574 Dec 6 15:23 Doxyfile 15:24:22 -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 15:23 GOVERNANCE.md 15:24:22 -rw-rw-r-- 1 jenkins jenkins 784 Dec 6 15:23 Jenkinsfile 15:24:22 -rw-rw-r-- 1 jenkins jenkins 10174 Dec 6 15:23 LICENSE 15:24:22 -rw-rw-r-- 1 jenkins jenkins 444 Dec 6 15:23 Makefile 15:24:22 -rw-rw-r-- 1 jenkins jenkins 618 Dec 6 15:23 OWNERS.md 15:24:22 -rw-rw-r-- 1 jenkins jenkins 1651 Dec 6 15:23 README.IOT.md 15:24:22 -rw-rw-r-- 1 jenkins jenkins 4173 Dec 6 15:23 README.md 15:24:22 -rw-rw-r-- 1 jenkins jenkins 1245 Dec 6 15:23 README.v3.md 15:24:22 -rw-rw-r-- 1 jenkins jenkins 5 Dec 6 15:23 VERSION 15:24:22 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 15:23 docs 15:24:22 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 15:23 include 15:24:22 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 15:23 scripts 15:24:22 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 15:23 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:22 + 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=4d3bb0caef1aa5668de697f4dc558339b75e740a --label arch=amd64 --label version=0.0.0 . 15:24:22 Sending build context to Docker daemon 5.277MB 15:24:22 Step 1/18 : ARG BASE=alpine:3.18 15:24:22 Step 2/18 : FROM ${BASE} 15:24:22 ---> 078bb673fa2f 15:24:22 Step 3/18 : LABEL maintainer="IOTech " 15:24:22 ---> Running in f5ec16ae35f8 15:24:22 Removing intermediate container f5ec16ae35f8 15:24:22 ---> 5be8bc21e029 15:24:22 Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 15:24:22 ---> Running in 5b68b94e3cbd 15:24:22 Connecting to iotech.jfrog.io (34.247.22.236:443) 15:24:23 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 15:24:23 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 15:24:23 '/etc/apk/keys/alpine.dev.rsa.pub' saved 15:24:23 Removing intermediate container 5b68b94e3cbd 15:24:23 ---> 2f4302fb58f5 15:24:23 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 15:24:23 ---> Running in 187581600f7e 15:24:24 Removing intermediate container 187581600f7e 15:24:24 ---> 9efd0d89f090 15:24:24 Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build 15:24:24 ---> Running in ad0cf355b561 15:24:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:24:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:24:24 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 15:24:25 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:24:25 (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) 15:24:25 (2/11) Installing libcbor-dev (0.10.2-r1) 15:24:25 (3/11) Installing libmenuw (6.4_p20230506-r0) 15:24:25 (4/11) Installing libpanelw (6.4_p20230506-r0) 15:24:25 (5/11) Installing libncurses++ (6.4_p20230506-r0) 15:24:25 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 15:24:25 (7/11) Installing libblkid (2.38.1-r8) 15:24:25 (8/11) Installing libfdisk (2.38.1-r8) 15:24:25 (9/11) Installing libmount (2.38.1-r8) 15:24:25 (10/11) Installing libsmartcols (2.38.1-r8) 15:24:25 (11/11) Installing util-linux-dev (2.38.1-r8) 15:24:25 Executing busybox-1.36.1-r7.trigger 15:24:25 OK: 336 MiB in 99 packages 15:24:26 Removing intermediate container ad0cf355b561 15:24:26 ---> 911ffcb0ef98 15:24:26 Step 7/18 : RUN apk --no-cache upgrade 15:24:26 ---> Running in 60554b7b7fa3 15:24:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:24:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:24:26 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 15:24:27 WARNING: This apk-tools is OLD! Some packages might not function properly. 15:24:27 OK: 336 MiB in 99 packages 15:24:27 Removing intermediate container 60554b7b7fa3 15:24:27 ---> 3b826973e6de 15:24:27 Step 8/18 : COPY VERSION /edgex-c-sdk/ 15:24:27 ---> 7418895aca37 15:24:27 Step 9/18 : COPY src /edgex-c-sdk/src/ 15:24:28 ---> d535a7595aa5 15:24:28 Step 10/18 : COPY include /edgex-c-sdk/include/ 15:24:28 ---> 10a542b4ef86 15:24:28 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 15:24:28 ---> ee0655e68b7a 15:24:28 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 15:24:28 ---> fab39c188d1d 15:24:28 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 15:24:28 ---> 62813eb3a0cd 15:24:28 Step 14/18 : WORKDIR /edgex-c-sdk 15:24:28 ---> Running in 7d176e1b2228 15:24:28 Removing intermediate container 7d176e1b2228 15:24:28 ---> 79a0a57a3eed 15:24:28 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 15:24:28 ---> Running in 18d291e76290 15:24:28 Removing intermediate container 18d291e76290 15:24:28 ---> 0cde2965c021 15:24:28 Step 16/18 : LABEL arch=amd64 15:24:28 ---> Running in aed9d2ed721d 15:24:28 Removing intermediate container aed9d2ed721d 15:24:28 ---> 4cad29652872 15:24:28 Step 17/18 : LABEL git_sha=4d3bb0caef1aa5668de697f4dc558339b75e740a 15:24:28 ---> Running in f2bdb5b3e65e 15:24:29 Removing intermediate container f2bdb5b3e65e 15:24:29 ---> 86feafee3000 15:24:29 Step 18/18 : LABEL version=0.0.0 15:24:29 ---> Running in 2b58aeb94ab1 15:24:29 Removing intermediate container 2b58aeb94ab1 15:24:29 ---> e059e3169a64 15:24:29 [Warning] One or more build-args [MAKE ARCH] were not consumed 15:24:29 Successfully built e059e3169a64 15:24:29 Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:24:29 15:24:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:24:29 latest: Pulling from edgex-lftools-log-publisher 15:24:29 5eb5b503b376: Pulling fs layer 15:24:29 5c69ac0246d0: Pulling fs layer 15:24:29 ec43610c2a17: Pulling fs layer 15:24:29 3a2ae6a8a46f: Pulling fs layer 15:24:29 33b1e0a273af: Pulling fs layer 15:24:29 3a2ae6a8a46f: Waiting 15:24:29 33b1e0a273af: Waiting 15:24:29 5d3b04190fa2: Pulling fs layer 15:24:29 2f39f015ded8: Pulling fs layer 15:24:29 5d3b04190fa2: Waiting 15:24:29 2f39f015ded8: Waiting 15:24:29 5c69ac0246d0: Verifying Checksum 15:24:29 5c69ac0246d0: Download complete 15:24:29 3a2ae6a8a46f: Verifying Checksum 15:24:29 3a2ae6a8a46f: Download complete 15:24:29 33b1e0a273af: Verifying Checksum 15:24:29 33b1e0a273af: Download complete 15:24:29 5d3b04190fa2: Download complete 15:24:29 ec43610c2a17: Verifying Checksum 15:24:29 ec43610c2a17: Download complete 15:24:30 5eb5b503b376: Verifying Checksum 15:24:30 5eb5b503b376: Download complete 15:24:30 2f39f015ded8: Download complete 15:24:31 5eb5b503b376: Pull complete 15:24:31 5c69ac0246d0: Pull complete 15:24:31 ec43610c2a17: Pull complete 15:24:31 3a2ae6a8a46f: Pull complete 15:24:32 33b1e0a273af: Pull complete 15:24:32 5d3b04190fa2: Pull complete 15:24:36 2f39f015ded8: Pull complete 15:24:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:24:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:24:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:24:36 prd-ubuntu20.04-docker-8c-8g-34629 does not seem to be running inside a container 15:24:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-532 -v /w/workspace/edgexfoundry_device-sdk-c_PR-532:/w/workspace/edgexfoundry_device-sdk-c_PR-532:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:24:41 $ docker top c2e28539e6838da6e82ba999d5f185ca7cd4cd3d529aae46e42d983e876117c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:24:41 ---> job-cost.sh 15:24:41 lf-activate-venv: SKIPPING 15:24:41 INFO: No Stack... 15:24:42 INFO: Retrieving Pricing Info for: v3-standard-8 15:24:42 INFO: Archiving Costs [Pipeline] sh 15:24:42 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-532/archives/cost.csv 15:24:42 + cut -d, -f6 [Pipeline] lock 15:24:42 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-532-2-stack-cost] 15:24:42 Resource [jenkins-edgexfoundry-device-sdk-c-PR-532-2-stack-cost] did not exist. Created. 15:24:42 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-532-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:24:43 + echo total: 0.2199999988079071 [Pipeline] stash 15:24:43 Stashed 1 file(s) [Pipeline] } 15:24:43 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-532-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:24:43 $ docker stop --time=1 c2e28539e6838da6e82ba999d5f185ca7cd4cd3d529aae46e42d983e876117c8 15:24:44 $ docker rm -f --volumes c2e28539e6838da6e82ba999d5f185ca7cd4cd3d529aae46e42d983e876117c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:24:45 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-532/archives ] 15:24:45 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-532/archives 15:24:45 total 16 15:24:45 drwxr-xr-x 3 root root 4096 Dec 6 15:24 . 15:24:45 drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 15:24 .. 15:24:45 drwxr-xr-x 2 root root 4096 Dec 6 15:24 cost 15:24:45 -rw-r--r-- 1 root root 84 Dec 6 15:24 cost.csv 15:24:45 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-532/archives 15:24:45 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-532/archives 15:24:45 total 16 15:24:45 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 15:24 . 15:24:45 drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 15:24 .. 15:24:45 drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 15:24 cost 15:24:45 -rw-r--r-- 1 jenkins jenkins 84 Dec 6 15:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:24:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:24:46 ---> package-listing.sh 15:24:46 ++ facter osfamily 15:24:46 ++ tr '[:upper:]' '[:lower:]' 15:24:46 + OS_FAMILY=debian 15:24:46 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-532 15:24:46 + START_PACKAGES=/tmp/packages_start.txt 15:24:46 + END_PACKAGES=/tmp/packages_end.txt 15:24:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:24:46 + PACKAGES=/tmp/packages_start.txt 15:24:46 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-532 ']' 15:24:46 + PACKAGES=/tmp/packages_end.txt 15:24:46 + case "${OS_FAMILY}" in 15:24:46 + dpkg -l 15:24:46 + grep '^ii' 15:24:46 + '[' -f /tmp/packages_start.txt ']' 15:24:46 + '[' -f /tmp/packages_end.txt ']' 15:24:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:24:46 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-532 ']' 15:24:46 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-532/archives/ 15:24:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-532/archives/ [Pipeline] echo 15:24:46 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-532/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:24:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:24:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:24:47 prd-ubuntu20.04-docker-8c-8g-34629 does not seem to be running inside a container 15:24:47 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-532/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-532 -v /w/workspace/edgexfoundry_device-sdk-c_PR-532:/w/workspace/edgexfoundry_device-sdk-c_PR-532:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:24:47 $ docker top 7bcb79e0d66c45cc33198954fd33f1941796334622b71e1b6aff38732e9e2f0f -eo pid,comm [Pipeline] { [Pipeline] sh 15:24:48 + touch /tmp/pre-build-complete [Pipeline] sh 15:24:48 + mkdir -p /var/log/sysstat [Pipeline] sh 15:24:48 + ls /var/log/sa-host 15:24:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:24:48 provisioning config files... 15:24:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp/config10323862862791450073tmp [Pipeline] { [Pipeline] echo 15:24:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:24:49 ---> create-netrc.sh [Pipeline] } 15:24:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:24:49 ---> python-tools-install.sh [Pipeline] echo 15:24:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:24:49 ---> sudo-logs.sh 15:24:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:24:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:24:50 ---> job-cost.sh 15:24:50 lf-activate-venv: SKIPPING 15:24:50 DEBUG: total: 0.2199999988079071 15:24:50 INFO: Retrieving Stack Cost... 15:24:50 INFO: Retrieving Pricing Info for: v3-standard-8 15:24:50 INFO: Archiving Costs [Pipeline] echo 15:24:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:24:50 ---> logs-deploy.sh 15:24:50 lf-activate-venv: SKIPPING 15:24:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-532/2 15:24:50 INFO: archiving workspace using pattern(s): 15:24:51 Archives upload complete. 15:24:51 INFO: archiving logs to Nexus 15:24:52 ---> uname -a: 15:24:52 Linux prd-ubuntu20-04-docker-8c-8g-34629 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 15:24:52 15:24:52 15:24:52 ---> lscpu: 15:24:52 Architecture: x86_64 15:24:52 CPU op-mode(s): 32-bit, 64-bit 15:24:52 Byte Order: Little Endian 15:24:52 Address sizes: 40 bits physical, 48 bits virtual 15:24:52 CPU(s): 8 15:24:52 On-line CPU(s) list: 0-7 15:24:52 Thread(s) per core: 1 15:24:52 Core(s) per socket: 1 15:24:52 Socket(s): 8 15:24:52 NUMA node(s): 1 15:24:52 Vendor ID: AuthenticAMD 15:24:52 CPU family: 23 15:24:52 Model: 49 15:24:52 Model name: AMD EPYC-Rome Processor 15:24:52 Stepping: 0 15:24:52 CPU MHz: 2799.998 15:24:52 BogoMIPS: 5599.99 15:24:52 Virtualization: AMD-V 15:24:52 Hypervisor vendor: KVM 15:24:52 Virtualization type: full 15:24:52 L1d cache: 256 KiB 15:24:52 L1i cache: 256 KiB 15:24:52 L2 cache: 4 MiB 15:24:52 L3 cache: 128 MiB 15:24:52 NUMA node0 CPU(s): 0-7 15:24:52 Vulnerability Itlb multihit: Not affected 15:24:52 Vulnerability L1tf: Not affected 15:24:52 Vulnerability Mds: Not affected 15:24:52 Vulnerability Meltdown: Not affected 15:24:52 Vulnerability Mmio stale data: Not affected 15:24:52 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 15:24:52 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 15:24:52 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 15:24:52 Vulnerability Srbds: Not affected 15:24:52 Vulnerability Tsx async abort: Not affected 15:24:52 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 15:24:52 15:24:52 15:24:52 ---> nproc: 15:24:52 8 15:24:52 15:24:52 15:24:52 ---> df -h: 15:24:52 Filesystem Size Used Avail Use% Mounted on 15:24:52 overlay 155G 11G 145G 7% / 15:24:52 tmpfs 64M 0 64M 0% /dev 15:24:52 tmpfs 16G 0 16G 0% /sys/fs/cgroup 15:24:52 shm 64M 0 64M 0% /dev/shm 15:24:52 /dev/vda1 155G 11G 145G 7% /facter-os 15:24:52 15:24:52 15:24:52 ---> sar -b -r -n DEV: 15:24:52 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-34629) 12/06/24 _x86_64_ (8 CPU) 15:24:52 15:24:52 15:22:33 LINUX RESTART (8 CPU) 15:24:52 15:24:52 15:23:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 15:24:52 15:24:01 368.13 39.31 328.82 0.00 4389.02 30322.74 0.00 15:24:52 Average: 368.13 39.31 328.82 0.00 4389.02 30322.74 0.00 15:24:52 15:24:52 15:23:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:24:52 15:24:01 29527620 31569316 767408 2.33 66728 2256416 1958756 5.77 1039956 1952320 2264 15:24:52 Average: 29527620 31569316 767408 2.33 66728 2256416 1958756 5.77 1039956 1952320 2264 15:24:52 15:24:52 15:23:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:24:52 15:24:01 ens3 500.54 336.06 4588.04 98.43 0.00 0.00 0.00 0.00 15:24:52 15:24:01 veth63d396f 0.08 0.22 0.00 0.02 0.00 0.00 0.00 0.00 15:24:52 15:24:01 lo 6.30 6.30 0.62 0.62 0.00 0.00 0.00 0.00 15:24:52 15:24:01 docker0 10.52 14.25 0.83 98.95 0.00 0.00 0.00 0.00 15:24:52 Average: ens3 500.54 336.06 4588.04 98.43 0.00 0.00 0.00 0.00 15:24:52 Average: veth63d396f 0.08 0.22 0.00 0.02 0.00 0.00 0.00 0.00 15:24:52 Average: lo 6.30 6.30 0.62 0.62 0.00 0.00 0.00 0.00 15:24:52 Average: docker0 10.52 14.25 0.83 98.95 0.00 0.00 0.00 0.00 15:24:52 15:24:52 15:24:52 ---> sar -P ALL: 15:24:52 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-34629) 12/06/24 _x86_64_ (8 CPU) 15:24:52 15:24:52 15:22:33 LINUX RESTART (8 CPU) 15:24:52 15:24:52 15:23:02 CPU %user %nice %system %iowait %steal %idle 15:24:52 15:24:01 all 9.83 0.00 3.17 2.68 0.06 84.25 15:24:52 15:24:01 0 10.15 0.00 3.29 0.58 0.07 85.91 15:24:52 15:24:01 1 10.33 0.00 3.15 0.19 0.07 86.26 15:24:52 15:24:01 2 9.11 0.00 3.28 9.62 0.09 77.90 15:24:52 15:24:01 3 9.87 0.00 3.99 3.49 0.07 82.58 15:24:52 15:24:01 4 9.55 0.00 2.84 3.37 0.05 84.18 15:24:52 15:24:01 5 9.51 0.00 2.85 2.45 0.05 85.14 15:24:52 15:24:01 6 9.31 0.00 2.55 1.38 0.05 86.71 15:24:52 15:24:01 7 10.81 0.00 3.43 0.39 0.05 85.32 15:24:52 Average: all 9.83 0.00 3.17 2.68 0.06 84.25 15:24:52 Average: 0 10.15 0.00 3.29 0.58 0.07 85.91 15:24:52 Average: 1 10.33 0.00 3.15 0.19 0.07 86.26 15:24:52 Average: 2 9.11 0.00 3.28 9.62 0.09 77.90 15:24:52 Average: 3 9.87 0.00 3.99 3.49 0.07 82.58 15:24:52 Average: 4 9.55 0.00 2.84 3.37 0.05 84.18 15:24:52 Average: 5 9.51 0.00 2.85 2.45 0.05 85.14 15:24:52 Average: 6 9.31 0.00 2.55 1.38 0.05 86.71 15:24:52 Average: 7 10.81 0.00 3.43 0.39 0.05 85.32 15:24:52 15:24:52 15:24:52