Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9ba2c339c6b6ced168e87f011e0a7391adc1a762 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-ssh3367634934108347006.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh68918867456776296.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 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh14533444568424154303.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh9873011543398562684.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-ssh15702488102677844133.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2669 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 9ba2c339c6b6ced168e87f011e0a7391adc1a762 (main) Commit message: "fix: bump sdk version to 3.2.0 (#500)" > 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 9ba2c339c6b6ced168e87f011e0a7391adc1a762 # timeout=10 > git rev-list --no-walk 9db6249cb5b64beed6f22149c866398dbcee266e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:30:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:30:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:30:08 ========================================================= 02:30:08 EdgeX Global Pipelines Version Info 02:30:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:30:08 ------------------- 02:30:08 stable info: 02:30:08 ------------------- 02:30:08 Commited By: Ginny Guan ginny@iotechsys.com 02:30:08 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 02:30:08 Message: update stable to v1.0.260 02:30:09 ------------------- 02:30:09 experimental info: 02:30:09 ------------------- 02:30:09 Commited By: Ginny Guan ginny@iotechsys.com 02:30:09 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 02:30:09 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9ba2c339c6b6ced168e87f011e0a7391adc1a762 [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9ba2c33 [Pipeline] echo 02:30:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:30:09 provisioning config files... 02:30:10 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14698010831725497770tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:30:10 ---> ****-login.sh 02:30:10 nexus3.edgexfoundry.org:10001 02:30:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:10 Configure a credential helper to remove this warning. See 02:30:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:10 02:30:10 Login Succeeded 02:30:10 nexus3.edgexfoundry.org:10002 02:30:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:10 Configure a credential helper to remove this warning. See 02:30:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:10 02:30:10 Login Succeeded 02:30:10 nexus3.edgexfoundry.org:10003 02:30:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:10 Configure a credential helper to remove this warning. See 02:30:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:10 02:30:10 Login Succeeded 02:30:10 nexus3.edgexfoundry.org:10004 02:30:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:11 Configure a credential helper to remove this warning. See 02:30:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:11 02:30:11 Login Succeeded 02:30:11 ****.io 02:30:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:11 Configure a credential helper to remove this warning. See 02:30:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:11 02:30:11 Login Succeeded 02:30:11 ---> ****-login.sh ends [Pipeline] } 02:30:11 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:30:11 + git rev-list -1 --merges 9ba2c339c6b6ced168e87f011e0a7391adc1a762~1..9ba2c339c6b6ced168e87f011e0a7391adc1a762 [Pipeline] echo 02:30:11 -----------> git rev-list -1 --merges 9ba2c339c6b6ced168e87f011e0a7391adc1a762~1..9ba2c339c6b6ced168e87f011e0a7391adc1a762 9ba2c339c6b6ced168e87f011e0a7391adc1a762 [false] [Pipeline] sh 02:30:12 + git log --format=format:%s -1 9ba2c339c6b6ced168e87f011e0a7391adc1a762 [Pipeline] echo 02:30:12 ========================================================= 02:30:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:30:12 ========================================================= 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 02:30:12 + git rev-list -1 --merges 9ba2c339c6b6ced168e87f011e0a7391adc1a762~1..9ba2c339c6b6ced168e87f011e0a7391adc1a762 [Pipeline] echo 02:30:12 -----------> git rev-list -1 --merges 9ba2c339c6b6ced168e87f011e0a7391adc1a762~1..9ba2c339c6b6ced168e87f011e0a7391adc1a762 9ba2c339c6b6ced168e87f011e0a7391adc1a762 [false] [Pipeline] sh 02:30:12 + git log --format=format:%s -1 9ba2c339c6b6ced168e87f011e0a7391adc1a762 [Pipeline] echo 02:30:12 ========================================================= 02:30:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:30:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 02:30:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:30:13 + grep -v github /etc/ssh/ssh_known_hosts 02:30:13 + [ -e /tmp/ssh_known_hosts ] 02:30:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:30:13 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:30:13 sudo tee -a /etc/ssh/ssh_known_hosts 02:30:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:30:13 02:30:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:30:13 0.1.4: Pulling from edgex-devops/py-git-semver 02:30:13 b85a868b505f: Pulling fs layer 02:30:13 e2be974225ed: Pulling fs layer 02:30:13 339a4e72a1f5: Pulling fs layer 02:30:13 988bab9f4d93: Pulling fs layer 02:30:13 1469e6f7b9e6: Pulling fs layer 02:30:13 eaf3925da568: Pulling fs layer 02:30:13 bab4dde63d76: Pulling fs layer 02:30:13 bde34c3a00c8: Pulling fs layer 02:30:13 b352a97aabf1: Pulling fs layer 02:30:13 4872d77fe225: Pulling fs layer 02:30:13 5851b861e8e6: Pulling fs layer 02:30:13 bab4dde63d76: Waiting 02:30:13 bde34c3a00c8: Waiting 02:30:13 b352a97aabf1: Waiting 02:30:13 4872d77fe225: Waiting 02:30:13 5851b861e8e6: Waiting 02:30:13 1469e6f7b9e6: Waiting 02:30:13 eaf3925da568: Waiting 02:30:13 988bab9f4d93: Waiting 02:30:13 e2be974225ed: Download complete 02:30:13 988bab9f4d93: Verifying Checksum 02:30:13 988bab9f4d93: Download complete 02:30:13 1469e6f7b9e6: Verifying Checksum 02:30:13 1469e6f7b9e6: Download complete 02:30:13 339a4e72a1f5: Verifying Checksum 02:30:13 339a4e72a1f5: Download complete 02:30:13 eaf3925da568: Verifying Checksum 02:30:13 eaf3925da568: Download complete 02:30:14 bde34c3a00c8: Download complete 02:30:14 b352a97aabf1: Verifying Checksum 02:30:14 b352a97aabf1: Download complete 02:30:14 4872d77fe225: Download complete 02:30:14 5851b861e8e6: Verifying Checksum 02:30:14 5851b861e8e6: Download complete 02:30:14 b85a868b505f: Verifying Checksum 02:30:14 b85a868b505f: Download complete 02:30:14 bab4dde63d76: Verifying Checksum 02:30:14 bab4dde63d76: Download complete 02:30:15 b85a868b505f: Pull complete 02:30:15 e2be974225ed: Pull complete 02:30:16 339a4e72a1f5: Pull complete 02:30:16 988bab9f4d93: Pull complete 02:30:16 1469e6f7b9e6: Pull complete 02:30:16 eaf3925da568: Pull complete 02:30:18 bab4dde63d76: Pull complete 02:30:18 bde34c3a00c8: Pull complete 02:30:18 b352a97aabf1: Pull complete 02:30:18 4872d77fe225: Pull complete 02:30:18 5851b861e8e6: Pull complete 02:30:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:30:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:30:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:30:18 prd-ubuntu20.04-docker-8c-8g-2669 does not seem to be running inside a container 02:30:18 $ 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:30:22 $ docker top 6fc3c3504b3586ae2bbfe4e1f9cc448af55546459642634de2c54b707c6f566d -eo pid,comm 02:30:22 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:30:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:30:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:30:22 [ssh-agent] Looking for ssh-agent implementation... 02:30:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:30:22 $ docker exec 6fc3c3504b3586ae2bbfe4e1f9cc448af55546459642634de2c54b707c6f566d ssh-agent 02:30:22 SSH_AUTH_SOCK=/tmp/ssh-IuiVh56ThZG8/agent.33 02:30:22 SSH_AGENT_PID=39 02:30:22 Running ssh-add (command line suppressed) 02:30:22 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5222734575456810743.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5222734575456810743.key) 02:30:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:30:22 + git tag --points-at HEAD [Pipeline] } 02:30:22 $ docker exec --env ******** --env ******** 6fc3c3504b3586ae2bbfe4e1f9cc448af55546459642634de2c54b707c6f566d ssh-agent -k 02:30:22 unset SSH_AUTH_SOCK; 02:30:22 unset SSH_AGENT_PID; 02:30:22 echo Agent pid 39 killed; 02:30:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:30:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:30:23 [ssh-agent] Looking for ssh-agent implementation... 02:30:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:30:23 $ docker exec 6fc3c3504b3586ae2bbfe4e1f9cc448af55546459642634de2c54b707c6f566d ssh-agent 02:30:23 SSH_AUTH_SOCK=/tmp/ssh-R3uB2iGCbOtL/agent.72 02:30:23 SSH_AGENT_PID=78 02:30:23 Running ssh-add (command line suppressed) 02:30:23 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1311474741974972518.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1311474741974972518.key) 02:30:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:30:23 + git semver init 02:30:23 2024-06-03 02:30:23,825 [run_init] DEBUG init version:0.0.0 force:False 02:30:23 2024-06-03 02:30:23,826 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 02:30:23 2024-06-03 02:30:23,826 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 02:30:23 2024-06-03 02:30:23,827 [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:30:24 2024-06-03 02:30:24,619 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 02:30:24 2024-06-03 02:30:24,619 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 02:30:24 2024-06-03 02:30:24,619 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 02:30:24 2024-06-03 02:30:24,619 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 02:30:24 3.0.3-dev.14 [Pipeline] } 02:30:24 $ docker exec --env ******** --env ******** 6fc3c3504b3586ae2bbfe4e1f9cc448af55546459642634de2c54b707c6f566d ssh-agent -k 02:30:24 unset SSH_AUTH_SOCK; 02:30:24 unset SSH_AGENT_PID; 02:30:24 echo Agent pid 78 killed; 02:30:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:30:25 + git semver [Pipeline] } 02:30:25 $ docker stop --time=1 6fc3c3504b3586ae2bbfe4e1f9cc448af55546459642634de2c54b707c6f566d 02:30:26 $ docker rm -f --volumes 6fc3c3504b3586ae2bbfe4e1f9cc448af55546459642634de2c54b707c6f566d [Pipeline] // withDockerContainer [Pipeline] sh 02:30:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:30:27 Stashed 1 file(s) [Pipeline] echo 02:30:27 [edgeXSemver]: initialized semver on version 3.0.3-dev.14 [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:30:27 provisioning config files... 02:30:27 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4069235425060092671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:30:28 ---> ****-login.sh 02:30:28 nexus3.edgexfoundry.org:10001 02:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:28 Configure a credential helper to remove this warning. See 02:30:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:28 02:30:28 Login Succeeded 02:30:28 nexus3.edgexfoundry.org:10002 02:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:28 Configure a credential helper to remove this warning. See 02:30:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:28 02:30:28 Login Succeeded 02:30:28 nexus3.edgexfoundry.org:10003 02:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:28 Configure a credential helper to remove this warning. See 02:30:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:28 02:30:28 Login Succeeded 02:30:28 nexus3.edgexfoundry.org:10004 02:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:28 Configure a credential helper to remove this warning. See 02:30:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:28 02:30:28 Login Succeeded 02:30:28 ****.io 02:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:30:28 Configure a credential helper to remove this warning. See 02:30:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:30:28 02:30:28 Login Succeeded 02:30:28 ---> ****-login.sh ends [Pipeline] } 02:30:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:30:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:30:28 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 02:30:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:30:28 ========================================================= 02:30:28 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 02:30:28 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:30:29 + 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:30:29 Sending build context to Docker daemon 5.017MB 02:30:29 Step 1/21 : ARG BASE=alpine:3.18 02:30:29 Step 2/21 : FROM ${BASE} as builder 02:30:29 latest: Pulling from edgex-devops/edgex-gcc-base 02:30:29 96526aa774ef: Pulling fs layer 02:30:29 da60e534fd72: Pulling fs layer 02:30:29 96526aa774ef: Verifying Checksum 02:30:29 96526aa774ef: Download complete 02:30:29 96526aa774ef: Pull complete 02:30:30 da60e534fd72: Verifying Checksum 02:30:30 da60e534fd72: Download complete 02:30:33 da60e534fd72: Pull complete 02:30:33 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 02:30:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 02:30:33 ---> 6605166a5db4 02:30:33 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:30:36 ---> Running in 847e54792964 02:30:36 Connecting to iotech.jfrog.io (54.73.4.50:443) 02:30:36 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:30:36 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:30:36 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:30:36 Removing intermediate container 847e54792964 02:30:36 ---> b6899a87e28e 02:30:36 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 02:30:36 ---> Running in 7eb42175ece1 02:30:37 Removing intermediate container 7eb42175ece1 02:30:37 ---> 156f6594fe66 02:30:37 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:30:37 ---> Running in 93f7071a4ab3 02:30:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:30:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:30:38 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 02:30:38 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:30:38 (1/17) Installing hiredis (1.1.0-r2) 02:30:39 (2/17) Installing hiredis-dev (1.1.0-r2) 02:30:39 (3/17) Installing libcbor (0.10.2-r1) 02:30:39 (4/17) Installing iotech-iot-1.5 (1.5.4-r1) 02:30:40 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r1) 02:30:40 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 02:30:40 (7/17) Installing libcbor-dev (0.10.2-r1) 02:30:40 (8/17) Installing libmenuw (6.4_p20230506-r0) 02:30:40 (9/17) Installing libpanelw (6.4_p20230506-r0) 02:30:40 (10/17) Installing libncurses++ (6.4_p20230506-r0) 02:30:40 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 02:30:40 (12/17) Installing libblkid (2.38.1-r8) 02:30:40 (13/17) Installing libuuid (2.38.1-r8) 02:30:40 (14/17) Installing libfdisk (2.38.1-r8) 02:30:40 (15/17) Installing libmount (2.38.1-r8) 02:30:40 (16/17) Installing libsmartcols (2.38.1-r8) 02:30:40 (17/17) Installing util-linux-dev (2.38.1-r8) 02:30:40 Executing busybox-1.36.1-r4.trigger 02:30:40 OK: 336 MiB in 99 packages 02:30:41 Removing intermediate container 93f7071a4ab3 02:30:41 ---> b8bbcc703995 02:30:41 Step 6/21 : RUN mkdir /tmp/sdk 02:30:41 ---> Running in d022c234fe04 02:30:41 Removing intermediate container d022c234fe04 02:30:41 ---> 4d2abf679868 02:30:41 Step 7/21 : COPY VERSION /tmp/sdk 02:30:41 ---> 49197951817f 02:30:41 Step 8/21 : COPY src /tmp/sdk/src 02:30:42 ---> 1332d8ecc611 02:30:42 Step 9/21 : COPY include /tmp/sdk/include 02:30:42 ---> 3df85e885ba3 02:30:42 Step 10/21 : COPY scripts /tmp/sdk/scripts 02:30:42 ---> 9a800890e0d3 02:30:42 Step 11/21 : COPY LICENSE /tmp/sdk 02:30:42 ---> f6104862b9b4 02:30:42 Step 12/21 : COPY Attribution.txt /tmp/sdk 02:30:42 ---> f311202e0857 02:30:42 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 02:30:42 ---> Running in 6e054738c11a 02:30:42 Still waiting to schedule task 02:30:42 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 02:30:42 + CPPCHECK=false 02:30:42 + DOCGEN=false 02:30:42 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 02:30:42 + '[' 0 -gt 0 ] 02:30:42 + readlink -f ./scripts/build.sh 02:30:42 + dirname /tmp/sdk/scripts/build.sh 02:30:42 + dirname /tmp/sdk/scripts 02:30:42 + ROOT=/tmp/sdk 02:30:42 + cd /tmp/sdk 02:30:42 + mkdir -p /tmp/sdk/build/release 02:30:42 + cd /tmp/sdk/build/release 02:30:42 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 02:30:42 -- The C compiler identification is GNU 12.2.1 02:30:42 -- Detecting C compiler ABI info 02:30:43 -- Detecting C compiler ABI info - done 02:30:43 -- Check for working C compiler: /usr/bin/cc - skipped 02:30:43 -- Detecting C compile features 02:30:43 -- Detecting C compile features - done 02:30:43 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:30:43 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 02:30:43 -- Found LIBYAML: /usr/lib/libyaml.so 02:30:43 -- Found LIBUUID: /usr/lib/libuuid.so 02:30:43 -- Found LIBCBOR: /usr/lib/libcbor.so 02:30:43 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:30:43 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 02:30:43 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:30:43 -- /opt/iotech/iot/1.5/include 02:30:43 -- C SDK 3.0.3-dev.14 for Linux 02:30:43 -- Performing Test CSDK_HAVE_ATOMIC 02:30:43 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:30:43 -- Found Curses: /usr/lib/libcurses.so 02:30:43 -- Configuring done (0.4s) 02:30:43 -- Generating done (0.0s) 02:30:43 -- Build files have been written to: /tmp/sdk/build/release 02:30:43 + make all package 02:30:43 + tee release.log 02:30:43 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:30:43 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:30:43 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 02:30:43 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:30:43 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:30:43 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:30:44 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 02:30:44 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 02:30:44 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 02:30:44 294 | while (privateConfig) 02:30:44 | ^~~~~~~~~~~~~ 02:30:44 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 02:30:44 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 02:30:44 | ^~~~~~~~~~~~~ 02:30:44 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 02:30:44 271 | while (result) 02:30:44 | ^~~~~~ 02:30:44 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 02:30:44 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 02:30:44 | ^~~~~~ 02:30:44 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:30:44 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:30:44 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:30:44 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:30:44 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:30:45 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:30:45 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:30:45 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:30:45 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:30:45 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:30:46 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:30:46 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:30:46 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:30:46 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:30:47 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:30:47 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:30:47 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:30:47 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:30:47 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:30:47 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:30:48 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:30:48 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:30:48 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:30:48 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:30:48 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 02:30:48 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 02:30:48 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 02:30:48 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:30:48 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 02:30:48 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 02:30:48 | ^ 02:30:48 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 02:30:48 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 02:30:48 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:30:48 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here 02:30:48 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 02:30:48 | ^~~~~~~~~~~~~~~~~~~~~ 02:30:48 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:30:49 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:30:49 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:30:49 [ 68%] Linking C shared library libcsdk.so 02:30:49 [ 68%] Built target csdk 02:30:49 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:30:49 [ 72%] Linking C executable template 02:30:49 [ 72%] Built target template 02:30:49 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:30:49 [ 76%] Linking C executable device-counter 02:30:49 [ 76%] Built target device-counter 02:30:49 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:30:49 [ 80%] Linking C executable device-random 02:30:49 [ 80%] Built target device-random 02:30:49 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:30:49 [ 84%] Linking C executable device-gyro 02:30:49 [ 84%] Built target device-gyro 02:30:49 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:30:50 [ 88%] Linking C executable device-bitfields 02:30:50 [ 88%] Built target device-bitfields 02:30:50 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:30:50 [ 92%] Linking C executable template-discovery 02:30:50 [ 92%] Built target template-discovery 02:30:50 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:30:50 [ 96%] Linking C executable device-file 02:30:50 [ 96%] Built target device-file 02:30:50 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:30:50 [100%] Linking C executable device-terminal 02:30:50 [100%] Built target device-terminal 02:30:50 Run CPack packaging tool... 02:30:50 CPack: Create package using TGZ 02:30:50 CPack: Install projects 02:30:50 CPack: - Run preinstall target for: Csdk 02:30:51 CPack: - Install project: Csdk [] 02:30:51 CPack: Create package 02:30:51 CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.14.tar.gz generated. 02:30:51 + '[' false '=' true ] 02:30:51 + '[' false '=' true ] 02:30:51 + mkdir -p /tmp/sdk/build/debug 02:30:51 + cd /tmp/sdk/build/debug 02:30:51 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 02:30:51 -- The C compiler identification is GNU 12.2.1 02:30:51 -- Detecting C compiler ABI info 02:30:51 -- Detecting C compiler ABI info - done 02:30:51 -- Check for working C compiler: /usr/bin/cc - skipped 02:30:51 -- Detecting C compile features 02:30:51 -- Detecting C compile features - done 02:30:51 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:30:51 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 02:30:51 -- Found LIBYAML: /usr/lib/libyaml.so 02:30:51 -- Found LIBUUID: /usr/lib/libuuid.so 02:30:51 -- Found LIBCBOR: /usr/lib/libcbor.so 02:30:51 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:30:51 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 02:30:51 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:30:51 -- /opt/iotech/iot/1.5/include 02:30:51 -- C SDK 3.0.3-dev.14 for Linux 02:30:51 -- Performing Test CSDK_HAVE_ATOMIC 02:30:51 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:30:51 -- Found Curses: /usr/lib/libcurses.so 02:30:51 -- Configuring done (0.4s) 02:30:51 -- Generating done (0.0s) 02:30:51 -- Build files have been written to: /tmp/sdk/build/debug 02:30:51 + tee debug.log 02:30:51 + make 02:30:51 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:30:51 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:30:51 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 02:30:51 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:30:51 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:30:51 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:30:52 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 02:30:52 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:30:52 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:30:52 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:30:52 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:30:52 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:30:52 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:30:52 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:30:52 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:30:52 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:30:52 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:30:52 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:30:52 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:30:52 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:30:53 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:30:53 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:30:53 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:30:53 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:30:53 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:30:53 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:30:53 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:30:54 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:30:54 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:30:54 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:30:54 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:30:54 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 02:30:54 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 02:30:54 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 02:30:54 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:30:54 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 02:30:54 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 02:30:54 | ^ 02:30:54 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:30:54 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:30:54 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:30:54 [ 68%] Linking C shared library libcsdk.so 02:30:54 [ 68%] Built target csdk 02:30:54 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:30:54 [ 72%] Linking C executable template 02:30:54 [ 72%] Built target template 02:30:54 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:30:54 [ 76%] Linking C executable device-counter 02:30:54 [ 76%] Built target device-counter 02:30:54 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:30:55 [ 80%] Linking C executable device-random 02:30:55 [ 80%] Built target device-random 02:30:55 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:30:55 [ 84%] Linking C executable device-gyro 02:30:55 [ 84%] Built target device-gyro 02:30:55 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:30:55 [ 88%] Linking C executable device-bitfields 02:30:55 [ 88%] Built target device-bitfields 02:30:55 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:30:55 [ 92%] Linking C executable template-discovery 02:30:55 [ 92%] Built target template-discovery 02:30:55 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:30:55 [ 96%] Linking C executable device-file 02:30:55 [ 96%] Built target device-file 02:30:55 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:30:55 [100%] Linking C executable device-terminal 02:30:55 [100%] Built target device-terminal 02:30:55 make: Entering directory '/tmp/sdk/build/release' 02:30:55 [ 68%] Built target csdk 02:30:55 [ 72%] Built target template 02:30:55 [ 76%] Built target device-counter 02:30:55 [ 80%] Built target device-random 02:30:55 [ 84%] Built target device-gyro 02:30:55 [ 88%] Built target device-bitfields 02:30:56 [ 92%] Built target template-discovery 02:30:56 [ 96%] Built target device-file 02:30:56 [100%] Built target device-terminal 02:30:56 Install the project... 02:30:56 -- Install configuration: "Release" 02:30:56 -- Installing: /usr/local/lib/libcsdk.so 02:30:56 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 02:30:56 -- Installing: /usr/local/include 02:30:56 -- Installing: /usr/local/include/devsdk 02:30:56 -- Installing: /usr/local/include/devsdk/devsdk.h 02:30:56 -- Installing: /usr/local/include/devsdk/devsdk-base.h 02:30:56 -- Installing: /usr/local/include/edgex 02:30:56 -- Installing: /usr/local/include/edgex/edgex.h 02:30:56 -- Installing: /usr/local/include/edgex/devices.h 02:30:56 -- Installing: /usr/local/include/edgex/profiles.h 02:30:56 -- Installing: /usr/local/include/edgex/edgex-base.h 02:30:56 -- Installing: /usr/local/include/edgex/rest-server.h 02:30:56 -- Installing: /usr/local/include/edgex/csdk-defs.h 02:30:56 -- Installing: /usr/local/share/device-sdk-c/LICENSE 02:30:56 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 02:30:56 make: Leaving directory '/tmp/sdk/build/release' 02:30:56 Removing intermediate container 6e054738c11a 02:30:56 ---> 9f4a6e7d9569 02:30:56 Step 14/21 : FROM ${BASE} 02:30:56 ---> 6605166a5db4 02:30:56 Step 15/21 : LABEL maintainer="IOTech " 02:30:56 ---> Running in fce49d371b42 02:30:56 Removing intermediate container fce49d371b42 02:30:56 ---> 54108bf8fd4a 02:30:56 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:30:56 ---> Running in b7fc8014d429 02:30:57 Connecting to iotech.jfrog.io (34.247.22.236:443) 02:30:57 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:30:57 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:30:57 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:30:57 Removing intermediate container b7fc8014d429 02:30:57 ---> c289db6daabb 02:30:57 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 02:30:57 ---> Running in 5b457b17cee3 02:30:58 Removing intermediate container 5b457b17cee3 02:30:58 ---> 6e38988324f2 02:30:58 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:30:58 ---> Running in b55ab60e2959 02:30:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:30:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:30:59 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 02:30:59 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:30:59 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) 02:30:59 (2/9) Installing curl (8.5.0-r0) 02:30:59 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) 02:30:59 (4/9) Installing hiredis (1.1.0-r2) 02:30:59 (5/9) Installing hiredis-dev (1.1.0-r2) 02:30:59 (6/9) Installing libcbor (0.10.2-r1) 02:30:59 (7/9) Installing iotech-iot-1.5 (1.5.4-r1) 02:31:00 (8/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 02:31:00 (9/9) Installing libuuid (2.38.1-r8) 02:31:00 Executing busybox-1.36.1-r4.trigger 02:31:00 OK: 331 MiB in 89 packages 02:31:01 Removing intermediate container b55ab60e2959 02:31:01 ---> 7455838f3bd5 02:31:01 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 02:31:01 ---> b57a0d66f206 02:31:01 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 02:31:01 ---> 5515842c3881 02:31:01 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 02:31:01 ---> a2a0d8b92f68 02:31:01 Successfully built a2a0d8b92f68 02:31:01 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:31:02 + docker inspect -f . ci-base-image-x86_64 02:31:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:31:02 prd-ubuntu20.04-docker-8c-8g-2669 does not seem to be running inside a container 02:31:02 $ 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:31:02 $ docker top c68ddda25695ac4f1c25dcb7de69df00a394f67655a3668ad250f11881e7190d -eo pid,comm [Pipeline] { [Pipeline] sh 02:31:02 + make test 02:31:02 echo "make test" 02:31:02 make test [Pipeline] } 02:31:02 $ docker stop --time=1 c68ddda25695ac4f1c25dcb7de69df00a394f67655a3668ad250f11881e7190d 02:31:04 $ docker rm -f --volumes c68ddda25695ac4f1c25dcb7de69df00a394f67655a3668ad250f11881e7190d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:31:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:31:04 + ls -al . 02:31:04 total 212 02:31:04 drwxrwxr-x 9 jenkins jenkins 4096 Jun 3 02:30 . 02:31:04 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 02:30 .. 02:31:04 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 02:30 .git 02:31:04 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 02:30 .github 02:31:04 -rw-rw-r-- 1 jenkins jenkins 176 Jun 3 02:30 .gitignore 02:31:04 drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 02:30 .semver 02:31:04 -rw-rw-r-- 1 jenkins jenkins 2908 Jun 3 02:30 Attribution.txt 02:31:04 -rw-rw-r-- 1 jenkins jenkins 11953 Jun 3 02:30 CHANGELOG.md 02:31:04 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 3 02:30 Doxyfile 02:31:04 -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 02:30 GOVERNANCE.md 02:31:04 -rw-rw-r-- 1 jenkins jenkins 784 Jun 3 02:30 Jenkinsfile 02:31:04 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 3 02:30 LICENSE 02:31:04 -rw-rw-r-- 1 jenkins jenkins 444 Jun 3 02:30 Makefile 02:31:04 -rw-rw-r-- 1 jenkins jenkins 618 Jun 3 02:30 OWNERS.md 02:31:04 -rw-rw-r-- 1 jenkins jenkins 1651 Jun 3 02:30 README.IOT.md 02:31:04 -rw-rw-r-- 1 jenkins jenkins 4215 Jun 3 02:30 README.md 02:31:04 -rw-rw-r-- 1 jenkins jenkins 1245 Jun 3 02:30 README.v3.md 02:31:04 -rw-rw-r-- 1 jenkins jenkins 12 Jun 3 02:30 VERSION 02:31:04 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 02:30 docs 02:31:04 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 02:30 include 02:31:04 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 02:30 scripts 02:31:04 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 02:30 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:05 + 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=9ba2c339c6b6ced168e87f011e0a7391adc1a762 --label arch=amd64 --label version=3.0.3-dev.14 . 02:31:05 Sending build context to Docker daemon 5.017MB 02:31:05 Step 1/17 : ARG BASE=alpine:3.18 02:31:05 Step 2/17 : FROM ${BASE} 02:31:05 ---> a2a0d8b92f68 02:31:05 Step 3/17 : LABEL maintainer="IOTech " 02:31:05 ---> Running in e93543839c5a 02:31:05 Removing intermediate container e93543839c5a 02:31:05 ---> 0955ff5bc8b2 02:31:05 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:31:05 ---> Running in 501ac7a80c99 02:31:05 Connecting to iotech.jfrog.io (54.73.4.50:443) 02:31:06 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:31:06 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:31:06 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:31:06 Removing intermediate container 501ac7a80c99 02:31:06 ---> 17e605c4ed60 02:31:06 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 02:31:06 ---> Running in 0ddc888ce7ab 02:31:06 Removing intermediate container 0ddc888ce7ab 02:31:06 ---> 49991a4485ad 02:31:06 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:31:06 ---> Running in 6af9d7d09380 02:31:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:31:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:31:07 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 02:31:08 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:31:08 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r1) 02:31:08 (2/11) Installing libcbor-dev (0.10.2-r1) 02:31:08 (3/11) Installing libmenuw (6.4_p20230506-r0) 02:31:08 (4/11) Installing libpanelw (6.4_p20230506-r0) 02:31:08 (5/11) Installing libncurses++ (6.4_p20230506-r0) 02:31:08 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 02:31:08 (7/11) Installing libblkid (2.38.1-r8) 02:31:08 (8/11) Installing libfdisk (2.38.1-r8) 02:31:08 (9/11) Installing libmount (2.38.1-r8) 02:31:08 (10/11) Installing libsmartcols (2.38.1-r8) 02:31:08 (11/11) Installing util-linux-dev (2.38.1-r8) 02:31:08 Executing busybox-1.36.1-r4.trigger 02:31:08 OK: 336 MiB in 100 packages 02:31:08 Removing intermediate container 6af9d7d09380 02:31:08 ---> 66ab7e12969d 02:31:08 Step 7/17 : COPY VERSION /edgex-c-sdk/ 02:31:09 ---> 3bab95f300ea 02:31:09 Step 8/17 : COPY src /edgex-c-sdk/src/ 02:31:09 ---> d5a97199aa76 02:31:09 Step 9/17 : COPY include /edgex-c-sdk/include/ 02:31:09 ---> 60c890eaa20c 02:31:09 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 02:31:09 ---> 70fdc2df1018 02:31:09 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 02:31:09 ---> e13f9ca42ed6 02:31:09 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 02:31:09 ---> 2013cd9400b3 02:31:09 Step 13/17 : WORKDIR /edgex-c-sdk 02:31:09 ---> Running in ff52808bcfaf 02:31:09 Removing intermediate container ff52808bcfaf 02:31:09 ---> 6446a7da6a90 02:31:09 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 02:31:09 ---> Running in 53bcddd72673 02:31:09 Removing intermediate container 53bcddd72673 02:31:09 ---> 0946b6358790 02:31:09 Step 15/17 : LABEL arch=amd64 02:31:09 ---> Running in ca555730f0ae 02:31:10 Removing intermediate container ca555730f0ae 02:31:10 ---> 2652a903a65e 02:31:10 Step 16/17 : LABEL git_sha=9ba2c339c6b6ced168e87f011e0a7391adc1a762 02:31:10 ---> Running in 8edf13a8da9f 02:31:10 Removing intermediate container 8edf13a8da9f 02:31:10 ---> 78aef56d0210 02:31:10 Step 17/17 : LABEL version=3.0.3-dev.14 02:31:10 ---> Running in 940503734cd8 02:31:10 Removing intermediate container 940503734cd8 02:31:10 ---> 7859488f99f5 02:31:10 [Warning] One or more build-args [ARCH MAKE] were not consumed 02:31:10 Successfully built 7859488f99f5 02:31:10 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 02:31:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:31:10 02:31:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:31:10 latest: Pulling from edgex-lftools-log-publisher 02:31:10 5eb5b503b376: Pulling fs layer 02:31:10 5c69ac0246d0: Pulling fs layer 02:31:10 ec43610c2a17: Pulling fs layer 02:31:10 3a2ae6a8a46f: Pulling fs layer 02:31:10 33b1e0a273af: Pulling fs layer 02:31:10 5d3b04190fa2: Pulling fs layer 02:31:10 2f39f015ded8: Pulling fs layer 02:31:10 3a2ae6a8a46f: Waiting 02:31:10 33b1e0a273af: Waiting 02:31:10 5d3b04190fa2: Waiting 02:31:10 2f39f015ded8: Waiting 02:31:10 5c69ac0246d0: Verifying Checksum 02:31:10 5c69ac0246d0: Download complete 02:31:10 3a2ae6a8a46f: Verifying Checksum 02:31:10 3a2ae6a8a46f: Download complete 02:31:10 33b1e0a273af: Verifying Checksum 02:31:10 33b1e0a273af: Download complete 02:31:10 5d3b04190fa2: Verifying Checksum 02:31:10 5d3b04190fa2: Download complete 02:31:10 ec43610c2a17: Verifying Checksum 02:31:10 ec43610c2a17: Download complete 02:31:11 5eb5b503b376: Verifying Checksum 02:31:11 5eb5b503b376: Download complete 02:31:11 2f39f015ded8: Download complete 02:31:12 5eb5b503b376: Pull complete 02:31:12 5c69ac0246d0: Pull complete 02:31:12 ec43610c2a17: Pull complete 02:31:13 3a2ae6a8a46f: Pull complete 02:31:13 33b1e0a273af: Pull complete 02:31:13 5d3b04190fa2: Pull complete 02:31:17 2f39f015ded8: Pull complete 02:31:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:31:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:31:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:31:17 prd-ubuntu20.04-docker-8c-8g-2669 does not seem to be running inside a container 02:31:17 $ 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:31:22 $ docker top 2101e190b5e41edce63b492515de98eafb3f77662b223221be1f2a97b780c69d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:31:23 ---> job-cost.sh 02:31:23 lf-activate-venv: SKIPPING 02:31:23 INFO: No Stack... 02:31:26 INFO: Retrieving Pricing Info for: v3-standard-8 02:31:26 INFO: Archiving Costs [Pipeline] sh 02:31:26 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 02:31:26 + cut -d, -f6 [Pipeline] lock 02:31:26 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-74-stack-cost] 02:31:26 Resource [jenkins-edgexfoundry-device-sdk-c-main-74-stack-cost] did not exist. Created. 02:31:26 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-74-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:31:27 + echo total: 0.2199999988079071 [Pipeline] stash 02:31:27 Stashed 1 file(s) [Pipeline] } 02:31:27 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-74-stack-cost] [Pipeline] // lock [Pipeline] } 02:31:27 $ docker stop --time=1 2101e190b5e41edce63b492515de98eafb3f77662b223221be1f2a97b780c69d 02:31:28 $ docker rm -f --volumes 2101e190b5e41edce63b492515de98eafb3f77662b223221be1f2a97b780c69d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:33:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2671 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 02:33:25 Running in /w/workspace/device-sdk-c/74 [Pipeline] { [Pipeline] checkout 02:33:28 Selected Git installation does not exist. Using Default 02:33:28 The recommended git tool is: NONE 02:33:33 using credential edgex-jenkins-ssh 02:33:33 Cloning the remote Git repository 02:33:33 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 02:33:33 > git init /w/workspace/device-sdk-c/74 # timeout=10 02:33:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 02:33:34 > git --version # timeout=10 02:33:34 > git --version # 'git version 2.25.1' 02:33:34 using GIT_SSH to set credentials SSH Credentials for GitHub 02:33:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:33:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 02:33:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:33:36 Avoid second fetch 02:33:36 Checking out Revision 9ba2c339c6b6ced168e87f011e0a7391adc1a762 (main) 02:33:37 Commit message: "fix: bump sdk version to 3.2.0 (#500)" 02:33:36 > git config core.sparsecheckout # timeout=10 02:33:36 > git checkout -f 9ba2c339c6b6ced168e87f011e0a7391adc1a762 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:33:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:33:41 % Total % Received % Xferd Average Speed Time Time Time Current 02:33:41 Dload Upload Total Spent Left Speed 02:33:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 223k 0 --:--:-- --:--:-- --:--:-- 227k [Pipeline] sh 02:33:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:33:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:33:43 + sudo tee /etc/docker/daemon.new 02:33:43 { 02:33:43 "registry-mirrors": [ 02:33:43 "https://nexus3.edgexfoundry.org:10001" 02:33:43 ], 02:33:43 "bip": "10.250.0.254/24", 02:33:43 "hosts": [ 02:33:43 "tcp://0.0.0.0:5555", 02:33:43 "unix:///var/run/docker.sock" 02:33:43 ], 02:33:43 "mtu": 1458, 02:33:43 "selinux-enabled": true, 02:33:43 "seccomp-profile": "/etc/docker/seccomp.json" 02:33:43 } [Pipeline] sh 02:33:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:33:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:34:02 provisioning config files... 02:34:02 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/74@tmp/config6910259212384968261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:34:02 ---> ****-login.sh 02:34:02 nexus3.edgexfoundry.org:10001 02:34:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:34:03 Configure a credential helper to remove this warning. See 02:34:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:34:03 02:34:03 Login Succeeded 02:34:03 nexus3.edgexfoundry.org:10002 02:34:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:34:03 Configure a credential helper to remove this warning. See 02:34:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:34:03 02:34:03 Login Succeeded 02:34:03 nexus3.edgexfoundry.org:10003 02:34:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:34:03 Configure a credential helper to remove this warning. See 02:34:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:34:03 02:34:03 Login Succeeded 02:34:03 nexus3.edgexfoundry.org:10004 02:34:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:34:04 Configure a credential helper to remove this warning. See 02:34:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:34:04 02:34:04 Login Succeeded 02:34:04 ****.io 02:34:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:34:04 Configure a credential helper to remove this warning. See 02:34:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:34:04 02:34:04 Login Succeeded 02:34:04 ---> ****-login.sh ends [Pipeline] } 02:34:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:34:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:34:04 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 02:34:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:34:04 ========================================================= 02:34:04 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 02:34:04 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:05 + 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:34:05 Sending build context to Docker daemon 3.003MB 02:34:05 Step 1/21 : ARG BASE=alpine:3.18 02:34:05 Step 2/21 : FROM ${BASE} as builder 02:34:05 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 02:34:05 579b34f0a95b: Pulling fs layer 02:34:05 e71477ac5e1b: Pulling fs layer 02:34:05 579b34f0a95b: Verifying Checksum 02:34:05 579b34f0a95b: Download complete 02:34:06 579b34f0a95b: Pull complete 02:34:08 e71477ac5e1b: Verifying Checksum 02:34:08 e71477ac5e1b: Download complete 02:34:18 e71477ac5e1b: Pull complete 02:34:18 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 02:34:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 02:34:18 ---> 2b552cad5dd9 02:34:18 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:34:19 ---> Running in e0a8299f18ba 02:34:20 Connecting to iotech.jfrog.io (54.73.4.50:443) 02:34:21 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:34:21 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:34:21 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:34:21 Removing intermediate container e0a8299f18ba 02:34:21 ---> 00a6b521a85d 02:34:21 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 02:34:21 ---> Running in f81490f3d28a 02:34:23 Removing intermediate container f81490f3d28a 02:34:23 ---> 28eda66f939e 02:34:23 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:34:23 ---> Running in 8494a6f03c75 02:34:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:34:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:34:25 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 02:34:26 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:34:26 (1/17) Installing hiredis (1.1.0-r2) 02:34:26 (2/17) Installing hiredis-dev (1.1.0-r2) 02:34:26 (3/17) Installing libcbor (0.10.2-r1) 02:34:26 (4/17) Installing iotech-iot-1.5 (1.5.4-r1) 02:34:27 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r1) 02:34:27 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 02:34:27 (7/17) Installing libcbor-dev (0.10.2-r1) 02:34:27 (8/17) Installing libmenuw (6.4_p20230506-r0) 02:34:27 (9/17) Installing libpanelw (6.4_p20230506-r0) 02:34:27 (10/17) Installing libncurses++ (6.4_p20230506-r0) 02:34:28 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 02:34:28 (12/17) Installing libblkid (2.38.1-r8) 02:34:28 (13/17) Installing libuuid (2.38.1-r8) 02:34:28 (14/17) Installing libfdisk (2.38.1-r8) 02:34:28 (15/17) Installing libmount (2.38.1-r8) 02:34:28 (16/17) Installing libsmartcols (2.38.1-r8) 02:34:28 (17/17) Installing util-linux-dev (2.38.1-r8) 02:34:28 Executing busybox-1.36.1-r4.trigger 02:34:28 OK: 333 MiB in 99 packages 02:34:29 Removing intermediate container 8494a6f03c75 02:34:29 ---> 1f0acd8e74c9 02:34:29 Step 6/21 : RUN mkdir /tmp/sdk 02:34:29 ---> Running in 18b37319390e 02:34:31 Removing intermediate container 18b37319390e 02:34:31 ---> d2208114132d 02:34:31 Step 7/21 : COPY VERSION /tmp/sdk 02:34:31 ---> 17eab9cae8b1 02:34:31 Step 8/21 : COPY src /tmp/sdk/src 02:34:32 ---> 4c52ecbde026 02:34:32 Step 9/21 : COPY include /tmp/sdk/include 02:34:33 ---> dc1b65f09807 02:34:33 Step 10/21 : COPY scripts /tmp/sdk/scripts 02:34:33 ---> 1900f609f8f1 02:34:33 Step 11/21 : COPY LICENSE /tmp/sdk 02:34:34 ---> 77298451f15f 02:34:34 Step 12/21 : COPY Attribution.txt /tmp/sdk 02:34:34 ---> 16c0b068cc7a 02:34:34 Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 02:34:34 ---> Running in 04bacce1b522 02:34:35 + CPPCHECK=false 02:34:35 + DOCGEN=false 02:34:35 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 02:34:35 + '[' 0 -gt 0 ] 02:34:35 + readlink -f ./scripts/build.sh 02:34:35 + dirname /tmp/sdk/scripts/build.sh 02:34:35 + dirname /tmp/sdk/scripts 02:34:35 + ROOT=/tmp/sdk 02:34:35 + cd /tmp/sdk 02:34:35 + mkdir -p /tmp/sdk/build/release 02:34:35 + cd /tmp/sdk/build/release 02:34:35 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 02:34:36 -- The C compiler identification is GNU 12.2.1 02:34:36 -- Detecting C compiler ABI info 02:34:36 -- Detecting C compiler ABI info - done 02:34:36 -- Check for working C compiler: /usr/bin/cc - skipped 02:34:36 -- Detecting C compile features 02:34:36 -- Detecting C compile features - done 02:34:36 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:34:36 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 02:34:36 -- Found LIBYAML: /usr/lib/libyaml.so 02:34:36 -- Found LIBUUID: /usr/lib/libuuid.so 02:34:36 -- Found LIBCBOR: /usr/lib/libcbor.so 02:34:36 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:34:36 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 02:34:36 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:34:36 -- /opt/iotech/iot/1.5/include 02:34:36 -- C SDK 3.0.3-dev.14 for Linux 02:34:36 -- Performing Test CSDK_HAVE_ATOMIC 02:34:37 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:34:37 -- Found Curses: /usr/lib/libcurses.so 02:34:37 -- Configuring done (1.7s) 02:34:37 -- Generating done (0.2s) 02:34:37 -- Build files have been written to: /tmp/sdk/build/release 02:34:37 + make all package 02:34:37 + tee release.log 02:34:37 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:34:38 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:34:39 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 02:34:40 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:34:40 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:34:41 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:34:43 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 02:34:44 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 02:34:44 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 02:34:44 294 | while (privateConfig) 02:34:44 | ^~~~~~~~~~~~~ 02:34:44 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 02:34:44 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 02:34:44 | ^~~~~~~~~~~~~ 02:34:44 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 02:34:44 271 | while (result) 02:34:44 | ^~~~~~ 02:34:44 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 02:34:44 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 02:34:44 | ^~~~~~ 02:34:44 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:34:44 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:34:45 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:34:47 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:34:47 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:34:48 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:34:49 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:34:50 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:34:51 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:34:51 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:34:53 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:34:53 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:34:54 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:34:55 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:35:02 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:35:02 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:35:03 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:35:03 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:35:04 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:35:05 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:35:07 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:35:08 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:35:08 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:35:09 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:35:09 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 02:35:09 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 02:35:09 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 02:35:09 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:35:09 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 02:35:09 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 02:35:09 | ^ 02:35:11 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 02:35:11 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 02:35:11 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:35:11 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here 02:35:11 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 02:35:11 | ^~~~~~~~~~~~~~~~~~~~~ 02:35:12 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:35:13 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:35:13 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:35:14 [ 68%] Linking C shared library libcsdk.so 02:35:14 [ 68%] Built target csdk 02:35:14 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:35:15 [ 72%] Linking C executable template 02:35:15 [ 72%] Built target template 02:35:15 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:35:16 [ 76%] Linking C executable device-counter 02:35:16 [ 76%] Built target device-counter 02:35:16 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:35:16 [ 80%] Linking C executable device-random 02:35:17 [ 80%] Built target device-random 02:35:17 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:35:17 [ 84%] Linking C executable device-gyro 02:35:18 [ 84%] Built target device-gyro 02:35:18 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:35:18 [ 88%] Linking C executable device-bitfields 02:35:18 [ 88%] Built target device-bitfields 02:35:18 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:35:19 [ 92%] Linking C executable template-discovery 02:35:20 [ 92%] Built target template-discovery 02:35:20 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:35:21 [ 96%] Linking C executable device-file 02:35:21 [ 96%] Built target device-file 02:35:21 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:35:21 [100%] Linking C executable device-terminal 02:35:22 [100%] Built target device-terminal 02:35:22 Run CPack packaging tool... 02:35:22 CPack: Create package using TGZ 02:35:22 CPack: Install projects 02:35:22 CPack: - Run preinstall target for: Csdk 02:35:23 CPack: - Install project: Csdk [] 02:35:23 CPack: Create package 02:35:23 CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.14.tar.gz generated. 02:35:23 + '[' false '=' true ] 02:35:23 + '[' false '=' true ] 02:35:23 + mkdir -p /tmp/sdk/build/debug 02:35:23 + cd /tmp/sdk/build/debug 02:35:23 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 02:35:23 -- The C compiler identification is GNU 12.2.1 02:35:23 -- Detecting C compiler ABI info 02:35:24 -- Detecting C compiler ABI info - done 02:35:24 -- Check for working C compiler: /usr/bin/cc - skipped 02:35:24 -- Detecting C compile features 02:35:24 -- Detecting C compile features - done 02:35:24 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 02:35:24 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 02:35:24 -- Found LIBYAML: /usr/lib/libyaml.so 02:35:24 -- Found LIBUUID: /usr/lib/libuuid.so 02:35:24 -- Found LIBCBOR: /usr/lib/libcbor.so 02:35:24 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 02:35:24 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 02:35:24 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 02:35:24 -- /opt/iotech/iot/1.5/include 02:35:24 -- C SDK 3.0.3-dev.14 for Linux 02:35:24 -- Performing Test CSDK_HAVE_ATOMIC 02:35:24 -- Performing Test CSDK_HAVE_ATOMIC - Success 02:35:24 -- Found Curses: /usr/lib/libcurses.so 02:35:24 -- Configuring done (1.7s) 02:35:25 -- Generating done (0.2s) 02:35:25 -- Build files have been written to: /tmp/sdk/build/debug 02:35:25 + make 02:35:25 + tee debug.log 02:35:25 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 02:35:25 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 02:35:26 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 02:35:26 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 02:35:26 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 02:35:27 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 02:35:27 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 02:35:28 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 02:35:28 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 02:35:29 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 02:35:29 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 02:35:29 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 02:35:30 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 02:35:30 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 02:35:31 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 02:35:31 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 02:35:31 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 02:35:32 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 02:35:32 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 02:35:32 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 02:35:33 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 02:35:34 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 02:35:34 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 02:35:35 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 02:35:35 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 02:35:35 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 02:35:36 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 02:35:37 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 02:35:37 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 02:35:38 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 02:35:38 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 02:35:38 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 02:35:38 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 02:35:38 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 02:35:38 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 02:35:38 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 02:35:38 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 02:35:38 | ^ 02:35:39 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 02:35:39 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 02:35:40 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 02:35:40 [ 68%] Linking C shared library libcsdk.so 02:35:40 [ 68%] Built target csdk 02:35:40 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 02:35:41 [ 72%] Linking C executable template 02:35:41 [ 72%] Built target template 02:35:41 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 02:35:41 [ 76%] Linking C executable device-counter 02:35:42 [ 76%] Built target device-counter 02:35:42 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 02:35:42 [ 80%] Linking C executable device-random 02:35:42 [ 80%] Built target device-random 02:35:42 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 02:35:43 [ 84%] Linking C executable device-gyro 02:35:43 [ 84%] Built target device-gyro 02:35:43 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 02:35:43 [ 88%] Linking C executable device-bitfields 02:35:43 [ 88%] Built target device-bitfields 02:35:44 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 02:35:44 [ 92%] Linking C executable template-discovery 02:35:44 [ 92%] Built target template-discovery 02:35:44 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 02:35:45 [ 96%] Linking C executable device-file 02:35:45 [ 96%] Built target device-file 02:35:45 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 02:35:45 [100%] Linking C executable device-terminal 02:35:46 [100%] Built target device-terminal 02:35:46 make: Entering directory '/tmp/sdk/build/release' 02:35:46 [ 68%] Built target csdk 02:35:46 [ 72%] Built target template 02:35:46 [ 76%] Built target device-counter 02:35:46 [ 80%] Built target device-random 02:35:46 [ 84%] Built target device-gyro 02:35:46 [ 88%] Built target device-bitfields 02:35:46 [ 92%] Built target template-discovery 02:35:46 [ 96%] Built target device-file 02:35:46 [100%] Built target device-terminal 02:35:46 Install the project... 02:35:46 -- Install configuration: "Release" 02:35:46 -- Installing: /usr/local/lib/libcsdk.so 02:35:46 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 02:35:46 -- Installing: /usr/local/include 02:35:46 -- Installing: /usr/local/include/devsdk 02:35:46 -- Installing: /usr/local/include/devsdk/devsdk.h 02:35:46 -- Installing: /usr/local/include/devsdk/devsdk-base.h 02:35:46 -- Installing: /usr/local/include/edgex 02:35:46 -- Installing: /usr/local/include/edgex/rest-server.h 02:35:46 -- Installing: /usr/local/include/edgex/edgex.h 02:35:46 -- Installing: /usr/local/include/edgex/edgex-base.h 02:35:46 -- Installing: /usr/local/include/edgex/devices.h 02:35:46 -- Installing: /usr/local/include/edgex/profiles.h 02:35:46 -- Installing: /usr/local/include/edgex/csdk-defs.h 02:35:46 -- Installing: /usr/local/share/device-sdk-c/LICENSE 02:35:46 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 02:35:46 make: Leaving directory '/tmp/sdk/build/release' 02:35:48 Removing intermediate container 04bacce1b522 02:35:48 ---> 8d19d5ca00f5 02:35:48 Step 14/21 : FROM ${BASE} 02:35:48 ---> 2b552cad5dd9 02:35:48 Step 15/21 : LABEL maintainer="IOTech " 02:35:48 ---> Running in 8808a380e04e 02:35:48 Removing intermediate container 8808a380e04e 02:35:48 ---> 00dc5a9d485d 02:35:48 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:35:48 ---> Running in 132be42e81db 02:35:49 Connecting to iotech.jfrog.io (34.247.22.236:443) 02:35:50 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:35:50 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:35:50 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:35:50 Removing intermediate container 132be42e81db 02:35:50 ---> a05d6c7f6b22 02:35:50 Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 02:35:50 ---> Running in 14295b5ccab2 02:35:52 Removing intermediate container 14295b5ccab2 02:35:52 ---> 71d735797437 02:35:52 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:35:52 ---> Running in 0a70ada3bdaf 02:35:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:35:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:35:54 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 02:35:55 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:35:55 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) 02:35:55 (2/9) Installing curl (8.5.0-r0) 02:35:55 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) 02:35:55 (4/9) Installing hiredis (1.1.0-r2) 02:35:55 (5/9) Installing hiredis-dev (1.1.0-r2) 02:35:55 (6/9) Installing libcbor (0.10.2-r1) 02:35:55 (7/9) Installing iotech-iot-1.5 (1.5.4-r1) 02:35:56 (8/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 02:35:56 (9/9) Installing libuuid (2.38.1-r8) 02:35:56 Executing busybox-1.36.1-r4.trigger 02:35:56 OK: 327 MiB in 89 packages 02:35:58 Removing intermediate container 0a70ada3bdaf 02:35:58 ---> 757e275c6241 02:35:58 Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 02:35:58 ---> e54da690af79 02:35:58 Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib 02:35:58 ---> 19682d54d87b 02:35:58 Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 02:35:59 ---> 53a3da7c45a5 02:35:59 Successfully built 53a3da7c45a5 02:35:59 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:35:59 + docker inspect -f . ci-base-image-arm64 02:35:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:36:00 prd-ubuntu20.04-docker-arm64-4c-16g-2671 does not seem to be running inside a container 02:36:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/74 -v /w/workspace/device-sdk-c/74:/w/workspace/device-sdk-c/74:rw,z -v /w/workspace/device-sdk-c/74@tmp:/w/workspace/device-sdk-c/74@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:36:01 $ docker top 238d5a93ddd45d80799e736522bd41fa5a5808fa318dd50012a5d538ff9a87ae -eo pid,comm [Pipeline] { [Pipeline] sh 02:36:02 + make test 02:36:02 echo "make test" 02:36:02 make test [Pipeline] } 02:36:02 $ docker stop --time=1 238d5a93ddd45d80799e736522bd41fa5a5808fa318dd50012a5d538ff9a87ae 02:36:03 $ docker rm -f --volumes 238d5a93ddd45d80799e736522bd41fa5a5808fa318dd50012a5d538ff9a87ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:36:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:36:04 + ls -al . 02:36:04 total 208 02:36:04 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 02:33 . 02:36:04 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 02:33 .. 02:36:04 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 02:33 .git 02:36:04 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 02:33 .github 02:36:04 -rw-rw-r-- 1 jenkins jenkins 176 Jun 3 02:33 .gitignore 02:36:04 -rw-rw-r-- 1 jenkins jenkins 2908 Jun 3 02:33 Attribution.txt 02:36:04 -rw-rw-r-- 1 jenkins jenkins 11953 Jun 3 02:33 CHANGELOG.md 02:36:04 -rw-rw-r-- 1 jenkins jenkins 108574 Jun 3 02:33 Doxyfile 02:36:04 -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 02:33 GOVERNANCE.md 02:36:04 -rw-rw-r-- 1 jenkins jenkins 784 Jun 3 02:33 Jenkinsfile 02:36:04 -rw-rw-r-- 1 jenkins jenkins 10174 Jun 3 02:33 LICENSE 02:36:04 -rw-rw-r-- 1 jenkins jenkins 444 Jun 3 02:33 Makefile 02:36:04 -rw-rw-r-- 1 jenkins jenkins 618 Jun 3 02:33 OWNERS.md 02:36:04 -rw-rw-r-- 1 jenkins jenkins 1651 Jun 3 02:33 README.IOT.md 02:36:04 -rw-rw-r-- 1 jenkins jenkins 4215 Jun 3 02:33 README.md 02:36:04 -rw-rw-r-- 1 jenkins jenkins 1245 Jun 3 02:33 README.v3.md 02:36:04 -rw-rw-r-- 1 jenkins jenkins 12 Jun 3 02:30 VERSION 02:36:04 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 02:33 docs 02:36:04 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 02:33 include 02:36:04 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 02:33 scripts 02:36:04 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 02:33 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:04 + 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=9ba2c339c6b6ced168e87f011e0a7391adc1a762 --label arch=arm64 --label version=3.0.3-dev.14 . 02:36:05 Sending build context to Docker daemon 3.003MB 02:36:05 Step 1/17 : ARG BASE=alpine:3.18 02:36:05 Step 2/17 : FROM ${BASE} 02:36:05 ---> 53a3da7c45a5 02:36:05 Step 3/17 : LABEL maintainer="IOTech " 02:36:05 ---> Running in c5fb4e98de51 02:36:05 Removing intermediate container c5fb4e98de51 02:36:05 ---> b9c55dc77d8b 02:36:05 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:36:05 ---> Running in 7345796e6590 02:36:06 Connecting to iotech.jfrog.io (54.73.4.50:443) 02:36:07 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:36:07 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:36:07 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:36:07 Removing intermediate container 7345796e6590 02:36:07 ---> 2682931fdb18 02:36:07 Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 02:36:07 ---> Running in a9607e188f57 02:36:09 Removing intermediate container a9607e188f57 02:36:09 ---> ab7b238409e9 02:36:09 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:36:09 ---> Running in df194f4f2a0d 02:36:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:36:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:36:11 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 02:36:12 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:36:12 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r1) 02:36:12 (2/11) Installing libcbor-dev (0.10.2-r1) 02:36:12 (3/11) Installing libmenuw (6.4_p20230506-r0) 02:36:12 (4/11) Installing libpanelw (6.4_p20230506-r0) 02:36:13 (5/11) Installing libncurses++ (6.4_p20230506-r0) 02:36:13 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 02:36:13 (7/11) Installing libblkid (2.38.1-r8) 02:36:13 (8/11) Installing libfdisk (2.38.1-r8) 02:36:13 (9/11) Installing libmount (2.38.1-r8) 02:36:13 (10/11) Installing libsmartcols (2.38.1-r8) 02:36:13 (11/11) Installing util-linux-dev (2.38.1-r8) 02:36:13 Executing busybox-1.36.1-r4.trigger 02:36:13 OK: 333 MiB in 100 packages 02:36:14 Removing intermediate container df194f4f2a0d 02:36:14 ---> 9f866b68808e 02:36:14 Step 7/17 : COPY VERSION /edgex-c-sdk/ 02:36:14 ---> d78075e6a6e3 02:36:14 Step 8/17 : COPY src /edgex-c-sdk/src/ 02:36:15 ---> 4b0d7ab61cb4 02:36:15 Step 9/17 : COPY include /edgex-c-sdk/include/ 02:36:16 ---> c27bd45a9aff 02:36:16 Step 10/17 : COPY scripts /edgex-c-sdk/scripts 02:36:16 ---> 178ec34ed08a 02:36:16 Step 11/17 : COPY LICENSE /edgex-c-sdk/ 02:36:17 ---> 4d3e3a4a0813 02:36:17 Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ 02:36:17 ---> 6b5c9acb5d2b 02:36:17 Step 13/17 : WORKDIR /edgex-c-sdk 02:36:17 ---> Running in 375eeed67381 02:36:17 Removing intermediate container 375eeed67381 02:36:17 ---> 6a77414c160f 02:36:17 Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 02:36:18 ---> Running in b60278440758 02:36:18 Removing intermediate container b60278440758 02:36:18 ---> 482d3b40d77b 02:36:18 Step 15/17 : LABEL arch=arm64 02:36:18 ---> Running in 834784fb2e17 02:36:18 Removing intermediate container 834784fb2e17 02:36:18 ---> 9f35d1aef3bf 02:36:18 Step 16/17 : LABEL git_sha=9ba2c339c6b6ced168e87f011e0a7391adc1a762 02:36:18 ---> Running in 565f6d69803e 02:36:19 Removing intermediate container 565f6d69803e 02:36:19 ---> 59965075f348 02:36:19 Step 17/17 : LABEL version=3.0.3-dev.14 02:36:19 ---> Running in ad542bed8f77 02:36:19 Removing intermediate container ad542bed8f77 02:36:19 ---> 849b6de2da78 02:36:19 [Warning] One or more build-args [MAKE ARCH] were not consumed 02:36:19 Successfully built 849b6de2da78 02:36:19 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:36:20 02:36:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:36:20 arm64: Pulling from edgex-lftools-log-publisher 02:36:20 8998bd30e6a1: Pulling fs layer 02:36:20 04944245beec: Pulling fs layer 02:36:20 699f458cf7ca: Pulling fs layer 02:36:20 765212b225bb: Pulling fs layer 02:36:20 f23df028b6ca: Pulling fs layer 02:36:20 765212b225bb: Waiting 02:36:20 f23df028b6ca: Waiting 02:36:20 d65c8cfc05b1: Pulling fs layer 02:36:20 d65c8cfc05b1: Waiting 02:36:20 2437ff75d9bd: Pulling fs layer 02:36:20 04944245beec: Verifying Checksum 02:36:20 04944245beec: Download complete 02:36:20 765212b225bb: Verifying Checksum 02:36:20 765212b225bb: Download complete 02:36:20 f23df028b6ca: Verifying Checksum 02:36:20 f23df028b6ca: Download complete 02:36:20 d65c8cfc05b1: Verifying Checksum 02:36:20 d65c8cfc05b1: Download complete 02:36:20 699f458cf7ca: Verifying Checksum 02:36:20 699f458cf7ca: Download complete 02:36:21 8998bd30e6a1: Verifying Checksum 02:36:21 8998bd30e6a1: Download complete 02:36:24 2437ff75d9bd: Verifying Checksum 02:36:24 2437ff75d9bd: Download complete 02:36:25 8998bd30e6a1: Pull complete 02:36:26 04944245beec: Pull complete 02:36:28 699f458cf7ca: Pull complete 02:36:28 765212b225bb: Pull complete 02:36:29 f23df028b6ca: Pull complete 02:36:29 d65c8cfc05b1: Pull complete 02:36:47 2437ff75d9bd: Pull complete 02:36:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:36:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:36:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:36:47 prd-ubuntu20.04-docker-arm64-4c-16g-2671 does not seem to be running inside a container 02:36:47 $ 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/74 -v /w/workspace/device-sdk-c/74:/w/workspace/device-sdk-c/74:rw,z -v /w/workspace/device-sdk-c/74@tmp:/w/workspace/device-sdk-c/74@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:36:50 $ docker top fef6cdfc313391ca5791975d7278322bb24ce999caa001d1b23b0797b4aa2c76 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:36:51 ---> job-cost.sh 02:36:51 lf-activate-venv: SKIPPING 02:36:51 INFO: No Stack... 02:36:51 INFO: Retrieving Pricing Info for: v3-standard-4 02:36:52 INFO: Archiving Costs [Pipeline] sh 02:36:52 + cat /w/workspace/device-sdk-c/74/archives/cost.csv 02:36:52 + cut -d, -f6 [Pipeline] lock 02:36:52 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-74-stack-cost] 02:36:52 Resource [jenkins-edgexfoundry-device-sdk-c-main-74-stack-cost] did not exist. Created. 02:36:52 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-74-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:36:53 /w/workspace/device-sdk-c/74@tmp/durable-309f4ed6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:36:54 + echo total: 0.10999999940395355 [Pipeline] stash 02:36:54 Warning: overwriting stash ‘stack-cost’ 02:36:54 Stashed 1 file(s) [Pipeline] } 02:36:54 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-74-stack-cost] [Pipeline] // lock [Pipeline] } 02:36:54 $ docker stop --time=1 fef6cdfc313391ca5791975d7278322bb24ce999caa001d1b23b0797b4aa2c76 02:36:56 $ docker rm -f --volumes fef6cdfc313391ca5791975d7278322bb24ce999caa001d1b23b0797b4aa2c76 [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:36:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:36:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:36:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:36:57 prd-ubuntu20.04-docker-8c-8g-2669 does not seem to be running inside a container 02:36:57 $ 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:36:57 $ docker top f728e8a14665e7c66aa60678722e77ea0a75a7099def66ddc1ea93198f2bce8f -eo pid,comm 02:36:57 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:36:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:36:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:36:57 [ssh-agent] Looking for ssh-agent implementation... 02:36:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:36:58 $ docker exec f728e8a14665e7c66aa60678722e77ea0a75a7099def66ddc1ea93198f2bce8f ssh-agent 02:36:58 SSH_AUTH_SOCK=/tmp/ssh-gf0by1pBeVNZ/agent.31 02:36:58 SSH_AGENT_PID=37 02:36:58 Running ssh-add (command line suppressed) 02:36:58 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12114313109807604560.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12114313109807604560.key) 02:36:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:36:58 + git semver tag 02:36:58 2024-06-03 02:36:58,730 [run_tag] DEBUG tag force:False 02:36:58 2024-06-03 02:36:58,730 [check_head_tag] DEBUG check head tag 02:36:58 2024-06-03 02:36:58,730 [execute] INFO git cat-file --batch-check 02:36:58 2024-06-03 02:36:58,731 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 02:36:58 2024-06-03 02:36:58,735 [execute] INFO git cat-file --batch 02:36:58 2024-06-03 02:36:58,736 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 02:36:58 2024-06-03 02:36:58,750 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 02:36:58 2024-06-03 02:36:58,750 [execute] INFO git tag -a v3.0.3-dev.14 -m v3.0.3-dev.14 02:36:58 2024-06-03 02:36:58,750 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.3-dev.14', '-m', 'v3.0.3-dev.14'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 02:36:58 2024-06-03 02:36:58,756 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 02:36:58 3.0.3-dev.14 [Pipeline] } 02:36:58 $ docker exec --env ******** --env ******** f728e8a14665e7c66aa60678722e77ea0a75a7099def66ddc1ea93198f2bce8f ssh-agent -k 02:36:58 unset SSH_AUTH_SOCK; 02:36:58 unset SSH_AGENT_PID; 02:36:58 echo Agent pid 37 killed; 02:36:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:36:59 + git semver [Pipeline] } 02:36:59 $ docker stop --time=1 f728e8a14665e7c66aa60678722e77ea0a75a7099def66ddc1ea93198f2bce8f 02:37:00 $ docker rm -f --volumes f728e8a14665e7c66aa60678722e77ea0a75a7099def66ddc1ea93198f2bce8f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:37:01 02:37:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:37:01 0.23.1-centos7: Pulling from edgex-lftools 02:37:01 ab5ef0e58194: Pulling fs layer 02:37:01 9712f1f96733: Pulling fs layer 02:37:01 63f879dbbcfc: Pulling fs layer 02:37:01 0d9ebad4ef96: Pulling fs layer 02:37:01 e9a5061849ea: Pulling fs layer 02:37:01 d747dcd14b5f: Pulling fs layer 02:37:01 2de7ff778b66: Pulling fs layer 02:37:01 0d9ebad4ef96: Waiting 02:37:01 e9a5061849ea: Waiting 02:37:01 d747dcd14b5f: Waiting 02:37:01 2de7ff778b66: Waiting 02:37:01 9712f1f96733: Verifying Checksum 02:37:01 9712f1f96733: Download complete 02:37:01 63f879dbbcfc: Verifying Checksum 02:37:01 63f879dbbcfc: Download complete 02:37:02 e9a5061849ea: Verifying Checksum 02:37:02 e9a5061849ea: Download complete 02:37:02 d747dcd14b5f: Download complete 02:37:02 0d9ebad4ef96: Verifying Checksum 02:37:02 0d9ebad4ef96: Download complete 02:37:02 ab5ef0e58194: Verifying Checksum 02:37:02 ab5ef0e58194: Download complete 02:37:02 2de7ff778b66: Verifying Checksum 02:37:02 2de7ff778b66: Download complete 02:37:05 ab5ef0e58194: Pull complete 02:37:05 9712f1f96733: Pull complete 02:37:05 63f879dbbcfc: Pull complete 02:37:09 0d9ebad4ef96: Pull complete 02:37:09 e9a5061849ea: Pull complete 02:37:09 d747dcd14b5f: Pull complete 02:37:11 2de7ff778b66: Pull complete 02:37:11 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:37:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:37:11 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:11 prd-ubuntu20.04-docker-8c-8g-2669 does not seem to be running inside a container 02:37:11 $ 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:37:16 $ docker top d5ae0917719475fc9ee66ea26a990bff988860ff2ce319c338b2959c257dc6e2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:37:16 provisioning config files... 02:37:16 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config16551433657308427635tmp 02:37:16 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15490997436041798872tmp 02:37:16 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config13366117374734343654tmp [Pipeline] { [Pipeline] echo 02:37:16 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:37:16 ---> sigul-configuration.sh 02:37:16 gpg: directory `/root/.gnupg' created 02:37:16 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:37:16 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:37:16 gpg: keyring `/root/.gnupg/secring.gpg' created 02:37:16 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:37:16 gpg: CAST5 encrypted data 02:37:16 gpg: encrypted with 1 passphrase 02:37:16 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:37:17 + mkdir /home/jenkins 02:37:17 + mkdir /home/jenkins/sigul [Pipeline] sh 02:37:17 + 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:37:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:37:17 ---> sigul-install.sh 02:37:17 Sigul already installed; skipping installation. [Pipeline] sh 02:37:18 + git tag --list 02:37:18 0.7.0 02:37:18 0.7.1 02:37:18 1.0.0 02:37:18 v1.0.1 02:37:18 v1.0.2 02:37:18 v1.0.3 02:37:18 v1.1.0 02:37:18 v1.1.1 02:37:18 v1.2.0 02:37:18 v1.2.1 02:37:18 v1.2.2 02:37:18 v1.3.0 02:37:18 v1.3.1 02:37:18 v2.0.0 02:37:18 v2.1.0 02:37:18 v2.2.0 02:37:18 v2.3.0 02:37:18 v3.0 02:37:18 v3.0.0 02:37:18 v3.0.1 02:37:18 v3.0.2 02:37:18 v3.0.3-dev.1 02:37:18 v3.0.3-dev.10 02:37:18 v3.0.3-dev.11 02:37:18 v3.0.3-dev.12 02:37:18 v3.0.3-dev.13 02:37:18 v3.0.3-dev.14 02:37:18 v3.0.3-dev.2 02:37:18 v3.0.3-dev.3 02:37:18 v3.0.3-dev.4 02:37:18 v3.0.3-dev.5 02:37:18 v3.0.3-dev.6 02:37:18 v3.0.3-dev.7 02:37:18 v3.0.3-dev.8 02:37:18 v3.0.3-dev.9 02:37:18 v3.1 02:37:18 v3.1.0 02:37:18 v3.1.0-dev.1 02:37:18 v3.1.0-dev.2 02:37:18 v3.1.0-dev.3 02:37:18 v3.1.0-dev.4 02:37:18 v3.1.0-dev.5 02:37:18 v3.1.0-dev.6 02:37:18 v3.1.0-dev.7 02:37:18 v3.1.0-dev.8 02:37:18 v3.1.0-dev.9 [Pipeline] sh 02:37:18 + lftools sign git-tag v3.0.3-dev.14 02:37:19 Signing Git tag with Sigul... 02:37:19 Signing v3.0.3-dev.14 [Pipeline] echo 02:37:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:37:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:37:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:37:20 $ docker stop --time=1 d5ae0917719475fc9ee66ea26a990bff988860ff2ce319c338b2959c257dc6e2 02:37:21 $ docker rm -f --volumes d5ae0917719475fc9ee66ea26a990bff988860ff2ce319c338b2959c257dc6e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:37:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:37:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:37:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:22 prd-ubuntu20.04-docker-8c-8g-2669 does not seem to be running inside a container 02:37:22 $ 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:37:22 $ docker top aceb6e115f0425854aab6da30afbb3794dce796896668bc959736f02382534d2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:37:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:37:22 [ssh-agent] Looking for ssh-agent implementation... 02:37:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:37:22 $ docker exec aceb6e115f0425854aab6da30afbb3794dce796896668bc959736f02382534d2 ssh-agent 02:37:22 SSH_AUTH_SOCK=/tmp/ssh-nThn6xd0ScHk/agent.32 02:37:22 SSH_AGENT_PID=38 02:37:22 Running ssh-add (command line suppressed) 02:37:23 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_18187373323539796767.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_18187373323539796767.key) 02:37:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:37:23 + git semver bump pre 02:37:23 2024-06-03 02:37:23,582 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 02:37:23 2024-06-03 02:37:23,583 [bump_version] DEBUG bumping version:3.0.3-dev.14 on axis:pre with prefix:dev 02:37:23 2024-06-03 02:37:23,583 [bump_version] DEBUG bumped version:3.0.3-dev.15 02:37:23 2024-06-03 02:37:23,583 [write_version] DEBUG write version:3.0.3-dev.15 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 02:37:23 2024-06-03 02:37:23,583 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 02:37:23 2024-06-03 02:37:23,583 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 02:37:23 2024-06-03 02:37:23,585 [execute] INFO git cat-file --batch-check 02:37:23 2024-06-03 02:37:23,585 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 02:37:23 2024-06-03 02:37:23,591 [execute] INFO git cat-file --batch 02:37:23 2024-06-03 02:37:23,591 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 02:37:23 2024-06-03 02:37:23,597 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 02:37:23 3.0.3-dev.15 [Pipeline] } 02:37:23 $ docker exec --env ******** --env ******** aceb6e115f0425854aab6da30afbb3794dce796896668bc959736f02382534d2 ssh-agent -k 02:37:23 unset SSH_AUTH_SOCK; 02:37:23 unset SSH_AGENT_PID; 02:37:23 echo Agent pid 38 killed; 02:37:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:37:24 + git semver [Pipeline] } 02:37:24 $ docker stop --time=1 aceb6e115f0425854aab6da30afbb3794dce796896668bc959736f02382534d2 02:37:25 $ docker rm -f --volumes aceb6e115f0425854aab6da30afbb3794dce796896668bc959736f02382534d2 [Pipeline] // withDockerContainer [Pipeline] sh 02:37:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:37:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:37:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:26 prd-ubuntu20.04-docker-8c-8g-2669 does not seem to be running inside a container 02:37:26 $ 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:37:26 $ docker top ce818b9f18c4ff5033bad4441ac335cf7deedb40eff32801d7d7273cb5220eae -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:37:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:37:26 [ssh-agent] Looking for ssh-agent implementation... 02:37:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:37:27 $ docker exec ce818b9f18c4ff5033bad4441ac335cf7deedb40eff32801d7d7273cb5220eae ssh-agent 02:37:27 SSH_AUTH_SOCK=/tmp/ssh-8rA7YAbxs3QF/agent.33 02:37:27 SSH_AGENT_PID=39 02:37:27 Running ssh-add (command line suppressed) 02:37:27 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11693471162071848444.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_11693471162071848444.key) 02:37:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:37:27 + git semver push 02:37:27 2024-06-03 02:37:27,815 [run_push] DEBUG push 02:37:27 2024-06-03 02:37:27,815 [execute] INFO git cat-file --batch-check 02:37:27 2024-06-03 02:37:27,815 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 02:37:27 2024-06-03 02:37:27,820 [execute] INFO git rev-list 6dbbb5171026c0ccdeafc22f1a7280de353530ba -- 02:37:27 2024-06-03 02:37:27,820 [execute] DEBUG Popen(['git', 'rev-list', '6dbbb5171026c0ccdeafc22f1a7280de353530ba', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 02:37:27 2024-06-03 02:37:27,829 [execute] INFO git fetch -v origin 02:37:27 2024-06-03 02:37:27,829 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 02:37:28 2024-06-03 02:37:28,385 [run_push] DEBUG remote changes detected 02:37:28 2024-06-03 02:37:28,385 [run_push] DEBUG latest remote commit f77816baf536c451f6df3274e5691ffbd67a4603 is not in local commits 02:37:28 2024-06-03 02:37:28,385 [run_push] DEBUG integrating remote changes with a git pull 02:37:28 2024-06-03 02:37:28,386 [execute] INFO git pull origin semver 02:37:28 2024-06-03 02:37:28,386 [execute] DEBUG Popen(['git', 'pull', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 02:37:29 2024-06-03 02:37:28,847 [execute] INFO git push origin semver 02:37:29 2024-06-03 02:37:28,848 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 02:37:29 2024-06-03 02:37:29,581 [run_push] DEBUG push all version tags 02:37:29 2024-06-03 02:37:29,582 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:37:29 2024-06-03 02:37:29,582 [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:37:30 2024-06-03 02:37:30,247 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 02:37:30 3.0.3-dev.15 [Pipeline] } 02:37:30 $ docker exec --env ******** --env ******** ce818b9f18c4ff5033bad4441ac335cf7deedb40eff32801d7d7273cb5220eae ssh-agent -k 02:37:30 unset SSH_AUTH_SOCK; 02:37:30 unset SSH_AGENT_PID; 02:37:30 echo Agent pid 39 killed; 02:37:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:37:30 + git semver [Pipeline] } 02:37:31 $ docker stop --time=1 ce818b9f18c4ff5033bad4441ac335cf7deedb40eff32801d7d7273cb5220eae 02:37:32 $ docker rm -f --volumes ce818b9f18c4ff5033bad4441ac335cf7deedb40eff32801d7d7273cb5220eae [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:37:33 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 02:37:33 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 02:37:33 total 16 02:37:33 drwxr-xr-x 3 root root 4096 Jun 3 02:31 . 02:37:33 drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 02:37 .. 02:37:33 drwxr-xr-x 2 root root 4096 Jun 3 02:31 cost 02:37:33 -rw-r--r-- 1 root root 83 Jun 3 02:31 cost.csv 02:37:33 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 02:37:33 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 02:37:33 total 16 02:37:33 drwxr-xr-x 3 jenkins jenkins 4096 Jun 3 02:31 . 02:37:33 drwxrwxr-x 10 jenkins jenkins 4096 Jun 3 02:37 .. 02:37:33 drwxr-xr-x 2 jenkins jenkins 4096 Jun 3 02:31 cost 02:37:33 -rw-r--r-- 1 jenkins jenkins 83 Jun 3 02:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:37:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:37:34 ---> package-listing.sh 02:37:34 ++ facter osfamily 02:37:34 ++ tr '[:upper:]' '[:lower:]' 02:37:34 + OS_FAMILY=debian 02:37:34 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 02:37:34 + START_PACKAGES=/tmp/packages_start.txt 02:37:34 + END_PACKAGES=/tmp/packages_end.txt 02:37:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:37:34 + PACKAGES=/tmp/packages_start.txt 02:37:34 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 02:37:34 + PACKAGES=/tmp/packages_end.txt 02:37:34 + case "${OS_FAMILY}" in 02:37:34 + dpkg -l 02:37:34 + grep '^ii' 02:37:34 + '[' -f /tmp/packages_start.txt ']' 02:37:34 + '[' -f /tmp/packages_end.txt ']' 02:37:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:37:34 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 02:37:34 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 02:37:34 + 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:37:34 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:37:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:37:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:35 prd-ubuntu20.04-docker-8c-8g-2669 does not seem to be running inside a container 02:37:35 $ 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:37:35 $ docker top 42cdd7221b13fbe3dd8769472a99d006880f5861787e8efac462f733dc464029 -eo pid,comm [Pipeline] { [Pipeline] sh 02:37:36 + touch /tmp/pre-build-complete [Pipeline] sh 02:37:36 + mkdir -p /var/log/sysstat [Pipeline] sh 02:37:36 + ls /var/log/sa-host 02:37:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:37:36 provisioning config files... 02:37:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7774656188147240172tmp [Pipeline] { [Pipeline] echo 02:37:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:37:36 ---> create-netrc.sh [Pipeline] } 02:37:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:37:37 ---> python-tools-install.sh [Pipeline] echo 02:37:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:37:37 ---> sudo-logs.sh 02:37:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:37:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:37:37 ---> job-cost.sh 02:37:37 lf-activate-venv: SKIPPING 02:37:37 DEBUG: total: 0.2199999988079071 02:37:37 INFO: Retrieving Stack Cost... 02:37:39 INFO: Retrieving Pricing Info for: v3-standard-8 02:37:39 INFO: Archiving Costs [Pipeline] echo 02:37:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:37:39 ---> logs-deploy.sh 02:37:39 lf-activate-venv: SKIPPING 02:37:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/74 02:37:39 INFO: archiving workspace using pattern(s): 02:37:40 Archives upload complete. 02:37:41 INFO: archiving logs to Nexus 02:37:41 ---> uname -a: 02:37:41 Linux prd-ubuntu20-04-docker-8c-8g-2669 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:37:41 02:37:41 02:37:41 ---> lscpu: 02:37:41 Architecture: x86_64 02:37:41 CPU op-mode(s): 32-bit, 64-bit 02:37:41 Byte Order: Little Endian 02:37:41 Address sizes: 40 bits physical, 48 bits virtual 02:37:41 CPU(s): 8 02:37:41 On-line CPU(s) list: 0-7 02:37:41 Thread(s) per core: 1 02:37:41 Core(s) per socket: 1 02:37:41 Socket(s): 8 02:37:41 NUMA node(s): 1 02:37:41 Vendor ID: AuthenticAMD 02:37:41 CPU family: 23 02:37:41 Model: 49 02:37:41 Model name: AMD EPYC-Rome Processor 02:37:41 Stepping: 0 02:37:41 CPU MHz: 2799.998 02:37:41 BogoMIPS: 5599.99 02:37:41 Virtualization: AMD-V 02:37:41 Hypervisor vendor: KVM 02:37:41 Virtualization type: full 02:37:41 L1d cache: 256 KiB 02:37:41 L1i cache: 256 KiB 02:37:41 L2 cache: 4 MiB 02:37:41 L3 cache: 128 MiB 02:37:41 NUMA node0 CPU(s): 0-7 02:37:41 Vulnerability Itlb multihit: Not affected 02:37:41 Vulnerability L1tf: Not affected 02:37:41 Vulnerability Mds: Not affected 02:37:41 Vulnerability Meltdown: Not affected 02:37:41 Vulnerability Mmio stale data: Not affected 02:37:41 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:37:41 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:37:41 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:37:41 Vulnerability Srbds: Not affected 02:37:41 Vulnerability Tsx async abort: Not affected 02:37:41 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:37:41 02:37:41