Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from de2f7dd484aed31b8929cc3252062c81ad15313f 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-ssh9498599182131792723.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh6366894676512041277.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh4965074016189011068.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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-ssh13774416842720572219.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-ssh1614394585222211993.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 ‘prd-ubuntu20.04-docker-8c-8g-11681’ is offline Running on prd-ubuntu20.04-docker-8c-8g-11686 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 de2f7dd484aed31b8929cc3252062c81ad15313f (main) Commit message: "feat: Implemented a discovery delete API (#514)" > 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 de2f7dd484aed31b8929cc3252062c81ad15313f # timeout=10 > git rev-list --no-walk 30a24dda2410b85b52167bc1398eb9d9a2b4959b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-26T16:03:23.396Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-26T16:03:23.454Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-26T16:03:23.479Z] ========================================================= [2024-09-26T16:03:23.479Z] EdgeX Global Pipelines Version Info [2024-09-26T16:03:23.479Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-26T16:03:24.218Z] ------------------- [2024-09-26T16:03:24.218Z] stable info: [2024-09-26T16:03:24.218Z] ------------------- [2024-09-26T16:03:24.218Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-26T16:03:24.218Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-09-26T16:03:24.218Z] Message: update stable to v1.0.264 [2024-09-26T16:03:24.790Z] ------------------- [2024-09-26T16:03:24.790Z] experimental info: [2024-09-26T16:03:24.790Z] ------------------- [2024-09-26T16:03:24.790Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-26T16:03:24.790Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-09-26T16:03:24.790Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-26T16:03:24.869Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-09-26T16:03:24.892Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-09-26T16:03:24.913Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-26T16:03:24.935Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-26T16:03:24.954Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-26T16:03:24.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-09-26T16:03:24.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-09-26T16:03:25.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-26T16:03:25.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-26T16:03:25.051Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-09-26T16:03:25.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-26T16:03:25.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-26T16:03:25.099Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-26T16:03:25.120Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-09-26T16:03:25.142Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-26T16:03:25.168Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-26T16:03:25.189Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-26T16:03:25.209Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-09-26T16:03:25.228Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-09-26T16:03:25.245Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-09-26T16:03:25.267Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = de2f7dd484aed31b8929cc3252062c81ad15313f [Pipeline] echo [2024-09-26T16:03:25.290Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = de2f7dd [Pipeline] echo [2024-09-26T16:03:25.308Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-26T16:03:25.367Z] provisioning config files... [2024-09-26T16:03:25.381Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config10680770229298310147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-26T16:03:25.720Z] ---> ****-login.sh [2024-09-26T16:03:25.720Z] nexus3.edgexfoundry.org:10001 [2024-09-26T16:03:25.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T16:03:25.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T16:03:25.981Z] Configure a credential helper to remove this warning. See [2024-09-26T16:03:25.981Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T16:03:25.981Z] [2024-09-26T16:03:25.981Z] Login Succeeded [2024-09-26T16:03:25.981Z] nexus3.edgexfoundry.org:10002 [2024-09-26T16:03:26.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T16:03:26.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T16:03:26.242Z] Configure a credential helper to remove this warning. See [2024-09-26T16:03:26.242Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T16:03:26.242Z] [2024-09-26T16:03:26.242Z] Login Succeeded [2024-09-26T16:03:26.242Z] nexus3.edgexfoundry.org:10003 [2024-09-26T16:03:26.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T16:03:26.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T16:03:26.242Z] Configure a credential helper to remove this warning. See [2024-09-26T16:03:26.242Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T16:03:26.242Z] [2024-09-26T16:03:26.242Z] Login Succeeded [2024-09-26T16:03:26.242Z] nexus3.edgexfoundry.org:10004 [2024-09-26T16:03:26.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T16:03:26.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T16:03:26.502Z] Configure a credential helper to remove this warning. See [2024-09-26T16:03:26.502Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T16:03:26.502Z] [2024-09-26T16:03:26.502Z] Login Succeeded [2024-09-26T16:03:26.502Z] ****.io [2024-09-26T16:03:26.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T16:03:26.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T16:03:26.763Z] Configure a credential helper to remove this warning. See [2024-09-26T16:03:26.763Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T16:03:26.763Z] [2024-09-26T16:03:26.763Z] Login Succeeded [2024-09-26T16:03:26.763Z] ---> ****-login.sh ends [Pipeline] } [2024-09-26T16:03:26.771Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2024-09-26T16:03:27.166Z] + git rev-list -1 --merges de2f7dd484aed31b8929cc3252062c81ad15313f~1..de2f7dd484aed31b8929cc3252062c81ad15313f [Pipeline] echo [2024-09-26T16:03:27.194Z] -----------> git rev-list -1 --merges de2f7dd484aed31b8929cc3252062c81ad15313f~1..de2f7dd484aed31b8929cc3252062c81ad15313f de2f7dd484aed31b8929cc3252062c81ad15313f [false] [Pipeline] sh [2024-09-26T16:03:27.494Z] + git log --format=format:%s -1 de2f7dd484aed31b8929cc3252062c81ad15313f [Pipeline] echo [2024-09-26T16:03:27.511Z] ========================================================= [2024-09-26T16:03:27.511Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-26T16:03:27.511Z] ========================================================= 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 [2024-09-26T16:03:27.922Z] + git rev-list -1 --merges de2f7dd484aed31b8929cc3252062c81ad15313f~1..de2f7dd484aed31b8929cc3252062c81ad15313f [Pipeline] echo [2024-09-26T16:03:27.934Z] -----------> git rev-list -1 --merges de2f7dd484aed31b8929cc3252062c81ad15313f~1..de2f7dd484aed31b8929cc3252062c81ad15313f de2f7dd484aed31b8929cc3252062c81ad15313f [false] [Pipeline] sh [2024-09-26T16:03:28.230Z] + git log --format=format:%s -1 de2f7dd484aed31b8929cc3252062c81ad15313f [Pipeline] echo [2024-09-26T16:03:28.242Z] ========================================================= [2024-09-26T16:03:28.242Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-26T16:03:28.242Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-09-26T16:03:28.604Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-26T16:03:28.604Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-26T16:03:28.604Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-26T16:03:28.604Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-26T16:03:28.604Z] + + sudo teeecho -a /etc/ssh/ssh_known_hosts [2024-09-26T16:03:28.604Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-26T16:03:28.604Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T16:03:28.972Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-26T16:03:28.972Z] [2024-09-26T16:03:28.972Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T16:03:29.280Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-26T16:03:29.280Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-26T16:03:29.280Z] b85a868b505f: Pulling fs layer [2024-09-26T16:03:29.280Z] e2be974225ed: Pulling fs layer [2024-09-26T16:03:29.280Z] 339a4e72a1f5: Pulling fs layer [2024-09-26T16:03:29.280Z] 988bab9f4d93: Pulling fs layer [2024-09-26T16:03:29.280Z] 1469e6f7b9e6: Pulling fs layer [2024-09-26T16:03:29.280Z] eaf3925da568: Pulling fs layer [2024-09-26T16:03:29.280Z] bab4dde63d76: Pulling fs layer [2024-09-26T16:03:29.280Z] bde34c3a00c8: Pulling fs layer [2024-09-26T16:03:29.280Z] b352a97aabf1: Pulling fs layer [2024-09-26T16:03:29.280Z] 4872d77fe225: Pulling fs layer [2024-09-26T16:03:29.280Z] 5851b861e8e6: Pulling fs layer [2024-09-26T16:03:29.280Z] bab4dde63d76: Waiting [2024-09-26T16:03:29.280Z] bde34c3a00c8: Waiting [2024-09-26T16:03:29.280Z] b352a97aabf1: Waiting [2024-09-26T16:03:29.280Z] 4872d77fe225: Waiting [2024-09-26T16:03:29.280Z] 988bab9f4d93: Waiting [2024-09-26T16:03:29.280Z] 1469e6f7b9e6: Waiting [2024-09-26T16:03:29.280Z] 5851b861e8e6: Waiting [2024-09-26T16:03:29.280Z] eaf3925da568: Waiting [2024-09-26T16:03:29.280Z] e2be974225ed: Verifying Checksum [2024-09-26T16:03:29.280Z] e2be974225ed: Download complete [2024-09-26T16:03:29.280Z] 988bab9f4d93: Verifying Checksum [2024-09-26T16:03:29.280Z] 1469e6f7b9e6: Verifying Checksum [2024-09-26T16:03:29.280Z] 1469e6f7b9e6: Download complete [2024-09-26T16:03:29.539Z] eaf3925da568: Verifying Checksum [2024-09-26T16:03:29.539Z] eaf3925da568: Download complete [2024-09-26T16:03:29.539Z] 339a4e72a1f5: Verifying Checksum [2024-09-26T16:03:29.539Z] 339a4e72a1f5: Download complete [2024-09-26T16:03:29.539Z] bde34c3a00c8: Verifying Checksum [2024-09-26T16:03:29.539Z] bde34c3a00c8: Download complete [2024-09-26T16:03:29.539Z] b352a97aabf1: Download complete [2024-09-26T16:03:29.539Z] 4872d77fe225: Download complete [2024-09-26T16:03:29.539Z] 5851b861e8e6: Download complete [2024-09-26T16:03:29.539Z] b85a868b505f: Verifying Checksum [2024-09-26T16:03:29.539Z] b85a868b505f: Download complete [2024-09-26T16:03:29.798Z] bab4dde63d76: Verifying Checksum [2024-09-26T16:03:29.798Z] bab4dde63d76: Download complete [2024-09-26T16:03:30.739Z] b85a868b505f: Pull complete [2024-09-26T16:03:31.000Z] e2be974225ed: Pull complete [2024-09-26T16:03:31.569Z] 339a4e72a1f5: Pull complete [2024-09-26T16:03:31.569Z] 988bab9f4d93: Pull complete [2024-09-26T16:03:31.830Z] 1469e6f7b9e6: Pull complete [2024-09-26T16:03:31.830Z] eaf3925da568: Pull complete [2024-09-26T16:03:33.739Z] bab4dde63d76: Pull complete [2024-09-26T16:03:33.739Z] bde34c3a00c8: Pull complete [2024-09-26T16:03:33.739Z] b352a97aabf1: Pull complete [2024-09-26T16:03:33.739Z] 4872d77fe225: Pull complete [2024-09-26T16:03:33.739Z] 5851b861e8e6: Pull complete [2024-09-26T16:03:33.739Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-26T16:03:33.739Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-26T16:03:33.739Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-26T16:03:33.896Z] prd-ubuntu20.04-docker-8c-8g-11686 does not seem to be running inside a container [2024-09-26T16:03:33.924Z] $ 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 [2024-09-26T16:03:35.114Z] $ docker top 0e109e09f0e1db6185fb800bb3bb3b7d6248bf0adf5a40d668a728a90a289df0 -eo pid,comm [2024-09-26T16:03:35.174Z] 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). [2024-09-26T16:03:35.174Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-26T16:03:35.231Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-26T16:03:35.231Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-26T16:03:35.341Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-26T16:03:35.339Z] $ docker exec 0e109e09f0e1db6185fb800bb3bb3b7d6248bf0adf5a40d668a728a90a289df0 ssh-agent [2024-09-26T16:03:35.458Z] SSH_AUTH_SOCK=/tmp/ssh-Ee8n2hotUWGw/agent.32 [2024-09-26T16:03:35.458Z] SSH_AGENT_PID=38 [2024-09-26T16:03:35.463Z] Running ssh-add (command line suppressed) [2024-09-26T16:03:35.567Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12212538457183499150.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12212538457183499150.key) [2024-09-26T16:03:35.586Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-26T16:03:35.880Z] + git tag --points-at HEAD [Pipeline] } [2024-09-26T16:03:35.887Z] $ docker exec --env ******** --env ******** 0e109e09f0e1db6185fb800bb3bb3b7d6248bf0adf5a40d668a728a90a289df0 ssh-agent -k [2024-09-26T16:03:35.980Z] unset SSH_AUTH_SOCK; [2024-09-26T16:03:35.981Z] unset SSH_AGENT_PID; [2024-09-26T16:03:35.981Z] echo Agent pid 38 killed; [2024-09-26T16:03:35.995Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-26T16:03:36.039Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-26T16:03:36.039Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-26T16:03:36.160Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-26T16:03:36.158Z] $ docker exec 0e109e09f0e1db6185fb800bb3bb3b7d6248bf0adf5a40d668a728a90a289df0 ssh-agent [2024-09-26T16:03:36.264Z] SSH_AUTH_SOCK=/tmp/ssh-rygAvAgVMxeZ/agent.71 [2024-09-26T16:03:36.264Z] SSH_AGENT_PID=77 [2024-09-26T16:03:36.269Z] Running ssh-add (command line suppressed) [2024-09-26T16:03:36.368Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9043619564779529122.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9043619564779529122.key) [2024-09-26T16:03:36.390Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-26T16:03:36.680Z] + git semver init [2024-09-26T16:03:36.939Z] 2024-09-26 16:03:36,898 [run_init] DEBUG init version:0.0.0 force:False [2024-09-26T16:03:36.939Z] 2024-09-26 16:03:36,899 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-09-26T16:03:36.939Z] 2024-09-26 16:03:36,899 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-09-26T16:03:36.939Z] 2024-09-26 16:03:36,900 [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) [2024-09-26T16:03:37.878Z] 2024-09-26 16:03:37,653 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2024-09-26T16:03:37.878Z] 2024-09-26 16:03:37,654 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2024-09-26T16:03:37.878Z] 2024-09-26 16:03:37,654 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-09-26T16:03:37.878Z] 2024-09-26 16:03:37,654 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-09-26T16:03:37.878Z] 3.0.3-dev.17 [Pipeline] } [2024-09-26T16:03:37.883Z] $ docker exec --env ******** --env ******** 0e109e09f0e1db6185fb800bb3bb3b7d6248bf0adf5a40d668a728a90a289df0 ssh-agent -k [2024-09-26T16:03:37.982Z] unset SSH_AUTH_SOCK; [2024-09-26T16:03:37.982Z] unset SSH_AGENT_PID; [2024-09-26T16:03:37.982Z] echo Agent pid 77 killed; [2024-09-26T16:03:37.995Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-26T16:03:38.316Z] + git semver [Pipeline] } [2024-09-26T16:03:38.584Z] $ docker stop --time=1 0e109e09f0e1db6185fb800bb3bb3b7d6248bf0adf5a40d668a728a90a289df0 [2024-09-26T16:03:39.867Z] $ docker rm -f --volumes 0e109e09f0e1db6185fb800bb3bb3b7d6248bf0adf5a40d668a728a90a289df0 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-26T16:03:40.211Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-26T16:03:40.444Z] Stashed 1 file(s) [Pipeline] echo [2024-09-26T16:03:40.447Z] [edgeXSemver]: initialized semver on version 3.0.3-dev.17 [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 [2024-09-26T16:03:40.594Z] provisioning config files... [2024-09-26T16:03:40.604Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1478147015334191745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-26T16:03:40.899Z] ---> ****-login.sh [2024-09-26T16:03:40.899Z] nexus3.edgexfoundry.org:10001 [2024-09-26T16:03:40.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T16:03:40.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T16:03:40.899Z] Configure a credential helper to remove this warning. See [2024-09-26T16:03:40.899Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T16:03:40.899Z] [2024-09-26T16:03:40.899Z] Login Succeeded [2024-09-26T16:03:40.899Z] nexus3.edgexfoundry.org:10002 [2024-09-26T16:03:40.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T16:03:40.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T16:03:40.900Z] Configure a credential helper to remove this warning. See [2024-09-26T16:03:40.900Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T16:03:40.900Z] [2024-09-26T16:03:40.900Z] Login Succeeded [2024-09-26T16:03:40.900Z] nexus3.edgexfoundry.org:10003 [2024-09-26T16:03:41.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T16:03:41.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T16:03:41.159Z] Configure a credential helper to remove this warning. See [2024-09-26T16:03:41.159Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T16:03:41.159Z] [2024-09-26T16:03:41.159Z] Login Succeeded [2024-09-26T16:03:41.159Z] nexus3.edgexfoundry.org:10004 [2024-09-26T16:03:41.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T16:03:41.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T16:03:41.159Z] Configure a credential helper to remove this warning. See [2024-09-26T16:03:41.159Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T16:03:41.159Z] [2024-09-26T16:03:41.159Z] Login Succeeded [2024-09-26T16:03:41.159Z] ****.io [2024-09-26T16:03:41.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T16:03:41.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T16:03:41.419Z] Configure a credential helper to remove this warning. See [2024-09-26T16:03:41.419Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T16:03:41.419Z] [2024-09-26T16:03:41.419Z] Login Succeeded [2024-09-26T16:03:41.419Z] ---> ****-login.sh ends [Pipeline] } [2024-09-26T16:03:41.424Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-26T16:03:41.516Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-26T16:03:41.530Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-09-26T16:03:41.543Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-26T16:03:41.562Z] ========================================================= [2024-09-26T16:03:41.562Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-09-26T16:03:41.562Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T16:03:41.873Z] + 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 . [2024-09-26T16:03:41.873Z] Sending build context to Docker daemon 5.08MB [2024-09-26T16:03:41.873Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-09-26T16:03:41.873Z] Step 2/22 : FROM ${BASE} as builder [2024-09-26T16:03:41.873Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-09-26T16:03:41.873Z] 96526aa774ef: Pulling fs layer [2024-09-26T16:03:41.873Z] da60e534fd72: Pulling fs layer [2024-09-26T16:03:42.133Z] 96526aa774ef: Verifying Checksum [2024-09-26T16:03:42.133Z] 96526aa774ef: Download complete [2024-09-26T16:03:42.133Z] 96526aa774ef: Pull complete [2024-09-26T16:03:43.069Z] da60e534fd72: Verifying Checksum [2024-09-26T16:03:43.069Z] da60e534fd72: Download complete [2024-09-26T16:03:46.366Z] da60e534fd72: Pull complete [2024-09-26T16:03:46.366Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-09-26T16:03:46.366Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-09-26T16:03:46.366Z] ---> 6605166a5db4 [2024-09-26T16:03:46.366Z] 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 [2024-09-26T16:03:46.624Z] ---> Running in 6b8fc7f686dc [2024-09-26T16:03:47.235Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-09-26T16:03:47.492Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-26T16:03:47.492Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-26T16:03:47.492Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-26T16:03:47.750Z] Removing intermediate container 6b8fc7f686dc [2024-09-26T16:03:47.750Z] ---> ed53f3a808e2 [2024-09-26T16:03:47.750Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-26T16:03:47.750Z] ---> Running in 14d865105a73 [2024-09-26T16:03:48.315Z] Removing intermediate container 14d865105a73 [2024-09-26T16:03:48.315Z] ---> de2780d0f26f [2024-09-26T16:03:48.315Z] 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 [2024-09-26T16:03:48.315Z] ---> Running in f5c278650497 [2024-09-26T16:03:48.574Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T16:03:48.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-26T16:03:49.089Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T16:03:49.656Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T16:03:49.656Z] (1/17) Installing hiredis (1.1.0-r2) [2024-09-26T16:03:49.656Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-09-26T16:03:49.656Z] (3/17) Installing libcbor (0.10.2-r1) [2024-09-26T16:03:49.656Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-26T16:03:50.227Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-26T16:03:50.486Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-26T16:03:50.486Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-09-26T16:03:50.486Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-09-26T16:03:50.486Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-09-26T16:03:50.486Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-09-26T16:03:50.486Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-26T16:03:50.486Z] (12/17) Installing libblkid (2.38.1-r8) [2024-09-26T16:03:50.486Z] (13/17) Installing libuuid (2.38.1-r8) [2024-09-26T16:03:50.486Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-09-26T16:03:50.745Z] (15/17) Installing libmount (2.38.1-r8) [2024-09-26T16:03:50.745Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-09-26T16:03:50.745Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-09-26T16:03:50.745Z] Executing busybox-1.36.1-r4.trigger [2024-09-26T16:03:50.745Z] OK: 336 MiB in 99 packages [2024-09-26T16:03:51.312Z] Removing intermediate container f5c278650497 [2024-09-26T16:03:51.312Z] ---> f03629511eca [2024-09-26T16:03:51.312Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-09-26T16:03:51.312Z] ---> Running in 45bdb1985171 [2024-09-26T16:03:51.880Z] Removing intermediate container 45bdb1985171 [2024-09-26T16:03:51.880Z] ---> e5c20d33979a [2024-09-26T16:03:51.880Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-09-26T16:03:51.880Z] ---> f5fc961e74d7 [2024-09-26T16:03:51.880Z] Step 8/22 : COPY src /tmp/sdk/src [2024-09-26T16:03:52.138Z] ---> d19742a7ffcd [2024-09-26T16:03:52.138Z] Step 9/22 : COPY include /tmp/sdk/include [2024-09-26T16:03:52.396Z] ---> 3e2393d9a57d [2024-09-26T16:03:52.396Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-09-26T16:03:52.396Z] ---> 88f2be3774c9 [2024-09-26T16:03:52.396Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-09-26T16:03:52.654Z] ---> 248a078e2aae [2024-09-26T16:03:52.654Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-09-26T16:03:52.654Z] ---> 0d58e97ca2e7 [2024-09-26T16:03:52.654Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-09-26T16:03:52.654Z] ---> Running in 1a0c36e0b1fb [2024-09-26T16:03:52.913Z] + CPPCHECK=false [2024-09-26T16:03:52.913Z] + DOCGEN=false [2024-09-26T16:03:52.913Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-09-26T16:03:52.913Z] + '[' 0 -gt 0 ] [2024-09-26T16:03:52.913Z] + readlink -f ./scripts/build.sh [2024-09-26T16:03:52.913Z] + dirname /tmp/sdk/scripts/build.sh [2024-09-26T16:03:52.913Z] + dirname /tmp/sdk/scripts [2024-09-26T16:03:52.913Z] + ROOT=/tmp/sdk [2024-09-26T16:03:52.913Z] + cd /tmp/sdk [2024-09-26T16:03:52.913Z] + mkdir -p /tmp/sdk/build/release [2024-09-26T16:03:52.913Z] + cd /tmp/sdk/build/release [2024-09-26T16:03:52.913Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-09-26T16:03:52.913Z] -- The C compiler identification is GNU 12.2.1 [2024-09-26T16:03:53.172Z] -- Detecting C compiler ABI info [2024-09-26T16:03:53.172Z] -- Detecting C compiler ABI info - done [2024-09-26T16:03:53.172Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-26T16:03:53.172Z] -- Detecting C compile features [2024-09-26T16:03:53.172Z] -- Detecting C compile features - done [2024-09-26T16:03:53.172Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-26T16:03:53.172Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-26T16:03:53.172Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-26T16:03:53.172Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-26T16:03:53.172Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-26T16:03:53.172Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-26T16:03:53.172Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-26T16:03:53.172Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-26T16:03:53.172Z] -- /opt/iotech/iot/1.5/include [2024-09-26T16:03:53.172Z] -- C SDK 3.0.3-dev.17 for Linux [2024-09-26T16:03:53.172Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-26T16:03:53.431Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-26T16:03:53.431Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-26T16:03:53.431Z] -- Configuring done (0.4s) [2024-09-26T16:03:53.431Z] -- Generating done (0.0s) [2024-09-26T16:03:53.431Z] -- Build files have been written to: /tmp/sdk/build/release [2024-09-26T16:03:53.431Z] + make+ alltee package release.log [2024-09-26T16:03:53.431Z] [2024-09-26T16:03:53.431Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-26T16:03:53.689Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-26T16:03:53.689Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-26T16:03:53.689Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-26T16:03:53.948Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-26T16:03:53.948Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-26T16:03:54.207Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-26T16:03:54.467Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-09-26T16:03:54.467Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-26T16:03:54.467Z] 294 | while (privateConfig) [2024-09-26T16:03:54.467Z] | ^~~~~~~~~~~~~ [2024-09-26T16:03:54.467Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-09-26T16:03:54.467Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-26T16:03:54.467Z] | ^~~~~~~~~~~~~ [2024-09-26T16:03:54.467Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-26T16:03:54.467Z] 271 | while (result) [2024-09-26T16:03:54.467Z] | ^~~~~~ [2024-09-26T16:03:54.468Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-09-26T16:03:54.468Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-26T16:03:54.468Z] | ^~~~~~ [2024-09-26T16:03:54.468Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-26T16:03:54.468Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-26T16:03:54.727Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-26T16:03:54.986Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-26T16:03:54.986Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-26T16:03:55.246Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-26T16:03:55.246Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-26T16:03:55.505Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-26T16:03:55.505Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-26T16:03:55.542Z] Still waiting to schedule task [2024-09-26T16:03:55.542Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-09-26T16:03:55.764Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-26T16:03:56.022Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-26T16:03:56.022Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-26T16:03:56.022Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-26T16:03:56.280Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-26T16:03:57.215Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-26T16:03:57.475Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-26T16:03:57.475Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-26T16:03:57.735Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-26T16:03:57.735Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-26T16:03:57.995Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-26T16:03:58.254Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-26T16:03:58.254Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-26T16:03:58.514Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-26T16:03:58.514Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-26T16:03:58.514Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-26T16:03:58.514Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-26T16:03:58.514Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-26T16:03:58.514Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-26T16:03:58.514Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-26T16:03:58.514Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-26T16:03:58.514Z] | ^ [2024-09-26T16:03:58.774Z] /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-26T16:03:58.774Z] 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-09-26T16:03:58.774Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-26T16:03:58.774Z] /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here [2024-09-26T16:03:58.774Z] 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-09-26T16:03:58.774Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-09-26T16:03:59.034Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-26T16:03:59.034Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-26T16:03:59.034Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-26T16:03:59.293Z] [ 68%] Linking C shared library libcsdk.so [2024-09-26T16:03:59.294Z] [ 68%] Built target csdk [2024-09-26T16:03:59.294Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-26T16:03:59.552Z] [ 72%] Linking C executable template [2024-09-26T16:03:59.552Z] [ 72%] Built target template [2024-09-26T16:03:59.552Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-26T16:03:59.552Z] [ 76%] Linking C executable device-counter [2024-09-26T16:03:59.811Z] [ 76%] Built target device-counter [2024-09-26T16:03:59.811Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-26T16:03:59.811Z] [ 80%] Linking C executable device-random [2024-09-26T16:03:59.811Z] [ 80%] Built target device-random [2024-09-26T16:03:59.811Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-26T16:04:00.069Z] [ 84%] Linking C executable device-gyro [2024-09-26T16:04:00.069Z] [ 84%] Built target device-gyro [2024-09-26T16:04:00.069Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-26T16:04:00.069Z] [ 88%] Linking C executable device-bitfields [2024-09-26T16:04:00.328Z] [ 88%] Built target device-bitfields [2024-09-26T16:04:00.328Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-26T16:04:00.328Z] [ 92%] Linking C executable template-discovery [2024-09-26T16:04:00.587Z] [ 92%] Built target template-discovery [2024-09-26T16:04:00.587Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-26T16:04:00.587Z] [ 96%] Linking C executable device-file [2024-09-26T16:04:00.587Z] [ 96%] Built target device-file [2024-09-26T16:04:00.587Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-26T16:04:00.846Z] [100%] Linking C executable device-terminal [2024-09-26T16:04:00.846Z] [100%] Built target device-terminal [2024-09-26T16:04:00.846Z] Run CPack packaging tool... [2024-09-26T16:04:00.846Z] CPack: Create package using TGZ [2024-09-26T16:04:00.846Z] CPack: Install projects [2024-09-26T16:04:00.846Z] CPack: - Run preinstall target for: Csdk [2024-09-26T16:04:01.106Z] CPack: - Install project: Csdk [] [2024-09-26T16:04:01.106Z] CPack: Create package [2024-09-26T16:04:01.106Z] CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.17.tar.gz generated. [2024-09-26T16:04:01.106Z] + '[' false '=' true ] [2024-09-26T16:04:01.106Z] + '[' false '=' true ] [2024-09-26T16:04:01.106Z] + mkdir -p /tmp/sdk/build/debug [2024-09-26T16:04:01.106Z] + cd /tmp/sdk/build/debug [2024-09-26T16:04:01.106Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-09-26T16:04:01.365Z] -- The C compiler identification is GNU 12.2.1 [2024-09-26T16:04:01.365Z] -- Detecting C compiler ABI info [2024-09-26T16:04:01.365Z] -- Detecting C compiler ABI info - done [2024-09-26T16:04:01.365Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-26T16:04:01.365Z] -- Detecting C compile features [2024-09-26T16:04:01.365Z] -- Detecting C compile features - done [2024-09-26T16:04:01.365Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-26T16:04:01.365Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-26T16:04:01.365Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-26T16:04:01.365Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-26T16:04:01.365Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-26T16:04:01.365Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-26T16:04:01.365Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-26T16:04:01.365Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-26T16:04:01.365Z] -- /opt/iotech/iot/1.5/include [2024-09-26T16:04:01.365Z] -- C SDK 3.0.3-dev.17 for Linux [2024-09-26T16:04:01.365Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-26T16:04:01.625Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-26T16:04:01.625Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-26T16:04:01.625Z] -- Configuring done (0.4s) [2024-09-26T16:04:01.625Z] -- Generating done (0.0s) [2024-09-26T16:04:01.625Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-09-26T16:04:01.625Z] + make [2024-09-26T16:04:01.625Z] + tee debug.log [2024-09-26T16:04:01.625Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-26T16:04:01.625Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-26T16:04:01.887Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-26T16:04:01.887Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-26T16:04:01.887Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-26T16:04:02.147Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-26T16:04:02.147Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-26T16:04:02.147Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-26T16:04:02.147Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-26T16:04:02.406Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-26T16:04:02.406Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-26T16:04:02.666Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-26T16:04:02.666Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-26T16:04:02.666Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-26T16:04:02.666Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-26T16:04:02.925Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-26T16:04:02.925Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-26T16:04:02.925Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-26T16:04:03.184Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-26T16:04:03.184Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-26T16:04:03.184Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-26T16:04:03.443Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-26T16:04:03.443Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-26T16:04:03.443Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-26T16:04:03.701Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-26T16:04:03.701Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-26T16:04:03.701Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-26T16:04:03.960Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-26T16:04:03.960Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-26T16:04:04.219Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-26T16:04:04.220Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-26T16:04:04.220Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-26T16:04:04.220Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-26T16:04:04.220Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-26T16:04:04.220Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-26T16:04:04.220Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-26T16:04:04.220Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-26T16:04:04.220Z] | ^ [2024-09-26T16:04:04.220Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-26T16:04:04.479Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-26T16:04:04.479Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-26T16:04:04.479Z] [ 68%] Linking C shared library libcsdk.so [2024-09-26T16:04:04.479Z] [ 68%] Built target csdk [2024-09-26T16:04:04.738Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-26T16:04:04.738Z] [ 72%] Linking C executable template [2024-09-26T16:04:04.738Z] [ 72%] Built target template [2024-09-26T16:04:04.738Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-26T16:04:04.738Z] [ 76%] Linking C executable device-counter [2024-09-26T16:04:04.997Z] [ 76%] Built target device-counter [2024-09-26T16:04:04.997Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-26T16:04:04.997Z] [ 80%] Linking C executable device-random [2024-09-26T16:04:04.997Z] [ 80%] Built target device-random [2024-09-26T16:04:04.997Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-26T16:04:04.997Z] [ 84%] Linking C executable device-gyro [2024-09-26T16:04:05.256Z] [ 84%] Built target device-gyro [2024-09-26T16:04:05.256Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-26T16:04:05.256Z] [ 88%] Linking C executable device-bitfields [2024-09-26T16:04:05.256Z] [ 88%] Built target device-bitfields [2024-09-26T16:04:05.256Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-26T16:04:05.515Z] [ 92%] Linking C executable template-discovery [2024-09-26T16:04:05.515Z] [ 92%] Built target template-discovery [2024-09-26T16:04:05.515Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-26T16:04:05.515Z] [ 96%] Linking C executable device-file [2024-09-26T16:04:05.775Z] [ 96%] Built target device-file [2024-09-26T16:04:05.775Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-26T16:04:05.775Z] [100%] Linking C executable device-terminal [2024-09-26T16:04:05.775Z] [100%] Built target device-terminal [2024-09-26T16:04:05.775Z] make: Entering directory '/tmp/sdk/build/release' [2024-09-26T16:04:05.775Z] [ 68%] Built target csdk [2024-09-26T16:04:05.775Z] [ 72%] Built target template [2024-09-26T16:04:06.034Z] [ 76%] Built target device-counter [2024-09-26T16:04:06.034Z] [ 80%] Built target device-random [2024-09-26T16:04:06.034Z] [ 84%] Built target device-gyro [2024-09-26T16:04:06.034Z] [ 88%] Built target device-bitfields [2024-09-26T16:04:06.034Z] [ 92%] Built target template-discovery [2024-09-26T16:04:06.034Z] [ 96%] Built target device-file [2024-09-26T16:04:06.034Z] [100%] Built target device-terminal [2024-09-26T16:04:06.034Z] Install the project... [2024-09-26T16:04:06.034Z] -- Install configuration: "Release" [2024-09-26T16:04:06.034Z] -- Installing: /usr/local/lib/libcsdk.so [2024-09-26T16:04:06.034Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-09-26T16:04:06.034Z] -- Installing: /usr/local/include [2024-09-26T16:04:06.034Z] -- Installing: /usr/local/include/devsdk [2024-09-26T16:04:06.034Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-09-26T16:04:06.034Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-09-26T16:04:06.034Z] -- Installing: /usr/local/include/edgex [2024-09-26T16:04:06.034Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-09-26T16:04:06.034Z] -- Installing: /usr/local/include/edgex/devices.h [2024-09-26T16:04:06.034Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-09-26T16:04:06.034Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-09-26T16:04:06.034Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-09-26T16:04:06.034Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-09-26T16:04:06.034Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-09-26T16:04:06.034Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-09-26T16:04:06.034Z] make: Leaving directory '/tmp/sdk/build/release' [2024-09-26T16:04:06.601Z] Removing intermediate container 1a0c36e0b1fb [2024-09-26T16:04:06.601Z] ---> c5642315ff2d [2024-09-26T16:04:06.601Z] Step 14/22 : FROM ${BASE} [2024-09-26T16:04:06.601Z] ---> 6605166a5db4 [2024-09-26T16:04:06.601Z] Step 15/22 : LABEL maintainer="IOTech " [2024-09-26T16:04:06.601Z] ---> Running in b068bbdf9da9 [2024-09-26T16:04:06.602Z] Removing intermediate container b068bbdf9da9 [2024-09-26T16:04:06.602Z] ---> 80ea36f5bc49 [2024-09-26T16:04:06.602Z] 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 [2024-09-26T16:04:06.861Z] ---> Running in c5c71c855414 [2024-09-26T16:04:07.120Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-09-26T16:04:07.379Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-26T16:04:07.379Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-26T16:04:07.379Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-26T16:04:07.639Z] Removing intermediate container c5c71c855414 [2024-09-26T16:04:07.639Z] ---> 9d966346af5b [2024-09-26T16:04:07.639Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-26T16:04:07.639Z] ---> Running in 89a3e5693722 [2024-09-26T16:04:08.212Z] Removing intermediate container 89a3e5693722 [2024-09-26T16:04:08.212Z] ---> 99800a51f74e [2024-09-26T16:04:08.212Z] 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 [2024-09-26T16:04:08.212Z] ---> Running in 331872050b9f [2024-09-26T16:04:08.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T16:04:08.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-26T16:04:08.991Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T16:04:09.560Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T16:04:09.560Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) [2024-09-26T16:04:09.560Z] (2/10) Installing curl (8.9.1-r0) [2024-09-26T16:04:09.560Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) [2024-09-26T16:04:09.560Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-09-26T16:04:09.560Z] (5/10) Installing hiredis (1.1.0-r2) [2024-09-26T16:04:09.560Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-09-26T16:04:09.560Z] (7/10) Installing libcbor (0.10.2-r1) [2024-09-26T16:04:09.560Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-26T16:04:10.130Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-26T16:04:10.389Z] (10/10) Installing libuuid (2.38.1-r8) [2024-09-26T16:04:10.389Z] Executing busybox-1.36.1-r4.trigger [2024-09-26T16:04:10.389Z] OK: 331 MiB in 90 packages [2024-09-26T16:04:10.649Z] Removing intermediate container 331872050b9f [2024-09-26T16:04:10.649Z] ---> bd320307a1f6 [2024-09-26T16:04:10.649Z] Step 19/22 : RUN apk --no-cache upgrade [2024-09-26T16:04:10.908Z] ---> Running in 17b538dc80fc [2024-09-26T16:04:10.908Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T16:04:11.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-26T16:04:11.167Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T16:04:11.739Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T16:04:11.739Z] Upgrading critical system libraries and apk-tools: [2024-09-26T16:04:11.739Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-09-26T16:04:11.739Z] Executing busybox-1.36.1-r4.trigger [2024-09-26T16:04:11.739Z] Continuing the upgrade transaction with new apk-tools: [2024-09-26T16:04:11.739Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T16:04:11.998Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-26T16:04:11.998Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T16:04:12.568Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T16:04:12.568Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-09-26T16:04:12.568Z] Executing busybox-1.36.1-r7.post-upgrade [2024-09-26T16:04:12.568Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-09-26T16:04:12.568Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-09-26T16:04:12.568Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-26T16:04:12.568Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-26T16:04:12.568Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-09-26T16:04:12.568Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-09-26T16:04:12.568Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) [2024-09-26T16:04:12.568Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-09-26T16:04:12.568Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) [2024-09-26T16:04:12.568Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-09-26T16:04:12.827Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-09-26T16:04:12.827Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-09-26T16:04:12.827Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-09-26T16:04:12.827Z] Executing busybox-1.36.1-r7.trigger [2024-09-26T16:04:12.827Z] Executing ca-certificates-20240226-r0.trigger [2024-09-26T16:04:12.827Z] OK: 331 MiB in 90 packages [2024-09-26T16:04:13.394Z] Removing intermediate container 17b538dc80fc [2024-09-26T16:04:13.394Z] ---> 2058d2b41130 [2024-09-26T16:04:13.394Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-09-26T16:04:13.653Z] ---> 0d2b8a5de1e6 [2024-09-26T16:04:13.653Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-09-26T16:04:13.653Z] ---> eae77cf622c5 [2024-09-26T16:04:13.653Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-09-26T16:04:13.911Z] ---> ae22a643b614 [2024-09-26T16:04:13.911Z] Successfully built ae22a643b614 [2024-09-26T16:04:13.911Z] 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 [2024-09-26T16:04:14.315Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-26T16:04:14.315Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-26T16:04:14.393Z] prd-ubuntu20.04-docker-8c-8g-11686 does not seem to be running inside a container [2024-09-26T16:04:14.421Z] $ 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 [2024-09-26T16:04:14.771Z] $ docker top 277ebebbb854ed2f50aa74dc4135fe99da9acefdcf8fdd2aca5390539498359a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-26T16:04:15.130Z] + make test [2024-09-26T16:04:15.131Z] echo "make test" [2024-09-26T16:04:15.131Z] make test [Pipeline] } [2024-09-26T16:04:15.138Z] $ docker stop --time=1 277ebebbb854ed2f50aa74dc4135fe99da9acefdcf8fdd2aca5390539498359a [2024-09-26T16:04:16.430Z] $ docker rm -f --volumes 277ebebbb854ed2f50aa74dc4135fe99da9acefdcf8fdd2aca5390539498359a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-26T16:04:17.087Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-26T16:04:17.370Z] + ls -al . [2024-09-26T16:04:17.370Z] total 212 [2024-09-26T16:04:17.370Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 16:03 . [2024-09-26T16:04:17.370Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 16:03 .. [2024-09-26T16:04:17.370Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 16:03 .git [2024-09-26T16:04:17.370Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 16:03 .github [2024-09-26T16:04:17.370Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 26 16:03 .gitignore [2024-09-26T16:04:17.370Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 16:03 .semver [2024-09-26T16:04:17.370Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 26 16:03 Attribution.txt [2024-09-26T16:04:17.370Z] -rw-rw-r-- 1 jenkins jenkins 11953 Sep 26 16:03 CHANGELOG.md [2024-09-26T16:04:17.370Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 26 16:03 Doxyfile [2024-09-26T16:04:17.370Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 16:03 GOVERNANCE.md [2024-09-26T16:04:17.370Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 26 16:03 Jenkinsfile [2024-09-26T16:04:17.370Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 26 16:03 LICENSE [2024-09-26T16:04:17.370Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 26 16:03 Makefile [2024-09-26T16:04:17.370Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 26 16:03 OWNERS.md [2024-09-26T16:04:17.370Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 26 16:03 README.IOT.md [2024-09-26T16:04:17.371Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 26 16:03 README.md [2024-09-26T16:04:17.371Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 26 16:03 README.v3.md [2024-09-26T16:04:17.371Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 26 16:03 VERSION [2024-09-26T16:04:17.371Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 16:03 docs [2024-09-26T16:04:17.371Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 16:03 include [2024-09-26T16:04:17.371Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 16:03 scripts [2024-09-26T16:04:17.371Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 16:03 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T16:04:17.679Z] + 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=de2f7dd484aed31b8929cc3252062c81ad15313f --label arch=amd64 --label version=3.0.3-dev.17 . [2024-09-26T16:04:17.680Z] Sending build context to Docker daemon 5.08MB [2024-09-26T16:04:17.680Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-09-26T16:04:17.680Z] Step 2/18 : FROM ${BASE} [2024-09-26T16:04:17.680Z] ---> ae22a643b614 [2024-09-26T16:04:17.680Z] Step 3/18 : LABEL maintainer="IOTech " [2024-09-26T16:04:17.680Z] ---> Running in d35b389a243a [2024-09-26T16:04:17.680Z] Removing intermediate container d35b389a243a [2024-09-26T16:04:17.680Z] ---> d23652116813 [2024-09-26T16:04:17.680Z] 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 [2024-09-26T16:04:17.680Z] ---> Running in 61ef1912cc27 [2024-09-26T16:04:17.939Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-09-26T16:04:18.509Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-26T16:04:18.509Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-26T16:04:18.509Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-26T16:04:18.770Z] Removing intermediate container 61ef1912cc27 [2024-09-26T16:04:18.770Z] ---> 68ceddc7abaf [2024-09-26T16:04:18.770Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-26T16:04:18.770Z] ---> Running in 2bef41e549f5 [2024-09-26T16:04:19.338Z] Removing intermediate container 2bef41e549f5 [2024-09-26T16:04:19.338Z] ---> 7d83fa2b61a4 [2024-09-26T16:04:19.338Z] 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 [2024-09-26T16:04:19.338Z] ---> Running in bda8dfd0477d [2024-09-26T16:04:19.599Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T16:04:19.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-26T16:04:20.121Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T16:04:20.380Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T16:04:20.640Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-26T16:04:20.640Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-09-26T16:04:20.640Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-09-26T16:04:20.640Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-09-26T16:04:20.640Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-09-26T16:04:20.640Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-26T16:04:20.640Z] (7/11) Installing libblkid (2.38.1-r8) [2024-09-26T16:04:20.640Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-09-26T16:04:20.640Z] (9/11) Installing libmount (2.38.1-r8) [2024-09-26T16:04:20.640Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-09-26T16:04:20.640Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-09-26T16:04:20.899Z] Executing busybox-1.36.1-r7.trigger [2024-09-26T16:04:20.899Z] OK: 337 MiB in 101 packages [2024-09-26T16:04:21.158Z] Removing intermediate container bda8dfd0477d [2024-09-26T16:04:21.158Z] ---> 8ad3a3cea083 [2024-09-26T16:04:21.158Z] Step 7/18 : RUN apk --no-cache upgrade [2024-09-26T16:04:21.158Z] ---> Running in 20d9b804efa2 [2024-09-26T16:04:21.726Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T16:04:21.726Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-26T16:04:21.726Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T16:04:22.297Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T16:04:22.297Z] OK: 337 MiB in 101 packages [2024-09-26T16:04:22.555Z] Removing intermediate container 20d9b804efa2 [2024-09-26T16:04:22.555Z] ---> 989789e7e1e6 [2024-09-26T16:04:22.555Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-09-26T16:04:22.812Z] ---> 1eeace8cb787 [2024-09-26T16:04:22.812Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-09-26T16:04:22.812Z] ---> cf9bf83f63a2 [2024-09-26T16:04:22.812Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-09-26T16:04:23.070Z] ---> 382c68b1833c [2024-09-26T16:04:23.070Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-09-26T16:04:23.070Z] ---> ed2832cbfe8a [2024-09-26T16:04:23.070Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-09-26T16:04:23.330Z] ---> 18b5dfe3c436 [2024-09-26T16:04:23.330Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-09-26T16:04:23.330Z] ---> 82f775d11c1c [2024-09-26T16:04:23.330Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-09-26T16:04:23.330Z] ---> Running in 28b30a419876 [2024-09-26T16:04:23.589Z] Removing intermediate container 28b30a419876 [2024-09-26T16:04:23.589Z] ---> 311fcc3aac6d [2024-09-26T16:04:23.589Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-09-26T16:04:23.589Z] ---> Running in bba82334afe4 [2024-09-26T16:04:23.589Z] Removing intermediate container bba82334afe4 [2024-09-26T16:04:23.589Z] ---> 59d166c0f406 [2024-09-26T16:04:23.589Z] Step 16/18 : LABEL arch=amd64 [2024-09-26T16:04:23.589Z] ---> Running in 8b9072158b02 [2024-09-26T16:04:23.589Z] Removing intermediate container 8b9072158b02 [2024-09-26T16:04:23.589Z] ---> 78380a0edef3 [2024-09-26T16:04:23.589Z] Step 17/18 : LABEL git_sha=de2f7dd484aed31b8929cc3252062c81ad15313f [2024-09-26T16:04:23.589Z] ---> Running in fe003c06cb3c [2024-09-26T16:04:23.849Z] Removing intermediate container fe003c06cb3c [2024-09-26T16:04:23.849Z] ---> 90ba8ac52e00 [2024-09-26T16:04:23.849Z] Step 18/18 : LABEL version=3.0.3-dev.17 [2024-09-26T16:04:23.849Z] ---> Running in 1dc2a086bf23 [2024-09-26T16:04:23.849Z] Removing intermediate container 1dc2a086bf23 [2024-09-26T16:04:23.849Z] ---> cca582f6a367 [2024-09-26T16:04:23.849Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-09-26T16:04:23.849Z] Successfully built cca582f6a367 [2024-09-26T16:04:23.849Z] 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 [2024-09-26T16:04:24.328Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-26T16:04:24.329Z] [2024-09-26T16:04:24.329Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T16:04:24.629Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-26T16:04:24.629Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-26T16:04:24.629Z] 5eb5b503b376: Pulling fs layer [2024-09-26T16:04:24.629Z] 5c69ac0246d0: Pulling fs layer [2024-09-26T16:04:24.629Z] ec43610c2a17: Pulling fs layer [2024-09-26T16:04:24.629Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-26T16:04:24.629Z] 33b1e0a273af: Pulling fs layer [2024-09-26T16:04:24.629Z] 5d3b04190fa2: Pulling fs layer [2024-09-26T16:04:24.629Z] 2f39f015ded8: Pulling fs layer [2024-09-26T16:04:24.629Z] 3a2ae6a8a46f: Waiting [2024-09-26T16:04:24.629Z] 33b1e0a273af: Waiting [2024-09-26T16:04:24.629Z] 5d3b04190fa2: Waiting [2024-09-26T16:04:24.629Z] 5c69ac0246d0: Download complete [2024-09-26T16:04:24.629Z] 3a2ae6a8a46f: Download complete [2024-09-26T16:04:24.629Z] 33b1e0a273af: Verifying Checksum [2024-09-26T16:04:24.629Z] 33b1e0a273af: Download complete [2024-09-26T16:04:24.629Z] ec43610c2a17: Verifying Checksum [2024-09-26T16:04:24.629Z] ec43610c2a17: Download complete [2024-09-26T16:04:24.629Z] 5d3b04190fa2: Verifying Checksum [2024-09-26T16:04:24.629Z] 5d3b04190fa2: Download complete [2024-09-26T16:04:24.887Z] 5eb5b503b376: Verifying Checksum [2024-09-26T16:04:24.887Z] 5eb5b503b376: Download complete [2024-09-26T16:04:25.453Z] 2f39f015ded8: Download complete [2024-09-26T16:04:26.021Z] 5eb5b503b376: Pull complete [2024-09-26T16:04:26.279Z] 5c69ac0246d0: Pull complete [2024-09-26T16:04:26.538Z] ec43610c2a17: Pull complete [2024-09-26T16:04:26.796Z] 3a2ae6a8a46f: Pull complete [2024-09-26T16:04:27.054Z] 33b1e0a273af: Pull complete [2024-09-26T16:04:27.054Z] 5d3b04190fa2: Pull complete [2024-09-26T16:04:31.247Z] 2f39f015ded8: Pull complete [2024-09-26T16:04:31.247Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-26T16:04:31.247Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-26T16:04:31.247Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-26T16:04:31.347Z] prd-ubuntu20.04-docker-8c-8g-11686 does not seem to be running inside a container [2024-09-26T16:04:31.368Z] $ 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 [2024-09-26T16:04:32.693Z] $ docker top e18b156112471668ebc2ae755e5a9aab626d6a83c23bf029f38869c484875661 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-26T16:04:33.080Z] ---> job-cost.sh [2024-09-26T16:04:33.080Z] lf-activate-venv: SKIPPING [2024-09-26T16:04:33.080Z] INFO: No Stack... [2024-09-26T16:04:33.339Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-26T16:04:33.598Z] INFO: Archiving Costs [Pipeline] sh [2024-09-26T16:04:33.889Z] + cut -d, -f6 [2024-09-26T16:04:33.889Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [Pipeline] lock [2024-09-26T16:04:33.903Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-77-stack-cost] [2024-09-26T16:04:33.916Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-77-stack-cost] did not exist. Created. [2024-09-26T16:04:33.923Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-77-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-26T16:04:34.226Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-26T16:04:34.275Z] Stashed 1 file(s) [Pipeline] } [2024-09-26T16:04:34.283Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-77-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-26T16:04:34.302Z] $ docker stop --time=1 e18b156112471668ebc2ae755e5a9aab626d6a83c23bf029f38869c484875661 [2024-09-26T16:04:35.456Z] $ docker rm -f --volumes e18b156112471668ebc2ae755e5a9aab626d6a83c23bf029f38869c484875661 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-26T16:07:09.853Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11690 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2024-09-26T16:07:09.872Z] Running in /w/workspace/device-sdk-c/77 [Pipeline] { [Pipeline] checkout [2024-09-26T16:07:12.936Z] Selected Git installation does not exist. Using Default [2024-09-26T16:07:12.936Z] The recommended git tool is: NONE [2024-09-26T16:07:21.124Z] using credential edgex-jenkins-ssh [2024-09-26T16:07:21.176Z] Cloning the remote Git repository [2024-09-26T16:07:21.222Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-09-26T16:07:21.343Z] > git init /w/workspace/device-sdk-c/77 # timeout=10 [2024-09-26T16:07:21.622Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-09-26T16:07:21.625Z] > git --version # timeout=10 [2024-09-26T16:07:21.665Z] > git --version # 'git version 2.25.1' [2024-09-26T16:07:21.669Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-26T16:07:21.931Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-26T16:07:23.101Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-09-26T16:07:23.147Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-26T16:07:24.671Z] Avoid second fetch [2024-09-26T16:07:24.671Z] Checking out Revision de2f7dd484aed31b8929cc3252062c81ad15313f (main) [2024-09-26T16:07:24.692Z] > git config core.sparsecheckout # timeout=10 [2024-09-26T16:07:24.801Z] > git checkout -f de2f7dd484aed31b8929cc3252062c81ad15313f # timeout=10 [2024-09-26T16:07:25.611Z] Commit message: "feat: Implemented a discovery delete API (#514)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-26T16:07:30.793Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-26T16:07:30.793Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-26T16:07:30.793Z] Dload Upload Total Spent Left Speed [2024-09-26T16:07:30.793Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99441 0 --:--:-- --:--:-- --:--:-- 97k [Pipeline] sh [2024-09-26T16:07:31.136Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-26T16:07:31.460Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-09-26T16:07:31.460Z] + sudo tee /etc/docker/daemon.new [2024-09-26T16:07:31.460Z] { [2024-09-26T16:07:31.460Z] "registry-mirrors": [ [2024-09-26T16:07:31.460Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-26T16:07:31.460Z] ], [2024-09-26T16:07:31.460Z] "bip": "10.250.0.254/24", [2024-09-26T16:07:31.460Z] "hosts": [ [2024-09-26T16:07:31.460Z] "tcp://0.0.0.0:5555", [2024-09-26T16:07:31.460Z] "unix:///var/run/docker.sock" [2024-09-26T16:07:31.460Z] ], [2024-09-26T16:07:31.460Z] "mtu": 1458, [2024-09-26T16:07:31.460Z] "selinux-enabled": true, [2024-09-26T16:07:31.460Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-26T16:07:31.460Z] } [Pipeline] sh [2024-09-26T16:07:31.790Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-26T16:07:32.124Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-26T16:07:50.397Z] provisioning config files... [2024-09-26T16:07:50.426Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/77@tmp/config4035343790526368029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-26T16:07:50.897Z] ---> ****-login.sh [2024-09-26T16:07:50.897Z] nexus3.edgexfoundry.org:10001 [2024-09-26T16:07:51.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T16:07:51.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T16:07:51.434Z] Configure a credential helper to remove this warning. See [2024-09-26T16:07:51.434Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T16:07:51.434Z] [2024-09-26T16:07:51.434Z] Login Succeeded [2024-09-26T16:07:51.434Z] nexus3.edgexfoundry.org:10002 [2024-09-26T16:07:51.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T16:07:51.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T16:07:51.703Z] Configure a credential helper to remove this warning. See [2024-09-26T16:07:51.703Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T16:07:51.703Z] [2024-09-26T16:07:51.703Z] Login Succeeded [2024-09-26T16:07:51.703Z] nexus3.edgexfoundry.org:10003 [2024-09-26T16:07:51.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T16:07:52.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T16:07:52.240Z] Configure a credential helper to remove this warning. See [2024-09-26T16:07:52.240Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T16:07:52.240Z] [2024-09-26T16:07:52.240Z] Login Succeeded [2024-09-26T16:07:52.240Z] nexus3.edgexfoundry.org:10004 [2024-09-26T16:07:52.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T16:07:52.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T16:07:52.513Z] Configure a credential helper to remove this warning. See [2024-09-26T16:07:52.513Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T16:07:52.513Z] [2024-09-26T16:07:52.513Z] Login Succeeded [2024-09-26T16:07:52.513Z] ****.io [2024-09-26T16:07:52.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T16:07:52.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T16:07:52.784Z] Configure a credential helper to remove this warning. See [2024-09-26T16:07:52.784Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T16:07:52.784Z] [2024-09-26T16:07:52.784Z] Login Succeeded [2024-09-26T16:07:53.052Z] ---> ****-login.sh ends [Pipeline] } [2024-09-26T16:07:53.066Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-26T16:07:53.383Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-26T16:07:53.400Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-09-26T16:07:53.413Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-26T16:07:53.430Z] ========================================================= [2024-09-26T16:07:53.430Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-09-26T16:07:53.430Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T16:07:53.777Z] + 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 . [2024-09-26T16:07:54.046Z] Sending build context to Docker daemon 3.042MB [2024-09-26T16:07:54.313Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-09-26T16:07:54.313Z] Step 2/22 : FROM ${BASE} as builder [2024-09-26T16:07:54.314Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-09-26T16:07:54.314Z] 579b34f0a95b: Pulling fs layer [2024-09-26T16:07:54.314Z] e71477ac5e1b: Pulling fs layer [2024-09-26T16:07:54.581Z] 579b34f0a95b: Verifying Checksum [2024-09-26T16:07:54.581Z] 579b34f0a95b: Download complete [2024-09-26T16:07:55.167Z] 579b34f0a95b: Pull complete [2024-09-26T16:07:57.141Z] e71477ac5e1b: Verifying Checksum [2024-09-26T16:07:57.141Z] e71477ac5e1b: Download complete [2024-09-26T16:08:09.471Z] e71477ac5e1b: Pull complete [2024-09-26T16:08:09.471Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-09-26T16:08:09.471Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-09-26T16:08:09.471Z] ---> 2b552cad5dd9 [2024-09-26T16:08:09.471Z] 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 [2024-09-26T16:08:09.471Z] ---> Running in 890bfb869573 [2024-09-26T16:08:10.438Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-09-26T16:08:11.102Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-26T16:08:11.102Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-26T16:08:11.102Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-26T16:08:11.708Z] Removing intermediate container 890bfb869573 [2024-09-26T16:08:11.708Z] ---> af5526e82b17 [2024-09-26T16:08:11.708Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-26T16:08:11.708Z] ---> Running in d313966baedf [2024-09-26T16:08:13.667Z] Removing intermediate container d313966baedf [2024-09-26T16:08:13.667Z] ---> f4a225581291 [2024-09-26T16:08:13.667Z] 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 [2024-09-26T16:08:13.667Z] ---> Running in 38f1362e11eb [2024-09-26T16:08:14.640Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T16:08:14.911Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-26T16:08:15.501Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T16:08:16.467Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T16:08:16.467Z] (1/17) Installing hiredis (1.1.0-r2) [2024-09-26T16:08:16.467Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-09-26T16:08:16.467Z] (3/17) Installing libcbor (0.10.2-r1) [2024-09-26T16:08:16.467Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-26T16:08:17.052Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-26T16:08:17.320Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-26T16:08:17.589Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-09-26T16:08:17.589Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-09-26T16:08:17.589Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-09-26T16:08:17.589Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-09-26T16:08:17.589Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-26T16:08:17.589Z] (12/17) Installing libblkid (2.38.1-r8) [2024-09-26T16:08:17.589Z] (13/17) Installing libuuid (2.38.1-r8) [2024-09-26T16:08:17.589Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-09-26T16:08:17.589Z] (15/17) Installing libmount (2.38.1-r8) [2024-09-26T16:08:17.589Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-09-26T16:08:17.589Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-09-26T16:08:17.589Z] Executing busybox-1.36.1-r4.trigger [2024-09-26T16:08:17.856Z] OK: 333 MiB in 99 packages [2024-09-26T16:08:19.289Z] Removing intermediate container 38f1362e11eb [2024-09-26T16:08:19.289Z] ---> 2211e84b91f7 [2024-09-26T16:08:19.289Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-09-26T16:08:19.289Z] ---> Running in 6144126ee834 [2024-09-26T16:08:21.245Z] Removing intermediate container 6144126ee834 [2024-09-26T16:08:21.245Z] ---> 1152dab2a8a7 [2024-09-26T16:08:21.245Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-09-26T16:08:21.245Z] ---> acf478981acb [2024-09-26T16:08:21.245Z] Step 8/22 : COPY src /tmp/sdk/src [2024-09-26T16:08:22.210Z] ---> db302d68205d [2024-09-26T16:08:22.210Z] Step 9/22 : COPY include /tmp/sdk/include [2024-09-26T16:08:22.795Z] ---> 2e04772259bb [2024-09-26T16:08:22.795Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-09-26T16:08:23.064Z] ---> 7ede61416134 [2024-09-26T16:08:23.064Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-09-26T16:08:23.650Z] ---> dba0cdf20704 [2024-09-26T16:08:23.650Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-09-26T16:08:24.236Z] ---> c358404e8b36 [2024-09-26T16:08:24.236Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-09-26T16:08:24.236Z] ---> Running in e3b2e140b00a [2024-09-26T16:08:25.196Z] + CPPCHECK=false [2024-09-26T16:08:25.196Z] + DOCGEN=false [2024-09-26T16:08:25.196Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-09-26T16:08:25.196Z] + '[' 0 -gt 0 ] [2024-09-26T16:08:25.196Z] + readlink -f ./scripts/build.sh [2024-09-26T16:08:25.196Z] + dirname /tmp/sdk/scripts/build.sh [2024-09-26T16:08:25.196Z] + dirname /tmp/sdk/scripts [2024-09-26T16:08:25.196Z] + ROOT=/tmp/sdk [2024-09-26T16:08:25.196Z] + cd /tmp/sdk [2024-09-26T16:08:25.196Z] + mkdir -p /tmp/sdk/build/release [2024-09-26T16:08:25.196Z] + cd /tmp/sdk/build/release [2024-09-26T16:08:25.197Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-09-26T16:08:25.462Z] -- The C compiler identification is GNU 12.2.1 [2024-09-26T16:08:25.729Z] -- Detecting C compiler ABI info [2024-09-26T16:08:25.995Z] -- Detecting C compiler ABI info - done [2024-09-26T16:08:25.995Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-26T16:08:25.995Z] -- Detecting C compile features [2024-09-26T16:08:25.995Z] -- Detecting C compile features - done [2024-09-26T16:08:25.995Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-26T16:08:26.261Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-26T16:08:26.261Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-26T16:08:26.261Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-26T16:08:26.261Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-26T16:08:26.261Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-26T16:08:26.261Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-26T16:08:26.261Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-26T16:08:26.261Z] -- /opt/iotech/iot/1.5/include [2024-09-26T16:08:26.261Z] -- C SDK 3.0.3-dev.17 for Linux [2024-09-26T16:08:26.261Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-26T16:08:26.527Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-26T16:08:26.792Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-26T16:08:26.792Z] -- Configuring done (1.7s) [2024-09-26T16:08:27.060Z] -- Generating done (0.2s) [2024-09-26T16:08:27.060Z] -- Build files have been written to: /tmp/sdk/build/release [2024-09-26T16:08:27.325Z] + make all package [2024-09-26T16:08:27.325Z] + tee release.log [2024-09-26T16:08:27.325Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-26T16:08:27.908Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-26T16:08:28.876Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-26T16:08:29.844Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-26T16:08:30.800Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-26T16:08:31.072Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-26T16:08:33.642Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-26T16:08:33.906Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-09-26T16:08:33.906Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-26T16:08:33.906Z] 294 | while (privateConfig) [2024-09-26T16:08:33.906Z] | ^~~~~~~~~~~~~ [2024-09-26T16:08:33.906Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-09-26T16:08:33.906Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-26T16:08:33.906Z] | ^~~~~~~~~~~~~ [2024-09-26T16:08:33.906Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-26T16:08:33.906Z] 271 | while (result) [2024-09-26T16:08:33.906Z] | ^~~~~~ [2024-09-26T16:08:33.906Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-09-26T16:08:33.906Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-26T16:08:33.906Z] | ^~~~~~ [2024-09-26T16:08:34.486Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-26T16:08:34.486Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-26T16:08:35.440Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-26T16:08:37.375Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-26T16:08:37.954Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-26T16:08:38.913Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-26T16:08:39.494Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-26T16:08:40.081Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-26T16:08:41.036Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-26T16:08:41.302Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-26T16:08:43.880Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-26T16:08:43.880Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-26T16:08:44.481Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-26T16:08:45.883Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-26T16:08:52.507Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-26T16:08:53.091Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-26T16:08:53.369Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-26T16:08:53.951Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-26T16:08:54.216Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-26T16:08:55.643Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-26T16:08:58.217Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-26T16:08:58.217Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-26T16:08:59.178Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-26T16:08:59.760Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-26T16:09:00.026Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-26T16:09:00.026Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-26T16:09:00.026Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-26T16:09:00.026Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-26T16:09:00.026Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-26T16:09:00.026Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-26T16:09:00.026Z] | ^ [2024-09-26T16:09:01.970Z] /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-26T16:09:01.970Z] 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-09-26T16:09:01.970Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-26T16:09:01.970Z] /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here [2024-09-26T16:09:01.970Z] 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-09-26T16:09:01.970Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-09-26T16:09:02.926Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-26T16:09:03.505Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-26T16:09:04.086Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-26T16:09:04.351Z] [ 68%] Linking C shared library libcsdk.so [2024-09-26T16:09:04.616Z] [ 68%] Built target csdk [2024-09-26T16:09:04.616Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-26T16:09:07.103Z] [ 72%] Linking C executable template [2024-09-26T16:09:07.103Z] [ 72%] Built target template [2024-09-26T16:09:07.103Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-26T16:09:07.103Z] [ 76%] Linking C executable device-counter [2024-09-26T16:09:07.103Z] [ 76%] Built target device-counter [2024-09-26T16:09:07.103Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-26T16:09:10.891Z] [ 80%] Linking C executable device-random [2024-09-26T16:09:10.891Z] [ 80%] Built target device-random [2024-09-26T16:09:10.891Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-26T16:09:10.891Z] [ 84%] Linking C executable device-gyro [2024-09-26T16:09:10.891Z] [ 84%] Built target device-gyro [2024-09-26T16:09:10.891Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-26T16:09:10.891Z] [ 88%] Linking C executable device-bitfields [2024-09-26T16:09:10.891Z] [ 88%] Built target device-bitfields [2024-09-26T16:09:10.891Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-26T16:09:10.891Z] [ 92%] Linking C executable template-discovery [2024-09-26T16:09:10.891Z] [ 92%] Built target template-discovery [2024-09-26T16:09:11.161Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-26T16:09:11.746Z] [ 96%] Linking C executable device-file [2024-09-26T16:09:12.016Z] [ 96%] Built target device-file [2024-09-26T16:09:12.016Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-26T16:09:12.976Z] [100%] Linking C executable device-terminal [2024-09-26T16:09:12.976Z] [100%] Built target device-terminal [2024-09-26T16:09:13.244Z] Run CPack packaging tool... [2024-09-26T16:09:13.244Z] CPack: Create package using TGZ [2024-09-26T16:09:13.244Z] CPack: Install projects [2024-09-26T16:09:13.244Z] CPack: - Run preinstall target for: Csdk [2024-09-26T16:09:14.205Z] CPack: - Install project: Csdk [] [2024-09-26T16:09:14.205Z] CPack: Create package [2024-09-26T16:09:14.205Z] CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.17.tar.gz generated. [2024-09-26T16:09:14.205Z] + '[' false '=' true ] [2024-09-26T16:09:14.205Z] + '[' false '=' true ] [2024-09-26T16:09:14.205Z] + mkdir -p /tmp/sdk/build/debug [2024-09-26T16:09:14.205Z] + cd /tmp/sdk/build/debug [2024-09-26T16:09:14.205Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-09-26T16:09:14.473Z] -- The C compiler identification is GNU 12.2.1 [2024-09-26T16:09:14.473Z] -- Detecting C compiler ABI info [2024-09-26T16:09:14.740Z] -- Detecting C compiler ABI info - done [2024-09-26T16:09:15.006Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-26T16:09:15.006Z] -- Detecting C compile features [2024-09-26T16:09:15.006Z] -- Detecting C compile features - done [2024-09-26T16:09:15.006Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-26T16:09:15.272Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-26T16:09:15.272Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-26T16:09:15.272Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-26T16:09:15.272Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-26T16:09:15.272Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-26T16:09:15.272Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-26T16:09:15.272Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-26T16:09:15.272Z] -- /opt/iotech/iot/1.5/include [2024-09-26T16:09:15.272Z] -- C SDK 3.0.3-dev.17 for Linux [2024-09-26T16:09:15.272Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-26T16:09:15.538Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-26T16:09:15.803Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-26T16:09:15.803Z] -- Configuring done (1.7s) [2024-09-26T16:09:16.068Z] -- Generating done (0.2s) [2024-09-26T16:09:16.068Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-09-26T16:09:16.068Z] + + make [2024-09-26T16:09:16.068Z] tee debug.log [2024-09-26T16:09:16.334Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-26T16:09:16.599Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-26T16:09:17.178Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-26T16:09:18.364Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-26T16:09:18.364Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-26T16:09:18.364Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-26T16:09:18.951Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-26T16:09:19.216Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-26T16:09:19.481Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-26T16:09:19.747Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-26T16:09:20.327Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-26T16:09:20.907Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-26T16:09:21.176Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-26T16:09:21.447Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-26T16:09:22.030Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-26T16:09:22.329Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-26T16:09:22.329Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-26T16:09:23.284Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-26T16:09:23.548Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-26T16:09:23.548Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-26T16:09:24.136Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-26T16:09:25.553Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-26T16:09:25.820Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-26T16:09:26.088Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-26T16:09:26.355Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-26T16:09:26.623Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-26T16:09:27.206Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-26T16:09:28.614Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-26T16:09:28.614Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-26T16:09:29.198Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-26T16:09:29.466Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-26T16:09:29.737Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-26T16:09:29.737Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-26T16:09:29.737Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-26T16:09:29.737Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-26T16:09:29.737Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-26T16:09:29.737Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-26T16:09:29.737Z] | ^ [2024-09-26T16:09:30.318Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-26T16:09:30.901Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-26T16:09:31.167Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-26T16:09:31.432Z] [ 68%] Linking C shared library libcsdk.so [2024-09-26T16:09:31.699Z] [ 68%] Built target csdk [2024-09-26T16:09:31.699Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-26T16:09:31.964Z] [ 72%] Linking C executable template [2024-09-26T16:09:32.545Z] [ 72%] Built target template [2024-09-26T16:09:32.545Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-26T16:09:32.817Z] [ 76%] Linking C executable device-counter [2024-09-26T16:09:33.085Z] [ 76%] Built target device-counter [2024-09-26T16:09:33.085Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-26T16:09:33.669Z] [ 80%] Linking C executable device-random [2024-09-26T16:09:33.937Z] [ 80%] Built target device-random [2024-09-26T16:09:33.937Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-26T16:09:34.204Z] [ 84%] Linking C executable device-gyro [2024-09-26T16:09:34.787Z] [ 84%] Built target device-gyro [2024-09-26T16:09:34.787Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-26T16:09:35.054Z] [ 88%] Linking C executable device-bitfields [2024-09-26T16:09:35.320Z] [ 88%] Built target device-bitfields [2024-09-26T16:09:35.320Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-26T16:09:35.903Z] [ 92%] Linking C executable template-discovery [2024-09-26T16:09:36.172Z] [ 92%] Built target template-discovery [2024-09-26T16:09:36.172Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-26T16:09:36.757Z] [ 96%] Linking C executable device-file [2024-09-26T16:09:37.025Z] [ 96%] Built target device-file [2024-09-26T16:09:37.025Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-26T16:09:37.621Z] [100%] Linking C executable device-terminal [2024-09-26T16:09:37.888Z] [100%] Built target device-terminal [2024-09-26T16:09:37.888Z] make: Entering directory '/tmp/sdk/build/release' [2024-09-26T16:09:38.156Z] [ 68%] Built target csdk [2024-09-26T16:09:38.156Z] [ 72%] Built target template [2024-09-26T16:09:38.156Z] [ 76%] Built target device-counter [2024-09-26T16:09:38.156Z] [ 80%] Built target device-random [2024-09-26T16:09:38.156Z] [ 84%] Built target device-gyro [2024-09-26T16:09:38.424Z] [ 88%] Built target device-bitfields [2024-09-26T16:09:38.425Z] [ 92%] Built target template-discovery [2024-09-26T16:09:38.425Z] [ 96%] Built target device-file [2024-09-26T16:09:38.425Z] [100%] Built target device-terminal [2024-09-26T16:09:38.696Z] Install the project... [2024-09-26T16:09:38.696Z] -- Install configuration: "Release" [2024-09-26T16:09:38.696Z] -- Installing: /usr/local/lib/libcsdk.so [2024-09-26T16:09:38.696Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-09-26T16:09:38.696Z] -- Installing: /usr/local/include [2024-09-26T16:09:38.696Z] -- Installing: /usr/local/include/devsdk [2024-09-26T16:09:38.696Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-09-26T16:09:38.696Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-09-26T16:09:38.696Z] -- Installing: /usr/local/include/edgex [2024-09-26T16:09:38.696Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-09-26T16:09:38.696Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-09-26T16:09:38.696Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-09-26T16:09:38.696Z] -- Installing: /usr/local/include/edgex/devices.h [2024-09-26T16:09:38.696Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-09-26T16:09:38.696Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-09-26T16:09:38.696Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-09-26T16:09:38.696Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-09-26T16:09:38.696Z] make: Leaving directory '/tmp/sdk/build/release' [2024-09-26T16:09:40.108Z] Removing intermediate container e3b2e140b00a [2024-09-26T16:09:40.108Z] ---> b0eac19a1c71 [2024-09-26T16:09:40.108Z] Step 14/22 : FROM ${BASE} [2024-09-26T16:09:40.108Z] ---> 2b552cad5dd9 [2024-09-26T16:09:40.108Z] Step 15/22 : LABEL maintainer="IOTech " [2024-09-26T16:09:40.108Z] ---> Running in 1b078d80b0eb [2024-09-26T16:09:40.379Z] Removing intermediate container 1b078d80b0eb [2024-09-26T16:09:40.379Z] ---> 2706d28f22ab [2024-09-26T16:09:40.379Z] 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 [2024-09-26T16:09:40.379Z] ---> Running in cbb3dc0747bd [2024-09-26T16:09:41.341Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-09-26T16:09:42.937Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-26T16:09:42.937Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-26T16:09:42.937Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-26T16:09:43.907Z] Removing intermediate container cbb3dc0747bd [2024-09-26T16:09:43.907Z] ---> 7b221eb177d8 [2024-09-26T16:09:43.907Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-26T16:09:43.907Z] ---> Running in 49698eb7099f [2024-09-26T16:09:45.855Z] Removing intermediate container 49698eb7099f [2024-09-26T16:09:45.855Z] ---> 3198b210f99c [2024-09-26T16:09:45.855Z] 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 [2024-09-26T16:09:45.855Z] ---> Running in b342014eed27 [2024-09-26T16:09:46.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T16:09:47.086Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-26T16:09:47.668Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T16:09:48.633Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T16:09:48.633Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) [2024-09-26T16:09:48.633Z] (2/10) Installing curl (8.9.1-r0) [2024-09-26T16:09:48.902Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) [2024-09-26T16:09:48.902Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-09-26T16:09:48.902Z] (5/10) Installing hiredis (1.1.0-r2) [2024-09-26T16:09:48.902Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-09-26T16:09:48.902Z] (7/10) Installing libcbor (0.10.2-r1) [2024-09-26T16:09:48.902Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-26T16:09:49.488Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-26T16:09:49.755Z] (10/10) Installing libuuid (2.38.1-r8) [2024-09-26T16:09:49.755Z] Executing busybox-1.36.1-r4.trigger [2024-09-26T16:09:50.024Z] OK: 328 MiB in 90 packages [2024-09-26T16:09:50.981Z] Removing intermediate container b342014eed27 [2024-09-26T16:09:50.981Z] ---> 44fa6a48da11 [2024-09-26T16:09:50.981Z] Step 19/22 : RUN apk --no-cache upgrade [2024-09-26T16:09:50.981Z] ---> Running in 7aa7fa5a33e8 [2024-09-26T16:09:51.938Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T16:09:52.205Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-26T16:09:52.788Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T16:09:53.750Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T16:09:53.750Z] Upgrading critical system libraries and apk-tools: [2024-09-26T16:09:53.750Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-09-26T16:09:53.750Z] Executing busybox-1.36.1-r4.trigger [2024-09-26T16:09:54.017Z] Continuing the upgrade transaction with new apk-tools: [2024-09-26T16:09:54.017Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T16:09:54.289Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-26T16:09:54.873Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T16:09:55.838Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T16:09:55.838Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-09-26T16:09:55.838Z] Executing busybox-1.36.1-r7.post-upgrade [2024-09-26T16:09:55.838Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-09-26T16:09:55.838Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-09-26T16:09:55.838Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-26T16:09:55.838Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-26T16:09:55.838Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-09-26T16:09:56.104Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-09-26T16:09:56.104Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) [2024-09-26T16:09:56.104Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-09-26T16:09:56.104Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) [2024-09-26T16:09:56.104Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-09-26T16:09:56.371Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-09-26T16:09:56.635Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-09-26T16:09:56.635Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-09-26T16:09:56.635Z] Executing busybox-1.36.1-r7.trigger [2024-09-26T16:09:56.635Z] Executing ca-certificates-20240226-r0.trigger [2024-09-26T16:09:56.938Z] OK: 328 MiB in 90 packages [2024-09-26T16:09:58.961Z] Removing intermediate container 7aa7fa5a33e8 [2024-09-26T16:09:58.961Z] ---> 43393251a495 [2024-09-26T16:09:58.961Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-09-26T16:09:59.231Z] ---> 8c2da7733dba [2024-09-26T16:09:59.231Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-09-26T16:09:59.835Z] ---> 71bd8f067ea1 [2024-09-26T16:09:59.835Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-09-26T16:10:00.529Z] ---> ece4b68fd4b0 [2024-09-26T16:10:00.529Z] Successfully built ece4b68fd4b0 [2024-09-26T16:10:00.529Z] 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 [2024-09-26T16:10:00.989Z] + docker inspect -f . ci-base-image-arm64 [2024-09-26T16:10:00.989Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-26T16:10:01.196Z] prd-ubuntu20.04-docker-arm64-4c-16g-11690 does not seem to be running inside a container [2024-09-26T16:10:01.359Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/77 -v /w/workspace/device-sdk-c/77:/w/workspace/device-sdk-c/77:rw,z -v /w/workspace/device-sdk-c/77@tmp:/w/workspace/device-sdk-c/77@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 [2024-09-26T16:10:02.508Z] $ docker top 1975b90faf78ef938f1a9ea2df3196a99c57a75e8d644fc97628550a81d7a9b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-26T16:10:03.349Z] + make test [2024-09-26T16:10:03.349Z] echo "make test" [2024-09-26T16:10:03.349Z] make test [Pipeline] } [2024-09-26T16:10:03.365Z] $ docker stop --time=1 1975b90faf78ef938f1a9ea2df3196a99c57a75e8d644fc97628550a81d7a9b8 [2024-09-26T16:10:05.251Z] $ docker rm -f --volumes 1975b90faf78ef938f1a9ea2df3196a99c57a75e8d644fc97628550a81d7a9b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-26T16:10:05.804Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-26T16:10:06.118Z] + ls -al . [2024-09-26T16:10:06.118Z] total 208 [2024-09-26T16:10:06.118Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 16:07 . [2024-09-26T16:10:06.118Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 16:07 .. [2024-09-26T16:10:06.118Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 16:07 .git [2024-09-26T16:10:06.118Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 16:07 .github [2024-09-26T16:10:06.118Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 26 16:07 .gitignore [2024-09-26T16:10:06.118Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 26 16:07 Attribution.txt [2024-09-26T16:10:06.118Z] -rw-rw-r-- 1 jenkins jenkins 11953 Sep 26 16:07 CHANGELOG.md [2024-09-26T16:10:06.118Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 26 16:07 Doxyfile [2024-09-26T16:10:06.118Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 16:07 GOVERNANCE.md [2024-09-26T16:10:06.118Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 26 16:07 Jenkinsfile [2024-09-26T16:10:06.118Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 26 16:07 LICENSE [2024-09-26T16:10:06.118Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 26 16:07 Makefile [2024-09-26T16:10:06.118Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 26 16:07 OWNERS.md [2024-09-26T16:10:06.118Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 26 16:07 README.IOT.md [2024-09-26T16:10:06.118Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 26 16:07 README.md [2024-09-26T16:10:06.118Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 26 16:07 README.v3.md [2024-09-26T16:10:06.118Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 26 16:03 VERSION [2024-09-26T16:10:06.118Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 16:07 docs [2024-09-26T16:10:06.118Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 16:07 include [2024-09-26T16:10:06.118Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 16:07 scripts [2024-09-26T16:10:06.118Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 16:07 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T16:10:06.473Z] + 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=de2f7dd484aed31b8929cc3252062c81ad15313f --label arch=arm64 --label version=3.0.3-dev.17 . [2024-09-26T16:10:06.741Z] Sending build context to Docker daemon 3.042MB [2024-09-26T16:10:06.741Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-09-26T16:10:06.741Z] Step 2/18 : FROM ${BASE} [2024-09-26T16:10:06.741Z] ---> ece4b68fd4b0 [2024-09-26T16:10:06.741Z] Step 3/18 : LABEL maintainer="IOTech " [2024-09-26T16:10:07.006Z] ---> Running in 0268657252bb [2024-09-26T16:10:07.271Z] Removing intermediate container 0268657252bb [2024-09-26T16:10:07.271Z] ---> 140c84d91026 [2024-09-26T16:10:07.271Z] 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 [2024-09-26T16:10:07.271Z] ---> Running in 7086f772d159 [2024-09-26T16:10:08.234Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-26T16:10:08.503Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-26T16:10:08.503Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-26T16:10:08.503Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-26T16:10:09.460Z] Removing intermediate container 7086f772d159 [2024-09-26T16:10:09.460Z] ---> f907d1b413dd [2024-09-26T16:10:09.460Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-26T16:10:09.460Z] ---> Running in c78fd35a879c [2024-09-26T16:10:10.867Z] Removing intermediate container c78fd35a879c [2024-09-26T16:10:10.867Z] ---> d69997c61e17 [2024-09-26T16:10:10.867Z] 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 [2024-09-26T16:10:10.867Z] ---> Running in c0a5aa75c236 [2024-09-26T16:10:11.821Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T16:10:12.086Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-26T16:10:12.670Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T16:10:13.645Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T16:10:13.645Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-26T16:10:13.645Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-09-26T16:10:13.913Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-09-26T16:10:13.914Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-09-26T16:10:13.914Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-09-26T16:10:13.914Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-26T16:10:13.914Z] (7/11) Installing libblkid (2.38.1-r8) [2024-09-26T16:10:13.914Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-09-26T16:10:13.914Z] (9/11) Installing libmount (2.38.1-r8) [2024-09-26T16:10:13.914Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-09-26T16:10:13.914Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-09-26T16:10:13.914Z] Executing busybox-1.36.1-r7.trigger [2024-09-26T16:10:13.914Z] OK: 334 MiB in 101 packages [2024-09-26T16:10:15.323Z] Removing intermediate container c0a5aa75c236 [2024-09-26T16:10:15.323Z] ---> 6858f293cb15 [2024-09-26T16:10:15.323Z] Step 7/18 : RUN apk --no-cache upgrade [2024-09-26T16:10:15.323Z] ---> Running in 05dbcb90d6f9 [2024-09-26T16:10:16.285Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T16:10:16.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-26T16:10:17.140Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T16:10:18.100Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T16:10:18.100Z] OK: 334 MiB in 101 packages [2024-09-26T16:10:18.679Z] Removing intermediate container 05dbcb90d6f9 [2024-09-26T16:10:18.679Z] ---> aa0388c0622c [2024-09-26T16:10:18.679Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-09-26T16:10:19.259Z] ---> 897c1ad48cae [2024-09-26T16:10:19.259Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-09-26T16:10:19.847Z] ---> 68fcefa04496 [2024-09-26T16:10:19.847Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-09-26T16:10:20.427Z] ---> 2bbd1a8d56f6 [2024-09-26T16:10:20.427Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-09-26T16:10:21.006Z] ---> 6cfcfcaea188 [2024-09-26T16:10:21.006Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-09-26T16:10:21.272Z] ---> efca6da8781a [2024-09-26T16:10:21.272Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-09-26T16:10:21.853Z] ---> 55c9f02062ec [2024-09-26T16:10:21.853Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-09-26T16:10:21.853Z] ---> Running in 646aca53d51a [2024-09-26T16:10:22.432Z] Removing intermediate container 646aca53d51a [2024-09-26T16:10:22.432Z] ---> b273d9121618 [2024-09-26T16:10:22.432Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-09-26T16:10:22.432Z] ---> Running in 9aa8c5121a35 [2024-09-26T16:10:22.696Z] Removing intermediate container 9aa8c5121a35 [2024-09-26T16:10:22.696Z] ---> a8bcdacab062 [2024-09-26T16:10:22.696Z] Step 16/18 : LABEL arch=arm64 [2024-09-26T16:10:22.696Z] ---> Running in de8d74f8411c [2024-09-26T16:10:22.961Z] Removing intermediate container de8d74f8411c [2024-09-26T16:10:22.961Z] ---> c14017966cc2 [2024-09-26T16:10:22.961Z] Step 17/18 : LABEL git_sha=de2f7dd484aed31b8929cc3252062c81ad15313f [2024-09-26T16:10:22.961Z] ---> Running in 589bff499bf7 [2024-09-26T16:10:23.228Z] Removing intermediate container 589bff499bf7 [2024-09-26T16:10:23.228Z] ---> 645ef8d052fd [2024-09-26T16:10:23.228Z] Step 18/18 : LABEL version=3.0.3-dev.17 [2024-09-26T16:10:23.494Z] ---> Running in b7ce39c98251 [2024-09-26T16:10:23.761Z] Removing intermediate container b7ce39c98251 [2024-09-26T16:10:23.761Z] ---> f9e27a7f7dc9 [2024-09-26T16:10:23.761Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-09-26T16:10:23.761Z] Successfully built f9e27a7f7dc9 [2024-09-26T16:10:23.761Z] 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 [2024-09-26T16:10:24.231Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-26T16:10:24.231Z] [2024-09-26T16:10:24.231Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T16:10:24.562Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-26T16:10:24.831Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-26T16:10:24.831Z] 8998bd30e6a1: Pulling fs layer [2024-09-26T16:10:24.831Z] 04944245beec: Pulling fs layer [2024-09-26T16:10:24.831Z] 699f458cf7ca: Pulling fs layer [2024-09-26T16:10:24.831Z] 765212b225bb: Pulling fs layer [2024-09-26T16:10:24.831Z] f23df028b6ca: Pulling fs layer [2024-09-26T16:10:24.831Z] d65c8cfc05b1: Pulling fs layer [2024-09-26T16:10:24.831Z] 2437ff75d9bd: Pulling fs layer [2024-09-26T16:10:24.831Z] 765212b225bb: Waiting [2024-09-26T16:10:24.831Z] f23df028b6ca: Waiting [2024-09-26T16:10:24.831Z] d65c8cfc05b1: Waiting [2024-09-26T16:10:24.831Z] 2437ff75d9bd: Waiting [2024-09-26T16:10:24.831Z] 04944245beec: Verifying Checksum [2024-09-26T16:10:24.831Z] 04944245beec: Download complete [2024-09-26T16:10:24.831Z] 765212b225bb: Verifying Checksum [2024-09-26T16:10:24.831Z] 765212b225bb: Download complete [2024-09-26T16:10:25.102Z] f23df028b6ca: Verifying Checksum [2024-09-26T16:10:25.102Z] f23df028b6ca: Download complete [2024-09-26T16:10:25.102Z] d65c8cfc05b1: Verifying Checksum [2024-09-26T16:10:25.102Z] d65c8cfc05b1: Download complete [2024-09-26T16:10:25.102Z] 699f458cf7ca: Verifying Checksum [2024-09-26T16:10:25.102Z] 699f458cf7ca: Download complete [2024-09-26T16:10:25.688Z] 8998bd30e6a1: Verifying Checksum [2024-09-26T16:10:25.688Z] 8998bd30e6a1: Download complete [2024-09-26T16:10:28.273Z] 2437ff75d9bd: Verifying Checksum [2024-09-26T16:10:28.273Z] 2437ff75d9bd: Download complete [2024-09-26T16:10:29.681Z] 8998bd30e6a1: Pull complete [2024-09-26T16:10:30.266Z] 04944245beec: Pull complete [2024-09-26T16:10:32.210Z] 699f458cf7ca: Pull complete [2024-09-26T16:10:32.210Z] 765212b225bb: Pull complete [2024-09-26T16:10:33.165Z] f23df028b6ca: Pull complete [2024-09-26T16:10:33.165Z] d65c8cfc05b1: Pull complete [2024-09-26T16:10:51.352Z] 2437ff75d9bd: Pull complete [2024-09-26T16:10:51.352Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-26T16:10:51.352Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-26T16:10:51.352Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-26T16:10:51.557Z] prd-ubuntu20.04-docker-arm64-4c-16g-11690 does not seem to be running inside a container [2024-09-26T16:10:51.616Z] $ 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/77 -v /w/workspace/device-sdk-c/77:/w/workspace/device-sdk-c/77:rw,z -v /w/workspace/device-sdk-c/77@tmp:/w/workspace/device-sdk-c/77@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 [2024-09-26T16:10:54.165Z] $ docker top 5399cdceb75145a58572293ba31b5da9e95d2dd39c78ab3573c0abc290742cb9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-26T16:10:55.016Z] ---> job-cost.sh [2024-09-26T16:10:55.016Z] lf-activate-venv: SKIPPING [2024-09-26T16:10:55.016Z] INFO: No Stack... [2024-09-26T16:10:55.598Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-26T16:10:56.181Z] INFO: Archiving Costs [Pipeline] sh [2024-09-26T16:10:56.819Z] + cat /w/workspace/device-sdk-c/77/archives/cost.csv [2024-09-26T16:10:56.819Z] + cut -d, -f6 [Pipeline] lock [2024-09-26T16:10:56.880Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-77-stack-cost] [2024-09-26T16:10:56.889Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-77-stack-cost] did not exist. Created. [2024-09-26T16:10:56.898Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-77-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-26T16:10:57.566Z] /w/workspace/device-sdk-c/77@tmp/durable-51af8ebf/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-26T16:10:58.209Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-26T16:10:58.236Z] Warning: overwriting stash ‘stack-cost’ [2024-09-26T16:10:58.843Z] Stashed 1 file(s) [Pipeline] } [2024-09-26T16:10:58.855Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-77-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-26T16:10:58.880Z] $ docker stop --time=1 5399cdceb75145a58572293ba31b5da9e95d2dd39c78ab3573c0abc290742cb9 [2024-09-26T16:11:00.429Z] $ docker rm -f --volumes 5399cdceb75145a58572293ba31b5da9e95d2dd39c78ab3573c0abc290742cb9 [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 [2024-09-26T16:11:01.162Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-26T16:11:01.163Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T16:11:01.466Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-26T16:11:01.466Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-26T16:11:01.546Z] prd-ubuntu20.04-docker-8c-8g-11686 does not seem to be running inside a container [2024-09-26T16:11:01.577Z] $ 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 [2024-09-26T16:11:01.882Z] $ docker top f2a3caeee12565ba6a98f1ec275961ff194f8623c260d3ff7c144078e578dfa7 -eo pid,comm [2024-09-26T16:11:01.932Z] 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). [2024-09-26T16:11:01.932Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-26T16:11:01.990Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-26T16:11:01.990Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-26T16:11:02.104Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-26T16:11:02.102Z] $ docker exec f2a3caeee12565ba6a98f1ec275961ff194f8623c260d3ff7c144078e578dfa7 ssh-agent [2024-09-26T16:11:02.210Z] SSH_AUTH_SOCK=/tmp/ssh-fq4ab0Jra4Zy/agent.34 [2024-09-26T16:11:02.210Z] SSH_AGENT_PID=41 [2024-09-26T16:11:02.215Z] Running ssh-add (command line suppressed) [2024-09-26T16:11:02.319Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6090464510305728543.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6090464510305728543.key) [2024-09-26T16:11:02.340Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-26T16:11:02.634Z] + git semver tag [2024-09-26T16:11:02.894Z] 2024-09-26 16:11:02,809 [run_tag] DEBUG tag force:False [2024-09-26T16:11:02.894Z] 2024-09-26 16:11:02,810 [check_head_tag] DEBUG check head tag [2024-09-26T16:11:02.894Z] 2024-09-26 16:11:02,811 [execute] INFO git cat-file --batch-check [2024-09-26T16:11:02.894Z] 2024-09-26 16:11:02,811 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-09-26T16:11:02.894Z] 2024-09-26 16:11:02,815 [execute] INFO git cat-file --batch [2024-09-26T16:11:02.894Z] 2024-09-26 16:11:02,815 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-09-26T16:11:02.894Z] 2024-09-26 16:11:02,828 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-09-26T16:11:02.894Z] 2024-09-26 16:11:02,829 [execute] INFO git tag -a v3.0.3-dev.17 -m v3.0.3-dev.17 [2024-09-26T16:11:02.894Z] 2024-09-26 16:11:02,829 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.3-dev.17', '-m', 'v3.0.3-dev.17'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-09-26T16:11:02.894Z] 2024-09-26 16:11:02,834 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-09-26T16:11:02.894Z] 3.0.3-dev.17 [Pipeline] } [2024-09-26T16:11:02.900Z] $ docker exec --env ******** --env ******** f2a3caeee12565ba6a98f1ec275961ff194f8623c260d3ff7c144078e578dfa7 ssh-agent -k [2024-09-26T16:11:02.991Z] unset SSH_AUTH_SOCK; [2024-09-26T16:11:02.992Z] unset SSH_AGENT_PID; [2024-09-26T16:11:02.992Z] echo Agent pid 41 killed; [2024-09-26T16:11:03.005Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-26T16:11:03.332Z] + git semver [Pipeline] } [2024-09-26T16:11:03.601Z] $ docker stop --time=1 f2a3caeee12565ba6a98f1ec275961ff194f8623c260d3ff7c144078e578dfa7 [2024-09-26T16:11:04.865Z] $ docker rm -f --volumes f2a3caeee12565ba6a98f1ec275961ff194f8623c260d3ff7c144078e578dfa7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T16:11:05.289Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-09-26T16:11:05.289Z] [2024-09-26T16:11:05.289Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T16:11:05.591Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-09-26T16:11:05.591Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-09-26T16:11:05.591Z] ab5ef0e58194: Pulling fs layer [2024-09-26T16:11:05.591Z] 9712f1f96733: Pulling fs layer [2024-09-26T16:11:05.591Z] 63f879dbbcfc: Pulling fs layer [2024-09-26T16:11:05.591Z] 0d9ebad4ef96: Pulling fs layer [2024-09-26T16:11:05.591Z] e9a5061849ea: Pulling fs layer [2024-09-26T16:11:05.591Z] d747dcd14b5f: Pulling fs layer [2024-09-26T16:11:05.591Z] 2de7ff778b66: Pulling fs layer [2024-09-26T16:11:05.591Z] 0d9ebad4ef96: Waiting [2024-09-26T16:11:05.591Z] e9a5061849ea: Waiting [2024-09-26T16:11:05.591Z] d747dcd14b5f: Waiting [2024-09-26T16:11:05.592Z] 2de7ff778b66: Waiting [2024-09-26T16:11:05.592Z] 9712f1f96733: Download complete [2024-09-26T16:11:05.849Z] 63f879dbbcfc: Verifying Checksum [2024-09-26T16:11:05.849Z] 63f879dbbcfc: Download complete [2024-09-26T16:11:06.107Z] 0d9ebad4ef96: Verifying Checksum [2024-09-26T16:11:06.107Z] 0d9ebad4ef96: Download complete [2024-09-26T16:11:06.107Z] d747dcd14b5f: Verifying Checksum [2024-09-26T16:11:06.107Z] d747dcd14b5f: Download complete [2024-09-26T16:11:06.107Z] e9a5061849ea: Verifying Checksum [2024-09-26T16:11:06.107Z] e9a5061849ea: Download complete [2024-09-26T16:11:06.107Z] ab5ef0e58194: Verifying Checksum [2024-09-26T16:11:06.107Z] ab5ef0e58194: Download complete [2024-09-26T16:11:06.107Z] 2de7ff778b66: Verifying Checksum [2024-09-26T16:11:06.107Z] 2de7ff778b66: Download complete [2024-09-26T16:11:08.638Z] ab5ef0e58194: Pull complete [2024-09-26T16:11:08.638Z] 9712f1f96733: Pull complete [2024-09-26T16:11:09.205Z] 63f879dbbcfc: Pull complete [2024-09-26T16:11:12.487Z] 0d9ebad4ef96: Pull complete [2024-09-26T16:11:12.745Z] e9a5061849ea: Pull complete [2024-09-26T16:11:12.745Z] d747dcd14b5f: Pull complete [2024-09-26T16:11:13.680Z] 2de7ff778b66: Pull complete [2024-09-26T16:11:13.680Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-09-26T16:11:13.680Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-09-26T16:11:13.680Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-26T16:11:13.782Z] prd-ubuntu20.04-docker-8c-8g-11686 does not seem to be running inside a container [2024-09-26T16:11:13.811Z] $ 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 [2024-09-26T16:11:15.696Z] $ docker top 214d62765723b7a87e60b0d1498a12c5710a0fda8f03621fdc8a3bcddc721659 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-09-26T16:11:15.781Z] provisioning config files... [2024-09-26T16:11:15.788Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1535145767046847645tmp [2024-09-26T16:11:15.797Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2743202405726314932tmp [2024-09-26T16:11:15.805Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config11575703151910258258tmp [Pipeline] { [Pipeline] echo [2024-09-26T16:11:15.833Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-26T16:11:16.130Z] ---> sigul-configuration.sh [2024-09-26T16:11:16.130Z] gpg: directory `/root/.gnupg' created [2024-09-26T16:11:16.130Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-09-26T16:11:16.130Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-09-26T16:11:16.130Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-09-26T16:11:16.130Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-09-26T16:11:16.130Z] gpg: CAST5 encrypted data [2024-09-26T16:11:16.130Z] gpg: encrypted with 1 passphrase [2024-09-26T16:11:16.130Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-09-26T16:11:16.424Z] + mkdir /home/jenkins [2024-09-26T16:11:16.424Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-09-26T16:11:16.721Z] + 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 [2024-09-26T16:11:16.734Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-26T16:11:17.027Z] ---> sigul-install.sh [2024-09-26T16:11:17.027Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-09-26T16:11:17.323Z] + git tag --list [2024-09-26T16:11:17.323Z] 0.7.0 [2024-09-26T16:11:17.323Z] 0.7.1 [2024-09-26T16:11:17.323Z] 1.0.0 [2024-09-26T16:11:17.323Z] v1.0.1 [2024-09-26T16:11:17.323Z] v1.0.2 [2024-09-26T16:11:17.323Z] v1.0.3 [2024-09-26T16:11:17.323Z] v1.1.0 [2024-09-26T16:11:17.323Z] v1.1.1 [2024-09-26T16:11:17.323Z] v1.2.0 [2024-09-26T16:11:17.323Z] v1.2.1 [2024-09-26T16:11:17.323Z] v1.2.2 [2024-09-26T16:11:17.323Z] v1.3.0 [2024-09-26T16:11:17.323Z] v1.3.1 [2024-09-26T16:11:17.323Z] v2.0.0 [2024-09-26T16:11:17.323Z] v2.1.0 [2024-09-26T16:11:17.323Z] v2.2.0 [2024-09-26T16:11:17.323Z] v2.3.0 [2024-09-26T16:11:17.323Z] v3.0 [2024-09-26T16:11:17.323Z] v3.0.0 [2024-09-26T16:11:17.323Z] v3.0.1 [2024-09-26T16:11:17.323Z] v3.0.2 [2024-09-26T16:11:17.323Z] v3.0.3-dev.1 [2024-09-26T16:11:17.323Z] v3.0.3-dev.10 [2024-09-26T16:11:17.323Z] v3.0.3-dev.11 [2024-09-26T16:11:17.323Z] v3.0.3-dev.12 [2024-09-26T16:11:17.323Z] v3.0.3-dev.13 [2024-09-26T16:11:17.323Z] v3.0.3-dev.14 [2024-09-26T16:11:17.323Z] v3.0.3-dev.15 [2024-09-26T16:11:17.323Z] v3.0.3-dev.16 [2024-09-26T16:11:17.323Z] v3.0.3-dev.17 [2024-09-26T16:11:17.323Z] v3.0.3-dev.2 [2024-09-26T16:11:17.323Z] v3.0.3-dev.3 [2024-09-26T16:11:17.323Z] v3.0.3-dev.4 [2024-09-26T16:11:17.323Z] v3.0.3-dev.5 [2024-09-26T16:11:17.323Z] v3.0.3-dev.6 [2024-09-26T16:11:17.323Z] v3.0.3-dev.7 [2024-09-26T16:11:17.323Z] v3.0.3-dev.8 [2024-09-26T16:11:17.323Z] v3.0.3-dev.9 [2024-09-26T16:11:17.323Z] v3.1 [2024-09-26T16:11:17.323Z] v3.1.0 [2024-09-26T16:11:17.323Z] v3.1.0-dev.1 [2024-09-26T16:11:17.323Z] v3.1.0-dev.2 [2024-09-26T16:11:17.323Z] v3.1.0-dev.3 [2024-09-26T16:11:17.323Z] v3.1.0-dev.4 [2024-09-26T16:11:17.323Z] v3.1.0-dev.5 [2024-09-26T16:11:17.323Z] v3.1.0-dev.6 [2024-09-26T16:11:17.323Z] v3.1.0-dev.7 [2024-09-26T16:11:17.323Z] v3.1.0-dev.8 [2024-09-26T16:11:17.323Z] v3.1.0-dev.9 [2024-09-26T16:11:17.323Z] v3.1.1 [2024-09-26T16:11:17.323Z] v3.1.1-dev.1 [Pipeline] sh [2024-09-26T16:11:17.621Z] + lftools sign git-tag v3.0.3-dev.17 [2024-09-26T16:11:18.189Z] Signing Git tag with Sigul... [2024-09-26T16:11:18.189Z] Signing v3.0.3-dev.17 [Pipeline] echo [2024-09-26T16:11:18.461Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-26T16:11:18.750Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-09-26T16:11:18.757Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-09-26T16:11:18.779Z] $ docker stop --time=1 214d62765723b7a87e60b0d1498a12c5710a0fda8f03621fdc8a3bcddc721659 [2024-09-26T16:11:20.101Z] $ docker rm -f --volumes 214d62765723b7a87e60b0d1498a12c5710a0fda8f03621fdc8a3bcddc721659 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-09-26T16:11:20.509Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-26T16:11:20.509Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T16:11:20.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-26T16:11:20.853Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-26T16:11:20.971Z] prd-ubuntu20.04-docker-8c-8g-11686 does not seem to be running inside a container [2024-09-26T16:11:21.010Z] $ 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 [2024-09-26T16:11:21.373Z] $ docker top 4fe8bb578a0022888655f740e0d326eaa4d1eb10f0bf6e393635c31cbd4b70fc -eo pid,comm [2024-09-26T16:11:21.425Z] 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). [2024-09-26T16:11:21.425Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-26T16:11:21.471Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-26T16:11:21.471Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-26T16:11:21.588Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-26T16:11:21.586Z] $ docker exec 4fe8bb578a0022888655f740e0d326eaa4d1eb10f0bf6e393635c31cbd4b70fc ssh-agent [2024-09-26T16:11:21.699Z] SSH_AUTH_SOCK=/tmp/ssh-nYluSvdy5cpB/agent.30 [2024-09-26T16:11:21.699Z] SSH_AGENT_PID=36 [2024-09-26T16:11:21.703Z] Running ssh-add (command line suppressed) [2024-09-26T16:11:21.804Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6769411031617369814.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6769411031617369814.key) [2024-09-26T16:11:21.822Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-26T16:11:22.119Z] + git semver bump pre [2024-09-26T16:11:22.379Z] 2024-09-26 16:11:22,299 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-09-26T16:11:22.379Z] 2024-09-26 16:11:22,299 [bump_version] DEBUG bumping version:3.0.3-dev.17 on axis:pre with prefix:dev [2024-09-26T16:11:22.379Z] 2024-09-26 16:11:22,299 [bump_version] DEBUG bumped version:3.0.3-dev.18 [2024-09-26T16:11:22.379Z] 2024-09-26 16:11:22,299 [write_version] DEBUG write version:3.0.3-dev.18 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2024-09-26T16:11:22.379Z] 2024-09-26 16:11:22,299 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-09-26T16:11:22.379Z] 2024-09-26 16:11:22,299 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-09-26T16:11:22.379Z] 2024-09-26 16:11:22,301 [execute] INFO git cat-file --batch-check [2024-09-26T16:11:22.379Z] 2024-09-26 16:11:22,301 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-09-26T16:11:22.379Z] 2024-09-26 16:11:22,309 [execute] INFO git cat-file --batch [2024-09-26T16:11:22.379Z] 2024-09-26 16:11:22,309 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-09-26T16:11:22.379Z] 2024-09-26 16:11:22,315 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-09-26T16:11:22.379Z] 3.0.3-dev.18 [Pipeline] } [2024-09-26T16:11:22.385Z] $ docker exec --env ******** --env ******** 4fe8bb578a0022888655f740e0d326eaa4d1eb10f0bf6e393635c31cbd4b70fc ssh-agent -k [2024-09-26T16:11:22.494Z] unset SSH_AUTH_SOCK; [2024-09-26T16:11:22.496Z] unset SSH_AGENT_PID; [2024-09-26T16:11:22.496Z] echo Agent pid 36 killed; [2024-09-26T16:11:22.507Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-26T16:11:22.829Z] + git semver [Pipeline] } [2024-09-26T16:11:23.096Z] $ docker stop --time=1 4fe8bb578a0022888655f740e0d326eaa4d1eb10f0bf6e393635c31cbd4b70fc [2024-09-26T16:11:24.375Z] $ docker rm -f --volumes 4fe8bb578a0022888655f740e0d326eaa4d1eb10f0bf6e393635c31cbd4b70fc [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-26T16:11:24.726Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-26T16:11:24.726Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T16:11:25.031Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-26T16:11:25.032Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-26T16:11:25.114Z] prd-ubuntu20.04-docker-8c-8g-11686 does not seem to be running inside a container [2024-09-26T16:11:25.141Z] $ 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 [2024-09-26T16:11:25.487Z] $ docker top 0192982d808f7c52257370d3d2851d77b68bf7d0b26b04863dfad913ad53fea1 -eo pid,comm [2024-09-26T16:11:25.538Z] 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). [2024-09-26T16:11:25.538Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-26T16:11:25.588Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-26T16:11:25.588Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-26T16:11:25.701Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-26T16:11:25.699Z] $ docker exec 0192982d808f7c52257370d3d2851d77b68bf7d0b26b04863dfad913ad53fea1 ssh-agent [2024-09-26T16:11:25.824Z] SSH_AUTH_SOCK=/tmp/ssh-QYtn4mq4wydi/agent.32 [2024-09-26T16:11:25.824Z] SSH_AGENT_PID=38 [2024-09-26T16:11:25.828Z] Running ssh-add (command line suppressed) [2024-09-26T16:11:25.926Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15559171169468516565.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15559171169468516565.key) [2024-09-26T16:11:25.945Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-26T16:11:26.233Z] + git semver push [2024-09-26T16:11:26.492Z] 2024-09-26 16:11:26,416 [run_push] DEBUG push [2024-09-26T16:11:26.492Z] 2024-09-26 16:11:26,417 [execute] INFO git cat-file --batch-check [2024-09-26T16:11:26.492Z] 2024-09-26 16:11:26,417 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-09-26T16:11:26.492Z] 2024-09-26 16:11:26,422 [execute] INFO git rev-list 5593f570b1c1a622daf79a0f205d2f8747fd0942 -- [2024-09-26T16:11:26.493Z] 2024-09-26 16:11:26,422 [execute] DEBUG Popen(['git', 'rev-list', '5593f570b1c1a622daf79a0f205d2f8747fd0942', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-09-26T16:11:26.493Z] 2024-09-26 16:11:26,431 [execute] INFO git fetch -v origin [2024-09-26T16:11:26.493Z] 2024-09-26 16:11:26,431 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-09-26T16:11:27.061Z] 2024-09-26 16:11:26,892 [run_push] DEBUG no remote changes detected [2024-09-26T16:11:27.061Z] 2024-09-26 16:11:26,892 [execute] INFO git push origin semver [2024-09-26T16:11:27.061Z] 2024-09-26 16:11:26,893 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-09-26T16:11:27.629Z] 2024-09-26 16:11:27,570 [run_push] DEBUG push all version tags [2024-09-26T16:11:27.629Z] 2024-09-26 16:11:27,570 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-09-26T16:11:27.629Z] 2024-09-26 16:11:27,571 [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) [2024-09-26T16:11:28.566Z] 2024-09-26 16:11:28,242 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-09-26T16:11:28.566Z] 3.0.3-dev.18 [Pipeline] } [2024-09-26T16:11:28.571Z] $ docker exec --env ******** --env ******** 0192982d808f7c52257370d3d2851d77b68bf7d0b26b04863dfad913ad53fea1 ssh-agent -k [2024-09-26T16:11:28.673Z] unset SSH_AUTH_SOCK; [2024-09-26T16:11:28.673Z] unset SSH_AGENT_PID; [2024-09-26T16:11:28.673Z] echo Agent pid 38 killed; [2024-09-26T16:11:28.686Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-26T16:11:29.002Z] + git semver [Pipeline] } [2024-09-26T16:11:29.268Z] $ docker stop --time=1 0192982d808f7c52257370d3d2851d77b68bf7d0b26b04863dfad913ad53fea1 [2024-09-26T16:11:30.543Z] $ docker rm -f --volumes 0192982d808f7c52257370d3d2851d77b68bf7d0b26b04863dfad913ad53fea1 [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 [2024-09-26T16:11:31.043Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2024-09-26T16:11:31.043Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-09-26T16:11:31.043Z] total 16 [2024-09-26T16:11:31.043Z] drwxr-xr-x 3 root root 4096 Sep 26 16:04 . [2024-09-26T16:11:31.043Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 16:11 .. [2024-09-26T16:11:31.043Z] drwxr-xr-x 2 root root 4096 Sep 26 16:04 cost [2024-09-26T16:11:31.043Z] -rw-r--r-- 1 root root 83 Sep 26 16:04 cost.csv [2024-09-26T16:11:31.043Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-09-26T16:11:31.043Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-09-26T16:11:31.043Z] total 16 [2024-09-26T16:11:31.043Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 16:04 . [2024-09-26T16:11:31.043Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 16:11 .. [2024-09-26T16:11:31.043Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 16:04 cost [2024-09-26T16:11:31.043Z] -rw-r--r-- 1 jenkins jenkins 83 Sep 26 16:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-26T16:11:31.335Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-26T16:11:32.192Z] ---> package-listing.sh [2024-09-26T16:11:32.192Z] ++ facter osfamily [2024-09-26T16:11:32.193Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-26T16:11:32.453Z] + OS_FAMILY=debian [2024-09-26T16:11:32.453Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2024-09-26T16:11:32.453Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-26T16:11:32.453Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-26T16:11:32.453Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-26T16:11:32.453Z] + PACKAGES=/tmp/packages_start.txt [2024-09-26T16:11:32.453Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-09-26T16:11:32.453Z] + PACKAGES=/tmp/packages_end.txt [2024-09-26T16:11:32.453Z] + case "${OS_FAMILY}" in [2024-09-26T16:11:32.453Z] + dpkg -l [2024-09-26T16:11:32.453Z] + grep '^ii' [2024-09-26T16:11:32.453Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-26T16:11:32.453Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-26T16:11:32.453Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-26T16:11:32.453Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-09-26T16:11:32.453Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2024-09-26T16:11:32.453Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo [2024-09-26T16:11:32.465Z] 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 [2024-09-26T16:11:32.742Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T16:11:33.311Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-26T16:11:33.311Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-26T16:11:33.387Z] prd-ubuntu20.04-docker-8c-8g-11686 does not seem to be running inside a container [2024-09-26T16:11:33.413Z] $ 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 [2024-09-26T16:11:33.600Z] $ docker top 3dd54fcb79bb77c03b05874ee911a94357e4cc3b5b1633a3d7682624eb52bdf1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-26T16:11:33.957Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-26T16:11:34.243Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-26T16:11:34.532Z] + ls /var/log/sa-host [2024-09-26T16:11:34.532Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-26T16:11:34.620Z] provisioning config files... [2024-09-26T16:11:34.631Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config7121434742024943237tmp [Pipeline] { [Pipeline] echo [2024-09-26T16:11:34.654Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-26T16:11:34.936Z] ---> create-netrc.sh [Pipeline] } [2024-09-26T16:11:34.943Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-26T16:11:35.290Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-26T16:11:35.299Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-26T16:11:35.581Z] ---> sudo-logs.sh [2024-09-26T16:11:35.581Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-26T16:11:35.613Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-26T16:11:35.892Z] ---> job-cost.sh [2024-09-26T16:11:35.892Z] lf-activate-venv: SKIPPING [2024-09-26T16:11:35.892Z] DEBUG: total: 0.2199999988079071 [2024-09-26T16:11:35.892Z] INFO: Retrieving Stack Cost... [2024-09-26T16:11:36.151Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-26T16:11:36.411Z] INFO: Archiving Costs [Pipeline] echo [2024-09-26T16:11:36.427Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-26T16:11:36.710Z] ---> logs-deploy.sh [2024-09-26T16:11:36.710Z] lf-activate-venv: SKIPPING [2024-09-26T16:11:36.710Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/77 [2024-09-26T16:11:36.710Z] INFO: archiving workspace using pattern(s): [2024-09-26T16:11:37.649Z] Archives upload complete. [2024-09-26T16:11:37.649Z] INFO: archiving logs to Nexus