Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 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-ssh1902605923449194201.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14573024315078694725.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2100566231462297854.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7329090749371387221.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-ssh8066253013987965445.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-23669’ is offline Running on prd-ubuntu20.04-docker-8c-8g-23670 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 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 (main) Commit message: "fix: Only 20 devices end up in devmap (#555) (#518)" > 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 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 # timeout=10 > git rev-list --no-walk de2f7dd484aed31b8929cc3252062c81ad15313f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-24T06:02:46.731Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-24T06:02:46.792Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-24T06:02:46.821Z] ========================================================= [2024-10-24T06:02:46.822Z] EdgeX Global Pipelines Version Info [2024-10-24T06:02:46.822Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-24T06:02:47.595Z] ------------------- [2024-10-24T06:02:47.595Z] stable info: [2024-10-24T06:02:47.595Z] ------------------- [2024-10-24T06:02:47.595Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-24T06:02:47.595Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-24T06:02:47.595Z] Message: update stable to v1.0.265 [2024-10-24T06:02:48.179Z] ------------------- [2024-10-24T06:02:48.179Z] experimental info: [2024-10-24T06:02:48.179Z] ------------------- [2024-10-24T06:02:48.179Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-24T06:02:48.179Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-24T06:02:48.179Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-24T06:02:48.249Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-10-24T06:02:48.272Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-10-24T06:02:48.293Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-24T06:02:48.315Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-24T06:02:48.339Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-24T06:02:48.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-10-24T06:02:48.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-10-24T06:02:48.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-24T06:02:48.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-24T06:02:48.439Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-10-24T06:02:48.458Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-24T06:02:48.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-24T06:02:48.501Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-24T06:02:48.527Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-24T06:02:48.551Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-24T06:02:48.572Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-24T06:02:48.596Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-24T06:02:48.623Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-10-24T06:02:48.648Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-10-24T06:02:48.670Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-10-24T06:02:48.693Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 [Pipeline] echo [2024-10-24T06:02:48.711Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6bae00d [Pipeline] echo [2024-10-24T06:02:48.727Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-24T06:02:48.793Z] provisioning config files... [2024-10-24T06:02:48.809Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config13556171232079243364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-24T06:02:49.169Z] ---> ****-login.sh [2024-10-24T06:02:49.169Z] nexus3.edgexfoundry.org:10001 [2024-10-24T06:02:49.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T06:02:49.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T06:02:49.466Z] Configure a credential helper to remove this warning. See [2024-10-24T06:02:49.466Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T06:02:49.466Z] [2024-10-24T06:02:49.467Z] Login Succeeded [2024-10-24T06:02:49.467Z] nexus3.edgexfoundry.org:10002 [2024-10-24T06:02:49.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T06:02:49.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T06:02:49.467Z] Configure a credential helper to remove this warning. See [2024-10-24T06:02:49.467Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T06:02:49.467Z] [2024-10-24T06:02:49.467Z] Login Succeeded [2024-10-24T06:02:49.467Z] nexus3.edgexfoundry.org:10003 [2024-10-24T06:02:49.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T06:02:49.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T06:02:49.726Z] Configure a credential helper to remove this warning. See [2024-10-24T06:02:49.726Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T06:02:49.726Z] [2024-10-24T06:02:49.726Z] Login Succeeded [2024-10-24T06:02:49.726Z] nexus3.edgexfoundry.org:10004 [2024-10-24T06:02:49.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T06:02:49.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T06:02:49.726Z] Configure a credential helper to remove this warning. See [2024-10-24T06:02:49.726Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T06:02:49.726Z] [2024-10-24T06:02:49.726Z] Login Succeeded [2024-10-24T06:02:49.726Z] ****.io [2024-10-24T06:02:49.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T06:02:49.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T06:02:49.987Z] Configure a credential helper to remove this warning. See [2024-10-24T06:02:49.987Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T06:02:49.987Z] [2024-10-24T06:02:49.987Z] Login Succeeded [2024-10-24T06:02:49.987Z] ---> ****-login.sh ends [Pipeline] } [2024-10-24T06:02:49.995Z] 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-10-24T06:02:50.398Z] + git rev-list -1 --merges 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678~1..6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 [Pipeline] echo [2024-10-24T06:02:50.430Z] -----------> git rev-list -1 --merges 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678~1..6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 [false] [Pipeline] sh [2024-10-24T06:02:50.726Z] + git log --format=format:%s -1 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 [Pipeline] echo [2024-10-24T06:02:50.742Z] ========================================================= [2024-10-24T06:02:50.742Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-24T06:02:50.742Z] ========================================================= 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-10-24T06:02:51.176Z] + git rev-list -1 --merges 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678~1..6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 [Pipeline] echo [2024-10-24T06:02:51.188Z] -----------> git rev-list -1 --merges 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678~1..6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 [false] [Pipeline] sh [2024-10-24T06:02:51.479Z] + git log --format=format:%s -1 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 [Pipeline] echo [2024-10-24T06:02:51.497Z] ========================================================= [2024-10-24T06:02:51.497Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-24T06:02:51.497Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-10-24T06:02:51.890Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-24T06:02:51.890Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-24T06:02:51.890Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-24T06:02:51.890Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-24T06:02:51.890Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-24T06:02:51.890Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-24T06:02:51.890Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-24T06:02:52.250Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-24T06:02:52.250Z] [2024-10-24T06:02:52.250Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-24T06:02:52.587Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-24T06:02:52.587Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-24T06:02:52.587Z] b85a868b505f: Pulling fs layer [2024-10-24T06:02:52.587Z] e2be974225ed: Pulling fs layer [2024-10-24T06:02:52.587Z] 339a4e72a1f5: Pulling fs layer [2024-10-24T06:02:52.587Z] 988bab9f4d93: Pulling fs layer [2024-10-24T06:02:52.587Z] 1469e6f7b9e6: Pulling fs layer [2024-10-24T06:02:52.587Z] eaf3925da568: Pulling fs layer [2024-10-24T06:02:52.587Z] bab4dde63d76: Pulling fs layer [2024-10-24T06:02:52.587Z] bde34c3a00c8: Pulling fs layer [2024-10-24T06:02:52.587Z] b352a97aabf1: Pulling fs layer [2024-10-24T06:02:52.587Z] 4872d77fe225: Pulling fs layer [2024-10-24T06:02:52.587Z] 5851b861e8e6: Pulling fs layer [2024-10-24T06:02:52.587Z] eaf3925da568: Waiting [2024-10-24T06:02:52.587Z] bab4dde63d76: Waiting [2024-10-24T06:02:52.587Z] bde34c3a00c8: Waiting [2024-10-24T06:02:52.587Z] b352a97aabf1: Waiting [2024-10-24T06:02:52.587Z] 4872d77fe225: Waiting [2024-10-24T06:02:52.587Z] 5851b861e8e6: Waiting [2024-10-24T06:02:52.587Z] 988bab9f4d93: Waiting [2024-10-24T06:02:52.587Z] 1469e6f7b9e6: Waiting [2024-10-24T06:02:52.587Z] e2be974225ed: Verifying Checksum [2024-10-24T06:02:52.587Z] e2be974225ed: Download complete [2024-10-24T06:02:52.587Z] 988bab9f4d93: Verifying Checksum [2024-10-24T06:02:52.587Z] 988bab9f4d93: Download complete [2024-10-24T06:02:52.847Z] 1469e6f7b9e6: Verifying Checksum [2024-10-24T06:02:52.847Z] 1469e6f7b9e6: Download complete [2024-10-24T06:02:52.847Z] 339a4e72a1f5: Verifying Checksum [2024-10-24T06:02:52.847Z] 339a4e72a1f5: Download complete [2024-10-24T06:02:52.847Z] eaf3925da568: Download complete [2024-10-24T06:02:52.847Z] bde34c3a00c8: Download complete [2024-10-24T06:02:52.847Z] b352a97aabf1: Download complete [2024-10-24T06:02:52.847Z] 4872d77fe225: Verifying Checksum [2024-10-24T06:02:52.847Z] 4872d77fe225: Download complete [2024-10-24T06:02:52.847Z] 5851b861e8e6: Download complete [2024-10-24T06:02:52.847Z] b85a868b505f: Verifying Checksum [2024-10-24T06:02:52.847Z] b85a868b505f: Download complete [2024-10-24T06:02:53.106Z] bab4dde63d76: Verifying Checksum [2024-10-24T06:02:53.106Z] bab4dde63d76: Download complete [2024-10-24T06:02:54.043Z] b85a868b505f: Pull complete [2024-10-24T06:02:54.302Z] e2be974225ed: Pull complete [2024-10-24T06:02:54.869Z] 339a4e72a1f5: Pull complete [2024-10-24T06:02:54.869Z] 988bab9f4d93: Pull complete [2024-10-24T06:02:55.128Z] 1469e6f7b9e6: Pull complete [2024-10-24T06:02:55.128Z] eaf3925da568: Pull complete [2024-10-24T06:02:57.035Z] bab4dde63d76: Pull complete [2024-10-24T06:02:57.035Z] bde34c3a00c8: Pull complete [2024-10-24T06:02:57.035Z] b352a97aabf1: Pull complete [2024-10-24T06:02:57.035Z] 4872d77fe225: Pull complete [2024-10-24T06:02:57.295Z] 5851b861e8e6: Pull complete [2024-10-24T06:02:57.295Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-24T06:02:57.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-24T06:02:57.295Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-24T06:02:57.437Z] prd-ubuntu20.04-docker-8c-8g-23670 does not seem to be running inside a container [2024-10-24T06:02:57.467Z] $ 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-10-24T06:03:01.122Z] $ docker top 364a5b6419d54ce99dd8a7a7ad3c53cd74cc5d93143127936d1f107cf56c87ed -eo pid,comm [2024-10-24T06:03:01.182Z] 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-10-24T06:03:01.182Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-24T06:03:01.245Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-24T06:03:01.245Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-24T06:03:01.368Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-24T06:03:01.368Z] $ docker exec 364a5b6419d54ce99dd8a7a7ad3c53cd74cc5d93143127936d1f107cf56c87ed ssh-agent [2024-10-24T06:03:01.478Z] SSH_AUTH_SOCK=/tmp/ssh-tC6qMWlS4Oh5/agent.32 [2024-10-24T06:03:01.478Z] SSH_AGENT_PID=38 [2024-10-24T06:03:01.484Z] Running ssh-add (command line suppressed) [2024-10-24T06:03:01.573Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15593074302104258924.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15593074302104258924.key) [2024-10-24T06:03:01.590Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-24T06:03:01.892Z] + git tag --points-at HEAD [Pipeline] } [2024-10-24T06:03:01.901Z] $ docker exec --env ******** --env ******** 364a5b6419d54ce99dd8a7a7ad3c53cd74cc5d93143127936d1f107cf56c87ed ssh-agent -k [2024-10-24T06:03:01.998Z] unset SSH_AUTH_SOCK; [2024-10-24T06:03:01.999Z] unset SSH_AGENT_PID; [2024-10-24T06:03:01.999Z] echo Agent pid 38 killed; [2024-10-24T06:03:02.013Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-24T06:03:02.058Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-24T06:03:02.058Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-24T06:03:02.173Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-24T06:03:02.173Z] $ docker exec 364a5b6419d54ce99dd8a7a7ad3c53cd74cc5d93143127936d1f107cf56c87ed ssh-agent [2024-10-24T06:03:02.271Z] SSH_AUTH_SOCK=/tmp/ssh-H6CrkQNwUJwq/agent.71 [2024-10-24T06:03:02.271Z] SSH_AGENT_PID=77 [2024-10-24T06:03:02.275Z] Running ssh-add (command line suppressed) [2024-10-24T06:03:02.377Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_16116413897426275263.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_16116413897426275263.key) [2024-10-24T06:03:02.392Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-24T06:03:02.691Z] + git semver init [2024-10-24T06:03:02.952Z] 2024-10-24 06:03:02,859 [run_init] DEBUG init version:0.0.0 force:False [2024-10-24T06:03:02.952Z] 2024-10-24 06:03:02,860 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-10-24T06:03:02.952Z] 2024-10-24 06:03:02,861 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-10-24T06:03:02.952Z] 2024-10-24 06:03:02,861 [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-10-24T06:03:03.890Z] 2024-10-24 06:03:03,653 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2024-10-24T06:03:03.890Z] 2024-10-24 06:03:03,653 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2024-10-24T06:03:03.890Z] 2024-10-24 06:03:03,654 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-10-24T06:03:03.890Z] 2024-10-24 06:03:03,654 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-10-24T06:03:03.890Z] 4.0.0-dev.1 [Pipeline] } [2024-10-24T06:03:03.899Z] $ docker exec --env ******** --env ******** 364a5b6419d54ce99dd8a7a7ad3c53cd74cc5d93143127936d1f107cf56c87ed ssh-agent -k [2024-10-24T06:03:04.003Z] unset SSH_AUTH_SOCK; [2024-10-24T06:03:04.004Z] unset SSH_AGENT_PID; [2024-10-24T06:03:04.005Z] echo Agent pid 77 killed; [2024-10-24T06:03:04.017Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-24T06:03:04.331Z] + git semver [Pipeline] } [2024-10-24T06:03:04.602Z] $ docker stop --time=1 364a5b6419d54ce99dd8a7a7ad3c53cd74cc5d93143127936d1f107cf56c87ed [2024-10-24T06:03:05.888Z] $ docker rm -f --volumes 364a5b6419d54ce99dd8a7a7ad3c53cd74cc5d93143127936d1f107cf56c87ed [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-24T06:03:06.236Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-24T06:03:06.477Z] Stashed 1 file(s) [Pipeline] echo [2024-10-24T06:03:06.481Z] [edgeXSemver]: initialized semver on version 4.0.0-dev.1 [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-10-24T06:03:06.643Z] provisioning config files... [2024-10-24T06:03:06.657Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config17227918055547640059tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-24T06:03:06.957Z] ---> ****-login.sh [2024-10-24T06:03:06.957Z] nexus3.edgexfoundry.org:10001 [2024-10-24T06:03:06.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T06:03:06.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T06:03:06.958Z] Configure a credential helper to remove this warning. See [2024-10-24T06:03:06.958Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T06:03:06.958Z] [2024-10-24T06:03:06.958Z] Login Succeeded [2024-10-24T06:03:06.958Z] nexus3.edgexfoundry.org:10002 [2024-10-24T06:03:06.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T06:03:06.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T06:03:06.958Z] Configure a credential helper to remove this warning. See [2024-10-24T06:03:06.958Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T06:03:06.958Z] [2024-10-24T06:03:06.958Z] Login Succeeded [2024-10-24T06:03:06.958Z] nexus3.edgexfoundry.org:10003 [2024-10-24T06:03:07.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T06:03:07.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T06:03:07.217Z] Configure a credential helper to remove this warning. See [2024-10-24T06:03:07.217Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T06:03:07.217Z] [2024-10-24T06:03:07.217Z] Login Succeeded [2024-10-24T06:03:07.217Z] nexus3.edgexfoundry.org:10004 [2024-10-24T06:03:07.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T06:03:07.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T06:03:07.217Z] Configure a credential helper to remove this warning. See [2024-10-24T06:03:07.217Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T06:03:07.217Z] [2024-10-24T06:03:07.217Z] Login Succeeded [2024-10-24T06:03:07.217Z] ****.io [2024-10-24T06:03:07.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T06:03:07.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T06:03:07.476Z] Configure a credential helper to remove this warning. See [2024-10-24T06:03:07.476Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T06:03:07.476Z] [2024-10-24T06:03:07.476Z] Login Succeeded [2024-10-24T06:03:07.476Z] ---> ****-login.sh ends [Pipeline] } [2024-10-24T06:03:07.483Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-24T06:03:07.567Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-24T06:03:07.587Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-10-24T06:03:07.601Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-24T06:03:07.620Z] ========================================================= [2024-10-24T06:03:07.620Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-10-24T06:03:07.620Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-24T06:03:07.951Z] + 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-10-24T06:03:07.951Z] Sending build context to Docker daemon 5.109MB [2024-10-24T06:03:07.951Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-10-24T06:03:07.951Z] Step 2/22 : FROM ${BASE} as builder [2024-10-24T06:03:07.951Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-10-24T06:03:07.951Z] 96526aa774ef: Pulling fs layer [2024-10-24T06:03:07.951Z] da60e534fd72: Pulling fs layer [2024-10-24T06:03:07.951Z] 96526aa774ef: Verifying Checksum [2024-10-24T06:03:07.951Z] 96526aa774ef: Download complete [2024-10-24T06:03:08.221Z] 96526aa774ef: Pull complete [2024-10-24T06:03:08.790Z] da60e534fd72: Verifying Checksum [2024-10-24T06:03:08.790Z] da60e534fd72: Download complete [2024-10-24T06:03:12.095Z] da60e534fd72: Pull complete [2024-10-24T06:03:12.095Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-10-24T06:03:12.095Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-10-24T06:03:12.095Z] ---> 6605166a5db4 [2024-10-24T06:03:12.095Z] 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-10-24T06:03:14.638Z] ---> Running in fbfffacfa7a4 [2024-10-24T06:03:14.898Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-10-24T06:03:15.161Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-24T06:03:15.161Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-24T06:03:15.161Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-24T06:03:15.421Z] Removing intermediate container fbfffacfa7a4 [2024-10-24T06:03:15.421Z] ---> d7ceaa551675 [2024-10-24T06:03:15.421Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-24T06:03:15.421Z] ---> Running in c41efe2e9c68 [2024-10-24T06:03:16.001Z] Removing intermediate container c41efe2e9c68 [2024-10-24T06:03:16.001Z] ---> e24aea8da3e2 [2024-10-24T06:03:16.001Z] 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-10-24T06:03:16.001Z] ---> Running in ee580be5c2aa [2024-10-24T06:03:16.261Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-24T06:03:16.520Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-24T06:03:16.520Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-24T06:03:17.089Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-24T06:03:17.090Z] (1/17) Installing hiredis (1.1.0-r2) [2024-10-24T06:03:17.090Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-10-24T06:03:17.090Z] (3/17) Installing libcbor (0.10.2-r1) [2024-10-24T06:03:17.090Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-10-24T06:03:18.036Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-10-24T06:03:18.036Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-10-24T06:03:18.036Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-10-24T06:03:18.036Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-10-24T06:03:18.036Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-10-24T06:03:18.036Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-10-24T06:03:18.036Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-10-24T06:03:18.036Z] (12/17) Installing libblkid (2.38.1-r8) [2024-10-24T06:03:18.298Z] (13/17) Installing libuuid (2.38.1-r8) [2024-10-24T06:03:18.298Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-10-24T06:03:18.298Z] (15/17) Installing libmount (2.38.1-r8) [2024-10-24T06:03:18.298Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-10-24T06:03:18.298Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-10-24T06:03:18.298Z] Executing busybox-1.36.1-r4.trigger [2024-10-24T06:03:18.298Z] OK: 336 MiB in 99 packages [2024-10-24T06:03:18.867Z] Removing intermediate container ee580be5c2aa [2024-10-24T06:03:18.867Z] ---> 26347be80f1a [2024-10-24T06:03:18.867Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-10-24T06:03:18.867Z] ---> Running in bdbc9d96616c [2024-10-24T06:03:19.436Z] Removing intermediate container bdbc9d96616c [2024-10-24T06:03:19.436Z] ---> 2c247a882c1e [2024-10-24T06:03:19.436Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-10-24T06:03:19.697Z] ---> b812931860a3 [2024-10-24T06:03:19.697Z] Step 8/22 : COPY src /tmp/sdk/src [2024-10-24T06:03:19.697Z] ---> 70f1135c8874 [2024-10-24T06:03:19.697Z] Step 9/22 : COPY include /tmp/sdk/include [2024-10-24T06:03:19.956Z] ---> 3e8fee4f5429 [2024-10-24T06:03:19.956Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-10-24T06:03:19.956Z] ---> 1c38c1174e8e [2024-10-24T06:03:19.956Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-10-24T06:03:20.215Z] ---> b4dc6b67aa8c [2024-10-24T06:03:20.215Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-10-24T06:03:20.215Z] ---> 0c039bd7b485 [2024-10-24T06:03:20.215Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-10-24T06:03:20.480Z] ---> Running in 90cb6847b689 [2024-10-24T06:03:20.480Z] + CPPCHECK=false [2024-10-24T06:03:20.480Z] + DOCGEN=false [2024-10-24T06:03:20.480Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-10-24T06:03:20.480Z] + '[' 0 -gt 0 ] [2024-10-24T06:03:20.480Z] + readlink -f ./scripts/build.sh [2024-10-24T06:03:20.480Z] + dirname /tmp/sdk/scripts/build.sh [2024-10-24T06:03:20.480Z] + dirname /tmp/sdk/scripts [2024-10-24T06:03:20.480Z] + ROOT=/tmp/sdk [2024-10-24T06:03:20.480Z] + cd /tmp/sdk [2024-10-24T06:03:20.480Z] + mkdir -p /tmp/sdk/build/release [2024-10-24T06:03:20.480Z] + cd /tmp/sdk/build/release [2024-10-24T06:03:20.480Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-10-24T06:03:20.743Z] -- The C compiler identification is GNU 12.2.1 [2024-10-24T06:03:20.743Z] -- Detecting C compiler ABI info [2024-10-24T06:03:20.743Z] -- Detecting C compiler ABI info - done [2024-10-24T06:03:20.743Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-10-24T06:03:20.743Z] -- Detecting C compile features [2024-10-24T06:03:20.743Z] -- Detecting C compile features - done [2024-10-24T06:03:20.743Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-10-24T06:03:21.003Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-10-24T06:03:21.003Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-10-24T06:03:21.003Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-10-24T06:03:21.003Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-10-24T06:03:21.003Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-10-24T06:03:21.003Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-10-24T06:03:21.003Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-10-24T06:03:21.003Z] -- /opt/iotech/iot/1.5/include [2024-10-24T06:03:21.003Z] -- C SDK 4.0.0-dev.1 for Linux [2024-10-24T06:03:21.003Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-10-24T06:03:21.003Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-10-24T06:03:21.003Z] -- Found Curses: /usr/lib/libcurses.so [2024-10-24T06:03:21.003Z] -- Configuring done (0.4s) [2024-10-24T06:03:21.003Z] -- Generating done (0.0s) [2024-10-24T06:03:21.004Z] -- Build files have been written to: /tmp/sdk/build/release [2024-10-24T06:03:21.004Z] + make all package [2024-10-24T06:03:21.004Z] + tee release.log [2024-10-24T06:03:21.004Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-10-24T06:03:21.267Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-10-24T06:03:21.267Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-10-24T06:03:21.526Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-10-24T06:03:21.526Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-10-24T06:03:21.592Z] Still waiting to schedule task [2024-10-24T06:03:21.593Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-23671’ [2024-10-24T06:03:21.785Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-10-24T06:03:22.044Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-10-24T06:03:22.044Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-10-24T06:03:22.044Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-24T06:03:22.044Z] 294 | while (privateConfig) [2024-10-24T06:03:22.044Z] | ^~~~~~~~~~~~~ [2024-10-24T06:03:22.044Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-10-24T06:03:22.044Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-10-24T06:03:22.044Z] | ^~~~~~~~~~~~~ [2024-10-24T06:03:22.044Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-24T06:03:22.044Z] 271 | while (result) [2024-10-24T06:03:22.044Z] | ^~~~~~ [2024-10-24T06:03:22.044Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-10-24T06:03:22.044Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-10-24T06:03:22.044Z] | ^~~~~~ [2024-10-24T06:03:22.044Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-10-24T06:03:22.303Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-10-24T06:03:22.303Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-10-24T06:03:22.563Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-10-24T06:03:22.822Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-10-24T06:03:22.822Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-10-24T06:03:23.082Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-10-24T06:03:23.082Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-10-24T06:03:23.343Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-10-24T06:03:23.343Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-10-24T06:03:23.603Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-10-24T06:03:23.603Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-10-24T06:03:23.862Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-10-24T06:03:23.862Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-10-24T06:03:24.799Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-10-24T06:03:25.058Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-10-24T06:03:25.058Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-10-24T06:03:25.058Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-10-24T06:03:25.316Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-10-24T06:03:25.316Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-10-24T06:03:25.886Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-10-24T06:03:25.886Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-10-24T06:03:25.886Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-10-24T06:03:26.147Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-10-24T06:03:26.147Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-10-24T06:03:26.147Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-24T06:03:26.147Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-10-24T06:03:26.147Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-24T06:03:26.147Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-24T06:03:26.147Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-10-24T06:03:26.147Z] | ^ [2024-10-24T06:03:26.407Z] /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-24T06:03:26.407Z] 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-10-24T06:03:26.407Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-24T06:03:26.407Z] /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here [2024-10-24T06:03:26.407Z] 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-10-24T06:03:26.407Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-10-24T06:03:26.407Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-10-24T06:03:26.667Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-10-24T06:03:26.667Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-10-24T06:03:26.667Z] [ 68%] Linking C shared library libcsdk.so [2024-10-24T06:03:26.667Z] [ 68%] Built target csdk [2024-10-24T06:03:26.927Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-10-24T06:03:26.927Z] [ 72%] Linking C executable template [2024-10-24T06:03:26.927Z] [ 72%] Built target template [2024-10-24T06:03:26.927Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-10-24T06:03:27.186Z] [ 76%] Linking C executable device-counter [2024-10-24T06:03:27.186Z] [ 76%] Built target device-counter [2024-10-24T06:03:27.186Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-10-24T06:03:27.186Z] [ 80%] Linking C executable device-random [2024-10-24T06:03:27.445Z] [ 80%] Built target device-random [2024-10-24T06:03:27.445Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-10-24T06:03:27.445Z] [ 84%] Linking C executable device-gyro [2024-10-24T06:03:27.445Z] [ 84%] Built target device-gyro [2024-10-24T06:03:27.445Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-10-24T06:03:27.707Z] [ 88%] Linking C executable device-bitfields [2024-10-24T06:03:27.707Z] [ 88%] Built target device-bitfields [2024-10-24T06:03:27.707Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-10-24T06:03:27.967Z] [ 92%] Linking C executable template-discovery [2024-10-24T06:03:27.967Z] [ 92%] Built target template-discovery [2024-10-24T06:03:27.967Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-10-24T06:03:27.967Z] [ 96%] Linking C executable device-file [2024-10-24T06:03:27.967Z] [ 96%] Built target device-file [2024-10-24T06:03:28.227Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-10-24T06:03:28.227Z] [100%] Linking C executable device-terminal [2024-10-24T06:03:28.227Z] [100%] Built target device-terminal [2024-10-24T06:03:28.227Z] Run CPack packaging tool... [2024-10-24T06:03:28.227Z] CPack: Create package using TGZ [2024-10-24T06:03:28.227Z] CPack: Install projects [2024-10-24T06:03:28.227Z] CPack: - Run preinstall target for: Csdk [2024-10-24T06:03:28.486Z] CPack: - Install project: Csdk [] [2024-10-24T06:03:28.486Z] CPack: Create package [2024-10-24T06:03:28.486Z] CPack: - package: /tmp/sdk/build/release/csdk-4.0.0-dev.1.tar.gz generated. [2024-10-24T06:03:28.486Z] + '[' false '=' true ] [2024-10-24T06:03:28.486Z] + '[' false '=' true ] [2024-10-24T06:03:28.486Z] + mkdir -p /tmp/sdk/build/debug [2024-10-24T06:03:28.486Z] + cd /tmp/sdk/build/debug [2024-10-24T06:03:28.486Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-10-24T06:03:28.745Z] -- The C compiler identification is GNU 12.2.1 [2024-10-24T06:03:28.745Z] -- Detecting C compiler ABI info [2024-10-24T06:03:28.745Z] -- Detecting C compiler ABI info - done [2024-10-24T06:03:28.745Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-10-24T06:03:28.745Z] -- Detecting C compile features [2024-10-24T06:03:28.745Z] -- Detecting C compile features - done [2024-10-24T06:03:28.745Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-10-24T06:03:28.745Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-10-24T06:03:28.745Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-10-24T06:03:28.745Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-10-24T06:03:28.745Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-10-24T06:03:28.745Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-10-24T06:03:28.745Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-10-24T06:03:28.745Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-10-24T06:03:28.745Z] -- /opt/iotech/iot/1.5/include [2024-10-24T06:03:28.745Z] -- C SDK 4.0.0-dev.1 for Linux [2024-10-24T06:03:28.745Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-10-24T06:03:29.005Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-10-24T06:03:29.005Z] -- Found Curses: /usr/lib/libcurses.so [2024-10-24T06:03:29.005Z] -- Configuring done (0.4s) [2024-10-24T06:03:29.005Z] -- Generating done (0.0s) [2024-10-24T06:03:29.005Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-10-24T06:03:29.005Z] + + tee debug.logmake [2024-10-24T06:03:29.005Z] [2024-10-24T06:03:29.005Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-10-24T06:03:29.005Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-10-24T06:03:29.265Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-10-24T06:03:29.265Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-10-24T06:03:29.265Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-10-24T06:03:29.265Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-10-24T06:03:29.525Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-10-24T06:03:29.525Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-10-24T06:03:29.525Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-10-24T06:03:29.785Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-10-24T06:03:29.785Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-10-24T06:03:29.785Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-10-24T06:03:30.046Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-10-24T06:03:30.046Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-10-24T06:03:30.046Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-10-24T06:03:30.046Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-10-24T06:03:30.306Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-10-24T06:03:30.306Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-10-24T06:03:30.306Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-10-24T06:03:30.306Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-10-24T06:03:30.568Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-10-24T06:03:30.828Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-10-24T06:03:30.828Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-10-24T06:03:30.828Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-10-24T06:03:30.828Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-10-24T06:03:30.828Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-10-24T06:03:31.088Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-10-24T06:03:31.349Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-10-24T06:03:31.349Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-10-24T06:03:31.349Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-10-24T06:03:31.349Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-10-24T06:03:31.349Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-10-24T06:03:31.349Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-24T06:03:31.349Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-10-24T06:03:31.349Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-24T06:03:31.349Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-24T06:03:31.349Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-10-24T06:03:31.349Z] | ^ [2024-10-24T06:03:31.608Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-10-24T06:03:31.608Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-10-24T06:03:31.608Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-10-24T06:03:31.869Z] [ 68%] Linking C shared library libcsdk.so [2024-10-24T06:03:31.869Z] [ 68%] Built target csdk [2024-10-24T06:03:31.869Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-10-24T06:03:31.869Z] [ 72%] Linking C executable template [2024-10-24T06:03:31.869Z] [ 72%] Built target template [2024-10-24T06:03:31.869Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-10-24T06:03:32.128Z] [ 76%] Linking C executable device-counter [2024-10-24T06:03:32.128Z] [ 76%] Built target device-counter [2024-10-24T06:03:32.128Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-10-24T06:03:32.128Z] [ 80%] Linking C executable device-random [2024-10-24T06:03:32.387Z] [ 80%] Built target device-random [2024-10-24T06:03:32.387Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-10-24T06:03:32.387Z] [ 84%] Linking C executable device-gyro [2024-10-24T06:03:32.387Z] [ 84%] Built target device-gyro [2024-10-24T06:03:32.387Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-10-24T06:03:32.387Z] [ 88%] Linking C executable device-bitfields [2024-10-24T06:03:32.646Z] [ 88%] Built target device-bitfields [2024-10-24T06:03:32.646Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-10-24T06:03:32.646Z] [ 92%] Linking C executable template-discovery [2024-10-24T06:03:32.646Z] [ 92%] Built target template-discovery [2024-10-24T06:03:32.646Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-10-24T06:03:32.906Z] [ 96%] Linking C executable device-file [2024-10-24T06:03:32.906Z] [ 96%] Built target device-file [2024-10-24T06:03:32.906Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-10-24T06:03:32.906Z] [100%] Linking C executable device-terminal [2024-10-24T06:03:32.906Z] [100%] Built target device-terminal [2024-10-24T06:03:33.166Z] make: Entering directory '/tmp/sdk/build/release' [2024-10-24T06:03:33.166Z] [ 68%] Built target csdk [2024-10-24T06:03:33.166Z] [ 72%] Built target template [2024-10-24T06:03:33.166Z] [ 76%] Built target device-counter [2024-10-24T06:03:33.166Z] [ 80%] Built target device-random [2024-10-24T06:03:33.166Z] [ 84%] Built target device-gyro [2024-10-24T06:03:33.167Z] [ 88%] Built target device-bitfields [2024-10-24T06:03:33.167Z] [ 92%] Built target template-discovery [2024-10-24T06:03:33.167Z] [ 96%] Built target device-file [2024-10-24T06:03:33.167Z] [100%] Built target device-terminal [2024-10-24T06:03:33.167Z] Install the project... [2024-10-24T06:03:33.167Z] -- Install configuration: "Release" [2024-10-24T06:03:33.167Z] -- Installing: /usr/local/lib/libcsdk.so [2024-10-24T06:03:33.167Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-10-24T06:03:33.167Z] -- Installing: /usr/local/include [2024-10-24T06:03:33.167Z] -- Installing: /usr/local/include/devsdk [2024-10-24T06:03:33.167Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-10-24T06:03:33.167Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-10-24T06:03:33.167Z] -- Installing: /usr/local/include/edgex [2024-10-24T06:03:33.167Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-10-24T06:03:33.167Z] -- Installing: /usr/local/include/edgex/devices.h [2024-10-24T06:03:33.167Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-10-24T06:03:33.167Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-10-24T06:03:33.167Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-10-24T06:03:33.167Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-10-24T06:03:33.167Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-10-24T06:03:33.167Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-10-24T06:03:33.167Z] make: Leaving directory '/tmp/sdk/build/release' [2024-10-24T06:03:34.103Z] Removing intermediate container 90cb6847b689 [2024-10-24T06:03:34.103Z] ---> 7cc8e7d8b802 [2024-10-24T06:03:34.103Z] Step 14/22 : FROM ${BASE} [2024-10-24T06:03:34.103Z] ---> 6605166a5db4 [2024-10-24T06:03:34.103Z] Step 15/22 : LABEL maintainer="IOTech " [2024-10-24T06:03:34.103Z] ---> Running in 37976f225d8b [2024-10-24T06:03:34.103Z] Removing intermediate container 37976f225d8b [2024-10-24T06:03:34.103Z] ---> 762839812332 [2024-10-24T06:03:34.103Z] 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-10-24T06:03:34.103Z] ---> Running in ba9dbffaef55 [2024-10-24T06:03:34.362Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-10-24T06:03:34.620Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-24T06:03:34.621Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-24T06:03:34.621Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-24T06:03:34.879Z] Removing intermediate container ba9dbffaef55 [2024-10-24T06:03:34.879Z] ---> 01a0fca1ab5c [2024-10-24T06:03:34.879Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-24T06:03:34.879Z] ---> Running in 90dce00ecf5c [2024-10-24T06:03:35.445Z] Removing intermediate container 90dce00ecf5c [2024-10-24T06:03:35.445Z] ---> 0b804e041d28 [2024-10-24T06:03:35.445Z] 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-10-24T06:03:35.445Z] ---> Running in 352bea001cc8 [2024-10-24T06:03:35.703Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-24T06:03:35.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-24T06:03:36.221Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-24T06:03:36.481Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-24T06:03:36.481Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-10-24T06:03:36.741Z] (2/10) Installing curl (8.9.1-r1) [2024-10-24T06:03:36.741Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-10-24T06:03:36.741Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-10-24T06:03:36.741Z] (5/10) Installing hiredis (1.1.0-r2) [2024-10-24T06:03:36.741Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-10-24T06:03:36.741Z] (7/10) Installing libcbor (0.10.2-r1) [2024-10-24T06:03:36.741Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-10-24T06:03:37.312Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-10-24T06:03:37.575Z] (10/10) Installing libuuid (2.38.1-r8) [2024-10-24T06:03:37.575Z] Executing busybox-1.36.1-r4.trigger [2024-10-24T06:03:37.575Z] OK: 331 MiB in 90 packages [2024-10-24T06:03:38.189Z] Removing intermediate container 352bea001cc8 [2024-10-24T06:03:38.189Z] ---> c4495828cc94 [2024-10-24T06:03:38.189Z] Step 19/22 : RUN apk --no-cache upgrade [2024-10-24T06:03:38.189Z] ---> Running in 2876323aaada [2024-10-24T06:03:38.547Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-24T06:03:38.547Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-24T06:03:38.547Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-24T06:03:39.113Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-24T06:03:39.113Z] Upgrading critical system libraries and apk-tools: [2024-10-24T06:03:39.113Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-10-24T06:03:39.113Z] Executing busybox-1.36.1-r4.trigger [2024-10-24T06:03:39.113Z] Continuing the upgrade transaction with new apk-tools: [2024-10-24T06:03:39.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-24T06:03:39.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-24T06:03:39.374Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-24T06:03:39.943Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-24T06:03:39.943Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-10-24T06:03:39.943Z] Executing busybox-1.36.1-r7.post-upgrade [2024-10-24T06:03:39.943Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-10-24T06:03:39.943Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-10-24T06:03:39.943Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-10-24T06:03:39.943Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-10-24T06:03:39.943Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-10-24T06:03:39.943Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-10-24T06:03:39.943Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.6-r0) [2024-10-24T06:03:39.943Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-10-24T06:03:39.943Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-10-24T06:03:39.943Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-10-24T06:03:39.943Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-10-24T06:03:39.943Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-10-24T06:03:39.943Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-10-24T06:03:39.943Z] Executing busybox-1.36.1-r7.trigger [2024-10-24T06:03:39.943Z] Executing ca-certificates-20240226-r0.trigger [2024-10-24T06:03:40.203Z] OK: 332 MiB in 90 packages [2024-10-24T06:03:41.140Z] Removing intermediate container 2876323aaada [2024-10-24T06:03:41.140Z] ---> f964a70f59ed [2024-10-24T06:03:41.140Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-10-24T06:03:41.140Z] ---> d3606414d19f [2024-10-24T06:03:41.140Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-10-24T06:03:41.140Z] ---> 1a05626debee [2024-10-24T06:03:41.140Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-10-24T06:03:41.399Z] ---> c829f0bccf27 [2024-10-24T06:03:41.399Z] Successfully built c829f0bccf27 [2024-10-24T06:03:41.399Z] 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-10-24T06:03:41.807Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-24T06:03:41.807Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-24T06:03:41.883Z] prd-ubuntu20.04-docker-8c-8g-23670 does not seem to be running inside a container [2024-10-24T06:03:41.906Z] $ 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-10-24T06:03:42.227Z] $ docker top 2d1f70b69d1c7c98e411f06d5a057c088cde9334da52acc808bf08e1ea68c4d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-24T06:03:42.578Z] + make test [2024-10-24T06:03:42.578Z] echo "make test" [2024-10-24T06:03:42.578Z] make test [Pipeline] } [2024-10-24T06:03:42.586Z] $ docker stop --time=1 2d1f70b69d1c7c98e411f06d5a057c088cde9334da52acc808bf08e1ea68c4d5 [2024-10-24T06:03:43.848Z] $ docker rm -f --volumes 2d1f70b69d1c7c98e411f06d5a057c088cde9334da52acc808bf08e1ea68c4d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-24T06:03:44.462Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-24T06:03:44.744Z] + ls -al . [2024-10-24T06:03:44.744Z] total 212 [2024-10-24T06:03:44.744Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 06:03 . [2024-10-24T06:03:44.744Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 06:02 .. [2024-10-24T06:03:44.744Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 06:03 .git [2024-10-24T06:03:44.744Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 06:02 .github [2024-10-24T06:03:44.744Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 24 06:02 .gitignore [2024-10-24T06:03:44.744Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 06:03 .semver [2024-10-24T06:03:44.744Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 24 06:02 Attribution.txt [2024-10-24T06:03:44.744Z] -rw-rw-r-- 1 jenkins jenkins 11953 Oct 24 06:02 CHANGELOG.md [2024-10-24T06:03:44.744Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 24 06:02 Doxyfile [2024-10-24T06:03:44.744Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 06:02 GOVERNANCE.md [2024-10-24T06:03:44.744Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 24 06:02 Jenkinsfile [2024-10-24T06:03:44.744Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 24 06:02 LICENSE [2024-10-24T06:03:44.744Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 24 06:02 Makefile [2024-10-24T06:03:44.744Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 24 06:02 OWNERS.md [2024-10-24T06:03:44.744Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 24 06:02 README.IOT.md [2024-10-24T06:03:44.744Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 24 06:02 README.md [2024-10-24T06:03:44.744Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 24 06:02 README.v3.md [2024-10-24T06:03:44.744Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 24 06:03 VERSION [2024-10-24T06:03:44.744Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 06:02 docs [2024-10-24T06:03:44.744Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 06:02 include [2024-10-24T06:03:44.744Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 06:02 scripts [2024-10-24T06:03:44.744Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 06:02 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-24T06:03:45.053Z] + 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=6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 --label arch=amd64 --label version=4.0.0-dev.1 . [2024-10-24T06:03:45.054Z] Sending build context to Docker daemon 5.109MB [2024-10-24T06:03:45.054Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-10-24T06:03:45.054Z] Step 2/18 : FROM ${BASE} [2024-10-24T06:03:45.054Z] ---> c829f0bccf27 [2024-10-24T06:03:45.054Z] Step 3/18 : LABEL maintainer="IOTech " [2024-10-24T06:03:45.054Z] ---> Running in 8c2b2b795e43 [2024-10-24T06:03:45.054Z] Removing intermediate container 8c2b2b795e43 [2024-10-24T06:03:45.054Z] ---> 64b65bfd078e [2024-10-24T06:03:45.054Z] 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-10-24T06:03:45.311Z] ---> Running in 710213d63f2b [2024-10-24T06:03:45.571Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-10-24T06:03:45.830Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-24T06:03:45.830Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-24T06:03:45.830Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-24T06:03:46.087Z] Removing intermediate container 710213d63f2b [2024-10-24T06:03:46.088Z] ---> 1a0bf15db287 [2024-10-24T06:03:46.088Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-24T06:03:46.088Z] ---> Running in 8214e23dd91d [2024-10-24T06:03:46.655Z] Removing intermediate container 8214e23dd91d [2024-10-24T06:03:46.655Z] ---> 62c37220f7f6 [2024-10-24T06:03:46.655Z] 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-10-24T06:03:46.655Z] ---> Running in 7a3db50d36c7 [2024-10-24T06:03:46.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-24T06:03:47.175Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-24T06:03:47.175Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-24T06:03:47.744Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-24T06:03:47.744Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-10-24T06:03:48.002Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-10-24T06:03:48.002Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-10-24T06:03:48.002Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-10-24T06:03:48.002Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-10-24T06:03:48.002Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-10-24T06:03:48.002Z] (7/11) Installing libblkid (2.38.1-r8) [2024-10-24T06:03:48.002Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-10-24T06:03:48.002Z] (9/11) Installing libmount (2.38.1-r8) [2024-10-24T06:03:48.002Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-10-24T06:03:48.002Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-10-24T06:03:48.002Z] Executing busybox-1.36.1-r7.trigger [2024-10-24T06:03:48.002Z] OK: 337 MiB in 101 packages [2024-10-24T06:03:48.568Z] Removing intermediate container 7a3db50d36c7 [2024-10-24T06:03:48.568Z] ---> d4ff5bb62d1d [2024-10-24T06:03:48.568Z] Step 7/18 : RUN apk --no-cache upgrade [2024-10-24T06:03:48.568Z] ---> Running in b37a577844b8 [2024-10-24T06:03:48.827Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-24T06:03:48.827Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-24T06:03:49.086Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-24T06:03:49.653Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-24T06:03:49.653Z] OK: 337 MiB in 101 packages [2024-10-24T06:03:49.912Z] Removing intermediate container b37a577844b8 [2024-10-24T06:03:49.912Z] ---> ad11038bc4b6 [2024-10-24T06:03:49.912Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-10-24T06:03:49.912Z] ---> fa23c9987c27 [2024-10-24T06:03:49.912Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-10-24T06:03:50.171Z] ---> 7da78e91f3a1 [2024-10-24T06:03:50.171Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-10-24T06:03:50.429Z] ---> f8fe61eafa25 [2024-10-24T06:03:50.429Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-10-24T06:03:50.429Z] ---> a858d9e00fc6 [2024-10-24T06:03:50.429Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-10-24T06:03:50.688Z] ---> 2099bae3ef9e [2024-10-24T06:03:50.688Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-10-24T06:03:50.688Z] ---> efa5f7e8a287 [2024-10-24T06:03:50.688Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-10-24T06:03:50.688Z] ---> Running in 15a33304e558 [2024-10-24T06:03:50.688Z] Removing intermediate container 15a33304e558 [2024-10-24T06:03:50.688Z] ---> c2a2bcde1600 [2024-10-24T06:03:50.688Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-10-24T06:03:50.688Z] ---> Running in c63292aa70e9 [2024-10-24T06:03:50.948Z] Removing intermediate container c63292aa70e9 [2024-10-24T06:03:50.948Z] ---> dc860fc826f1 [2024-10-24T06:03:50.948Z] Step 16/18 : LABEL arch=amd64 [2024-10-24T06:03:50.948Z] ---> Running in ca2588bd0aec [2024-10-24T06:03:50.948Z] Removing intermediate container ca2588bd0aec [2024-10-24T06:03:50.948Z] ---> b06dbb57223b [2024-10-24T06:03:50.948Z] Step 17/18 : LABEL git_sha=6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 [2024-10-24T06:03:50.948Z] ---> Running in f3d7a9573d8f [2024-10-24T06:03:51.207Z] Removing intermediate container f3d7a9573d8f [2024-10-24T06:03:51.207Z] ---> 4cea9bc365b6 [2024-10-24T06:03:51.207Z] Step 18/18 : LABEL version=4.0.0-dev.1 [2024-10-24T06:03:51.207Z] ---> Running in 01f93ae66528 [2024-10-24T06:03:51.207Z] Removing intermediate container 01f93ae66528 [2024-10-24T06:03:51.207Z] ---> 4221a738ca81 [2024-10-24T06:03:51.207Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-10-24T06:03:51.207Z] Successfully built 4221a738ca81 [2024-10-24T06:03:51.207Z] 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-10-24T06:03:51.684Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-24T06:03:51.684Z] [2024-10-24T06:03:51.684Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-24T06:03:51.995Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-24T06:03:51.995Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-24T06:03:51.995Z] 5eb5b503b376: Pulling fs layer [2024-10-24T06:03:51.995Z] 5c69ac0246d0: Pulling fs layer [2024-10-24T06:03:51.995Z] ec43610c2a17: Pulling fs layer [2024-10-24T06:03:51.995Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-24T06:03:51.995Z] 33b1e0a273af: Pulling fs layer [2024-10-24T06:03:51.995Z] 5d3b04190fa2: Pulling fs layer [2024-10-24T06:03:51.995Z] 2f39f015ded8: Pulling fs layer [2024-10-24T06:03:51.995Z] 3a2ae6a8a46f: Waiting [2024-10-24T06:03:51.995Z] 33b1e0a273af: Waiting [2024-10-24T06:03:51.995Z] 5d3b04190fa2: Waiting [2024-10-24T06:03:51.995Z] 2f39f015ded8: Waiting [2024-10-24T06:03:51.995Z] 5c69ac0246d0: Verifying Checksum [2024-10-24T06:03:51.995Z] 5c69ac0246d0: Download complete [2024-10-24T06:03:51.995Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-24T06:03:51.995Z] 3a2ae6a8a46f: Download complete [2024-10-24T06:03:51.995Z] 33b1e0a273af: Verifying Checksum [2024-10-24T06:03:51.995Z] 33b1e0a273af: Download complete [2024-10-24T06:03:51.995Z] 5d3b04190fa2: Download complete [2024-10-24T06:03:51.995Z] ec43610c2a17: Verifying Checksum [2024-10-24T06:03:51.995Z] ec43610c2a17: Download complete [2024-10-24T06:03:52.255Z] 5eb5b503b376: Verifying Checksum [2024-10-24T06:03:52.255Z] 5eb5b503b376: Download complete [2024-10-24T06:03:52.821Z] 2f39f015ded8: Verifying Checksum [2024-10-24T06:03:52.821Z] 2f39f015ded8: Download complete [2024-10-24T06:03:53.388Z] 5eb5b503b376: Pull complete [2024-10-24T06:03:53.388Z] 5c69ac0246d0: Pull complete [2024-10-24T06:03:53.954Z] ec43610c2a17: Pull complete [2024-10-24T06:03:53.954Z] 3a2ae6a8a46f: Pull complete [2024-10-24T06:03:54.213Z] 33b1e0a273af: Pull complete [2024-10-24T06:03:54.213Z] 5d3b04190fa2: Pull complete [2024-10-24T06:03:58.402Z] 2f39f015ded8: Pull complete [2024-10-24T06:03:58.402Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-24T06:03:58.402Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-24T06:03:58.402Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-24T06:03:58.520Z] prd-ubuntu20.04-docker-8c-8g-23670 does not seem to be running inside a container [2024-10-24T06:03:58.545Z] $ 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-10-24T06:04:02.638Z] $ docker top dc31f6c8193c2c44c411f68e8b8a5eccd1689a5b425f7d2639252a7a7783ca39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-24T06:04:03.010Z] ---> job-cost.sh [2024-10-24T06:04:03.010Z] lf-activate-venv: SKIPPING [2024-10-24T06:04:03.010Z] INFO: No Stack... [2024-10-24T06:04:03.268Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-24T06:04:03.526Z] INFO: Archiving Costs [Pipeline] sh [2024-10-24T06:04:03.815Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2024-10-24T06:04:03.815Z] + cut -d, -f6 [Pipeline] lock [2024-10-24T06:04:03.832Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-78-stack-cost] [2024-10-24T06:04:03.840Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-78-stack-cost] did not exist. Created. [2024-10-24T06:04:03.847Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-24T06:04:04.156Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-24T06:04:04.198Z] Stashed 1 file(s) [Pipeline] } [2024-10-24T06:04:04.206Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-78-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-24T06:04:04.233Z] $ docker stop --time=1 dc31f6c8193c2c44c411f68e8b8a5eccd1689a5b425f7d2639252a7a7783ca39 [2024-10-24T06:04:05.381Z] $ docker rm -f --volumes dc31f6c8193c2c44c411f68e8b8a5eccd1689a5b425f7d2639252a7a7783ca39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-24T06:06:25.096Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23673 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2024-10-24T06:06:25.113Z] Running in /w/workspace/device-sdk-c/78 [Pipeline] { [Pipeline] checkout [2024-10-24T06:06:28.176Z] Selected Git installation does not exist. Using Default [2024-10-24T06:06:28.176Z] The recommended git tool is: NONE [2024-10-24T06:06:36.186Z] using credential edgex-jenkins-ssh [2024-10-24T06:06:36.210Z] Cloning the remote Git repository [2024-10-24T06:06:36.267Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-10-24T06:06:36.392Z] > git init /w/workspace/device-sdk-c/78 # timeout=10 [2024-10-24T06:06:36.570Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-10-24T06:06:36.571Z] > git --version # timeout=10 [2024-10-24T06:06:36.593Z] > git --version # 'git version 2.25.1' [2024-10-24T06:06:36.596Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-24T06:06:36.767Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-24T06:06:37.944Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-10-24T06:06:37.969Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-24T06:06:38.986Z] Avoid second fetch [2024-10-24T06:06:38.986Z] Checking out Revision 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 (main) [2024-10-24T06:06:39.816Z] Commit message: "fix: Only 20 devices end up in devmap (#555) (#518)" [2024-10-24T06:06:39.005Z] > git config core.sparsecheckout # timeout=10 [2024-10-24T06:06:39.079Z] > git checkout -f 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-24T06:06:44.792Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-24T06:06:44.792Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-24T06:06:44.792Z] Dload Upload Total Spent Left Speed [2024-10-24T06:06:44.792Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 223k 0 --:--:-- --:--:-- --:--:-- 227k [Pipeline] sh [2024-10-24T06:06:45.152Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-24T06:06:45.513Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-24T06:06:45.513Z] + sudo tee /etc/docker/daemon.new [2024-10-24T06:06:45.513Z] { [2024-10-24T06:06:45.513Z] "registry-mirrors": [ [2024-10-24T06:06:45.513Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-24T06:06:45.513Z] ], [2024-10-24T06:06:45.513Z] "bip": "10.250.0.254/24", [2024-10-24T06:06:45.513Z] "hosts": [ [2024-10-24T06:06:45.513Z] "tcp://0.0.0.0:5555", [2024-10-24T06:06:45.513Z] "unix:///var/run/docker.sock" [2024-10-24T06:06:45.513Z] ], [2024-10-24T06:06:45.513Z] "mtu": 1458, [2024-10-24T06:06:45.513Z] "selinux-enabled": true, [2024-10-24T06:06:45.513Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-24T06:06:45.513Z] } [Pipeline] sh [2024-10-24T06:06:45.872Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-24T06:06:46.236Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-24T06:07:04.577Z] provisioning config files... [2024-10-24T06:07:04.608Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/78@tmp/config1293433804175033414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-24T06:07:05.108Z] ---> ****-login.sh [2024-10-24T06:07:05.108Z] nexus3.edgexfoundry.org:10001 [2024-10-24T06:07:05.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T06:07:05.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T06:07:05.710Z] Configure a credential helper to remove this warning. See [2024-10-24T06:07:05.710Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T06:07:05.710Z] [2024-10-24T06:07:05.710Z] Login Succeeded [2024-10-24T06:07:05.710Z] nexus3.edgexfoundry.org:10002 [2024-10-24T06:07:05.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T06:07:06.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T06:07:06.252Z] Configure a credential helper to remove this warning. See [2024-10-24T06:07:06.252Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T06:07:06.252Z] [2024-10-24T06:07:06.252Z] Login Succeeded [2024-10-24T06:07:06.252Z] nexus3.edgexfoundry.org:10003 [2024-10-24T06:07:06.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T06:07:06.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T06:07:06.525Z] Configure a credential helper to remove this warning. See [2024-10-24T06:07:06.525Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T06:07:06.525Z] [2024-10-24T06:07:06.525Z] Login Succeeded [2024-10-24T06:07:06.526Z] nexus3.edgexfoundry.org:10004 [2024-10-24T06:07:06.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T06:07:06.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T06:07:06.799Z] Configure a credential helper to remove this warning. See [2024-10-24T06:07:06.799Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T06:07:06.799Z] [2024-10-24T06:07:06.799Z] Login Succeeded [2024-10-24T06:07:06.799Z] ****.io [2024-10-24T06:07:07.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T06:07:07.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T06:07:07.338Z] Configure a credential helper to remove this warning. See [2024-10-24T06:07:07.338Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T06:07:07.338Z] [2024-10-24T06:07:07.339Z] Login Succeeded [2024-10-24T06:07:07.339Z] ---> ****-login.sh ends [Pipeline] } [2024-10-24T06:07:07.354Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-24T06:07:07.713Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-24T06:07:07.736Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-10-24T06:07:07.748Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-24T06:07:07.766Z] ========================================================= [2024-10-24T06:07:07.766Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-10-24T06:07:07.766Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-24T06:07:08.121Z] + 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-10-24T06:07:08.392Z] Sending build context to Docker daemon 3.055MB [2024-10-24T06:07:08.664Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-10-24T06:07:08.664Z] Step 2/22 : FROM ${BASE} as builder [2024-10-24T06:07:08.664Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-10-24T06:07:08.664Z] 579b34f0a95b: Pulling fs layer [2024-10-24T06:07:08.664Z] e71477ac5e1b: Pulling fs layer [2024-10-24T06:07:08.936Z] 579b34f0a95b: Download complete [2024-10-24T06:07:09.527Z] 579b34f0a95b: Pull complete [2024-10-24T06:07:11.503Z] e71477ac5e1b: Verifying Checksum [2024-10-24T06:07:11.503Z] e71477ac5e1b: Download complete [2024-10-24T06:07:23.873Z] e71477ac5e1b: Pull complete [2024-10-24T06:07:23.873Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-10-24T06:07:23.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-10-24T06:07:23.873Z] ---> 2b552cad5dd9 [2024-10-24T06:07:23.873Z] 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-10-24T06:07:23.873Z] ---> Running in 7dbdd3b9c47c [2024-10-24T06:07:24.463Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-10-24T06:07:25.051Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-24T06:07:25.051Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-24T06:07:25.051Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-24T06:07:25.639Z] Removing intermediate container 7dbdd3b9c47c [2024-10-24T06:07:25.639Z] ---> 90e530bf577b [2024-10-24T06:07:25.639Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-24T06:07:25.908Z] ---> Running in 0133091ce128 [2024-10-24T06:07:27.344Z] Removing intermediate container 0133091ce128 [2024-10-24T06:07:27.344Z] ---> 9394a8169288 [2024-10-24T06:07:27.344Z] 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-10-24T06:07:27.617Z] ---> Running in c67346598837 [2024-10-24T06:07:28.582Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-24T06:07:28.849Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-24T06:07:29.434Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-24T06:07:30.392Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-24T06:07:30.392Z] (1/17) Installing hiredis (1.1.0-r2) [2024-10-24T06:07:30.658Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-10-24T06:07:30.658Z] (3/17) Installing libcbor (0.10.2-r1) [2024-10-24T06:07:30.658Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-10-24T06:07:31.616Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-10-24T06:07:31.616Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-10-24T06:07:31.884Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-10-24T06:07:31.884Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-10-24T06:07:31.884Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-10-24T06:07:31.884Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-10-24T06:07:31.884Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-10-24T06:07:31.884Z] (12/17) Installing libblkid (2.38.1-r8) [2024-10-24T06:07:31.884Z] (13/17) Installing libuuid (2.38.1-r8) [2024-10-24T06:07:31.884Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-10-24T06:07:31.884Z] (15/17) Installing libmount (2.38.1-r8) [2024-10-24T06:07:31.884Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-10-24T06:07:31.884Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-10-24T06:07:32.152Z] Executing busybox-1.36.1-r4.trigger [2024-10-24T06:07:32.422Z] OK: 333 MiB in 99 packages [2024-10-24T06:07:33.844Z] Removing intermediate container c67346598837 [2024-10-24T06:07:33.844Z] ---> 3695e3aaec0b [2024-10-24T06:07:33.844Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-10-24T06:07:33.844Z] ---> Running in 5249747fccb0 [2024-10-24T06:07:37.244Z] Removing intermediate container 5249747fccb0 [2024-10-24T06:07:37.244Z] ---> ba9d2ba01383 [2024-10-24T06:07:37.244Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-10-24T06:07:37.514Z] ---> 8cb4149b2a82 [2024-10-24T06:07:37.514Z] Step 8/22 : COPY src /tmp/sdk/src [2024-10-24T06:07:39.464Z] ---> 49e4fb97fd92 [2024-10-24T06:07:39.464Z] Step 9/22 : COPY include /tmp/sdk/include [2024-10-24T06:07:40.054Z] ---> 91826808fb3f [2024-10-24T06:07:40.054Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-10-24T06:07:40.649Z] ---> 8c565fb1d17f [2024-10-24T06:07:40.649Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-10-24T06:07:40.920Z] ---> 1eb213ff0ee9 [2024-10-24T06:07:40.920Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-10-24T06:07:41.518Z] ---> fdeb4a8880fe [2024-10-24T06:07:41.518Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-10-24T06:07:41.518Z] ---> Running in 711e5af055da [2024-10-24T06:07:42.943Z] + CPPCHECK=false [2024-10-24T06:07:42.943Z] + DOCGEN=false [2024-10-24T06:07:42.943Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-10-24T06:07:42.943Z] + '[' 0 -gt 0 ] [2024-10-24T06:07:42.943Z] + readlink -f ./scripts/build.sh [2024-10-24T06:07:42.943Z] + dirname /tmp/sdk/scripts/build.sh [2024-10-24T06:07:42.943Z] + dirname /tmp/sdk/scripts [2024-10-24T06:07:42.943Z] + ROOT=/tmp/sdk [2024-10-24T06:07:42.943Z] + cd /tmp/sdk [2024-10-24T06:07:42.943Z] + mkdir -p /tmp/sdk/build/release [2024-10-24T06:07:42.943Z] + cd /tmp/sdk/build/release [2024-10-24T06:07:42.943Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-10-24T06:07:43.212Z] -- The C compiler identification is GNU 12.2.1 [2024-10-24T06:07:43.212Z] -- Detecting C compiler ABI info [2024-10-24T06:07:43.480Z] -- Detecting C compiler ABI info - done [2024-10-24T06:07:43.749Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-10-24T06:07:43.749Z] -- Detecting C compile features [2024-10-24T06:07:43.749Z] -- Detecting C compile features - done [2024-10-24T06:07:43.749Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-10-24T06:07:44.017Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-10-24T06:07:44.017Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-10-24T06:07:44.017Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-10-24T06:07:44.017Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-10-24T06:07:44.017Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-10-24T06:07:44.017Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-10-24T06:07:44.017Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-10-24T06:07:44.017Z] -- /opt/iotech/iot/1.5/include [2024-10-24T06:07:44.017Z] -- C SDK 4.0.0-dev.1 for Linux [2024-10-24T06:07:44.017Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-10-24T06:07:44.285Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-10-24T06:07:44.552Z] -- Found Curses: /usr/lib/libcurses.so [2024-10-24T06:07:44.552Z] -- Configuring done (1.9s) [2024-10-24T06:07:44.820Z] -- Generating done (0.3s) [2024-10-24T06:07:45.088Z] -- Build files have been written to: /tmp/sdk/build/release [2024-10-24T06:07:45.088Z] + make all package [2024-10-24T06:07:45.088Z] + tee release.log [2024-10-24T06:07:45.088Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-10-24T06:07:46.057Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-10-24T06:07:47.017Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-10-24T06:07:47.601Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-10-24T06:07:48.569Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-10-24T06:07:49.160Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-10-24T06:07:51.753Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-10-24T06:07:52.721Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-10-24T06:07:52.721Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-24T06:07:52.721Z] 294 | while (privateConfig) [2024-10-24T06:07:52.721Z] | ^~~~~~~~~~~~~ [2024-10-24T06:07:52.721Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-10-24T06:07:52.721Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-10-24T06:07:52.721Z] | ^~~~~~~~~~~~~ [2024-10-24T06:07:52.721Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-24T06:07:52.721Z] 271 | while (result) [2024-10-24T06:07:52.721Z] | ^~~~~~ [2024-10-24T06:07:52.721Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-10-24T06:07:52.721Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-10-24T06:07:52.721Z] | ^~~~~~ [2024-10-24T06:07:52.990Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-10-24T06:07:53.258Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-10-24T06:07:54.226Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-10-24T06:07:56.833Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-10-24T06:07:57.421Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-10-24T06:07:58.401Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-10-24T06:07:59.367Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-10-24T06:07:59.950Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-10-24T06:08:01.360Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-10-24T06:08:01.360Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-10-24T06:08:03.966Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-10-24T06:08:04.237Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-10-24T06:08:04.825Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-10-24T06:08:06.775Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-10-24T06:08:15.003Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-10-24T06:08:15.004Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-10-24T06:08:15.273Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-10-24T06:08:15.863Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-10-24T06:08:16.134Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-10-24T06:08:18.090Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-10-24T06:08:20.686Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-10-24T06:08:20.955Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-10-24T06:08:21.919Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-10-24T06:08:22.508Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-10-24T06:08:22.780Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-10-24T06:08:22.780Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-24T06:08:22.780Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-10-24T06:08:22.780Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-24T06:08:22.780Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-24T06:08:22.780Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-10-24T06:08:22.780Z] | ^ [2024-10-24T06:08:24.741Z] /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-24T06:08:24.741Z] 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-10-24T06:08:24.741Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-24T06:08:24.741Z] /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here [2024-10-24T06:08:24.741Z] 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-10-24T06:08:24.741Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-10-24T06:08:26.169Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-10-24T06:08:26.772Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-10-24T06:08:27.366Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-10-24T06:08:27.959Z] [ 68%] Linking C shared library libcsdk.so [2024-10-24T06:08:27.959Z] [ 68%] Built target csdk [2024-10-24T06:08:27.959Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-10-24T06:08:29.383Z] [ 72%] Linking C executable template [2024-10-24T06:08:29.655Z] [ 72%] Built target template [2024-10-24T06:08:29.655Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-10-24T06:08:30.247Z] [ 76%] Linking C executable device-counter [2024-10-24T06:08:30.841Z] [ 76%] Built target device-counter [2024-10-24T06:08:30.841Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-10-24T06:08:31.811Z] [ 80%] Linking C executable device-random [2024-10-24T06:08:32.084Z] [ 80%] Built target device-random [2024-10-24T06:08:32.354Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-10-24T06:08:32.945Z] [ 84%] Linking C executable device-gyro [2024-10-24T06:08:33.536Z] [ 84%] Built target device-gyro [2024-10-24T06:08:33.536Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-10-24T06:08:34.126Z] [ 88%] Linking C executable device-bitfields [2024-10-24T06:08:34.714Z] [ 88%] Built target device-bitfields [2024-10-24T06:08:34.983Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-10-24T06:08:36.404Z] [ 92%] Linking C executable template-discovery [2024-10-24T06:08:36.673Z] [ 92%] Built target template-discovery [2024-10-24T06:08:36.673Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-10-24T06:08:37.637Z] [ 96%] Linking C executable device-file [2024-10-24T06:08:38.226Z] [ 96%] Built target device-file [2024-10-24T06:08:38.226Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-10-24T06:08:38.814Z] [100%] Linking C executable device-terminal [2024-10-24T06:08:39.401Z] [100%] Built target device-terminal [2024-10-24T06:08:39.401Z] Run CPack packaging tool... [2024-10-24T06:08:39.670Z] CPack: Create package using TGZ [2024-10-24T06:08:39.670Z] CPack: Install projects [2024-10-24T06:08:39.670Z] CPack: - Run preinstall target for: Csdk [2024-10-24T06:08:40.634Z] CPack: - Install project: Csdk [] [2024-10-24T06:08:40.634Z] CPack: Create package [2024-10-24T06:08:40.634Z] CPack: - package: /tmp/sdk/build/release/csdk-4.0.0-dev.1.tar.gz generated. [2024-10-24T06:08:40.634Z] + '[' false '=' true ] [2024-10-24T06:08:40.634Z] + '[' false '=' true ] [2024-10-24T06:08:40.634Z] + mkdir -p /tmp/sdk/build/debug [2024-10-24T06:08:40.634Z] + cd /tmp/sdk/build/debug [2024-10-24T06:08:40.634Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-10-24T06:08:41.223Z] -- The C compiler identification is GNU 12.2.1 [2024-10-24T06:08:41.223Z] -- Detecting C compiler ABI info [2024-10-24T06:08:41.492Z] -- Detecting C compiler ABI info - done [2024-10-24T06:08:41.761Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-10-24T06:08:41.761Z] -- Detecting C compile features [2024-10-24T06:08:41.761Z] -- Detecting C compile features - done [2024-10-24T06:08:41.761Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-10-24T06:08:42.030Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-10-24T06:08:42.030Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-10-24T06:08:42.030Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-10-24T06:08:42.030Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-10-24T06:08:42.030Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-10-24T06:08:42.030Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-10-24T06:08:42.030Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-10-24T06:08:42.030Z] -- /opt/iotech/iot/1.5/include [2024-10-24T06:08:42.030Z] -- C SDK 4.0.0-dev.1 for Linux [2024-10-24T06:08:42.030Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-10-24T06:08:42.306Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-10-24T06:08:42.580Z] -- Found Curses: /usr/lib/libcurses.so [2024-10-24T06:08:42.861Z] -- Configuring done (2.0s) [2024-10-24T06:08:43.130Z] -- Generating done (0.3s) [2024-10-24T06:08:43.130Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-10-24T06:08:43.130Z] + make [2024-10-24T06:08:43.130Z] + tee debug.log [2024-10-24T06:08:43.130Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-10-24T06:08:43.727Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-10-24T06:08:44.316Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-10-24T06:08:44.584Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-10-24T06:08:45.180Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-10-24T06:08:45.453Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-10-24T06:08:46.431Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-10-24T06:08:47.018Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-10-24T06:08:47.295Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-10-24T06:08:47.881Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-10-24T06:08:48.471Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-10-24T06:08:49.059Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-10-24T06:08:49.646Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-10-24T06:08:49.915Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-10-24T06:08:50.501Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-10-24T06:08:50.770Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-10-24T06:08:51.046Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-10-24T06:08:52.009Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-10-24T06:08:52.277Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-10-24T06:08:52.547Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-10-24T06:08:53.520Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-10-24T06:08:54.935Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-10-24T06:08:55.204Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-10-24T06:08:55.473Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-10-24T06:08:56.061Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-10-24T06:08:56.328Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-10-24T06:08:56.917Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-10-24T06:08:58.867Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-10-24T06:08:58.867Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-10-24T06:08:59.453Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-10-24T06:08:59.723Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-10-24T06:08:59.991Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-10-24T06:08:59.991Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-24T06:08:59.991Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-10-24T06:08:59.991Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-24T06:08:59.991Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-24T06:08:59.991Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-10-24T06:08:59.991Z] | ^ [2024-10-24T06:09:00.954Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-10-24T06:09:01.224Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-10-24T06:09:01.811Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-10-24T06:09:02.080Z] [ 68%] Linking C shared library libcsdk.so [2024-10-24T06:09:02.348Z] [ 68%] Built target csdk [2024-10-24T06:09:02.348Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-10-24T06:09:02.938Z] [ 72%] Linking C executable template [2024-10-24T06:09:03.207Z] [ 72%] Built target template [2024-10-24T06:09:03.207Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-10-24T06:09:03.793Z] [ 76%] Linking C executable device-counter [2024-10-24T06:09:04.063Z] [ 76%] Built target device-counter [2024-10-24T06:09:04.330Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-10-24T06:09:04.597Z] [ 80%] Linking C executable device-random [2024-10-24T06:09:05.180Z] [ 80%] Built target device-random [2024-10-24T06:09:05.180Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-10-24T06:09:05.447Z] [ 84%] Linking C executable device-gyro [2024-10-24T06:09:05.714Z] [ 84%] Built target device-gyro [2024-10-24T06:09:05.980Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-10-24T06:09:06.246Z] [ 88%] Linking C executable device-bitfields [2024-10-24T06:09:06.513Z] [ 88%] Built target device-bitfields [2024-10-24T06:09:06.513Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-10-24T06:09:07.097Z] [ 92%] Linking C executable template-discovery [2024-10-24T06:09:07.367Z] [ 92%] Built target template-discovery [2024-10-24T06:09:07.635Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-10-24T06:09:07.903Z] [ 96%] Linking C executable device-file [2024-10-24T06:09:08.502Z] [ 96%] Built target device-file [2024-10-24T06:09:08.502Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-10-24T06:09:08.772Z] [100%] Linking C executable device-terminal [2024-10-24T06:09:09.361Z] [100%] Built target device-terminal [2024-10-24T06:09:09.361Z] make: Entering directory '/tmp/sdk/build/release' [2024-10-24T06:09:09.632Z] [ 68%] Built target csdk [2024-10-24T06:09:09.632Z] [ 72%] Built target template [2024-10-24T06:09:09.632Z] [ 76%] Built target device-counter [2024-10-24T06:09:09.901Z] [ 80%] Built target device-random [2024-10-24T06:09:09.901Z] [ 84%] Built target device-gyro [2024-10-24T06:09:09.901Z] [ 88%] Built target device-bitfields [2024-10-24T06:09:09.901Z] [ 92%] Built target template-discovery [2024-10-24T06:09:10.171Z] [ 96%] Built target device-file [2024-10-24T06:09:10.171Z] [100%] Built target device-terminal [2024-10-24T06:09:10.171Z] Install the project... [2024-10-24T06:09:10.171Z] -- Install configuration: "Release" [2024-10-24T06:09:10.171Z] -- Installing: /usr/local/lib/libcsdk.so [2024-10-24T06:09:10.171Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-10-24T06:09:10.171Z] -- Installing: /usr/local/include [2024-10-24T06:09:10.171Z] -- Installing: /usr/local/include/devsdk [2024-10-24T06:09:10.171Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-10-24T06:09:10.171Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-10-24T06:09:10.171Z] -- Installing: /usr/local/include/edgex [2024-10-24T06:09:10.171Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-10-24T06:09:10.171Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-10-24T06:09:10.171Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-10-24T06:09:10.171Z] -- Installing: /usr/local/include/edgex/devices.h [2024-10-24T06:09:10.171Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-10-24T06:09:10.171Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-10-24T06:09:10.171Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-10-24T06:09:10.171Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-10-24T06:09:10.443Z] make: Leaving directory '/tmp/sdk/build/release' [2024-10-24T06:09:11.863Z] Removing intermediate container 711e5af055da [2024-10-24T06:09:11.863Z] ---> 7151965dfa93 [2024-10-24T06:09:11.863Z] Step 14/22 : FROM ${BASE} [2024-10-24T06:09:11.863Z] ---> 2b552cad5dd9 [2024-10-24T06:09:11.863Z] Step 15/22 : LABEL maintainer="IOTech " [2024-10-24T06:09:11.863Z] ---> Running in defb58dec9af [2024-10-24T06:09:12.131Z] Removing intermediate container defb58dec9af [2024-10-24T06:09:12.131Z] ---> 3ccc8c87cd5c [2024-10-24T06:09:12.131Z] 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-10-24T06:09:12.131Z] ---> Running in 11fc158d3c75 [2024-10-24T06:09:13.091Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-10-24T06:09:13.735Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-24T06:09:13.735Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-24T06:09:13.735Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-24T06:09:14.331Z] Removing intermediate container 11fc158d3c75 [2024-10-24T06:09:14.331Z] ---> 1adec5f6ad22 [2024-10-24T06:09:14.331Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-24T06:09:14.621Z] ---> Running in 587e070ba8be [2024-10-24T06:09:16.063Z] Removing intermediate container 587e070ba8be [2024-10-24T06:09:16.063Z] ---> 64fd76cac948 [2024-10-24T06:09:16.063Z] 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-10-24T06:09:16.387Z] ---> Running in 6282a01febff [2024-10-24T06:09:17.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-24T06:09:17.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-24T06:09:18.230Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-24T06:09:19.203Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-24T06:09:19.203Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-10-24T06:09:19.203Z] (2/10) Installing curl (8.9.1-r1) [2024-10-24T06:09:19.203Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-10-24T06:09:19.203Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-10-24T06:09:19.203Z] (5/10) Installing hiredis (1.1.0-r2) [2024-10-24T06:09:19.203Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-10-24T06:09:19.471Z] (7/10) Installing libcbor (0.10.2-r1) [2024-10-24T06:09:19.471Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-10-24T06:09:20.056Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-10-24T06:09:20.324Z] (10/10) Installing libuuid (2.38.1-r8) [2024-10-24T06:09:20.324Z] Executing busybox-1.36.1-r4.trigger [2024-10-24T06:09:20.324Z] OK: 328 MiB in 90 packages [2024-10-24T06:09:22.256Z] Removing intermediate container 6282a01febff [2024-10-24T06:09:22.257Z] ---> 74026696d75e [2024-10-24T06:09:22.257Z] Step 19/22 : RUN apk --no-cache upgrade [2024-10-24T06:09:22.257Z] ---> Running in 4c81cfd1604c [2024-10-24T06:09:22.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-24T06:09:23.113Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-24T06:09:23.385Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-24T06:09:24.374Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-24T06:09:24.374Z] Upgrading critical system libraries and apk-tools: [2024-10-24T06:09:24.374Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-10-24T06:09:24.374Z] Executing busybox-1.36.1-r4.trigger [2024-10-24T06:09:24.640Z] Continuing the upgrade transaction with new apk-tools: [2024-10-24T06:09:24.640Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-24T06:09:24.906Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-24T06:09:25.492Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-24T06:09:26.448Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-24T06:09:26.448Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-10-24T06:09:26.448Z] Executing busybox-1.36.1-r7.post-upgrade [2024-10-24T06:09:26.448Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-10-24T06:09:26.448Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-10-24T06:09:26.448Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-10-24T06:09:26.448Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-10-24T06:09:26.448Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-10-24T06:09:26.448Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-10-24T06:09:26.448Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.6-r0) [2024-10-24T06:09:26.448Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-10-24T06:09:26.713Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-10-24T06:09:26.713Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-10-24T06:09:26.981Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-10-24T06:09:26.981Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-10-24T06:09:26.981Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-10-24T06:09:27.255Z] Executing busybox-1.36.1-r7.trigger [2024-10-24T06:09:27.255Z] Executing ca-certificates-20240226-r0.trigger [2024-10-24T06:09:27.255Z] OK: 328 MiB in 90 packages [2024-10-24T06:09:29.859Z] Removing intermediate container 4c81cfd1604c [2024-10-24T06:09:29.859Z] ---> a2f05ef139fa [2024-10-24T06:09:29.859Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-10-24T06:09:29.859Z] ---> 76fbe8a34065 [2024-10-24T06:09:29.859Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-10-24T06:09:30.460Z] ---> dd3dc39d9b32 [2024-10-24T06:09:30.460Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-10-24T06:09:31.050Z] ---> 1cb30a02d8dc [2024-10-24T06:09:31.319Z] Successfully built 1cb30a02d8dc [2024-10-24T06:09:31.319Z] 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-10-24T06:09:31.780Z] + docker inspect -f . ci-base-image-arm64 [2024-10-24T06:09:31.780Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-24T06:09:32.036Z] prd-ubuntu20.04-docker-arm64-4c-16g-23673 does not seem to be running inside a container [2024-10-24T06:09:32.139Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/78 -v /w/workspace/device-sdk-c/78:/w/workspace/device-sdk-c/78:rw,z -v /w/workspace/device-sdk-c/78@tmp:/w/workspace/device-sdk-c/78@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-10-24T06:09:34.217Z] $ docker top 9fe191d7921cd1b0b18619086a70b14f3fee3bd501dc49bffcc2fe030713cc29 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-24T06:09:35.063Z] + make test [2024-10-24T06:09:35.063Z] echo "make test" [2024-10-24T06:09:35.063Z] make test [Pipeline] } [2024-10-24T06:09:35.081Z] $ docker stop --time=1 9fe191d7921cd1b0b18619086a70b14f3fee3bd501dc49bffcc2fe030713cc29 [2024-10-24T06:09:36.710Z] $ docker rm -f --volumes 9fe191d7921cd1b0b18619086a70b14f3fee3bd501dc49bffcc2fe030713cc29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-24T06:09:37.304Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-24T06:09:37.638Z] + ls -al . [2024-10-24T06:09:37.639Z] total 208 [2024-10-24T06:09:37.639Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 06:06 . [2024-10-24T06:09:37.639Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 06:06 .. [2024-10-24T06:09:37.639Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 06:06 .git [2024-10-24T06:09:37.639Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 06:06 .github [2024-10-24T06:09:37.639Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 24 06:06 .gitignore [2024-10-24T06:09:37.639Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 24 06:06 Attribution.txt [2024-10-24T06:09:37.639Z] -rw-rw-r-- 1 jenkins jenkins 11953 Oct 24 06:06 CHANGELOG.md [2024-10-24T06:09:37.639Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 24 06:06 Doxyfile [2024-10-24T06:09:37.639Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 06:06 GOVERNANCE.md [2024-10-24T06:09:37.639Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 24 06:06 Jenkinsfile [2024-10-24T06:09:37.639Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 24 06:06 LICENSE [2024-10-24T06:09:37.639Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 24 06:06 Makefile [2024-10-24T06:09:37.639Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 24 06:06 OWNERS.md [2024-10-24T06:09:37.639Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 24 06:06 README.IOT.md [2024-10-24T06:09:37.639Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 24 06:06 README.md [2024-10-24T06:09:37.639Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 24 06:06 README.v3.md [2024-10-24T06:09:37.639Z] -rw-rw-r-- 1 jenkins jenkins 11 Oct 24 06:03 VERSION [2024-10-24T06:09:37.639Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 06:06 docs [2024-10-24T06:09:37.639Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 06:06 include [2024-10-24T06:09:37.639Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 06:06 scripts [2024-10-24T06:09:37.639Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 06:06 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-24T06:09:38.002Z] + 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=6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 --label arch=arm64 --label version=4.0.0-dev.1 . [2024-10-24T06:09:38.585Z] Sending build context to Docker daemon 3.055MB [2024-10-24T06:09:38.585Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-10-24T06:09:38.585Z] Step 2/18 : FROM ${BASE} [2024-10-24T06:09:38.585Z] ---> 1cb30a02d8dc [2024-10-24T06:09:38.585Z] Step 3/18 : LABEL maintainer="IOTech " [2024-10-24T06:09:38.585Z] ---> Running in eda661d77a16 [2024-10-24T06:09:38.852Z] Removing intermediate container eda661d77a16 [2024-10-24T06:09:38.852Z] ---> 81384106097b [2024-10-24T06:09:38.852Z] 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-10-24T06:09:38.852Z] ---> Running in b76d7c625f8e [2024-10-24T06:09:39.812Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-10-24T06:09:40.392Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-24T06:09:40.392Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-24T06:09:40.392Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-24T06:09:40.991Z] Removing intermediate container b76d7c625f8e [2024-10-24T06:09:40.991Z] ---> b56039dfcbcd [2024-10-24T06:09:40.991Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-24T06:09:40.991Z] ---> Running in 328588f1ca06 [2024-10-24T06:09:42.957Z] Removing intermediate container 328588f1ca06 [2024-10-24T06:09:42.957Z] ---> 0505af135b1f [2024-10-24T06:09:42.957Z] 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-10-24T06:09:42.957Z] ---> Running in ed355ba7ee9c [2024-10-24T06:09:43.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-24T06:09:44.219Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-24T06:09:44.808Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-24T06:09:45.777Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-24T06:09:45.777Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-10-24T06:09:46.050Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-10-24T06:09:46.050Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-10-24T06:09:46.050Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-10-24T06:09:46.050Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-10-24T06:09:46.050Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-10-24T06:09:46.050Z] (7/11) Installing libblkid (2.38.1-r8) [2024-10-24T06:09:46.050Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-10-24T06:09:46.050Z] (9/11) Installing libmount (2.38.1-r8) [2024-10-24T06:09:46.324Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-10-24T06:09:46.324Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-10-24T06:09:46.324Z] Executing busybox-1.36.1-r7.trigger [2024-10-24T06:09:46.324Z] OK: 334 MiB in 101 packages [2024-10-24T06:09:47.740Z] Removing intermediate container ed355ba7ee9c [2024-10-24T06:09:47.740Z] ---> 3f38ea66ed7b [2024-10-24T06:09:47.740Z] Step 7/18 : RUN apk --no-cache upgrade [2024-10-24T06:09:47.740Z] ---> Running in a127291db1dd [2024-10-24T06:09:48.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-24T06:09:49.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-24T06:09:49.882Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-24T06:09:50.472Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-24T06:09:50.742Z] OK: 334 MiB in 101 packages [2024-10-24T06:09:51.709Z] Removing intermediate container a127291db1dd [2024-10-24T06:09:51.709Z] ---> b53c08b47603 [2024-10-24T06:09:51.709Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-10-24T06:09:52.299Z] ---> ee2043f376dd [2024-10-24T06:09:52.299Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-10-24T06:09:53.263Z] ---> 8dd830979da8 [2024-10-24T06:09:53.263Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-10-24T06:09:53.537Z] ---> a0fb8e2abc3e [2024-10-24T06:09:53.537Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-10-24T06:09:54.120Z] ---> 56c3686597fb [2024-10-24T06:09:54.120Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-10-24T06:09:54.388Z] ---> a42c68300b1b [2024-10-24T06:09:54.388Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-10-24T06:09:54.989Z] ---> 06997fe2e152 [2024-10-24T06:09:54.989Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-10-24T06:09:54.989Z] ---> Running in 1e3395c1b5a1 [2024-10-24T06:09:55.261Z] Removing intermediate container 1e3395c1b5a1 [2024-10-24T06:09:55.261Z] ---> 5853e5352064 [2024-10-24T06:09:55.261Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-10-24T06:09:55.530Z] ---> Running in afdda473143a [2024-10-24T06:09:55.797Z] Removing intermediate container afdda473143a [2024-10-24T06:09:55.797Z] ---> bec28a9374e4 [2024-10-24T06:09:55.797Z] Step 16/18 : LABEL arch=arm64 [2024-10-24T06:09:55.797Z] ---> Running in 33b4661feb1b [2024-10-24T06:09:56.062Z] Removing intermediate container 33b4661feb1b [2024-10-24T06:09:56.062Z] ---> 26c1bf639fff [2024-10-24T06:09:56.062Z] Step 17/18 : LABEL git_sha=6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 [2024-10-24T06:09:56.062Z] ---> Running in 818d591efce6 [2024-10-24T06:09:56.331Z] Removing intermediate container 818d591efce6 [2024-10-24T06:09:56.331Z] ---> 433fa9fb3e29 [2024-10-24T06:09:56.331Z] Step 18/18 : LABEL version=4.0.0-dev.1 [2024-10-24T06:09:56.602Z] ---> Running in 7aa413e5d19e [2024-10-24T06:09:56.867Z] Removing intermediate container 7aa413e5d19e [2024-10-24T06:09:56.867Z] ---> 25f2e5c3ddb5 [2024-10-24T06:09:56.867Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2024-10-24T06:09:56.867Z] Successfully built 25f2e5c3ddb5 [2024-10-24T06:09:56.867Z] 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-10-24T06:09:57.333Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-24T06:09:57.333Z] [2024-10-24T06:09:57.333Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-24T06:09:57.663Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-24T06:09:57.663Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-24T06:09:57.663Z] 8998bd30e6a1: Pulling fs layer [2024-10-24T06:09:57.663Z] 04944245beec: Pulling fs layer [2024-10-24T06:09:57.663Z] 699f458cf7ca: Pulling fs layer [2024-10-24T06:09:57.663Z] 765212b225bb: Pulling fs layer [2024-10-24T06:09:57.663Z] f23df028b6ca: Pulling fs layer [2024-10-24T06:09:57.663Z] d65c8cfc05b1: Pulling fs layer [2024-10-24T06:09:57.663Z] 2437ff75d9bd: Pulling fs layer [2024-10-24T06:09:57.663Z] f23df028b6ca: Waiting [2024-10-24T06:09:57.663Z] d65c8cfc05b1: Waiting [2024-10-24T06:09:57.663Z] 2437ff75d9bd: Waiting [2024-10-24T06:09:57.663Z] 765212b225bb: Waiting [2024-10-24T06:09:57.932Z] 04944245beec: Verifying Checksum [2024-10-24T06:09:57.932Z] 04944245beec: Download complete [2024-10-24T06:09:57.932Z] 765212b225bb: Verifying Checksum [2024-10-24T06:09:57.932Z] 765212b225bb: Download complete [2024-10-24T06:09:57.932Z] f23df028b6ca: Verifying Checksum [2024-10-24T06:09:57.932Z] f23df028b6ca: Download complete [2024-10-24T06:09:57.932Z] d65c8cfc05b1: Verifying Checksum [2024-10-24T06:09:57.932Z] d65c8cfc05b1: Download complete [2024-10-24T06:09:58.201Z] 699f458cf7ca: Verifying Checksum [2024-10-24T06:09:58.201Z] 699f458cf7ca: Download complete [2024-10-24T06:09:58.471Z] 8998bd30e6a1: Verifying Checksum [2024-10-24T06:09:58.471Z] 8998bd30e6a1: Download complete [2024-10-24T06:10:01.053Z] 2437ff75d9bd: Verifying Checksum [2024-10-24T06:10:01.053Z] 2437ff75d9bd: Download complete [2024-10-24T06:10:02.994Z] 8998bd30e6a1: Pull complete [2024-10-24T06:10:03.576Z] 04944245beec: Pull complete [2024-10-24T06:10:04.990Z] 699f458cf7ca: Pull complete [2024-10-24T06:10:05.258Z] 765212b225bb: Pull complete [2024-10-24T06:10:06.244Z] f23df028b6ca: Pull complete [2024-10-24T06:10:06.244Z] d65c8cfc05b1: Pull complete [2024-10-24T06:10:24.446Z] 2437ff75d9bd: Pull complete [2024-10-24T06:10:24.446Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-24T06:10:24.446Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-24T06:10:24.446Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-24T06:10:24.633Z] prd-ubuntu20.04-docker-arm64-4c-16g-23673 does not seem to be running inside a container [2024-10-24T06:10:24.688Z] $ 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/78 -v /w/workspace/device-sdk-c/78:/w/workspace/device-sdk-c/78:rw,z -v /w/workspace/device-sdk-c/78@tmp:/w/workspace/device-sdk-c/78@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-10-24T06:10:27.106Z] $ docker top 6c67f77575f21cce54dc499e83d62aca270d0609cecb5b82d91dfe97cd268621 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-24T06:10:27.947Z] ---> job-cost.sh [2024-10-24T06:10:27.947Z] lf-activate-venv: SKIPPING [2024-10-24T06:10:27.947Z] INFO: No Stack... [2024-10-24T06:10:28.216Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-24T06:10:29.178Z] INFO: Archiving Costs [Pipeline] sh [2024-10-24T06:10:29.823Z] + cat /w/workspace/device-sdk-c/78/archives/cost.csv [2024-10-24T06:10:29.824Z] + cut -d, -f6 [Pipeline] lock [2024-10-24T06:10:29.893Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-78-stack-cost] [2024-10-24T06:10:29.902Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-78-stack-cost] did not exist. Created. [2024-10-24T06:10:29.910Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-24T06:10:30.592Z] /w/workspace/device-sdk-c/78@tmp/durable-25d6cf29/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-24T06:10:31.243Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-24T06:10:31.273Z] Warning: overwriting stash ‘stack-cost’ [2024-10-24T06:10:31.802Z] Stashed 1 file(s) [Pipeline] } [2024-10-24T06:10:31.812Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-78-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-24T06:10:31.835Z] $ docker stop --time=1 6c67f77575f21cce54dc499e83d62aca270d0609cecb5b82d91dfe97cd268621 [2024-10-24T06:10:33.358Z] $ docker rm -f --volumes 6c67f77575f21cce54dc499e83d62aca270d0609cecb5b82d91dfe97cd268621 [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-10-24T06:10:34.056Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-24T06:10:34.056Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-24T06:10:34.363Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-24T06:10:34.363Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-24T06:10:34.442Z] prd-ubuntu20.04-docker-8c-8g-23670 does not seem to be running inside a container [2024-10-24T06:10:34.464Z] $ 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-10-24T06:10:34.756Z] $ docker top 253e755665577703de55684fddbc20e8098a7e33f19fbaa56174ce0630dbd181 -eo pid,comm [2024-10-24T06:10:34.802Z] 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-10-24T06:10:34.802Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-24T06:10:34.857Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-24T06:10:34.857Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-24T06:10:34.941Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-24T06:10:34.937Z] $ docker exec 253e755665577703de55684fddbc20e8098a7e33f19fbaa56174ce0630dbd181 ssh-agent [2024-10-24T06:10:35.043Z] SSH_AUTH_SOCK=/tmp/ssh-DLhptfe1roUy/agent.31 [2024-10-24T06:10:35.043Z] SSH_AGENT_PID=37 [2024-10-24T06:10:35.047Z] Running ssh-add (command line suppressed) [2024-10-24T06:10:35.137Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3732281008917135288.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3732281008917135288.key) [2024-10-24T06:10:35.157Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-24T06:10:35.446Z] + git semver tag [2024-10-24T06:10:35.706Z] 2024-10-24 06:10:35,610 [run_tag] DEBUG tag force:False [2024-10-24T06:10:35.706Z] 2024-10-24 06:10:35,610 [check_head_tag] DEBUG check head tag [2024-10-24T06:10:35.706Z] 2024-10-24 06:10:35,611 [execute] INFO git cat-file --batch-check [2024-10-24T06:10:35.706Z] 2024-10-24 06:10:35,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-10-24T06:10:35.706Z] 2024-10-24 06:10:35,614 [execute] INFO git cat-file --batch [2024-10-24T06:10:35.706Z] 2024-10-24 06:10:35,614 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-10-24T06:10:35.706Z] 2024-10-24 06:10:35,632 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-10-24T06:10:35.706Z] 2024-10-24 06:10:35,632 [execute] INFO git tag -a v4.0.0-dev.1 -m v4.0.0-dev.1 [2024-10-24T06:10:35.706Z] 2024-10-24 06:10:35,632 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.1', '-m', 'v4.0.0-dev.1'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-10-24T06:10:35.706Z] 2024-10-24 06:10:35,636 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-10-24T06:10:35.706Z] 4.0.0-dev.1 [Pipeline] } [2024-10-24T06:10:35.709Z] $ docker exec --env ******** --env ******** 253e755665577703de55684fddbc20e8098a7e33f19fbaa56174ce0630dbd181 ssh-agent -k [2024-10-24T06:10:35.811Z] unset SSH_AUTH_SOCK; [2024-10-24T06:10:35.812Z] unset SSH_AGENT_PID; [2024-10-24T06:10:35.812Z] echo Agent pid 37 killed; [2024-10-24T06:10:35.826Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-24T06:10:36.143Z] + git semver [Pipeline] } [2024-10-24T06:10:36.407Z] $ docker stop --time=1 253e755665577703de55684fddbc20e8098a7e33f19fbaa56174ce0630dbd181 [2024-10-24T06:10:37.644Z] $ docker rm -f --volumes 253e755665577703de55684fddbc20e8098a7e33f19fbaa56174ce0630dbd181 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-24T06:10:38.047Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-10-24T06:10:38.047Z] [2024-10-24T06:10:38.047Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-24T06:10:38.353Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-10-24T06:10:38.353Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-10-24T06:10:38.353Z] ab5ef0e58194: Pulling fs layer [2024-10-24T06:10:38.353Z] 9712f1f96733: Pulling fs layer [2024-10-24T06:10:38.353Z] 63f879dbbcfc: Pulling fs layer [2024-10-24T06:10:38.353Z] 0d9ebad4ef96: Pulling fs layer [2024-10-24T06:10:38.353Z] e9a5061849ea: Pulling fs layer [2024-10-24T06:10:38.353Z] d747dcd14b5f: Pulling fs layer [2024-10-24T06:10:38.353Z] 2de7ff778b66: Pulling fs layer [2024-10-24T06:10:38.353Z] e9a5061849ea: Waiting [2024-10-24T06:10:38.353Z] d747dcd14b5f: Waiting [2024-10-24T06:10:38.353Z] 2de7ff778b66: Waiting [2024-10-24T06:10:38.353Z] 0d9ebad4ef96: Waiting [2024-10-24T06:10:38.353Z] 9712f1f96733: Download complete [2024-10-24T06:10:38.613Z] 63f879dbbcfc: Verifying Checksum [2024-10-24T06:10:38.613Z] 63f879dbbcfc: Download complete [2024-10-24T06:10:38.871Z] e9a5061849ea: Verifying Checksum [2024-10-24T06:10:38.871Z] e9a5061849ea: Download complete [2024-10-24T06:10:38.871Z] 0d9ebad4ef96: Verifying Checksum [2024-10-24T06:10:38.871Z] 0d9ebad4ef96: Download complete [2024-10-24T06:10:38.871Z] d747dcd14b5f: Verifying Checksum [2024-10-24T06:10:38.871Z] d747dcd14b5f: Download complete [2024-10-24T06:10:39.129Z] ab5ef0e58194: Verifying Checksum [2024-10-24T06:10:39.129Z] ab5ef0e58194: Download complete [2024-10-24T06:10:39.129Z] 2de7ff778b66: Verifying Checksum [2024-10-24T06:10:39.129Z] 2de7ff778b66: Download complete [2024-10-24T06:10:41.656Z] ab5ef0e58194: Pull complete [2024-10-24T06:10:41.656Z] 9712f1f96733: Pull complete [2024-10-24T06:10:42.221Z] 63f879dbbcfc: Pull complete [2024-10-24T06:10:46.409Z] 0d9ebad4ef96: Pull complete [2024-10-24T06:10:46.409Z] e9a5061849ea: Pull complete [2024-10-24T06:10:46.409Z] d747dcd14b5f: Pull complete [2024-10-24T06:10:46.977Z] 2de7ff778b66: Pull complete [2024-10-24T06:10:46.977Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-10-24T06:10:46.977Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-10-24T06:10:46.977Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-24T06:10:47.071Z] prd-ubuntu20.04-docker-8c-8g-23670 does not seem to be running inside a container [2024-10-24T06:10:47.093Z] $ 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-10-24T06:10:52.723Z] $ docker top 6f8e5db9efefe8563da431e1f80d523e8230816a6ce7982e767efddeff98e653 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-10-24T06:10:52.803Z] provisioning config files... [2024-10-24T06:10:52.810Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config16075276572013042366tmp [2024-10-24T06:10:52.821Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config9933788556493339500tmp [2024-10-24T06:10:52.829Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15937843110394872131tmp [Pipeline] { [Pipeline] echo [2024-10-24T06:10:52.861Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-24T06:10:53.155Z] ---> sigul-configuration.sh [2024-10-24T06:10:53.155Z] gpg: directory `/root/.gnupg' created [2024-10-24T06:10:53.155Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-10-24T06:10:53.155Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-10-24T06:10:53.155Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-10-24T06:10:53.155Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-10-24T06:10:53.155Z] gpg: CAST5 encrypted data [2024-10-24T06:10:53.155Z] gpg: encrypted with 1 passphrase [2024-10-24T06:10:53.155Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-10-24T06:10:53.449Z] + mkdir /home/jenkins [2024-10-24T06:10:53.449Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-10-24T06:10:53.746Z] + 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-10-24T06:10:53.760Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-24T06:10:54.057Z] ---> sigul-install.sh [2024-10-24T06:10:54.057Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-10-24T06:10:54.350Z] + git tag --list [2024-10-24T06:10:54.351Z] 0.7.0 [2024-10-24T06:10:54.351Z] 0.7.1 [2024-10-24T06:10:54.351Z] 1.0.0 [2024-10-24T06:10:54.351Z] v1.0.1 [2024-10-24T06:10:54.351Z] v1.0.2 [2024-10-24T06:10:54.351Z] v1.0.3 [2024-10-24T06:10:54.351Z] v1.1.0 [2024-10-24T06:10:54.351Z] v1.1.1 [2024-10-24T06:10:54.351Z] v1.2.0 [2024-10-24T06:10:54.351Z] v1.2.1 [2024-10-24T06:10:54.351Z] v1.2.2 [2024-10-24T06:10:54.351Z] v1.3.0 [2024-10-24T06:10:54.351Z] v1.3.1 [2024-10-24T06:10:54.351Z] v2.0.0 [2024-10-24T06:10:54.351Z] v2.1.0 [2024-10-24T06:10:54.351Z] v2.2.0 [2024-10-24T06:10:54.351Z] v2.3.0 [2024-10-24T06:10:54.351Z] v3.0 [2024-10-24T06:10:54.351Z] v3.0.0 [2024-10-24T06:10:54.351Z] v3.0.1 [2024-10-24T06:10:54.351Z] v3.0.2 [2024-10-24T06:10:54.351Z] v3.0.3-dev.1 [2024-10-24T06:10:54.351Z] v3.0.3-dev.10 [2024-10-24T06:10:54.351Z] v3.0.3-dev.11 [2024-10-24T06:10:54.351Z] v3.0.3-dev.12 [2024-10-24T06:10:54.351Z] v3.0.3-dev.13 [2024-10-24T06:10:54.351Z] v3.0.3-dev.14 [2024-10-24T06:10:54.351Z] v3.0.3-dev.15 [2024-10-24T06:10:54.351Z] v3.0.3-dev.16 [2024-10-24T06:10:54.351Z] v3.0.3-dev.17 [2024-10-24T06:10:54.351Z] v3.0.3-dev.2 [2024-10-24T06:10:54.351Z] v3.0.3-dev.3 [2024-10-24T06:10:54.351Z] v3.0.3-dev.4 [2024-10-24T06:10:54.351Z] v3.0.3-dev.5 [2024-10-24T06:10:54.351Z] v3.0.3-dev.6 [2024-10-24T06:10:54.351Z] v3.0.3-dev.7 [2024-10-24T06:10:54.351Z] v3.0.3-dev.8 [2024-10-24T06:10:54.351Z] v3.0.3-dev.9 [2024-10-24T06:10:54.351Z] v3.1 [2024-10-24T06:10:54.351Z] v3.1.0 [2024-10-24T06:10:54.351Z] v3.1.0-dev.1 [2024-10-24T06:10:54.351Z] v3.1.0-dev.2 [2024-10-24T06:10:54.351Z] v3.1.0-dev.3 [2024-10-24T06:10:54.351Z] v3.1.0-dev.4 [2024-10-24T06:10:54.351Z] v3.1.0-dev.5 [2024-10-24T06:10:54.351Z] v3.1.0-dev.6 [2024-10-24T06:10:54.351Z] v3.1.0-dev.7 [2024-10-24T06:10:54.351Z] v3.1.0-dev.8 [2024-10-24T06:10:54.351Z] v3.1.0-dev.9 [2024-10-24T06:10:54.351Z] v3.1.1 [2024-10-24T06:10:54.351Z] v3.1.1-dev.1 [2024-10-24T06:10:54.351Z] v4.0.0-dev.1 [Pipeline] sh [2024-10-24T06:10:54.651Z] + lftools sign git-tag v4.0.0-dev.1 [2024-10-24T06:10:55.217Z] Signing Git tag with Sigul... [2024-10-24T06:10:55.217Z] Signing v4.0.0-dev.1 [Pipeline] echo [2024-10-24T06:10:55.489Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-24T06:10:55.776Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-10-24T06:10:55.783Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-10-24T06:10:55.797Z] $ docker stop --time=1 6f8e5db9efefe8563da431e1f80d523e8230816a6ce7982e767efddeff98e653 [2024-10-24T06:10:57.050Z] $ docker rm -f --volumes 6f8e5db9efefe8563da431e1f80d523e8230816a6ce7982e767efddeff98e653 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-10-24T06:10:57.458Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-24T06:10:57.458Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-24T06:10:57.762Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-24T06:10:57.762Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-24T06:10:57.837Z] prd-ubuntu20.04-docker-8c-8g-23670 does not seem to be running inside a container [2024-10-24T06:10:57.854Z] $ 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-10-24T06:10:59.173Z] $ docker top 2c3d449f720b05dd301ec22341a19831a3386387f1032c100b755fbbf08ce67b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-24T06:10:59.273Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-24T06:10:59.273Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-24T06:10:59.374Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-24T06:10:59.370Z] $ docker exec 2c3d449f720b05dd301ec22341a19831a3386387f1032c100b755fbbf08ce67b ssh-agent [2024-10-24T06:10:59.482Z] SSH_AUTH_SOCK=/tmp/ssh-lHc9pknO9BxH/agent.33 [2024-10-24T06:10:59.482Z] SSH_AGENT_PID=39 [2024-10-24T06:10:59.501Z] Running ssh-add (command line suppressed) [2024-10-24T06:10:59.604Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2894779115071109355.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_2894779115071109355.key) [2024-10-24T06:10:59.627Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-24T06:10:59.949Z] + git semver bump pre [2024-10-24T06:11:00.230Z] 2024-10-24 06:11:00,101 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-10-24T06:11:00.230Z] 2024-10-24 06:11:00,101 [bump_version] DEBUG bumping version:4.0.0-dev.1 on axis:pre with prefix:dev [2024-10-24T06:11:00.230Z] 2024-10-24 06:11:00,101 [bump_version] DEBUG bumped version:4.0.0-dev.2 [2024-10-24T06:11:00.230Z] 2024-10-24 06:11:00,101 [write_version] DEBUG write version:4.0.0-dev.2 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2024-10-24T06:11:00.230Z] 2024-10-24 06:11:00,101 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-10-24T06:11:00.230Z] 2024-10-24 06:11:00,101 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-10-24T06:11:00.230Z] 2024-10-24 06:11:00,103 [execute] INFO git cat-file --batch-check [2024-10-24T06:11:00.230Z] 2024-10-24 06:11:00,104 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-10-24T06:11:00.230Z] 2024-10-24 06:11:00,109 [execute] INFO git cat-file --batch [2024-10-24T06:11:00.230Z] 2024-10-24 06:11:00,109 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-10-24T06:11:00.230Z] 2024-10-24 06:11:00,114 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-10-24T06:11:00.230Z] 4.0.0-dev.2 [Pipeline] } [2024-10-24T06:11:00.265Z] $ docker exec --env ******** --env ******** 2c3d449f720b05dd301ec22341a19831a3386387f1032c100b755fbbf08ce67b ssh-agent -k [2024-10-24T06:11:00.360Z] unset SSH_AUTH_SOCK; [2024-10-24T06:11:00.360Z] unset SSH_AGENT_PID; [2024-10-24T06:11:00.360Z] echo Agent pid 39 killed; [2024-10-24T06:11:00.375Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-24T06:11:01.517Z] + git semver [Pipeline] } [2024-10-24T06:11:01.524Z] $ docker stop --time=1 2c3d449f720b05dd301ec22341a19831a3386387f1032c100b755fbbf08ce67b [2024-10-24T06:11:05.365Z] $ docker rm -f --volumes 2c3d449f720b05dd301ec22341a19831a3386387f1032c100b755fbbf08ce67b [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-24T06:11:05.722Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-24T06:11:05.722Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-24T06:11:06.024Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-24T06:11:06.024Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-24T06:11:06.100Z] prd-ubuntu20.04-docker-8c-8g-23670 does not seem to be running inside a container [2024-10-24T06:11:06.120Z] $ 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-10-24T06:11:07.112Z] $ docker top e39ca265a98f9565f9ea6110ad4110e2c54b0f30f84f19124073fe9c9f784996 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-24T06:11:07.219Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-24T06:11:07.219Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-24T06:11:07.327Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-24T06:11:07.323Z] $ docker exec e39ca265a98f9565f9ea6110ad4110e2c54b0f30f84f19124073fe9c9f784996 ssh-agent [2024-10-24T06:11:07.445Z] SSH_AUTH_SOCK=/tmp/ssh-RpoLUoiAng3G/agent.31 [2024-10-24T06:11:07.445Z] SSH_AGENT_PID=37 [2024-10-24T06:11:07.449Z] Running ssh-add (command line suppressed) [2024-10-24T06:11:07.545Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_17109190898591751249.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_17109190898591751249.key) [2024-10-24T06:11:07.564Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-24T06:11:07.853Z] + git semver push [2024-10-24T06:11:08.111Z] 2024-10-24 06:11:08,020 [run_push] DEBUG push [2024-10-24T06:11:08.111Z] 2024-10-24 06:11:08,020 [execute] INFO git cat-file --batch-check [2024-10-24T06:11:08.111Z] 2024-10-24 06:11:08,021 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-10-24T06:11:08.111Z] 2024-10-24 06:11:08,024 [execute] INFO git rev-list 32b029f83bfe7f6a3b15a41a891b8227b9507d2c -- [2024-10-24T06:11:08.111Z] 2024-10-24 06:11:08,025 [execute] DEBUG Popen(['git', 'rev-list', '32b029f83bfe7f6a3b15a41a891b8227b9507d2c', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-10-24T06:11:08.111Z] 2024-10-24 06:11:08,032 [execute] INFO git fetch -v origin [2024-10-24T06:11:08.111Z] 2024-10-24 06:11:08,033 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-10-24T06:11:08.678Z] 2024-10-24 06:11:08,474 [run_push] DEBUG no remote changes detected [2024-10-24T06:11:08.678Z] 2024-10-24 06:11:08,474 [execute] INFO git push origin semver [2024-10-24T06:11:08.678Z] 2024-10-24 06:11:08,475 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-10-24T06:11:09.246Z] 2024-10-24 06:11:09,167 [run_push] DEBUG push all version tags [2024-10-24T06:11:09.246Z] 2024-10-24 06:11:09,167 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-10-24T06:11:09.246Z] 2024-10-24 06:11:09,168 [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-10-24T06:11:09.813Z] 2024-10-24 06:11:09,742 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-10-24T06:11:09.813Z] 4.0.0-dev.2 [Pipeline] } [2024-10-24T06:11:09.814Z] $ docker exec --env ******** --env ******** e39ca265a98f9565f9ea6110ad4110e2c54b0f30f84f19124073fe9c9f784996 ssh-agent -k [2024-10-24T06:11:09.912Z] unset SSH_AUTH_SOCK; [2024-10-24T06:11:09.912Z] unset SSH_AGENT_PID; [2024-10-24T06:11:09.912Z] echo Agent pid 37 killed; [2024-10-24T06:11:09.928Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-24T06:11:10.246Z] + git semver [Pipeline] } [2024-10-24T06:11:10.514Z] $ docker stop --time=1 e39ca265a98f9565f9ea6110ad4110e2c54b0f30f84f19124073fe9c9f784996 [2024-10-24T06:11:11.759Z] $ docker rm -f --volumes e39ca265a98f9565f9ea6110ad4110e2c54b0f30f84f19124073fe9c9f784996 [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-10-24T06:11:12.254Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2024-10-24T06:11:12.254Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-10-24T06:11:12.254Z] total 16 [2024-10-24T06:11:12.254Z] drwxr-xr-x 3 root root 4096 Oct 24 06:04 . [2024-10-24T06:11:12.254Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 06:10 .. [2024-10-24T06:11:12.254Z] drwxr-xr-x 2 root root 4096 Oct 24 06:04 cost [2024-10-24T06:11:12.254Z] -rw-r--r-- 1 root root 83 Oct 24 06:04 cost.csv [2024-10-24T06:11:12.254Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-10-24T06:11:12.254Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-10-24T06:11:12.254Z] total 16 [2024-10-24T06:11:12.254Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 06:04 . [2024-10-24T06:11:12.254Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 06:10 .. [2024-10-24T06:11:12.254Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 06:04 cost [2024-10-24T06:11:12.254Z] -rw-r--r-- 1 jenkins jenkins 83 Oct 24 06:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-24T06:11:12.547Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-24T06:11:13.406Z] ---> package-listing.sh [2024-10-24T06:11:13.406Z] ++ facter osfamily [2024-10-24T06:11:13.406Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-24T06:11:13.665Z] + OS_FAMILY=debian [2024-10-24T06:11:13.665Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2024-10-24T06:11:13.665Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-24T06:11:13.665Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-24T06:11:13.665Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-24T06:11:13.665Z] + PACKAGES=/tmp/packages_start.txt [2024-10-24T06:11:13.665Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-10-24T06:11:13.665Z] + PACKAGES=/tmp/packages_end.txt [2024-10-24T06:11:13.665Z] + case "${OS_FAMILY}" in [2024-10-24T06:11:13.665Z] + dpkg -l [2024-10-24T06:11:13.665Z] + grep '^ii' [2024-10-24T06:11:13.665Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-24T06:11:13.665Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-24T06:11:13.665Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-24T06:11:13.665Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-10-24T06:11:13.665Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2024-10-24T06:11:13.666Z] + 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-10-24T06:11:13.679Z] 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-10-24T06:11:13.959Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-24T06:11:14.531Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-24T06:11:14.531Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-24T06:11:14.610Z] prd-ubuntu20.04-docker-8c-8g-23670 does not seem to be running inside a container [2024-10-24T06:11:14.635Z] $ 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-10-24T06:11:14.821Z] $ docker top d0ec451621d267213d285008c15792ce65a587341fc7b6f90ddca790c3f36eee -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-24T06:11:15.199Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-24T06:11:15.485Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-24T06:11:15.770Z] + ls /var/log/sa-host [2024-10-24T06:11:15.771Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-24T06:11:15.843Z] provisioning config files... [2024-10-24T06:11:15.850Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15450245206457406772tmp [Pipeline] { [Pipeline] echo [2024-10-24T06:11:15.867Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-24T06:11:16.158Z] ---> create-netrc.sh [Pipeline] } [2024-10-24T06:11:16.166Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-24T06:11:16.491Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-24T06:11:16.503Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-24T06:11:16.791Z] ---> sudo-logs.sh [2024-10-24T06:11:16.791Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-24T06:11:16.824Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-24T06:11:17.112Z] ---> job-cost.sh [2024-10-24T06:11:17.112Z] lf-activate-venv: SKIPPING [2024-10-24T06:11:17.112Z] DEBUG: total: 0.2199999988079071 [2024-10-24T06:11:17.112Z] INFO: Retrieving Stack Cost... [2024-10-24T06:11:17.371Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-24T06:11:17.629Z] INFO: Archiving Costs [Pipeline] echo [2024-10-24T06:11:17.643Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-24T06:11:17.926Z] ---> logs-deploy.sh [2024-10-24T06:11:17.927Z] lf-activate-venv: SKIPPING [2024-10-24T06:11:17.927Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/78 [2024-10-24T06:11:17.927Z] INFO: archiving workspace using pattern(s): [2024-10-24T06:11:18.865Z] Archives upload complete. [2024-10-24T06:11:18.865Z] INFO: archiving logs to Nexus