Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b4a60c126f741d84c14ee104c3263f3235d33930 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-ssh6820216326985288827.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh13495860370741827153.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh5423411621906007462.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh643494992178683634.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-ssh1268247190130615196.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-27028’ Running on prd-ubuntu20.04-docker-8c-8g-27031 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 b4a60c126f741d84c14ee104c3263f3235d33930 (main) Commit message: "fix: Missing discovery delete wrapper for secure mode (#521)" > 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 b4a60c126f741d84c14ee104c3263f3235d33930 # timeout=10 > git rev-list --no-walk 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:11:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:11:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:11:33 ========================================================= 12:11:33 EdgeX Global Pipelines Version Info 12:11:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:11:33 ------------------- 12:11:33 stable info: 12:11:33 ------------------- 12:11:33 Commited By: Ginny Guan ginny@iotechsys.com 12:11:33 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 12:11:33 Message: update stable to v1.0.265 12:11:34 ------------------- 12:11:34 experimental info: 12:11:34 ------------------- 12:11:34 Commited By: Cherry Wang cherry@iotechsys.com 12:11:34 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 12:11:34 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:11:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 12:11:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 12:11:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:11:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:11:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:11:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 12:11:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 12:11:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:11:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:11:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 12:11:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:11:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:11:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:11:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 12:11:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:11:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:11:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:11:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 12:11:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 12:11:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 12:11:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b4a60c126f741d84c14ee104c3263f3235d33930 [Pipeline] echo 12:11:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b4a60c1 [Pipeline] echo 12:11:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:11:35 provisioning config files... 12:11:35 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1981904514587686516tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:11:35 ---> ****-login.sh 12:11:35 nexus3.edgexfoundry.org:10001 12:11:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:11:35 Configure a credential helper to remove this warning. See 12:11:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:11:35 12:11:35 Login Succeeded 12:11:35 nexus3.edgexfoundry.org:10002 12:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:11:36 Configure a credential helper to remove this warning. See 12:11:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:11:36 12:11:36 Login Succeeded 12:11:36 nexus3.edgexfoundry.org:10003 12:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:11:36 Configure a credential helper to remove this warning. See 12:11:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:11:36 12:11:36 Login Succeeded 12:11:36 nexus3.edgexfoundry.org:10004 12:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:11:36 Configure a credential helper to remove this warning. See 12:11:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:11:36 12:11:36 Login Succeeded 12:11:36 ****.io 12:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:11:36 Configure a credential helper to remove this warning. See 12:11:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:11:36 12:11:36 Login Succeeded 12:11:36 ---> ****-login.sh ends [Pipeline] } 12:11:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 12:11:37 + git rev-list -1 --merges b4a60c126f741d84c14ee104c3263f3235d33930~1..b4a60c126f741d84c14ee104c3263f3235d33930 [Pipeline] echo 12:11:37 -----------> git rev-list -1 --merges b4a60c126f741d84c14ee104c3263f3235d33930~1..b4a60c126f741d84c14ee104c3263f3235d33930 b4a60c126f741d84c14ee104c3263f3235d33930 [false] [Pipeline] sh 12:11:37 + git log --format=format:%s -1 b4a60c126f741d84c14ee104c3263f3235d33930 [Pipeline] echo 12:11:37 ========================================================= 12:11:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:11:37 ========================================================= 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 12:11:37 + git rev-list -1 --merges b4a60c126f741d84c14ee104c3263f3235d33930~1..b4a60c126f741d84c14ee104c3263f3235d33930 [Pipeline] echo 12:11:37 -----------> git rev-list -1 --merges b4a60c126f741d84c14ee104c3263f3235d33930~1..b4a60c126f741d84c14ee104c3263f3235d33930 b4a60c126f741d84c14ee104c3263f3235d33930 [false] [Pipeline] sh 12:11:38 + git log --format=format:%s -1 b4a60c126f741d84c14ee104c3263f3235d33930 [Pipeline] echo 12:11:38 ========================================================= 12:11:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:11:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 12:11:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:11:38 + grep -v github /etc/ssh/ssh_known_hosts 12:11:38 + [ -e /tmp/ssh_known_hosts ] 12:11:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:11:38 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:11:38 sudo tee -a /etc/ssh/ssh_known_hosts 12:11:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:11:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:11:38 12:11:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:11:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:11:39 0.1.4: Pulling from edgex-devops/py-git-semver 12:11:39 b85a868b505f: Pulling fs layer 12:11:39 e2be974225ed: Pulling fs layer 12:11:39 339a4e72a1f5: Pulling fs layer 12:11:39 988bab9f4d93: Pulling fs layer 12:11:39 1469e6f7b9e6: Pulling fs layer 12:11:39 eaf3925da568: Pulling fs layer 12:11:39 bab4dde63d76: Pulling fs layer 12:11:39 bde34c3a00c8: Pulling fs layer 12:11:39 b352a97aabf1: Pulling fs layer 12:11:39 988bab9f4d93: Waiting 12:11:39 1469e6f7b9e6: Waiting 12:11:39 eaf3925da568: Waiting 12:11:39 bab4dde63d76: Waiting 12:11:39 b352a97aabf1: Waiting 12:11:39 4872d77fe225: Pulling fs layer 12:11:39 5851b861e8e6: Pulling fs layer 12:11:39 4872d77fe225: Waiting 12:11:39 5851b861e8e6: Waiting 12:11:39 e2be974225ed: Download complete 12:11:39 988bab9f4d93: Verifying Checksum 12:11:39 988bab9f4d93: Download complete 12:11:39 1469e6f7b9e6: Verifying Checksum 12:11:39 1469e6f7b9e6: Download complete 12:11:39 eaf3925da568: Verifying Checksum 12:11:39 eaf3925da568: Download complete 12:11:39 339a4e72a1f5: Verifying Checksum 12:11:39 339a4e72a1f5: Download complete 12:11:39 bde34c3a00c8: Download complete 12:11:39 b352a97aabf1: Verifying Checksum 12:11:39 b352a97aabf1: Download complete 12:11:39 4872d77fe225: Verifying Checksum 12:11:39 4872d77fe225: Download complete 12:11:39 5851b861e8e6: Download complete 12:11:39 b85a868b505f: Verifying Checksum 12:11:39 b85a868b505f: Download complete 12:11:39 bab4dde63d76: Verifying Checksum 12:11:39 bab4dde63d76: Download complete 12:11:40 b85a868b505f: Pull complete 12:11:40 e2be974225ed: Pull complete 12:11:41 339a4e72a1f5: Pull complete 12:11:41 988bab9f4d93: Pull complete 12:11:41 1469e6f7b9e6: Pull complete 12:11:41 eaf3925da568: Pull complete 12:11:43 bab4dde63d76: Pull complete 12:11:43 bde34c3a00c8: Pull complete 12:11:43 b352a97aabf1: Pull complete 12:11:43 4872d77fe225: Pull complete 12:11:43 5851b861e8e6: Pull complete 12:11:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:11:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:11:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:11:44 prd-ubuntu20.04-docker-8c-8g-27031 does not seem to be running inside a container 12:11:44 $ 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 12:11:47 $ docker top 8bcf51d93c9f4354570d0ea904a0ff7db22c289eaf25a520c403d1063b8e82b7 -eo pid,comm 12:11:47 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). 12:11:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:11:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:11:47 [ssh-agent] Looking for ssh-agent implementation... 12:11:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:11:47 $ docker exec 8bcf51d93c9f4354570d0ea904a0ff7db22c289eaf25a520c403d1063b8e82b7 ssh-agent 12:11:47 SSH_AUTH_SOCK=/tmp/ssh-d26pV3JrWUnR/agent.31 12:11:47 SSH_AGENT_PID=37 12:11:47 Running ssh-add (command line suppressed) 12:11:47 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6971409820099540483.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6971409820099540483.key) 12:11:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:11:48 + git tag --points-at HEAD [Pipeline] } 12:11:48 $ docker exec --env ******** --env ******** 8bcf51d93c9f4354570d0ea904a0ff7db22c289eaf25a520c403d1063b8e82b7 ssh-agent -k 12:11:48 unset SSH_AUTH_SOCK; 12:11:48 unset SSH_AGENT_PID; 12:11:48 echo Agent pid 37 killed; 12:11:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:11:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:11:48 [ssh-agent] Looking for ssh-agent implementation... 12:11:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:11:48 $ docker exec 8bcf51d93c9f4354570d0ea904a0ff7db22c289eaf25a520c403d1063b8e82b7 ssh-agent 12:11:48 SSH_AUTH_SOCK=/tmp/ssh-8bdDAJPkOVVL/agent.70 12:11:48 SSH_AGENT_PID=76 12:11:48 Running ssh-add (command line suppressed) 12:11:48 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4271388512981981730.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4271388512981981730.key) 12:11:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:11:49 + git semver init 12:11:49 2024-11-19 12:11:49,303 [run_init] DEBUG init version:0.0.0 force:False 12:11:49 2024-11-19 12:11:49,304 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver 12:11:49 2024-11-19 12:11:49,304 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver 12:11:49 2024-11-19 12:11:49,304 [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) 12:11:50 2024-11-19 12:11:50,143 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude 12:11:50 2024-11-19 12:11:50,143 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False 12:11:50 2024-11-19 12:11:50,143 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 12:11:50 2024-11-19 12:11:50,144 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 12:11:50 4.0.0-dev.2 [Pipeline] } 12:11:50 $ docker exec --env ******** --env ******** 8bcf51d93c9f4354570d0ea904a0ff7db22c289eaf25a520c403d1063b8e82b7 ssh-agent -k 12:11:50 unset SSH_AUTH_SOCK; 12:11:50 unset SSH_AGENT_PID; 12:11:50 echo Agent pid 76 killed; 12:11:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:11:50 + git semver [Pipeline] } 12:11:51 $ docker stop --time=1 8bcf51d93c9f4354570d0ea904a0ff7db22c289eaf25a520c403d1063b8e82b7 12:11:52 $ docker rm -f --volumes 8bcf51d93c9f4354570d0ea904a0ff7db22c289eaf25a520c403d1063b8e82b7 [Pipeline] // withDockerContainer [Pipeline] sh 12:11:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:11:52 Stashed 1 file(s) [Pipeline] echo 12:11:52 [edgeXSemver]: initialized semver on version 4.0.0-dev.2 [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 12:11:53 provisioning config files... 12:11:53 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5932897397994601908tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:11:53 ---> ****-login.sh 12:11:53 nexus3.edgexfoundry.org:10001 12:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:11:53 Configure a credential helper to remove this warning. See 12:11:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:11:53 12:11:53 Login Succeeded 12:11:53 nexus3.edgexfoundry.org:10002 12:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:11:53 Configure a credential helper to remove this warning. See 12:11:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:11:53 12:11:53 Login Succeeded 12:11:53 nexus3.edgexfoundry.org:10003 12:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:11:53 Configure a credential helper to remove this warning. See 12:11:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:11:53 12:11:53 Login Succeeded 12:11:53 nexus3.edgexfoundry.org:10004 12:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:11:53 Configure a credential helper to remove this warning. See 12:11:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:11:53 12:11:53 Login Succeeded 12:11:53 ****.io 12:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:11:53 Configure a credential helper to remove this warning. See 12:11:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:11:53 12:11:53 Login Succeeded 12:11:53 ---> ****-login.sh ends [Pipeline] } 12:11:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:11:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:11:54 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 12:11:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:11:54 ========================================================= 12:11:54 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 12:11:54 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:11:54 + 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 . 12:11:54 Sending build context to Docker daemon 5.115MB 12:11:54 Step 1/22 : ARG BASE=alpine:3.18 12:11:54 Step 2/22 : FROM ${BASE} as builder 12:11:54 latest: Pulling from edgex-devops/edgex-gcc-base 12:11:54 96526aa774ef: Pulling fs layer 12:11:54 da60e534fd72: Pulling fs layer 12:11:54 96526aa774ef: Verifying Checksum 12:11:54 96526aa774ef: Download complete 12:11:54 96526aa774ef: Pull complete 12:11:55 da60e534fd72: Verifying Checksum 12:11:55 da60e534fd72: Download complete 12:11:58 da60e534fd72: Pull complete 12:11:58 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 12:11:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 12:11:58 ---> 6605166a5db4 12:11:58 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 12:12:00 ---> Running in 656497bc3efd 12:12:01 Connecting to iotech.jfrog.io (34.247.22.236:443) 12:12:01 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 12:12:01 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 12:12:01 '/etc/apk/keys/alpine.dev.rsa.pub' saved 12:12:01 Removing intermediate container 656497bc3efd 12:12:01 ---> 0bc03ba78ff2 12:12:01 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 12:12:01 ---> Running in 95888503aeee 12:12:02 Removing intermediate container 95888503aeee 12:12:02 ---> dbb6644b096f 12:12:02 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 12:12:02 ---> Running in d44402a4459b 12:12:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:12:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:12:02 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 12:12:03 WARNING: This apk-tools is OLD! Some packages might not function properly. 12:12:03 (1/17) Installing hiredis (1.1.0-r2) 12:12:03 (2/17) Installing hiredis-dev (1.1.0-r2) 12:12:03 (3/17) Installing libcbor (0.10.2-r1) 12:12:03 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 12:12:04 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 12:12:04 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 12:12:05 (7/17) Installing libcbor-dev (0.10.2-r1) 12:12:05 (8/17) Installing libmenuw (6.4_p20230506-r0) 12:12:05 (9/17) Installing libpanelw (6.4_p20230506-r0) 12:12:05 (10/17) Installing libncurses++ (6.4_p20230506-r0) 12:12:05 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 12:12:05 (12/17) Installing libblkid (2.38.1-r8) 12:12:05 (13/17) Installing libuuid (2.38.1-r8) 12:12:05 (14/17) Installing libfdisk (2.38.1-r8) 12:12:05 (15/17) Installing libmount (2.38.1-r8) 12:12:05 (16/17) Installing libsmartcols (2.38.1-r8) 12:12:05 (17/17) Installing util-linux-dev (2.38.1-r8) 12:12:05 Executing busybox-1.36.1-r4.trigger 12:12:05 OK: 336 MiB in 99 packages 12:12:05 Removing intermediate container d44402a4459b 12:12:05 ---> a7507ddc58a7 12:12:05 Step 6/22 : RUN mkdir /tmp/sdk 12:12:05 ---> Running in e286f2063781 12:12:06 Removing intermediate container e286f2063781 12:12:06 ---> 1051f03221dd 12:12:06 Step 7/22 : COPY VERSION /tmp/sdk 12:12:06 ---> ade925d85d99 12:12:06 Step 8/22 : COPY src /tmp/sdk/src 12:12:06 ---> 063c9b0ef880 12:12:06 Step 9/22 : COPY include /tmp/sdk/include 12:12:06 ---> 453578a6e2a5 12:12:06 Step 10/22 : COPY scripts /tmp/sdk/scripts 12:12:07 ---> f2cd44c8e7e0 12:12:07 Step 11/22 : COPY LICENSE /tmp/sdk 12:12:07 ---> 5be1223f7b8f 12:12:07 Step 12/22 : COPY Attribution.txt /tmp/sdk 12:12:07 ---> c8115eb5e0b3 12:12:07 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 12:12:07 ---> Running in bed27600f2e9 12:12:07 + CPPCHECK=false 12:12:07 + DOCGEN=false 12:12:07 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 12:12:07 + '[' 0 -gt 0 ] 12:12:07 + readlink -f ./scripts/build.sh 12:12:07 + dirname /tmp/sdk/scripts/build.sh 12:12:07 + dirname /tmp/sdk/scripts 12:12:07 + ROOT=/tmp/sdk 12:12:07 + cd /tmp/sdk 12:12:07 + mkdir -p /tmp/sdk/build/release 12:12:07 + cd /tmp/sdk/build/release 12:12:07 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 12:12:07 -- The C compiler identification is GNU 12.2.1 12:12:07 -- Detecting C compiler ABI info 12:12:07 -- Detecting C compiler ABI info - done 12:12:07 -- Check for working C compiler: /usr/bin/cc - skipped 12:12:07 -- Detecting C compile features 12:12:07 -- Detecting C compile features - done 12:12:07 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:12:07 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 12:12:07 -- Found LIBYAML: /usr/lib/libyaml.so 12:12:07 -- Found LIBUUID: /usr/lib/libuuid.so 12:12:07 -- Found LIBCBOR: /usr/lib/libcbor.so 12:12:07 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 12:12:07 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 12:12:07 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 12:12:07 -- /opt/iotech/iot/1.5/include 12:12:07 -- C SDK 4.0.0-dev.2 for Linux 12:12:07 -- Performing Test CSDK_HAVE_ATOMIC 12:12:08 Still waiting to schedule task 12:12:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:12:08 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:12:08 -- Found Curses: /usr/lib/libcurses.so 12:12:08 -- Configuring done (0.4s) 12:12:08 -- Generating done (0.0s) 12:12:08 -- Build files have been written to: /tmp/sdk/build/release 12:12:08 + make all package 12:12:08 + tee release.log 12:12:08 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:12:08 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 12:12:08 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 12:12:08 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 12:12:08 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 12:12:08 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:12:08 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:12:09 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 12:12:09 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 12:12:09 294 | while (privateConfig) 12:12:09 | ^~~~~~~~~~~~~ 12:12:09 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 12:12:09 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 12:12:09 | ^~~~~~~~~~~~~ 12:12:09 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 12:12:09 271 | while (result) 12:12:09 | ^~~~~~ 12:12:09 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 12:12:09 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 12:12:09 | ^~~~~~ 12:12:09 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:12:09 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:12:09 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:12:09 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:12:09 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:12:09 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:12:09 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:12:10 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 12:12:10 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:12:10 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:12:10 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 12:12:10 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:12:10 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:12:11 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:12:12 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:12:12 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:12:12 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:12:12 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 12:12:12 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:12:12 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:12:12 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 12:12:13 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 12:12:13 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 12:12:13 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:12:13 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 12:12:13 /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12:12:13 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 12:12:13 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 12:12:13 /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12:12:13 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 12:12:13 | ^ 12:12:13 /tmp/sdk/src/c/service.c:1074:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 12:12:13 1074 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 12:12:13 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12:12:13 /tmp/sdk/src/c/service.c:886:68: note: 'deviceservices_config' was declared here 12:12:13 886 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 12:12:13 | ^~~~~~~~~~~~~~~~~~~~~ 12:12:13 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:12:13 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 12:12:13 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:12:13 [ 68%] Linking C shared library libcsdk.so 12:12:13 [ 68%] Built target csdk 12:12:13 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:12:14 [ 72%] Linking C executable template 12:12:14 [ 72%] Built target template 12:12:14 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:12:14 [ 76%] Linking C executable device-counter 12:12:14 [ 76%] Built target device-counter 12:12:14 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:12:14 [ 80%] Linking C executable device-random 12:12:14 [ 80%] Built target device-random 12:12:14 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:12:14 [ 84%] Linking C executable device-gyro 12:12:14 [ 84%] Built target device-gyro 12:12:14 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:12:14 [ 88%] Linking C executable device-bitfields 12:12:14 [ 88%] Built target device-bitfields 12:12:14 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:12:14 [ 92%] Linking C executable template-discovery 12:12:15 [ 92%] Built target template-discovery 12:12:15 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:12:15 [ 96%] Linking C executable device-file 12:12:15 [ 96%] Built target device-file 12:12:15 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:12:15 [100%] Linking C executable device-terminal 12:12:15 [100%] Built target device-terminal 12:12:15 Run CPack packaging tool... 12:12:15 CPack: Create package using TGZ 12:12:15 CPack: Install projects 12:12:15 CPack: - Run preinstall target for: Csdk 12:12:15 CPack: - Install project: Csdk [] 12:12:15 CPack: Create package 12:12:15 CPack: - package: /tmp/sdk/build/release/csdk-4.0.0-dev.2.tar.gz generated. 12:12:15 + '[' false '=' true ] 12:12:15 + '[' false '=' true ] 12:12:15 + mkdir -p /tmp/sdk/build/debug 12:12:15 + cd /tmp/sdk/build/debug 12:12:15 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 12:12:15 -- The C compiler identification is GNU 12.2.1 12:12:15 -- Detecting C compiler ABI info 12:12:15 -- Detecting C compiler ABI info - done 12:12:15 -- Check for working C compiler: /usr/bin/cc - skipped 12:12:15 -- Detecting C compile features 12:12:15 -- Detecting C compile features - done 12:12:15 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:12:15 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 12:12:15 -- Found LIBYAML: /usr/lib/libyaml.so 12:12:15 -- Found LIBUUID: /usr/lib/libuuid.so 12:12:15 -- Found LIBCBOR: /usr/lib/libcbor.so 12:12:15 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 12:12:16 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 12:12:16 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 12:12:16 -- /opt/iotech/iot/1.5/include 12:12:16 -- C SDK 4.0.0-dev.2 for Linux 12:12:16 -- Performing Test CSDK_HAVE_ATOMIC 12:12:16 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:12:16 -- Found Curses: /usr/lib/libcurses.so 12:12:16 -- Configuring done (0.4s) 12:12:16 -- Generating done (0.0s) 12:12:16 -- Build files have been written to: /tmp/sdk/build/debug 12:12:16 + + tee debug.log 12:12:16 make 12:12:16 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:12:16 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 12:12:16 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 12:12:16 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 12:12:16 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 12:12:16 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:12:16 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:12:16 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:12:16 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:12:16 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:12:16 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:12:17 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:12:17 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:12:17 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:12:17 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 12:12:17 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:12:17 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:12:17 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 12:12:17 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:12:17 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:12:17 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:12:17 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:12:17 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:12:18 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:12:18 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 12:12:18 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:12:18 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:12:18 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 12:12:18 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 12:12:18 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 12:12:18 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:12:18 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 12:12:18 /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12:12:18 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 12:12:18 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 12:12:18 /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12:12:18 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 12:12:18 | ^ 12:12:18 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:12:19 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 12:12:19 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:12:19 [ 68%] Linking C shared library libcsdk.so 12:12:19 [ 68%] Built target csdk 12:12:19 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:12:19 [ 72%] Linking C executable template 12:12:19 [ 72%] Built target template 12:12:19 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:12:19 [ 76%] Linking C executable device-counter 12:12:19 [ 76%] Built target device-counter 12:12:19 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:12:19 [ 80%] Linking C executable device-random 12:12:19 [ 80%] Built target device-random 12:12:19 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:12:19 [ 84%] Linking C executable device-gyro 12:12:19 [ 84%] Built target device-gyro 12:12:19 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:12:19 [ 88%] Linking C executable device-bitfields 12:12:19 [ 88%] Built target device-bitfields 12:12:19 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:12:20 [ 92%] Linking C executable template-discovery 12:12:20 [ 92%] Built target template-discovery 12:12:20 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:12:20 [ 96%] Linking C executable device-file 12:12:20 [ 96%] Built target device-file 12:12:20 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:12:20 [100%] Linking C executable device-terminal 12:12:20 [100%] Built target device-terminal 12:12:20 make: Entering directory '/tmp/sdk/build/release' 12:12:20 [ 68%] Built target csdk 12:12:20 [ 72%] Built target template 12:12:20 [ 76%] Built target device-counter 12:12:20 [ 80%] Built target device-random 12:12:20 [ 84%] Built target device-gyro 12:12:20 [ 88%] Built target device-bitfields 12:12:20 [ 92%] Built target template-discovery 12:12:20 [ 96%] Built target device-file 12:12:20 [100%] Built target device-terminal 12:12:20 Install the project... 12:12:20 -- Install configuration: "Release" 12:12:20 -- Installing: /usr/local/lib/libcsdk.so 12:12:20 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 12:12:20 -- Installing: /usr/local/include 12:12:20 -- Installing: /usr/local/include/devsdk 12:12:20 -- Installing: /usr/local/include/devsdk/devsdk.h 12:12:20 -- Installing: /usr/local/include/devsdk/devsdk-base.h 12:12:20 -- Installing: /usr/local/include/edgex 12:12:20 -- Installing: /usr/local/include/edgex/edgex.h 12:12:20 -- Installing: /usr/local/include/edgex/devices.h 12:12:20 -- Installing: /usr/local/include/edgex/profiles.h 12:12:20 -- Installing: /usr/local/include/edgex/edgex-base.h 12:12:20 -- Installing: /usr/local/include/edgex/rest-server.h 12:12:20 -- Installing: /usr/local/include/edgex/csdk-defs.h 12:12:20 -- Installing: /usr/local/share/device-sdk-c/LICENSE 12:12:20 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 12:12:20 make: Leaving directory '/tmp/sdk/build/release' 12:12:21 Removing intermediate container bed27600f2e9 12:12:21 ---> f59357c02f0f 12:12:21 Step 14/22 : FROM ${BASE} 12:12:21 ---> 6605166a5db4 12:12:21 Step 15/22 : LABEL maintainer="IOTech " 12:12:21 ---> Running in 5e2f1b728689 12:12:21 Removing intermediate container 5e2f1b728689 12:12:21 ---> 5d1dd453ce78 12:12:21 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 12:12:21 ---> Running in 2b026de87907 12:12:21 Connecting to iotech.jfrog.io (34.246.139.145:443) 12:12:22 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 12:12:22 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 12:12:22 '/etc/apk/keys/alpine.dev.rsa.pub' saved 12:12:22 Removing intermediate container 2b026de87907 12:12:22 ---> 8e463e7c4bb3 12:12:22 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 12:12:22 ---> Running in 624a9f41a461 12:12:22 Removing intermediate container 624a9f41a461 12:12:22 ---> 2edf60916779 12:12:22 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init 12:12:22 ---> Running in 0010a1c89528 12:12:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:12:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:12:23 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 12:12:24 WARNING: This apk-tools is OLD! Some packages might not function properly. 12:12:24 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) 12:12:24 (2/10) Installing curl (8.9.1-r1) 12:12:24 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) 12:12:24 (4/10) Installing dumb-init (1.2.5-r2) 12:12:24 (5/10) Installing hiredis (1.1.0-r2) 12:12:24 (6/10) Installing hiredis-dev (1.1.0-r2) 12:12:24 (7/10) Installing libcbor (0.10.2-r1) 12:12:24 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 12:12:24 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 12:12:25 (10/10) Installing libuuid (2.38.1-r8) 12:12:25 Executing busybox-1.36.1-r4.trigger 12:12:25 OK: 331 MiB in 90 packages 12:12:25 Removing intermediate container 0010a1c89528 12:12:25 ---> c98b0ebcb7b9 12:12:25 Step 19/22 : RUN apk --no-cache upgrade 12:12:25 ---> Running in fb5d62bb6c6d 12:12:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:12:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:12:26 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 12:12:26 WARNING: This apk-tools is OLD! Some packages might not function properly. 12:12:26 Upgrading critical system libraries and apk-tools: 12:12:26 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 12:12:26 Executing busybox-1.36.1-r4.trigger 12:12:26 Continuing the upgrade transaction with new apk-tools: 12:12:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:12:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:12:27 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 12:12:27 WARNING: This apk-tools is OLD! Some packages might not function properly. 12:12:27 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 12:12:27 Executing busybox-1.36.1-r7.post-upgrade 12:12:27 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 12:12:27 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 12:12:27 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 12:12:27 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 12:12:27 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 12:12:27 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 12:12:27 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 12:12:27 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 12:12:27 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 12:12:27 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 12:12:27 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 12:12:27 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 12:12:27 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 12:12:27 Executing busybox-1.36.1-r7.trigger 12:12:27 Executing ca-certificates-20240226-r0.trigger 12:12:27 OK: 332 MiB in 90 packages 12:12:28 Removing intermediate container fb5d62bb6c6d 12:12:28 ---> 7da1ac637161 12:12:28 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 12:12:28 ---> 5a525f4984e2 12:12:28 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 12:12:29 ---> c9b84763dcff 12:12:29 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 12:12:29 ---> 0f5702588ec4 12:12:29 Successfully built 0f5702588ec4 12:12:29 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 12:12:29 + docker inspect -f . ci-base-image-x86_64 12:12:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:12:29 prd-ubuntu20.04-docker-8c-8g-27031 does not seem to be running inside a container 12:12:29 $ 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 12:12:30 $ docker top 1b8ab7419f91cc1a77c44e2494a79d1ce39b827050e110e7a311d020b44c24be -eo pid,comm [Pipeline] { [Pipeline] sh 12:12:30 + make test 12:12:30 echo "make test" 12:12:30 make test [Pipeline] } 12:12:30 $ docker stop --time=1 1b8ab7419f91cc1a77c44e2494a79d1ce39b827050e110e7a311d020b44c24be 12:12:31 $ docker rm -f --volumes 1b8ab7419f91cc1a77c44e2494a79d1ce39b827050e110e7a311d020b44c24be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:12:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:12:32 + ls -al . 12:12:32 total 212 12:12:32 drwxrwxr-x 9 jenkins jenkins 4096 Nov 19 12:11 . 12:12:32 drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 12:11 .. 12:12:32 drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 12:11 .git 12:12:32 drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 12:11 .github 12:12:32 -rw-rw-r-- 1 jenkins jenkins 176 Nov 19 12:11 .gitignore 12:12:32 drwxr-xr-x 3 jenkins jenkins 4096 Nov 19 12:11 .semver 12:12:32 -rw-rw-r-- 1 jenkins jenkins 2908 Nov 19 12:11 Attribution.txt 12:12:32 -rw-rw-r-- 1 jenkins jenkins 11953 Nov 19 12:11 CHANGELOG.md 12:12:32 -rw-rw-r-- 1 jenkins jenkins 108574 Nov 19 12:11 Doxyfile 12:12:32 -rw-rw-r-- 1 jenkins jenkins 677 Nov 19 12:11 GOVERNANCE.md 12:12:32 -rw-rw-r-- 1 jenkins jenkins 784 Nov 19 12:11 Jenkinsfile 12:12:32 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 19 12:11 LICENSE 12:12:32 -rw-rw-r-- 1 jenkins jenkins 444 Nov 19 12:11 Makefile 12:12:32 -rw-rw-r-- 1 jenkins jenkins 618 Nov 19 12:11 OWNERS.md 12:12:32 -rw-rw-r-- 1 jenkins jenkins 1651 Nov 19 12:11 README.IOT.md 12:12:32 -rw-rw-r-- 1 jenkins jenkins 4215 Nov 19 12:11 README.md 12:12:32 -rw-rw-r-- 1 jenkins jenkins 1245 Nov 19 12:11 README.v3.md 12:12:32 -rw-rw-r-- 1 jenkins jenkins 11 Nov 19 12:11 VERSION 12:12:32 drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 12:11 docs 12:12:32 drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 12:11 include 12:12:32 drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 12:11 scripts 12:12:32 drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 12:11 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:12:33 + 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=b4a60c126f741d84c14ee104c3263f3235d33930 --label arch=amd64 --label version=4.0.0-dev.2 . 12:12:33 Sending build context to Docker daemon 5.115MB 12:12:33 Step 1/18 : ARG BASE=alpine:3.18 12:12:33 Step 2/18 : FROM ${BASE} 12:12:33 ---> 0f5702588ec4 12:12:33 Step 3/18 : LABEL maintainer="IOTech " 12:12:33 ---> Running in 698a557d4e81 12:12:33 Removing intermediate container 698a557d4e81 12:12:33 ---> 50c6b3d22962 12:12:33 Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 12:12:33 ---> Running in 463604cd2c93 12:12:33 Connecting to iotech.jfrog.io (34.247.22.236:443) 12:12:34 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 12:12:34 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 12:12:34 '/etc/apk/keys/alpine.dev.rsa.pub' saved 12:12:34 Removing intermediate container 463604cd2c93 12:12:34 ---> 7ed03200157c 12:12:34 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 12:12:34 ---> Running in 000366ad6af6 12:12:34 Removing intermediate container 000366ad6af6 12:12:34 ---> c548f67897df 12:12:34 Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build 12:12:34 ---> Running in f0eac9d86b37 12:12:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:12:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:12:35 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 12:12:36 WARNING: This apk-tools is OLD! Some packages might not function properly. 12:12:36 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 12:12:36 (2/11) Installing libcbor-dev (0.10.2-r1) 12:12:36 (3/11) Installing libmenuw (6.4_p20230506-r0) 12:12:36 (4/11) Installing libpanelw (6.4_p20230506-r0) 12:12:36 (5/11) Installing libncurses++ (6.4_p20230506-r0) 12:12:36 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 12:12:36 (7/11) Installing libblkid (2.38.1-r8) 12:12:36 (8/11) Installing libfdisk (2.38.1-r8) 12:12:36 (9/11) Installing libmount (2.38.1-r8) 12:12:36 (10/11) Installing libsmartcols (2.38.1-r8) 12:12:36 (11/11) Installing util-linux-dev (2.38.1-r8) 12:12:36 Executing busybox-1.36.1-r7.trigger 12:12:36 OK: 337 MiB in 101 packages 12:12:36 Removing intermediate container f0eac9d86b37 12:12:36 ---> b90cfbc0e302 12:12:36 Step 7/18 : RUN apk --no-cache upgrade 12:12:36 ---> Running in 3670401c5b12 12:12:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:12:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:12:37 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 12:12:37 WARNING: This apk-tools is OLD! Some packages might not function properly. 12:12:37 OK: 337 MiB in 101 packages 12:12:38 Removing intermediate container 3670401c5b12 12:12:38 ---> 64859228a629 12:12:38 Step 8/18 : COPY VERSION /edgex-c-sdk/ 12:12:38 ---> 47f97cb7461b 12:12:38 Step 9/18 : COPY src /edgex-c-sdk/src/ 12:12:38 ---> 343684de63fd 12:12:38 Step 10/18 : COPY include /edgex-c-sdk/include/ 12:12:38 ---> f45d883903a3 12:12:38 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 12:12:38 ---> 12b573ca52cf 12:12:38 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 12:12:38 ---> 29bc195233c3 12:12:38 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 12:12:38 ---> 830272bf8345 12:12:38 Step 14/18 : WORKDIR /edgex-c-sdk 12:12:38 ---> Running in 741bb80cbd54 12:12:38 Removing intermediate container 741bb80cbd54 12:12:38 ---> 8a69a0db5e48 12:12:38 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 12:12:39 ---> Running in 32b3ee0519b6 12:12:39 Removing intermediate container 32b3ee0519b6 12:12:39 ---> 6411feec2724 12:12:39 Step 16/18 : LABEL arch=amd64 12:12:39 ---> Running in 708763a7e4f5 12:12:39 Removing intermediate container 708763a7e4f5 12:12:39 ---> 3cab533bdc4d 12:12:39 Step 17/18 : LABEL git_sha=b4a60c126f741d84c14ee104c3263f3235d33930 12:12:39 ---> Running in e326557ad073 12:12:39 Removing intermediate container e326557ad073 12:12:39 ---> 1fac0de56a8f 12:12:39 Step 18/18 : LABEL version=4.0.0-dev.2 12:12:39 ---> Running in af64fbe601fa 12:12:39 Removing intermediate container af64fbe601fa 12:12:39 ---> acaafbdfb56e 12:12:39 [Warning] One or more build-args [ARCH MAKE] were not consumed 12:12:39 Successfully built acaafbdfb56e 12:12:39 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 12:12:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:12:39 12:12:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:12:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:12:40 latest: Pulling from edgex-lftools-log-publisher 12:12:40 5eb5b503b376: Pulling fs layer 12:12:40 5c69ac0246d0: Pulling fs layer 12:12:40 ec43610c2a17: Pulling fs layer 12:12:40 3a2ae6a8a46f: Pulling fs layer 12:12:40 33b1e0a273af: Pulling fs layer 12:12:40 5d3b04190fa2: Pulling fs layer 12:12:40 2f39f015ded8: Pulling fs layer 12:12:40 33b1e0a273af: Waiting 12:12:40 5d3b04190fa2: Waiting 12:12:40 2f39f015ded8: Waiting 12:12:40 3a2ae6a8a46f: Waiting 12:12:40 5c69ac0246d0: Verifying Checksum 12:12:40 5c69ac0246d0: Download complete 12:12:40 3a2ae6a8a46f: Verifying Checksum 12:12:40 3a2ae6a8a46f: Download complete 12:12:40 33b1e0a273af: Verifying Checksum 12:12:40 33b1e0a273af: Download complete 12:12:40 5d3b04190fa2: Verifying Checksum 12:12:40 5d3b04190fa2: Download complete 12:12:40 ec43610c2a17: Verifying Checksum 12:12:40 ec43610c2a17: Download complete 12:12:40 5eb5b503b376: Download complete 12:12:41 2f39f015ded8: Verifying Checksum 12:12:41 2f39f015ded8: Download complete 12:12:41 5eb5b503b376: Pull complete 12:12:41 5c69ac0246d0: Pull complete 12:12:42 ec43610c2a17: Pull complete 12:12:42 3a2ae6a8a46f: Pull complete 12:12:42 33b1e0a273af: Pull complete 12:12:42 5d3b04190fa2: Pull complete 12:12:46 2f39f015ded8: Pull complete 12:12:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:12:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:12:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:12:46 prd-ubuntu20.04-docker-8c-8g-27031 does not seem to be running inside a container 12:12:46 $ 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 12:12:51 $ docker top 9be8814f8fdf9915831dc5abe648fbd624253cfdd8c7bc80706e88c1ddf42981 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:12:51 ---> job-cost.sh 12:12:51 lf-activate-venv: SKIPPING 12:12:51 INFO: No Stack... 12:12:52 INFO: Retrieving Pricing Info for: v3-standard-8 12:12:52 INFO: Archiving Costs [Pipeline] sh 12:12:52 + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv 12:12:52 + cut -d, -f6 [Pipeline] lock 12:12:52 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-79-stack-cost] 12:12:52 Resource [jenkins-edgexfoundry-device-sdk-c-main-79-stack-cost] did not exist. Created. 12:12:52 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-79-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:12:53 + echo total: 0.2199999988079071 [Pipeline] stash 12:12:53 Stashed 1 file(s) [Pipeline] } 12:12:53 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-79-stack-cost] [Pipeline] // lock [Pipeline] } 12:12:53 $ docker stop --time=1 9be8814f8fdf9915831dc5abe648fbd624253cfdd8c7bc80706e88c1ddf42981 12:12:54 $ docker rm -f --volumes 9be8814f8fdf9915831dc5abe648fbd624253cfdd8c7bc80706e88c1ddf42981 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:13:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-27032 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws 12:13:49 Running in /w/workspace/device-sdk-c/79 [Pipeline] { [Pipeline] checkout 12:13:52 Selected Git installation does not exist. Using Default 12:13:52 The recommended git tool is: NONE 12:14:00 using credential edgex-jenkins-ssh 12:14:00 Cloning the remote Git repository 12:14:00 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 12:14:00 > git init /w/workspace/device-sdk-c/79 # timeout=10 12:14:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 12:14:00 > git --version # timeout=10 12:14:00 > git --version # 'git version 2.25.1' 12:14:00 using GIT_SSH to set credentials SSH Credentials for GitHub 12:14:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:14:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 12:14:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:14:03 Avoid second fetch 12:14:03 Checking out Revision b4a60c126f741d84c14ee104c3263f3235d33930 (main) 12:14:03 > git config core.sparsecheckout # timeout=10 12:14:03 > git checkout -f b4a60c126f741d84c14ee104c3263f3235d33930 # timeout=10 12:14:04 Commit message: "fix: Missing discovery delete wrapper for secure mode (#521)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:14:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:14:09 % Total % Received % Xferd Average Speed Time Time Time Current 12:14:09 Dload Upload Total Spent Left Speed 12:14:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 12:14:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:14:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:14:10 + sudo tee /etc/docker/daemon.new 12:14:10 { 12:14:10 "registry-mirrors": [ 12:14:10 "https://nexus3.edgexfoundry.org:10001" 12:14:10 ], 12:14:10 "bip": "10.250.0.254/24", 12:14:10 "hosts": [ 12:14:10 "tcp://0.0.0.0:5555", 12:14:10 "unix:///var/run/docker.sock" 12:14:10 ], 12:14:10 "mtu": 1458, 12:14:10 "selinux-enabled": true, 12:14:10 "seccomp-profile": "/etc/docker/seccomp.json" 12:14:10 } [Pipeline] sh 12:14:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:14:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:14:29 provisioning config files... 12:14:29 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/79@tmp/config16296407317457516426tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:14:29 ---> ****-login.sh 12:14:29 nexus3.edgexfoundry.org:10001 12:14:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:14:30 Configure a credential helper to remove this warning. See 12:14:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:14:30 12:14:30 Login Succeeded 12:14:30 nexus3.edgexfoundry.org:10002 12:14:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:14:30 Configure a credential helper to remove this warning. See 12:14:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:14:30 12:14:30 Login Succeeded 12:14:30 nexus3.edgexfoundry.org:10003 12:14:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:14:31 Configure a credential helper to remove this warning. See 12:14:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:14:31 12:14:31 Login Succeeded 12:14:31 nexus3.edgexfoundry.org:10004 12:14:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:14:31 Configure a credential helper to remove this warning. See 12:14:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:14:31 12:14:31 Login Succeeded 12:14:31 ****.io 12:14:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:14:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:14:31 Configure a credential helper to remove this warning. See 12:14:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:14:31 12:14:31 Login Succeeded 12:14:31 ---> ****-login.sh ends [Pipeline] } 12:14:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:14:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:14:32 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 12:14:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:14:32 ========================================================= 12:14:32 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 12:14:32 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:14:32 + 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 . 12:14:33 Sending build context to Docker daemon 3.062MB 12:14:33 Step 1/22 : ARG BASE=alpine:3.18 12:14:33 Step 2/22 : FROM ${BASE} as builder 12:14:33 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 12:14:33 579b34f0a95b: Pulling fs layer 12:14:33 e71477ac5e1b: Pulling fs layer 12:14:33 579b34f0a95b: Verifying Checksum 12:14:33 579b34f0a95b: Download complete 12:14:34 579b34f0a95b: Pull complete 12:14:36 e71477ac5e1b: Verifying Checksum 12:14:36 e71477ac5e1b: Download complete 12:14:48 e71477ac5e1b: Pull complete 12:14:48 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 12:14:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 12:14:48 ---> 2b552cad5dd9 12:14:48 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 12:14:48 ---> Running in b6142093aa18 12:14:49 Connecting to iotech.jfrog.io (54.73.4.50:443) 12:14:49 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 12:14:49 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 12:14:49 '/etc/apk/keys/alpine.dev.rsa.pub' saved 12:14:50 Removing intermediate container b6142093aa18 12:14:50 ---> 030f989684c2 12:14:50 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 12:14:50 ---> Running in 00b0241531b3 12:14:52 Removing intermediate container 00b0241531b3 12:14:52 ---> 6c6f7f654df4 12:14:52 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 12:14:52 ---> Running in b6d56facb816 12:14:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:14:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:14:54 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 12:14:55 WARNING: This apk-tools is OLD! Some packages might not function properly. 12:14:55 (1/17) Installing hiredis (1.1.0-r2) 12:14:55 (2/17) Installing hiredis-dev (1.1.0-r2) 12:14:55 (3/17) Installing libcbor (0.10.2-r1) 12:14:55 (4/17) Installing iotech-iot-1.5 (1.5.4-r2) 12:14:56 (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) 12:14:56 (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 12:14:56 (7/17) Installing libcbor-dev (0.10.2-r1) 12:14:56 (8/17) Installing libmenuw (6.4_p20230506-r0) 12:14:56 (9/17) Installing libpanelw (6.4_p20230506-r0) 12:14:56 (10/17) Installing libncurses++ (6.4_p20230506-r0) 12:14:56 (11/17) Installing ncurses-dev (6.4_p20230506-r0) 12:14:56 (12/17) Installing libblkid (2.38.1-r8) 12:14:56 (13/17) Installing libuuid (2.38.1-r8) 12:14:56 (14/17) Installing libfdisk (2.38.1-r8) 12:14:57 (15/17) Installing libmount (2.38.1-r8) 12:14:57 (16/17) Installing libsmartcols (2.38.1-r8) 12:14:57 (17/17) Installing util-linux-dev (2.38.1-r8) 12:14:57 Executing busybox-1.36.1-r4.trigger 12:14:57 OK: 333 MiB in 99 packages 12:14:58 Removing intermediate container b6d56facb816 12:14:58 ---> 909f665fe85c 12:14:58 Step 6/22 : RUN mkdir /tmp/sdk 12:14:58 ---> Running in dc1c4fb382e2 12:15:00 Removing intermediate container dc1c4fb382e2 12:15:00 ---> 5ce8387fea32 12:15:00 Step 7/22 : COPY VERSION /tmp/sdk 12:15:00 ---> 1caeb29351de 12:15:00 Step 8/22 : COPY src /tmp/sdk/src 12:15:01 ---> 335ba84df9ca 12:15:01 Step 9/22 : COPY include /tmp/sdk/include 12:15:04 ---> b54dccabbd04 12:15:04 Step 10/22 : COPY scripts /tmp/sdk/scripts 12:15:04 ---> e849d3755034 12:15:04 Step 11/22 : COPY LICENSE /tmp/sdk 12:15:04 ---> 0c15a1c7a71c 12:15:04 Step 12/22 : COPY Attribution.txt /tmp/sdk 12:15:04 ---> 7acc31ef0b4d 12:15:04 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 12:15:05 ---> Running in 1b595132ac52 12:15:06 + CPPCHECK=false 12:15:06 + DOCGEN=false 12:15:06 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 12:15:06 + '[' 0 -gt 0 ] 12:15:06 + readlink -f ./scripts/build.sh 12:15:06 + dirname /tmp/sdk/scripts/build.sh 12:15:06 + dirname /tmp/sdk/scripts 12:15:06 + ROOT=/tmp/sdk 12:15:06 + cd /tmp/sdk 12:15:06 + mkdir -p /tmp/sdk/build/release 12:15:06 + cd /tmp/sdk/build/release 12:15:06 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 12:15:06 -- The C compiler identification is GNU 12.2.1 12:15:06 -- Detecting C compiler ABI info 12:15:06 -- Detecting C compiler ABI info - done 12:15:06 -- Check for working C compiler: /usr/bin/cc - skipped 12:15:06 -- Detecting C compile features 12:15:06 -- Detecting C compile features - done 12:15:06 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:15:07 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 12:15:07 -- Found LIBYAML: /usr/lib/libyaml.so 12:15:07 -- Found LIBUUID: /usr/lib/libuuid.so 12:15:07 -- Found LIBCBOR: /usr/lib/libcbor.so 12:15:07 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 12:15:07 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 12:15:07 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 12:15:07 -- /opt/iotech/iot/1.5/include 12:15:07 -- C SDK 4.0.0-dev.2 for Linux 12:15:07 -- Performing Test CSDK_HAVE_ATOMIC 12:15:07 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:15:08 -- Found Curses: /usr/lib/libcurses.so 12:15:08 -- Configuring done (2.0s) 12:15:08 -- Generating done (0.2s) 12:15:08 -- Build files have been written to: /tmp/sdk/build/release 12:15:08 + make all package 12:15:08 + tee release.log 12:15:08 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:15:09 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 12:15:10 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 12:15:10 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 12:15:11 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 12:15:11 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:15:14 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:15:14 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': 12:15:14 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] 12:15:14 294 | while (privateConfig) 12:15:14 | ^~~~~~~~~~~~~ 12:15:14 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here 12:15:14 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 12:15:14 | ^~~~~~~~~~~~~ 12:15:14 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] 12:15:14 271 | while (result) 12:15:14 | ^~~~~~ 12:15:14 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here 12:15:14 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; 12:15:14 | ^~~~~~ 12:15:14 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:15:15 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:15:16 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:15:18 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:15:18 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:15:19 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:15:19 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:15:20 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 12:15:21 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:15:21 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:15:23 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 12:15:24 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:15:24 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:15:25 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:15:32 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:15:32 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:15:33 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:15:33 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 12:15:34 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:15:35 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:15:37 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 12:15:37 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 12:15:38 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 12:15:39 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:15:39 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 12:15:39 /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12:15:39 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 12:15:39 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 12:15:39 /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12:15:39 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 12:15:39 | ^ 12:15:41 /tmp/sdk/src/c/service.c:1074:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] 12:15:41 1074 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); 12:15:41 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12:15:41 /tmp/sdk/src/c/service.c:886:68: note: 'deviceservices_config' was declared here 12:15:41 886 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; 12:15:41 | ^~~~~~~~~~~~~~~~~~~~~ 12:15:42 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:15:43 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 12:15:43 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:15:44 [ 68%] Linking C shared library libcsdk.so 12:15:44 [ 68%] Built target csdk 12:15:44 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:15:45 [ 72%] Linking C executable template 12:15:45 [ 72%] Built target template 12:15:45 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:15:46 [ 76%] Linking C executable device-counter 12:15:46 [ 76%] Built target device-counter 12:15:46 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:15:47 [ 80%] Linking C executable device-random 12:15:47 [ 80%] Built target device-random 12:15:47 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:15:47 [ 84%] Linking C executable device-gyro 12:15:48 [ 84%] Built target device-gyro 12:15:48 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:15:48 [ 88%] Linking C executable device-bitfields 12:15:49 [ 88%] Built target device-bitfields 12:15:49 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:15:50 [ 92%] Linking C executable template-discovery 12:15:50 [ 92%] Built target template-discovery 12:15:50 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:15:51 [ 96%] Linking C executable device-file 12:15:51 [ 96%] Built target device-file 12:15:51 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:15:52 [100%] Linking C executable device-terminal 12:15:53 [100%] Built target device-terminal 12:15:53 Run CPack packaging tool... 12:15:53 CPack: Create package using TGZ 12:15:53 CPack: Install projects 12:15:53 CPack: - Run preinstall target for: Csdk 12:15:53 CPack: - Install project: Csdk [] 12:15:53 CPack: Create package 12:15:54 CPack: - package: /tmp/sdk/build/release/csdk-4.0.0-dev.2.tar.gz generated. 12:15:54 + '[' false '=' true ] 12:15:54 + '[' false '=' true ] 12:15:54 + mkdir -p /tmp/sdk/build/debug 12:15:54 + cd /tmp/sdk/build/debug 12:15:54 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 12:15:54 -- The C compiler identification is GNU 12.2.1 12:15:54 -- Detecting C compiler ABI info 12:15:55 -- Detecting C compiler ABI info - done 12:15:55 -- Check for working C compiler: /usr/bin/cc - skipped 12:15:55 -- Detecting C compile features 12:15:55 -- Detecting C compile features - done 12:15:55 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 12:15:55 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 12:15:55 -- Found LIBYAML: /usr/lib/libyaml.so 12:15:55 -- Found LIBUUID: /usr/lib/libuuid.so 12:15:55 -- Found LIBCBOR: /usr/lib/libcbor.so 12:15:55 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 12:15:55 -- Found LIBHIREDIS: /usr/lib/libhiredis.so 12:15:55 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so 12:15:55 -- /opt/iotech/iot/1.5/include 12:15:55 -- C SDK 4.0.0-dev.2 for Linux 12:15:55 -- Performing Test CSDK_HAVE_ATOMIC 12:15:55 -- Performing Test CSDK_HAVE_ATOMIC - Success 12:15:55 -- Found Curses: /usr/lib/libcurses.so 12:15:55 -- Configuring done (1.7s) 12:15:55 -- Generating done (0.2s) 12:15:55 -- Build files have been written to: /tmp/sdk/build/debug 12:15:55 + + make 12:15:55 tee debug.log 12:15:59 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 12:15:59 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 12:15:59 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o 12:15:59 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 12:15:59 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 12:15:59 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 12:15:59 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o 12:15:59 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 12:15:59 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o 12:15:59 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o 12:16:01 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 12:16:01 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 12:16:01 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 12:16:01 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 12:16:01 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 12:16:02 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 12:16:02 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 12:16:03 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 12:16:03 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o 12:16:03 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 12:16:04 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 12:16:05 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 12:16:05 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 12:16:05 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 12:16:06 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 12:16:06 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 12:16:06 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 12:16:08 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 12:16:08 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 12:16:08 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 12:16:09 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o 12:16:09 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': 12:16:09 /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12:16:09 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); 12:16:09 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 12:16:09 /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 12:16:09 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); 12:16:09 | ^ 12:16:10 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 12:16:10 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 12:16:10 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 12:16:10 [ 68%] Linking C shared library libcsdk.so 12:16:11 [ 68%] Built target csdk 12:16:11 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 12:16:11 [ 72%] Linking C executable template 12:16:11 [ 72%] Built target template 12:16:11 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 12:16:12 [ 76%] Linking C executable device-counter 12:16:12 [ 76%] Built target device-counter 12:16:12 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 12:16:13 [ 80%] Linking C executable device-random 12:16:13 [ 80%] Built target device-random 12:16:13 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 12:16:13 [ 84%] Linking C executable device-gyro 12:16:13 [ 84%] Built target device-gyro 12:16:14 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 12:16:14 [ 88%] Linking C executable device-bitfields 12:16:14 [ 88%] Built target device-bitfields 12:16:14 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 12:16:14 [ 92%] Linking C executable template-discovery 12:16:15 [ 92%] Built target template-discovery 12:16:15 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 12:16:15 [ 96%] Linking C executable device-file 12:16:16 [ 96%] Built target device-file 12:16:16 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 12:16:16 [100%] Linking C executable device-terminal 12:16:16 [100%] Built target device-terminal 12:16:16 make: Entering directory '/tmp/sdk/build/release' 12:16:17 [ 68%] Built target csdk 12:16:17 [ 72%] Built target template 12:16:17 [ 76%] Built target device-counter 12:16:17 [ 80%] Built target device-random 12:16:17 [ 84%] Built target device-gyro 12:16:17 [ 88%] Built target device-bitfields 12:16:17 [ 92%] Built target template-discovery 12:16:17 [ 96%] Built target device-file 12:16:17 [100%] Built target device-terminal 12:16:17 Install the project... 12:16:17 -- Install configuration: "Release" 12:16:17 -- Installing: /usr/local/lib/libcsdk.so 12:16:17 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 12:16:17 -- Installing: /usr/local/include 12:16:17 -- Installing: /usr/local/include/devsdk 12:16:17 -- Installing: /usr/local/include/devsdk/devsdk.h 12:16:17 -- Installing: /usr/local/include/devsdk/devsdk-base.h 12:16:17 -- Installing: /usr/local/include/edgex 12:16:17 -- Installing: /usr/local/include/edgex/rest-server.h 12:16:17 -- Installing: /usr/local/include/edgex/edgex.h 12:16:17 -- Installing: /usr/local/include/edgex/edgex-base.h 12:16:17 -- Installing: /usr/local/include/edgex/devices.h 12:16:17 -- Installing: /usr/local/include/edgex/profiles.h 12:16:17 -- Installing: /usr/local/include/edgex/csdk-defs.h 12:16:17 -- Installing: /usr/local/share/device-sdk-c/LICENSE 12:16:17 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 12:16:17 make: Leaving directory '/tmp/sdk/build/release' 12:16:19 Removing intermediate container 1b595132ac52 12:16:19 ---> 7df28b7609d9 12:16:19 Step 14/22 : FROM ${BASE} 12:16:19 ---> 2b552cad5dd9 12:16:19 Step 15/22 : LABEL maintainer="IOTech " 12:16:19 ---> Running in 54c8846a5cc1 12:16:19 Removing intermediate container 54c8846a5cc1 12:16:19 ---> 6becb20abad7 12:16:19 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 12:16:19 ---> Running in d9e8de116628 12:16:20 Connecting to iotech.jfrog.io (34.247.22.236:443) 12:16:20 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 12:16:20 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 12:16:20 '/etc/apk/keys/alpine.dev.rsa.pub' saved 12:16:21 Removing intermediate container d9e8de116628 12:16:21 ---> b926d5cc1174 12:16:21 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 12:16:21 ---> Running in d17d794fcc1e 12:16:23 Removing intermediate container d17d794fcc1e 12:16:23 ---> 958092d13def 12:16:23 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init 12:16:23 ---> Running in 90352bb6a5b7 12:16:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:16:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:16:25 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 12:16:26 WARNING: This apk-tools is OLD! Some packages might not function properly. 12:16:26 (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) 12:16:26 (2/10) Installing curl (8.9.1-r1) 12:16:26 (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) 12:16:26 (4/10) Installing dumb-init (1.2.5-r2) 12:16:26 (5/10) Installing hiredis (1.1.0-r2) 12:16:26 (6/10) Installing hiredis-dev (1.1.0-r2) 12:16:26 (7/10) Installing libcbor (0.10.2-r1) 12:16:26 (8/10) Installing iotech-iot-1.5 (1.5.4-r2) 12:16:27 (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) 12:16:27 (10/10) Installing libuuid (2.38.1-r8) 12:16:27 Executing busybox-1.36.1-r4.trigger 12:16:27 OK: 328 MiB in 90 packages 12:16:28 Removing intermediate container 90352bb6a5b7 12:16:28 ---> 3f46c2601e2e 12:16:28 Step 19/22 : RUN apk --no-cache upgrade 12:16:28 ---> Running in 774f9fcdfe97 12:16:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:16:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:16:30 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 12:16:31 WARNING: This apk-tools is OLD! Some packages might not function properly. 12:16:31 Upgrading critical system libraries and apk-tools: 12:16:31 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 12:16:31 Executing busybox-1.36.1-r4.trigger 12:16:31 Continuing the upgrade transaction with new apk-tools: 12:16:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:16:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:16:32 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 12:16:33 WARNING: This apk-tools is OLD! Some packages might not function properly. 12:16:33 (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) 12:16:33 Executing busybox-1.36.1-r7.post-upgrade 12:16:33 (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) 12:16:33 (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 12:16:33 (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) 12:16:33 (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) 12:16:33 (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) 12:16:33 (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) 12:16:33 (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) 12:16:33 (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) 12:16:33 (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) 12:16:33 (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) 12:16:34 (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 12:16:34 (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 12:16:34 (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 12:16:34 Executing busybox-1.36.1-r7.trigger 12:16:34 Executing ca-certificates-20240226-r0.trigger 12:16:34 OK: 328 MiB in 90 packages 12:16:36 Removing intermediate container 774f9fcdfe97 12:16:36 ---> 537e4e68c91e 12:16:36 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 12:16:37 ---> f6bbea5e4543 12:16:37 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 12:16:37 ---> cb2a48b9ed15 12:16:37 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 12:16:37 ---> 1a714674ea77 12:16:38 Successfully built 1a714674ea77 12:16:38 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 12:16:38 + docker inspect -f . ci-base-image-arm64 12:16:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:16:38 prd-ubuntu20.04-docker-arm64-4c-16g-27032 does not seem to be running inside a container 12:16:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/79 -v /w/workspace/device-sdk-c/79:/w/workspace/device-sdk-c/79:rw,z -v /w/workspace/device-sdk-c/79@tmp:/w/workspace/device-sdk-c/79@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 12:16:40 $ docker top 3023003b91d38aa25d93fed57ee9c42983265854f25eeb06b534c4deaa705a17 -eo pid,comm [Pipeline] { [Pipeline] sh 12:16:41 + make test 12:16:41 echo "make test" 12:16:41 make test [Pipeline] } 12:16:41 $ docker stop --time=1 3023003b91d38aa25d93fed57ee9c42983265854f25eeb06b534c4deaa705a17 12:16:42 $ docker rm -f --volumes 3023003b91d38aa25d93fed57ee9c42983265854f25eeb06b534c4deaa705a17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:16:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:16:43 + ls -al . 12:16:43 total 208 12:16:43 drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 12:14 . 12:16:43 drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 12:14 .. 12:16:43 drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 12:14 .git 12:16:43 drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 12:14 .github 12:16:43 -rw-rw-r-- 1 jenkins jenkins 176 Nov 19 12:14 .gitignore 12:16:43 -rw-rw-r-- 1 jenkins jenkins 2908 Nov 19 12:14 Attribution.txt 12:16:43 -rw-rw-r-- 1 jenkins jenkins 11953 Nov 19 12:14 CHANGELOG.md 12:16:43 -rw-rw-r-- 1 jenkins jenkins 108574 Nov 19 12:14 Doxyfile 12:16:43 -rw-rw-r-- 1 jenkins jenkins 677 Nov 19 12:14 GOVERNANCE.md 12:16:43 -rw-rw-r-- 1 jenkins jenkins 784 Nov 19 12:14 Jenkinsfile 12:16:43 -rw-rw-r-- 1 jenkins jenkins 10174 Nov 19 12:14 LICENSE 12:16:43 -rw-rw-r-- 1 jenkins jenkins 444 Nov 19 12:14 Makefile 12:16:43 -rw-rw-r-- 1 jenkins jenkins 618 Nov 19 12:14 OWNERS.md 12:16:43 -rw-rw-r-- 1 jenkins jenkins 1651 Nov 19 12:14 README.IOT.md 12:16:43 -rw-rw-r-- 1 jenkins jenkins 4215 Nov 19 12:14 README.md 12:16:43 -rw-rw-r-- 1 jenkins jenkins 1245 Nov 19 12:14 README.v3.md 12:16:43 -rw-rw-r-- 1 jenkins jenkins 11 Nov 19 12:11 VERSION 12:16:43 drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 12:14 docs 12:16:43 drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 12:14 include 12:16:43 drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 12:14 scripts 12:16:43 drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 12:14 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:16:43 + 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=b4a60c126f741d84c14ee104c3263f3235d33930 --label arch=arm64 --label version=4.0.0-dev.2 . 12:16:44 Sending build context to Docker daemon 3.062MB 12:16:44 Step 1/18 : ARG BASE=alpine:3.18 12:16:44 Step 2/18 : FROM ${BASE} 12:16:44 ---> 1a714674ea77 12:16:44 Step 3/18 : LABEL maintainer="IOTech " 12:16:44 ---> Running in 3c05c8ffb5b9 12:16:44 Removing intermediate container 3c05c8ffb5b9 12:16:44 ---> 47bc05e1757b 12:16:44 Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 12:16:44 ---> Running in a9121f22ee68 12:16:45 Connecting to iotech.jfrog.io (34.247.22.236:443) 12:16:46 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 12:16:46 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 12:16:46 '/etc/apk/keys/alpine.dev.rsa.pub' saved 12:16:48 Removing intermediate container a9121f22ee68 12:16:48 ---> 93c4b0f2cee1 12:16:48 Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 12:16:48 ---> Running in 6a68162f7f86 12:16:50 Removing intermediate container 6a68162f7f86 12:16:50 ---> 784ebee386c3 12:16:50 Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build 12:16:50 ---> Running in 5d8c01922c6d 12:16:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:16:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:16:51 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 12:16:52 WARNING: This apk-tools is OLD! Some packages might not function properly. 12:16:52 (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) 12:16:52 (2/11) Installing libcbor-dev (0.10.2-r1) 12:16:52 (3/11) Installing libmenuw (6.4_p20230506-r0) 12:16:52 (4/11) Installing libpanelw (6.4_p20230506-r0) 12:16:52 (5/11) Installing libncurses++ (6.4_p20230506-r0) 12:16:52 (6/11) Installing ncurses-dev (6.4_p20230506-r0) 12:16:52 (7/11) Installing libblkid (2.38.1-r8) 12:16:52 (8/11) Installing libfdisk (2.38.1-r8) 12:16:52 (9/11) Installing libmount (2.38.1-r8) 12:16:52 (10/11) Installing libsmartcols (2.38.1-r8) 12:16:52 (11/11) Installing util-linux-dev (2.38.1-r8) 12:16:53 Executing busybox-1.36.1-r7.trigger 12:16:53 OK: 334 MiB in 101 packages 12:16:54 Removing intermediate container 5d8c01922c6d 12:16:54 ---> 7ff7710ca670 12:16:54 Step 7/18 : RUN apk --no-cache upgrade 12:16:54 ---> Running in 238923df0fb3 12:16:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:16:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:16:55 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 12:16:56 WARNING: This apk-tools is OLD! Some packages might not function properly. 12:16:56 OK: 334 MiB in 101 packages 12:16:57 Removing intermediate container 238923df0fb3 12:16:57 ---> 63c210c609b0 12:16:57 Step 8/18 : COPY VERSION /edgex-c-sdk/ 12:16:59 ---> 2756d047c220 12:16:59 Step 9/18 : COPY src /edgex-c-sdk/src/ 12:17:00 ---> cd0710972160 12:17:00 Step 10/18 : COPY include /edgex-c-sdk/include/ 12:17:01 ---> e445e591f993 12:17:01 Step 11/18 : COPY scripts /edgex-c-sdk/scripts 12:17:01 ---> ae8eedc07d89 12:17:01 Step 12/18 : COPY LICENSE /edgex-c-sdk/ 12:17:02 ---> 936cb7a9d553 12:17:02 Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ 12:17:02 ---> 054f19c249ff 12:17:02 Step 14/18 : WORKDIR /edgex-c-sdk 12:17:02 ---> Running in b0401589475d 12:17:03 Removing intermediate container b0401589475d 12:17:03 ---> 6645fd146300 12:17:03 Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] 12:17:03 ---> Running in 802bc173e36e 12:17:03 Removing intermediate container 802bc173e36e 12:17:03 ---> a2bb765f0331 12:17:03 Step 16/18 : LABEL arch=arm64 12:17:03 ---> Running in 46be5e16d41c 12:17:03 Removing intermediate container 46be5e16d41c 12:17:03 ---> 063aadc0acbc 12:17:03 Step 17/18 : LABEL git_sha=b4a60c126f741d84c14ee104c3263f3235d33930 12:17:03 ---> Running in 9359234f8d47 12:17:03 Removing intermediate container 9359234f8d47 12:17:03 ---> 004ac2f16b26 12:17:03 Step 18/18 : LABEL version=4.0.0-dev.2 12:17:04 ---> Running in 4ff91b11e181 12:17:04 Removing intermediate container 4ff91b11e181 12:17:04 ---> e42a39e69e34 12:17:04 [Warning] One or more build-args [ARCH MAKE] were not consumed 12:17:04 Successfully built e42a39e69e34 12:17:04 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 12:17:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:17:04 12:17:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:17:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:17:05 arm64: Pulling from edgex-lftools-log-publisher 12:17:05 8998bd30e6a1: Pulling fs layer 12:17:05 04944245beec: Pulling fs layer 12:17:05 699f458cf7ca: Pulling fs layer 12:17:05 765212b225bb: Pulling fs layer 12:17:05 f23df028b6ca: Pulling fs layer 12:17:05 d65c8cfc05b1: Pulling fs layer 12:17:05 2437ff75d9bd: Pulling fs layer 12:17:05 f23df028b6ca: Waiting 12:17:05 765212b225bb: Waiting 12:17:05 d65c8cfc05b1: Waiting 12:17:05 04944245beec: Verifying Checksum 12:17:05 04944245beec: Download complete 12:17:05 765212b225bb: Verifying Checksum 12:17:05 765212b225bb: Download complete 12:17:05 f23df028b6ca: Download complete 12:17:05 d65c8cfc05b1: Verifying Checksum 12:17:05 d65c8cfc05b1: Download complete 12:17:05 699f458cf7ca: Verifying Checksum 12:17:05 699f458cf7ca: Download complete 12:17:05 8998bd30e6a1: Verifying Checksum 12:17:05 8998bd30e6a1: Download complete 12:17:08 2437ff75d9bd: Verifying Checksum 12:17:08 2437ff75d9bd: Download complete 12:17:10 8998bd30e6a1: Pull complete 12:17:11 04944245beec: Pull complete 12:17:12 699f458cf7ca: Pull complete 12:17:12 765212b225bb: Pull complete 12:17:13 f23df028b6ca: Pull complete 12:17:14 d65c8cfc05b1: Pull complete 12:17:32 2437ff75d9bd: Pull complete 12:17:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:17:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:17:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:17:32 prd-ubuntu20.04-docker-arm64-4c-16g-27032 does not seem to be running inside a container 12:17:32 $ 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/79 -v /w/workspace/device-sdk-c/79:/w/workspace/device-sdk-c/79:rw,z -v /w/workspace/device-sdk-c/79@tmp:/w/workspace/device-sdk-c/79@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 12:17:34 $ docker top 568b645233f5425e2bb1daa60cefe1561504de5331ad763cb1e0133c3551a86e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:17:35 ---> job-cost.sh 12:17:35 lf-activate-venv: SKIPPING 12:17:35 INFO: No Stack... 12:17:36 INFO: Retrieving Pricing Info for: v3-standard-4 12:17:37 INFO: Archiving Costs [Pipeline] sh 12:17:37 + cat /w/workspace/device-sdk-c/79/archives/cost.csv 12:17:37 + cut -d, -f6 [Pipeline] lock 12:17:37 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-79-stack-cost] 12:17:37 Resource [jenkins-edgexfoundry-device-sdk-c-main-79-stack-cost] did not exist. Created. 12:17:37 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-79-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:17:38 /w/workspace/device-sdk-c/79@tmp/durable-fa265aa0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:17:38 + echo total: 0.10999999940395355 [Pipeline] stash 12:17:38 Warning: overwriting stash ‘stack-cost’ 12:17:39 Stashed 1 file(s) [Pipeline] } 12:17:39 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-79-stack-cost] [Pipeline] // lock [Pipeline] } 12:17:39 $ docker stop --time=1 568b645233f5425e2bb1daa60cefe1561504de5331ad763cb1e0133c3551a86e 12:17:40 $ docker rm -f --volumes 568b645233f5425e2bb1daa60cefe1561504de5331ad763cb1e0133c3551a86e [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 12:17:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:17:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:17:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:17:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:17:41 prd-ubuntu20.04-docker-8c-8g-27031 does not seem to be running inside a container 12:17:41 $ 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 12:17:42 $ docker top fe16edf98815436785d760d1c9f9a88f2b0b597ecc962e912c6108942b6422ec -eo pid,comm 12:17:42 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). 12:17:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:17:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:17:42 [ssh-agent] Looking for ssh-agent implementation... 12:17:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:17:42 $ docker exec fe16edf98815436785d760d1c9f9a88f2b0b597ecc962e912c6108942b6422ec ssh-agent 12:17:42 SSH_AUTH_SOCK=/tmp/ssh-AXb7x2uTnB1p/agent.31 12:17:42 SSH_AGENT_PID=37 12:17:42 Running ssh-add (command line suppressed) 12:17:42 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12625891316045404185.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12625891316045404185.key) 12:17:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:17:42 + git semver tag 12:17:43 2024-11-19 12:17:43,169 [run_tag] DEBUG tag force:False 12:17:43 2024-11-19 12:17:43,169 [check_head_tag] DEBUG check head tag 12:17:43 2024-11-19 12:17:43,170 [execute] INFO git cat-file --batch-check 12:17:43 2024-11-19 12:17:43,170 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 12:17:43 2024-11-19 12:17:43,174 [execute] INFO git cat-file --batch 12:17:43 2024-11-19 12:17:43,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) 12:17:43 2024-11-19 12:17:43,192 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 12:17:43 2024-11-19 12:17:43,192 [execute] INFO git tag -a v4.0.0-dev.2 -m v4.0.0-dev.2 12:17:43 2024-11-19 12:17:43,192 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.2', '-m', 'v4.0.0-dev.2'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) 12:17:43 2024-11-19 12:17:43,197 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 12:17:43 4.0.0-dev.2 [Pipeline] } 12:17:43 $ docker exec --env ******** --env ******** fe16edf98815436785d760d1c9f9a88f2b0b597ecc962e912c6108942b6422ec ssh-agent -k 12:17:43 unset SSH_AUTH_SOCK; 12:17:43 unset SSH_AGENT_PID; 12:17:43 echo Agent pid 37 killed; 12:17:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:17:43 + git semver [Pipeline] } 12:17:43 $ docker stop --time=1 fe16edf98815436785d760d1c9f9a88f2b0b597ecc962e912c6108942b6422ec 12:17:45 $ docker rm -f --volumes fe16edf98815436785d760d1c9f9a88f2b0b597ecc962e912c6108942b6422ec [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:17:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:17:45 12:17:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:17:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:17:45 0.23.1-centos7: Pulling from edgex-lftools 12:17:45 ab5ef0e58194: Pulling fs layer 12:17:45 9712f1f96733: Pulling fs layer 12:17:45 63f879dbbcfc: Pulling fs layer 12:17:45 0d9ebad4ef96: Pulling fs layer 12:17:45 e9a5061849ea: Pulling fs layer 12:17:45 d747dcd14b5f: Pulling fs layer 12:17:45 2de7ff778b66: Pulling fs layer 12:17:45 0d9ebad4ef96: Waiting 12:17:45 e9a5061849ea: Waiting 12:17:45 d747dcd14b5f: Waiting 12:17:45 9712f1f96733: Verifying Checksum 12:17:45 9712f1f96733: Download complete 12:17:46 63f879dbbcfc: Verifying Checksum 12:17:46 63f879dbbcfc: Download complete 12:17:46 e9a5061849ea: Verifying Checksum 12:17:46 e9a5061849ea: Download complete 12:17:46 d747dcd14b5f: Verifying Checksum 12:17:46 d747dcd14b5f: Download complete 12:17:46 ab5ef0e58194: Download complete 12:17:46 0d9ebad4ef96: Verifying Checksum 12:17:46 2de7ff778b66: Verifying Checksum 12:17:46 2de7ff778b66: Download complete 12:17:49 ab5ef0e58194: Pull complete 12:17:49 9712f1f96733: Pull complete 12:17:49 63f879dbbcfc: Pull complete 12:17:54 0d9ebad4ef96: Pull complete 12:17:54 e9a5061849ea: Pull complete 12:17:54 d747dcd14b5f: Pull complete 12:17:54 2de7ff778b66: Pull complete 12:17:54 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 12:17:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:17:54 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:17:54 prd-ubuntu20.04-docker-8c-8g-27031 does not seem to be running inside a container 12:17:54 $ 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 12:18:01 $ docker top c9fa0157f32a946c2e1305e0af424fc7e6402117f9ed49f631656c7386a13e7b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 12:18:01 provisioning config files... 12:18:01 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1312290262492174647tmp 12:18:01 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6991185688908745322tmp 12:18:01 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4585802253522785599tmp [Pipeline] { [Pipeline] echo 12:18:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 12:18:02 ---> sigul-configuration.sh 12:18:02 gpg: directory `/root/.gnupg' created 12:18:02 gpg: new configuration file `/root/.gnupg/gpg.conf' created 12:18:02 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 12:18:02 gpg: keyring `/root/.gnupg/secring.gpg' created 12:18:02 gpg: keyring `/root/.gnupg/pubring.gpg' created 12:18:02 gpg: CAST5 encrypted data 12:18:02 gpg: encrypted with 1 passphrase 12:18:02 gpg: WARNING: message was not integrity protected [Pipeline] sh 12:18:02 + mkdir /home/jenkins 12:18:02 + mkdir /home/jenkins/sigul [Pipeline] sh 12:18:02 + 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 12:18:02 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 12:18:03 ---> sigul-install.sh 12:18:03 Sigul already installed; skipping installation. [Pipeline] sh 12:18:03 + git tag --list 12:18:03 0.7.0 12:18:03 0.7.1 12:18:03 1.0.0 12:18:03 v1.0.1 12:18:03 v1.0.2 12:18:03 v1.0.3 12:18:03 v1.1.0 12:18:03 v1.1.1 12:18:03 v1.2.0 12:18:03 v1.2.1 12:18:03 v1.2.2 12:18:03 v1.3.0 12:18:03 v1.3.1 12:18:03 v2.0.0 12:18:03 v2.1.0 12:18:03 v2.2.0 12:18:03 v2.3.0 12:18:03 v3.0 12:18:03 v3.0.0 12:18:03 v3.0.1 12:18:03 v3.0.2 12:18:03 v3.0.3-dev.1 12:18:03 v3.0.3-dev.10 12:18:03 v3.0.3-dev.11 12:18:03 v3.0.3-dev.12 12:18:03 v3.0.3-dev.13 12:18:03 v3.0.3-dev.14 12:18:03 v3.0.3-dev.15 12:18:03 v3.0.3-dev.16 12:18:03 v3.0.3-dev.17 12:18:03 v3.0.3-dev.2 12:18:03 v3.0.3-dev.3 12:18:03 v3.0.3-dev.4 12:18:03 v3.0.3-dev.5 12:18:03 v3.0.3-dev.6 12:18:03 v3.0.3-dev.7 12:18:03 v3.0.3-dev.8 12:18:03 v3.0.3-dev.9 12:18:03 v3.1 12:18:03 v3.1.0 12:18:03 v3.1.0-dev.1 12:18:03 v3.1.0-dev.2 12:18:03 v3.1.0-dev.3 12:18:03 v3.1.0-dev.4 12:18:03 v3.1.0-dev.5 12:18:03 v3.1.0-dev.6 12:18:03 v3.1.0-dev.7 12:18:03 v3.1.0-dev.8 12:18:03 v3.1.0-dev.9 12:18:03 v3.1.1 12:18:03 v3.1.1-dev.1 12:18:03 v4.0.0-dev.1 12:18:03 v4.0.0-dev.2 [Pipeline] sh 12:18:03 + lftools sign git-tag v4.0.0-dev.2 12:18:04 Signing Git tag with Sigul... 12:18:04 Signing v4.0.0-dev.2 [Pipeline] echo 12:18:04 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 12:18:05 ---> sigul-configuration-cleanup.sh [Pipeline] } 12:18:05 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 12:18:05 $ docker stop --time=1 c9fa0157f32a946c2e1305e0af424fc7e6402117f9ed49f631656c7386a13e7b 12:18:06 $ docker rm -f --volumes c9fa0157f32a946c2e1305e0af424fc7e6402117f9ed49f631656c7386a13e7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 12:18:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:18:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:18:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:18:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:18:07 prd-ubuntu20.04-docker-8c-8g-27031 does not seem to be running inside a container 12:18:07 $ 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 12:18:07 $ docker top 119c5fee3ed05e90dfd5aa94ac6fdccf31910242e8f6be3488b3709fa16ffa3d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:18:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:18:07 [ssh-agent] Looking for ssh-agent implementation... 12:18:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:18:07 $ docker exec 119c5fee3ed05e90dfd5aa94ac6fdccf31910242e8f6be3488b3709fa16ffa3d ssh-agent 12:18:08 SSH_AUTH_SOCK=/tmp/ssh-VaN4Tdsq4bgn/agent.32 12:18:08 SSH_AGENT_PID=38 12:18:08 Running ssh-add (command line suppressed) 12:18:08 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4545764485649590445.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4545764485649590445.key) 12:18:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:18:08 + git semver bump pre 12:18:08 2024-11-19 12:18:08,586 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 12:18:08 2024-11-19 12:18:08,587 [bump_version] DEBUG bumping version:4.0.0-dev.2 on axis:pre with prefix:dev 12:18:08 2024-11-19 12:18:08,587 [bump_version] DEBUG bumped version:4.0.0-dev.3 12:18:08 2024-11-19 12:18:08,587 [write_version] DEBUG write version:4.0.0-dev.3 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True 12:18:08 2024-11-19 12:18:08,587 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 12:18:08 2024-11-19 12:18:08,587 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 12:18:08 2024-11-19 12:18:08,589 [execute] INFO git cat-file --batch-check 12:18:08 2024-11-19 12:18:08,590 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 12:18:08 2024-11-19 12:18:08,596 [execute] INFO git cat-file --batch 12:18:08 2024-11-19 12:18:08,596 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 12:18:08 2024-11-19 12:18:08,602 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 12:18:08 4.0.0-dev.3 [Pipeline] } 12:18:08 $ docker exec --env ******** --env ******** 119c5fee3ed05e90dfd5aa94ac6fdccf31910242e8f6be3488b3709fa16ffa3d ssh-agent -k 12:18:08 unset SSH_AUTH_SOCK; 12:18:08 unset SSH_AGENT_PID; 12:18:08 echo Agent pid 38 killed; 12:18:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:18:09 + git semver [Pipeline] } 12:18:09 $ docker stop --time=1 119c5fee3ed05e90dfd5aa94ac6fdccf31910242e8f6be3488b3709fa16ffa3d 12:18:10 $ docker rm -f --volumes 119c5fee3ed05e90dfd5aa94ac6fdccf31910242e8f6be3488b3709fa16ffa3d [Pipeline] // withDockerContainer [Pipeline] sh 12:18:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:18:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:18:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:18:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:18:11 prd-ubuntu20.04-docker-8c-8g-27031 does not seem to be running inside a container 12:18:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:18:11 $ docker top f8f2e251d49bd0e49864e96b31e24e8e2eed234e13606be3e50a710d207dadab -eo pid,comm 12:18:11 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). 12:18:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:18:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:18:11 [ssh-agent] Looking for ssh-agent implementation... 12:18:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:18:11 $ docker exec f8f2e251d49bd0e49864e96b31e24e8e2eed234e13606be3e50a710d207dadab ssh-agent 12:18:12 SSH_AUTH_SOCK=/tmp/ssh-aNKFJvhgV1bR/agent.32 12:18:12 SSH_AGENT_PID=38 12:18:12 Running ssh-add (command line suppressed) 12:18:12 Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9863635966041967093.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9863635966041967093.key) 12:18:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:18:12 + git semver push 12:18:12 2024-11-19 12:18:12,687 [run_push] DEBUG push 12:18:12 2024-11-19 12:18:12,688 [execute] INFO git cat-file --batch-check 12:18:12 2024-11-19 12:18:12,688 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) 12:18:12 2024-11-19 12:18:12,692 [execute] INFO git rev-list 53e75e0335d3e9380a46bab593206c47c5f9473d -- 12:18:12 2024-11-19 12:18:12,692 [execute] DEBUG Popen(['git', 'rev-list', '53e75e0335d3e9380a46bab593206c47c5f9473d', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 12:18:12 2024-11-19 12:18:12,700 [execute] INFO git fetch -v origin 12:18:12 2024-11-19 12:18:12,700 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) 12:18:13 2024-11-19 12:18:13,157 [run_push] DEBUG no remote changes detected 12:18:13 2024-11-19 12:18:13,157 [execute] INFO git push origin semver 12:18:13 2024-11-19 12:18:13,158 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) 12:18:13 2024-11-19 12:18:13,801 [run_push] DEBUG push all version tags 12:18:13 2024-11-19 12:18:13,802 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 12:18:13 2024-11-19 12:18:13,802 [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) 12:18:14 2024-11-19 12:18:14,400 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main 12:18:14 4.0.0-dev.3 [Pipeline] } 12:18:14 $ docker exec --env ******** --env ******** f8f2e251d49bd0e49864e96b31e24e8e2eed234e13606be3e50a710d207dadab ssh-agent -k 12:18:14 unset SSH_AUTH_SOCK; 12:18:14 unset SSH_AGENT_PID; 12:18:14 echo Agent pid 38 killed; 12:18:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:18:14 + git semver [Pipeline] } 12:18:15 $ docker stop --time=1 f8f2e251d49bd0e49864e96b31e24e8e2eed234e13606be3e50a710d207dadab 12:18:16 $ docker rm -f --volumes f8f2e251d49bd0e49864e96b31e24e8e2eed234e13606be3e50a710d207dadab [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 12:18:17 + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] 12:18:17 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 12:18:17 total 16 12:18:17 drwxr-xr-x 3 root root 4096 Nov 19 12:12 . 12:18:17 drwxrwxr-x 10 jenkins jenkins 4096 Nov 19 12:18 .. 12:18:17 drwxr-xr-x 2 root root 4096 Nov 19 12:12 cost 12:18:17 -rw-r--r-- 1 root root 83 Nov 19 12:12 cost.csv 12:18:17 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives 12:18:17 + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives 12:18:17 total 16 12:18:17 drwxr-xr-x 3 jenkins jenkins 4096 Nov 19 12:12 . 12:18:17 drwxrwxr-x 10 jenkins jenkins 4096 Nov 19 12:18 .. 12:18:17 drwxr-xr-x 2 jenkins jenkins 4096 Nov 19 12:12 cost 12:18:17 -rw-r--r-- 1 jenkins jenkins 83 Nov 19 12:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:18:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:18:18 ---> package-listing.sh 12:18:18 ++ facter osfamily 12:18:18 ++ tr '[:upper:]' '[:lower:]' 12:18:18 + OS_FAMILY=debian 12:18:18 + workspace=/w/workspace/edgexfoundry_device-sdk-c_main 12:18:18 + START_PACKAGES=/tmp/packages_start.txt 12:18:18 + END_PACKAGES=/tmp/packages_end.txt 12:18:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:18:18 + PACKAGES=/tmp/packages_start.txt 12:18:18 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 12:18:18 + PACKAGES=/tmp/packages_end.txt 12:18:18 + case "${OS_FAMILY}" in 12:18:18 + dpkg -l 12:18:18 + grep '^ii' 12:18:18 + '[' -f /tmp/packages_start.txt ']' 12:18:18 + '[' -f /tmp/packages_end.txt ']' 12:18:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:18:18 + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' 12:18:18 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ 12:18:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo 12:18:18 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 12:18:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:18:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:18:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:18:19 prd-ubuntu20.04-docker-8c-8g-27031 does not seem to be running inside a container 12:18:19 $ 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 12:18:19 $ docker top 79247d6cdea8be1e639b4fa2100941d952951f01f671f637b715111eac6018f1 -eo pid,comm [Pipeline] { [Pipeline] sh 12:18:20 + touch /tmp/pre-build-complete [Pipeline] sh 12:18:20 + mkdir -p /var/log/sysstat [Pipeline] sh 12:18:20 + ls /var/log/sa-host 12:18:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:18:20 provisioning config files... 12:18:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config13820310449901684555tmp [Pipeline] { [Pipeline] echo 12:18:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:18:21 ---> create-netrc.sh [Pipeline] } 12:18:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:18:21 ---> python-tools-install.sh [Pipeline] echo 12:18:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:18:21 ---> sudo-logs.sh 12:18:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:18:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:18:22 ---> job-cost.sh 12:18:22 lf-activate-venv: SKIPPING 12:18:22 DEBUG: total: 0.2199999988079071 12:18:22 INFO: Retrieving Stack Cost... 12:18:22 INFO: Retrieving Pricing Info for: v3-standard-8 12:18:22 INFO: Archiving Costs [Pipeline] echo 12:18:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:18:22 ---> logs-deploy.sh 12:18:22 lf-activate-venv: SKIPPING 12:18:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/79 12:18:22 INFO: archiving workspace using pattern(s): 12:18:23 Archives upload complete. 12:18:23 INFO: archiving logs to Nexus