Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b4a60c126f741d84c14ee104c3263f3235d33930 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6820216326985288827.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13495860370741827153.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5423411621906007462.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh643494992178683634.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1268247190130615196.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-27028’ Running on prd-ubuntu20.04-docker-8c-8g-27031 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b4a60c126f741d84c14ee104c3263f3235d33930 (main) Commit message: "fix: Missing discovery delete wrapper for secure mode (#521)" > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b4a60c126f741d84c14ee104c3263f3235d33930 # timeout=10 > git rev-list --no-walk 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-19T12:11:33.121Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-19T12:11:33.184Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-19T12:11:33.210Z] ========================================================= [2024-11-19T12:11:33.210Z] EdgeX Global Pipelines Version Info [2024-11-19T12:11:33.210Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-19T12:11:33.963Z] ------------------- [2024-11-19T12:11:33.963Z] stable info: [2024-11-19T12:11:33.963Z] ------------------- [2024-11-19T12:11:33.963Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-19T12:11:33.963Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-19T12:11:33.963Z] Message: update stable to v1.0.265 [2024-11-19T12:11:34.536Z] ------------------- [2024-11-19T12:11:34.536Z] experimental info: [2024-11-19T12:11:34.536Z] ------------------- [2024-11-19T12:11:34.536Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-19T12:11:34.536Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-19T12:11:34.536Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-19T12:11:34.619Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-11-19T12:11:34.645Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-11-19T12:11:34.668Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-19T12:11:34.694Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-19T12:11:34.718Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-19T12:11:34.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-11-19T12:11:34.784Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-11-19T12:11:34.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-19T12:11:34.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-19T12:11:34.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-11-19T12:11:34.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-19T12:11:34.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-19T12:11:34.909Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-19T12:11:34.930Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-11-19T12:11:34.955Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-19T12:11:34.979Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-19T12:11:35.002Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-19T12:11:35.029Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-11-19T12:11:35.053Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-11-19T12:11:35.075Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-11-19T12:11:35.096Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b4a60c126f741d84c14ee104c3263f3235d33930 [Pipeline] echo [2024-11-19T12:11:35.113Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b4a60c1 [Pipeline] echo [2024-11-19T12:11:35.146Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-19T12:11:35.209Z] provisioning config files... [2024-11-19T12:11:35.225Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1981904514587686516tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-19T12:11:35.568Z] ---> ****-login.sh [2024-11-19T12:11:35.568Z] nexus3.edgexfoundry.org:10001 [2024-11-19T12:11:35.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T12:11:35.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T12:11:35.830Z] Configure a credential helper to remove this warning. See [2024-11-19T12:11:35.830Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T12:11:35.830Z] [2024-11-19T12:11:35.830Z] Login Succeeded [2024-11-19T12:11:35.830Z] nexus3.edgexfoundry.org:10002 [2024-11-19T12:11:36.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T12:11:36.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T12:11:36.092Z] Configure a credential helper to remove this warning. See [2024-11-19T12:11:36.092Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T12:11:36.092Z] [2024-11-19T12:11:36.092Z] Login Succeeded [2024-11-19T12:11:36.092Z] nexus3.edgexfoundry.org:10003 [2024-11-19T12:11:36.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T12:11:36.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T12:11:36.093Z] Configure a credential helper to remove this warning. See [2024-11-19T12:11:36.093Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T12:11:36.093Z] [2024-11-19T12:11:36.093Z] Login Succeeded [2024-11-19T12:11:36.093Z] nexus3.edgexfoundry.org:10004 [2024-11-19T12:11:36.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T12:11:36.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T12:11:36.353Z] Configure a credential helper to remove this warning. See [2024-11-19T12:11:36.353Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T12:11:36.353Z] [2024-11-19T12:11:36.353Z] Login Succeeded [2024-11-19T12:11:36.353Z] ****.io [2024-11-19T12:11:36.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T12:11:36.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T12:11:36.615Z] Configure a credential helper to remove this warning. See [2024-11-19T12:11:36.615Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T12:11:36.615Z] [2024-11-19T12:11:36.615Z] Login Succeeded [2024-11-19T12:11:36.615Z] ---> ****-login.sh ends [Pipeline] } [2024-11-19T12:11:36.623Z] 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-11-19T12:11:37.016Z] + git rev-list -1 --merges b4a60c126f741d84c14ee104c3263f3235d33930~1..b4a60c126f741d84c14ee104c3263f3235d33930 [Pipeline] echo [2024-11-19T12:11:37.056Z] -----------> git rev-list -1 --merges b4a60c126f741d84c14ee104c3263f3235d33930~1..b4a60c126f741d84c14ee104c3263f3235d33930 b4a60c126f741d84c14ee104c3263f3235d33930 [false] [Pipeline] sh [2024-11-19T12:11:37.363Z] + git log --format=format:%s -1 b4a60c126f741d84c14ee104c3263f3235d33930 [Pipeline] echo [2024-11-19T12:11:37.379Z] ========================================================= [2024-11-19T12:11:37.380Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-19T12:11:37.380Z] ========================================================= 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-11-19T12:11:37.804Z] + git rev-list -1 --merges b4a60c126f741d84c14ee104c3263f3235d33930~1..b4a60c126f741d84c14ee104c3263f3235d33930 [Pipeline] echo [2024-11-19T12:11:37.817Z] -----------> git rev-list -1 --merges b4a60c126f741d84c14ee104c3263f3235d33930~1..b4a60c126f741d84c14ee104c3263f3235d33930 b4a60c126f741d84c14ee104c3263f3235d33930 [false] [Pipeline] sh [2024-11-19T12:11:38.111Z] + git log --format=format:%s -1 b4a60c126f741d84c14ee104c3263f3235d33930 [Pipeline] echo [2024-11-19T12:11:38.130Z] ========================================================= [2024-11-19T12:11:38.130Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-19T12:11:38.130Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-11-19T12:11:38.513Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-19T12:11:38.514Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-19T12:11:38.514Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-19T12:11:38.514Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-19T12:11:38.514Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-19T12:11:38.514Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-19T12:11:38.514Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T12:11:38.893Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-19T12:11:38.893Z] [2024-11-19T12:11:38.893Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T12:11:39.209Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-19T12:11:39.209Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-19T12:11:39.209Z] b85a868b505f: Pulling fs layer [2024-11-19T12:11:39.209Z] e2be974225ed: Pulling fs layer [2024-11-19T12:11:39.209Z] 339a4e72a1f5: Pulling fs layer [2024-11-19T12:11:39.209Z] 988bab9f4d93: Pulling fs layer [2024-11-19T12:11:39.209Z] 1469e6f7b9e6: Pulling fs layer [2024-11-19T12:11:39.209Z] eaf3925da568: Pulling fs layer [2024-11-19T12:11:39.209Z] bab4dde63d76: Pulling fs layer [2024-11-19T12:11:39.209Z] bde34c3a00c8: Pulling fs layer [2024-11-19T12:11:39.209Z] b352a97aabf1: Pulling fs layer [2024-11-19T12:11:39.209Z] 988bab9f4d93: Waiting [2024-11-19T12:11:39.209Z] 1469e6f7b9e6: Waiting [2024-11-19T12:11:39.209Z] eaf3925da568: Waiting [2024-11-19T12:11:39.209Z] bab4dde63d76: Waiting [2024-11-19T12:11:39.209Z] b352a97aabf1: Waiting [2024-11-19T12:11:39.209Z] 4872d77fe225: Pulling fs layer [2024-11-19T12:11:39.209Z] 5851b861e8e6: Pulling fs layer [2024-11-19T12:11:39.209Z] 4872d77fe225: Waiting [2024-11-19T12:11:39.209Z] 5851b861e8e6: Waiting [2024-11-19T12:11:39.209Z] e2be974225ed: Download complete [2024-11-19T12:11:39.209Z] 988bab9f4d93: Verifying Checksum [2024-11-19T12:11:39.209Z] 988bab9f4d93: Download complete [2024-11-19T12:11:39.209Z] 1469e6f7b9e6: Verifying Checksum [2024-11-19T12:11:39.209Z] 1469e6f7b9e6: Download complete [2024-11-19T12:11:39.469Z] eaf3925da568: Verifying Checksum [2024-11-19T12:11:39.469Z] eaf3925da568: Download complete [2024-11-19T12:11:39.469Z] 339a4e72a1f5: Verifying Checksum [2024-11-19T12:11:39.469Z] 339a4e72a1f5: Download complete [2024-11-19T12:11:39.469Z] bde34c3a00c8: Download complete [2024-11-19T12:11:39.469Z] b352a97aabf1: Verifying Checksum [2024-11-19T12:11:39.469Z] b352a97aabf1: Download complete [2024-11-19T12:11:39.469Z] 4872d77fe225: Verifying Checksum [2024-11-19T12:11:39.469Z] 4872d77fe225: Download complete [2024-11-19T12:11:39.469Z] 5851b861e8e6: Download complete [2024-11-19T12:11:39.469Z] b85a868b505f: Verifying Checksum [2024-11-19T12:11:39.469Z] b85a868b505f: Download complete [2024-11-19T12:11:39.728Z] bab4dde63d76: Verifying Checksum [2024-11-19T12:11:39.728Z] bab4dde63d76: Download complete [2024-11-19T12:11:40.668Z] b85a868b505f: Pull complete [2024-11-19T12:11:40.927Z] e2be974225ed: Pull complete [2024-11-19T12:11:41.494Z] 339a4e72a1f5: Pull complete [2024-11-19T12:11:41.494Z] 988bab9f4d93: Pull complete [2024-11-19T12:11:41.753Z] 1469e6f7b9e6: Pull complete [2024-11-19T12:11:41.753Z] eaf3925da568: Pull complete [2024-11-19T12:11:43.660Z] bab4dde63d76: Pull complete [2024-11-19T12:11:43.660Z] bde34c3a00c8: Pull complete [2024-11-19T12:11:43.660Z] b352a97aabf1: Pull complete [2024-11-19T12:11:43.921Z] 4872d77fe225: Pull complete [2024-11-19T12:11:43.921Z] 5851b861e8e6: Pull complete [2024-11-19T12:11:43.921Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-19T12:11:43.921Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-19T12:11:43.921Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-19T12:11:44.072Z] prd-ubuntu20.04-docker-8c-8g-27031 does not seem to be running inside a container [2024-11-19T12:11:44.107Z] $ 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-11-19T12:11:47.514Z] $ docker top 8bcf51d93c9f4354570d0ea904a0ff7db22c289eaf25a520c403d1063b8e82b7 -eo pid,comm [2024-11-19T12:11:47.574Z] 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-11-19T12:11:47.574Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-19T12:11:47.650Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-19T12:11:47.650Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-19T12:11:47.762Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-19T12:11:47.764Z] $ docker exec 8bcf51d93c9f4354570d0ea904a0ff7db22c289eaf25a520c403d1063b8e82b7 ssh-agent [2024-11-19T12:11:47.876Z] SSH_AUTH_SOCK=/tmp/ssh-d26pV3JrWUnR/agent.31 [2024-11-19T12:11:47.876Z] SSH_AGENT_PID=37 [2024-11-19T12:11:47.883Z] Running ssh-add (command line suppressed) [2024-11-19T12:11:47.978Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6971409820099540483.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_6971409820099540483.key) [2024-11-19T12:11:47.991Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-19T12:11:48.310Z] + git tag --points-at HEAD [Pipeline] } [2024-11-19T12:11:48.322Z] $ docker exec --env ******** --env ******** 8bcf51d93c9f4354570d0ea904a0ff7db22c289eaf25a520c403d1063b8e82b7 ssh-agent -k [2024-11-19T12:11:48.420Z] unset SSH_AUTH_SOCK; [2024-11-19T12:11:48.420Z] unset SSH_AGENT_PID; [2024-11-19T12:11:48.420Z] echo Agent pid 37 killed; [2024-11-19T12:11:48.432Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-19T12:11:48.475Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-19T12:11:48.475Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-19T12:11:48.587Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-19T12:11:48.589Z] $ docker exec 8bcf51d93c9f4354570d0ea904a0ff7db22c289eaf25a520c403d1063b8e82b7 ssh-agent [2024-11-19T12:11:48.703Z] SSH_AUTH_SOCK=/tmp/ssh-8bdDAJPkOVVL/agent.70 [2024-11-19T12:11:48.703Z] SSH_AGENT_PID=76 [2024-11-19T12:11:48.709Z] Running ssh-add (command line suppressed) [2024-11-19T12:11:48.802Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4271388512981981730.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4271388512981981730.key) [2024-11-19T12:11:48.815Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-19T12:11:49.111Z] + git semver init [2024-11-19T12:11:49.371Z] 2024-11-19 12:11:49,303 [run_init] DEBUG init version:0.0.0 force:False [2024-11-19T12:11:49.371Z] 2024-11-19 12:11:49,304 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-11-19T12:11:49.371Z] 2024-11-19 12:11:49,304 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-11-19T12:11:49.371Z] 2024-11-19 12:11:49,304 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-11-19T12:11:50.317Z] 2024-11-19 12:11:50,143 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2024-11-19T12:11:50.317Z] 2024-11-19 12:11:50,143 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2024-11-19T12:11:50.317Z] 2024-11-19 12:11:50,143 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-11-19T12:11:50.317Z] 2024-11-19 12:11:50,144 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-11-19T12:11:50.317Z] 4.0.0-dev.2 [Pipeline] } [2024-11-19T12:11:50.327Z] $ docker exec --env ******** --env ******** 8bcf51d93c9f4354570d0ea904a0ff7db22c289eaf25a520c403d1063b8e82b7 ssh-agent -k [2024-11-19T12:11:50.427Z] unset SSH_AUTH_SOCK; [2024-11-19T12:11:50.427Z] unset SSH_AGENT_PID; [2024-11-19T12:11:50.427Z] echo Agent pid 76 killed; [2024-11-19T12:11:50.437Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-19T12:11:50.757Z] + git semver [Pipeline] } [2024-11-19T12:11:51.031Z] $ docker stop --time=1 8bcf51d93c9f4354570d0ea904a0ff7db22c289eaf25a520c403d1063b8e82b7 [2024-11-19T12:11:52.336Z] $ docker rm -f --volumes 8bcf51d93c9f4354570d0ea904a0ff7db22c289eaf25a520c403d1063b8e82b7 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-19T12:11:52.688Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-19T12:11:52.953Z] Stashed 1 file(s) [Pipeline] echo [2024-11-19T12:11:52.958Z] [edgeXSemver]: initialized semver on version 4.0.0-dev.2 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-19T12:11:53.116Z] provisioning config files... [2024-11-19T12:11:53.128Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config5932897397994601908tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-19T12:11:53.449Z] ---> ****-login.sh [2024-11-19T12:11:53.449Z] nexus3.edgexfoundry.org:10001 [2024-11-19T12:11:53.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T12:11:53.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T12:11:53.449Z] Configure a credential helper to remove this warning. See [2024-11-19T12:11:53.449Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T12:11:53.449Z] [2024-11-19T12:11:53.449Z] Login Succeeded [2024-11-19T12:11:53.449Z] nexus3.edgexfoundry.org:10002 [2024-11-19T12:11:53.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T12:11:53.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T12:11:53.449Z] Configure a credential helper to remove this warning. See [2024-11-19T12:11:53.449Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T12:11:53.449Z] [2024-11-19T12:11:53.449Z] Login Succeeded [2024-11-19T12:11:53.449Z] nexus3.edgexfoundry.org:10003 [2024-11-19T12:11:53.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T12:11:53.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T12:11:53.710Z] Configure a credential helper to remove this warning. See [2024-11-19T12:11:53.710Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T12:11:53.710Z] [2024-11-19T12:11:53.710Z] Login Succeeded [2024-11-19T12:11:53.710Z] nexus3.edgexfoundry.org:10004 [2024-11-19T12:11:53.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T12:11:53.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T12:11:53.710Z] Configure a credential helper to remove this warning. See [2024-11-19T12:11:53.710Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T12:11:53.710Z] [2024-11-19T12:11:53.710Z] Login Succeeded [2024-11-19T12:11:53.710Z] ****.io [2024-11-19T12:11:53.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T12:11:53.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T12:11:53.970Z] Configure a credential helper to remove this warning. See [2024-11-19T12:11:53.970Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T12:11:53.970Z] [2024-11-19T12:11:53.970Z] Login Succeeded [2024-11-19T12:11:53.970Z] ---> ****-login.sh ends [Pipeline] } [2024-11-19T12:11:53.977Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-19T12:11:54.066Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-19T12:11:54.080Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-11-19T12:11:54.090Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-19T12:11:54.109Z] ========================================================= [2024-11-19T12:11:54.109Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-11-19T12:11:54.109Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T12:11:54.443Z] + 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-11-19T12:11:54.443Z] Sending build context to Docker daemon 5.115MB [2024-11-19T12:11:54.443Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-11-19T12:11:54.443Z] Step 2/22 : FROM ${BASE} as builder [2024-11-19T12:11:54.443Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-11-19T12:11:54.443Z] 96526aa774ef: Pulling fs layer [2024-11-19T12:11:54.443Z] da60e534fd72: Pulling fs layer [2024-11-19T12:11:54.713Z] 96526aa774ef: Verifying Checksum [2024-11-19T12:11:54.713Z] 96526aa774ef: Download complete [2024-11-19T12:11:54.974Z] 96526aa774ef: Pull complete [2024-11-19T12:11:55.549Z] da60e534fd72: Verifying Checksum [2024-11-19T12:11:55.549Z] da60e534fd72: Download complete [2024-11-19T12:11:58.837Z] da60e534fd72: Pull complete [2024-11-19T12:11:58.837Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-11-19T12:11:58.837Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-11-19T12:11:58.837Z] ---> 6605166a5db4 [2024-11-19T12:11:58.837Z] 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-11-19T12:12:00.749Z] ---> Running in 656497bc3efd [2024-11-19T12:12:01.010Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-11-19T12:12:01.582Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-19T12:12:01.582Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-19T12:12:01.582Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-19T12:12:01.845Z] Removing intermediate container 656497bc3efd [2024-11-19T12:12:01.845Z] ---> 0bc03ba78ff2 [2024-11-19T12:12:01.845Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-19T12:12:01.845Z] ---> Running in 95888503aeee [2024-11-19T12:12:02.418Z] Removing intermediate container 95888503aeee [2024-11-19T12:12:02.418Z] ---> dbb6644b096f [2024-11-19T12:12:02.418Z] 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-11-19T12:12:02.418Z] ---> Running in d44402a4459b [2024-11-19T12:12:02.679Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T12:12:02.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-19T12:12:02.943Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T12:12:03.514Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T12:12:03.514Z] (1/17) Installing hiredis (1.1.0-r2) [2024-11-19T12:12:03.514Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-11-19T12:12:03.774Z] (3/17) Installing libcbor (0.10.2-r1) [2024-11-19T12:12:03.774Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-11-19T12:12:04.344Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-11-19T12:12:04.604Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-11-19T12:12:05.174Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-11-19T12:12:05.174Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-11-19T12:12:05.174Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-11-19T12:12:05.174Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-11-19T12:12:05.174Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-11-19T12:12:05.174Z] (12/17) Installing libblkid (2.38.1-r8) [2024-11-19T12:12:05.174Z] (13/17) Installing libuuid (2.38.1-r8) [2024-11-19T12:12:05.174Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-11-19T12:12:05.174Z] (15/17) Installing libmount (2.38.1-r8) [2024-11-19T12:12:05.174Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-11-19T12:12:05.174Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-11-19T12:12:05.174Z] Executing busybox-1.36.1-r4.trigger [2024-11-19T12:12:05.174Z] OK: 336 MiB in 99 packages [2024-11-19T12:12:05.743Z] Removing intermediate container d44402a4459b [2024-11-19T12:12:05.743Z] ---> a7507ddc58a7 [2024-11-19T12:12:05.743Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-11-19T12:12:05.743Z] ---> Running in e286f2063781 [2024-11-19T12:12:06.311Z] Removing intermediate container e286f2063781 [2024-11-19T12:12:06.311Z] ---> 1051f03221dd [2024-11-19T12:12:06.311Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-11-19T12:12:06.574Z] ---> ade925d85d99 [2024-11-19T12:12:06.574Z] Step 8/22 : COPY src /tmp/sdk/src [2024-11-19T12:12:06.834Z] ---> 063c9b0ef880 [2024-11-19T12:12:06.834Z] Step 9/22 : COPY include /tmp/sdk/include [2024-11-19T12:12:06.834Z] ---> 453578a6e2a5 [2024-11-19T12:12:06.834Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-11-19T12:12:07.101Z] ---> f2cd44c8e7e0 [2024-11-19T12:12:07.101Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-11-19T12:12:07.101Z] ---> 5be1223f7b8f [2024-11-19T12:12:07.101Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-11-19T12:12:07.360Z] ---> c8115eb5e0b3 [2024-11-19T12:12:07.360Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-11-19T12:12:07.360Z] ---> Running in bed27600f2e9 [2024-11-19T12:12:07.620Z] + CPPCHECK=false [2024-11-19T12:12:07.620Z] + DOCGEN=false [2024-11-19T12:12:07.620Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-11-19T12:12:07.620Z] + '[' 0 -gt 0 ] [2024-11-19T12:12:07.620Z] + readlink -f ./scripts/build.sh [2024-11-19T12:12:07.620Z] + dirname /tmp/sdk/scripts/build.sh [2024-11-19T12:12:07.620Z] + dirname /tmp/sdk/scripts [2024-11-19T12:12:07.620Z] + ROOT=/tmp/sdk [2024-11-19T12:12:07.620Z] + cd /tmp/sdk [2024-11-19T12:12:07.620Z] + mkdir -p /tmp/sdk/build/release [2024-11-19T12:12:07.620Z] + cd /tmp/sdk/build/release [2024-11-19T12:12:07.620Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-11-19T12:12:07.620Z] -- The C compiler identification is GNU 12.2.1 [2024-11-19T12:12:07.620Z] -- Detecting C compiler ABI info [2024-11-19T12:12:07.880Z] -- Detecting C compiler ABI info - done [2024-11-19T12:12:07.880Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-11-19T12:12:07.880Z] -- Detecting C compile features [2024-11-19T12:12:07.880Z] -- Detecting C compile features - done [2024-11-19T12:12:07.880Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-11-19T12:12:07.880Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-11-19T12:12:07.880Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-11-19T12:12:07.880Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-11-19T12:12:07.880Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-11-19T12:12:07.880Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-11-19T12:12:07.880Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-11-19T12:12:07.880Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-11-19T12:12:07.880Z] -- /opt/iotech/iot/1.5/include [2024-11-19T12:12:07.880Z] -- C SDK 4.0.0-dev.2 for Linux [2024-11-19T12:12:07.880Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-11-19T12:12:08.072Z] Still waiting to schedule task [2024-11-19T12:12:08.072Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-11-19T12:12:08.143Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-11-19T12:12:08.143Z] -- Found Curses: /usr/lib/libcurses.so [2024-11-19T12:12:08.143Z] -- Configuring done (0.4s) [2024-11-19T12:12:08.143Z] -- Generating done (0.0s) [2024-11-19T12:12:08.143Z] -- Build files have been written to: /tmp/sdk/build/release [2024-11-19T12:12:08.143Z] + make all package [2024-11-19T12:12:08.143Z] + tee release.log [2024-11-19T12:12:08.143Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-11-19T12:12:08.143Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-11-19T12:12:08.402Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-11-19T12:12:08.402Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-11-19T12:12:08.661Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-11-19T12:12:08.661Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-11-19T12:12:08.922Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-11-19T12:12:09.182Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-11-19T12:12:09.182Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-19T12:12:09.182Z] 294 | while (privateConfig) [2024-11-19T12:12:09.182Z] | ^~~~~~~~~~~~~ [2024-11-19T12:12:09.182Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-11-19T12:12:09.182Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-11-19T12:12:09.182Z] | ^~~~~~~~~~~~~ [2024-11-19T12:12:09.182Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-19T12:12:09.182Z] 271 | while (result) [2024-11-19T12:12:09.182Z] | ^~~~~~ [2024-11-19T12:12:09.182Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-11-19T12:12:09.182Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-11-19T12:12:09.182Z] | ^~~~~~ [2024-11-19T12:12:09.182Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-11-19T12:12:09.182Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-11-19T12:12:09.442Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-11-19T12:12:09.703Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-11-19T12:12:09.703Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-11-19T12:12:09.965Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-11-19T12:12:09.965Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-11-19T12:12:10.226Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-11-19T12:12:10.226Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-11-19T12:12:10.226Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-11-19T12:12:10.800Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-11-19T12:12:10.800Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-11-19T12:12:10.800Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-11-19T12:12:11.060Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-11-19T12:12:12.002Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-11-19T12:12:12.261Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-11-19T12:12:12.261Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-11-19T12:12:12.261Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-11-19T12:12:12.261Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-11-19T12:12:12.521Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-11-19T12:12:12.780Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-11-19T12:12:13.040Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-11-19T12:12:13.040Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-11-19T12:12:13.299Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-11-19T12:12:13.299Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-11-19T12:12:13.299Z] /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-19T12:12:13.299Z] 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-11-19T12:12:13.299Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-19T12:12:13.299Z] /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-19T12:12:13.299Z] 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-11-19T12:12:13.299Z] | ^ [2024-11-19T12:12:13.558Z] /tmp/sdk/src/c/service.c:1074:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-19T12:12:13.558Z] 1074 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-11-19T12:12:13.558Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-19T12:12:13.558Z] /tmp/sdk/src/c/service.c:886:68: note: 'deviceservices_config' was declared here [2024-11-19T12:12:13.558Z] 886 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-11-19T12:12:13.558Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-11-19T12:12:13.558Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-11-19T12:12:13.823Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-11-19T12:12:13.823Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-11-19T12:12:13.823Z] [ 68%] Linking C shared library libcsdk.so [2024-11-19T12:12:13.823Z] [ 68%] Built target csdk [2024-11-19T12:12:13.823Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-11-19T12:12:14.083Z] [ 72%] Linking C executable template [2024-11-19T12:12:14.083Z] [ 72%] Built target template [2024-11-19T12:12:14.083Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-11-19T12:12:14.344Z] [ 76%] Linking C executable device-counter [2024-11-19T12:12:14.344Z] [ 76%] Built target device-counter [2024-11-19T12:12:14.344Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-11-19T12:12:14.344Z] [ 80%] Linking C executable device-random [2024-11-19T12:12:14.603Z] [ 80%] Built target device-random [2024-11-19T12:12:14.603Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-11-19T12:12:14.603Z] [ 84%] Linking C executable device-gyro [2024-11-19T12:12:14.603Z] [ 84%] Built target device-gyro [2024-11-19T12:12:14.604Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-11-19T12:12:14.864Z] [ 88%] Linking C executable device-bitfields [2024-11-19T12:12:14.864Z] [ 88%] Built target device-bitfields [2024-11-19T12:12:14.864Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-11-19T12:12:14.864Z] [ 92%] Linking C executable template-discovery [2024-11-19T12:12:15.124Z] [ 92%] Built target template-discovery [2024-11-19T12:12:15.124Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-11-19T12:12:15.124Z] [ 96%] Linking C executable device-file [2024-11-19T12:12:15.124Z] [ 96%] Built target device-file [2024-11-19T12:12:15.384Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-11-19T12:12:15.384Z] [100%] Linking C executable device-terminal [2024-11-19T12:12:15.384Z] [100%] Built target device-terminal [2024-11-19T12:12:15.385Z] Run CPack packaging tool... [2024-11-19T12:12:15.385Z] CPack: Create package using TGZ [2024-11-19T12:12:15.385Z] CPack: Install projects [2024-11-19T12:12:15.385Z] CPack: - Run preinstall target for: Csdk [2024-11-19T12:12:15.643Z] CPack: - Install project: Csdk [] [2024-11-19T12:12:15.643Z] CPack: Create package [2024-11-19T12:12:15.643Z] CPack: - package: /tmp/sdk/build/release/csdk-4.0.0-dev.2.tar.gz generated. [2024-11-19T12:12:15.643Z] + '[' false '=' true ] [2024-11-19T12:12:15.643Z] + '[' false '=' true ] [2024-11-19T12:12:15.643Z] + mkdir -p /tmp/sdk/build/debug [2024-11-19T12:12:15.643Z] + cd /tmp/sdk/build/debug [2024-11-19T12:12:15.643Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-11-19T12:12:15.904Z] -- The C compiler identification is GNU 12.2.1 [2024-11-19T12:12:15.904Z] -- Detecting C compiler ABI info [2024-11-19T12:12:15.904Z] -- Detecting C compiler ABI info - done [2024-11-19T12:12:15.904Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-11-19T12:12:15.904Z] -- Detecting C compile features [2024-11-19T12:12:15.904Z] -- Detecting C compile features - done [2024-11-19T12:12:15.904Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-11-19T12:12:15.904Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-11-19T12:12:15.904Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-11-19T12:12:15.904Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-11-19T12:12:15.904Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-11-19T12:12:15.904Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-11-19T12:12:16.164Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-11-19T12:12:16.164Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-11-19T12:12:16.164Z] -- /opt/iotech/iot/1.5/include [2024-11-19T12:12:16.164Z] -- C SDK 4.0.0-dev.2 for Linux [2024-11-19T12:12:16.164Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-11-19T12:12:16.164Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-11-19T12:12:16.164Z] -- Found Curses: /usr/lib/libcurses.so [2024-11-19T12:12:16.164Z] -- Configuring done (0.4s) [2024-11-19T12:12:16.164Z] -- Generating done (0.0s) [2024-11-19T12:12:16.164Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-11-19T12:12:16.164Z] + + tee debug.log [2024-11-19T12:12:16.164Z] make [2024-11-19T12:12:16.164Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-11-19T12:12:16.425Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-11-19T12:12:16.425Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-11-19T12:12:16.425Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-11-19T12:12:16.686Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-11-19T12:12:16.686Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-11-19T12:12:16.686Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-11-19T12:12:16.948Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-11-19T12:12:16.948Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-11-19T12:12:16.948Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-11-19T12:12:16.948Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-11-19T12:12:17.207Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-11-19T12:12:17.207Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-11-19T12:12:17.207Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-11-19T12:12:17.468Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-11-19T12:12:17.468Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-11-19T12:12:17.468Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-11-19T12:12:17.468Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-11-19T12:12:17.728Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-11-19T12:12:17.728Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-11-19T12:12:17.728Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-11-19T12:12:17.988Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-11-19T12:12:17.988Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-11-19T12:12:18.271Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-11-19T12:12:18.271Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-11-19T12:12:18.271Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-11-19T12:12:18.271Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-11-19T12:12:18.531Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-11-19T12:12:18.531Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-11-19T12:12:18.793Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-11-19T12:12:18.793Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-11-19T12:12:18.793Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-11-19T12:12:18.793Z] /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-19T12:12:18.793Z] 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-11-19T12:12:18.793Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-19T12:12:18.793Z] /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-19T12:12:18.793Z] 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-11-19T12:12:18.793Z] | ^ [2024-11-19T12:12:18.793Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-11-19T12:12:19.054Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-11-19T12:12:19.054Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-11-19T12:12:19.054Z] [ 68%] Linking C shared library libcsdk.so [2024-11-19T12:12:19.054Z] [ 68%] Built target csdk [2024-11-19T12:12:19.054Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-11-19T12:12:19.314Z] [ 72%] Linking C executable template [2024-11-19T12:12:19.314Z] [ 72%] Built target template [2024-11-19T12:12:19.314Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-11-19T12:12:19.314Z] [ 76%] Linking C executable device-counter [2024-11-19T12:12:19.573Z] [ 76%] Built target device-counter [2024-11-19T12:12:19.573Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-11-19T12:12:19.573Z] [ 80%] Linking C executable device-random [2024-11-19T12:12:19.573Z] [ 80%] Built target device-random [2024-11-19T12:12:19.573Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-11-19T12:12:19.573Z] [ 84%] Linking C executable device-gyro [2024-11-19T12:12:19.834Z] [ 84%] Built target device-gyro [2024-11-19T12:12:19.834Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-11-19T12:12:19.834Z] [ 88%] Linking C executable device-bitfields [2024-11-19T12:12:19.834Z] [ 88%] Built target device-bitfields [2024-11-19T12:12:19.834Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-11-19T12:12:20.094Z] [ 92%] Linking C executable template-discovery [2024-11-19T12:12:20.095Z] [ 92%] Built target template-discovery [2024-11-19T12:12:20.095Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-11-19T12:12:20.095Z] [ 96%] Linking C executable device-file [2024-11-19T12:12:20.355Z] [ 96%] Built target device-file [2024-11-19T12:12:20.355Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-11-19T12:12:20.355Z] [100%] Linking C executable device-terminal [2024-11-19T12:12:20.355Z] [100%] Built target device-terminal [2024-11-19T12:12:20.355Z] make: Entering directory '/tmp/sdk/build/release' [2024-11-19T12:12:20.355Z] [ 68%] Built target csdk [2024-11-19T12:12:20.355Z] [ 72%] Built target template [2024-11-19T12:12:20.614Z] [ 76%] Built target device-counter [2024-11-19T12:12:20.614Z] [ 80%] Built target device-random [2024-11-19T12:12:20.614Z] [ 84%] Built target device-gyro [2024-11-19T12:12:20.614Z] [ 88%] Built target device-bitfields [2024-11-19T12:12:20.614Z] [ 92%] Built target template-discovery [2024-11-19T12:12:20.614Z] [ 96%] Built target device-file [2024-11-19T12:12:20.614Z] [100%] Built target device-terminal [2024-11-19T12:12:20.614Z] Install the project... [2024-11-19T12:12:20.614Z] -- Install configuration: "Release" [2024-11-19T12:12:20.614Z] -- Installing: /usr/local/lib/libcsdk.so [2024-11-19T12:12:20.614Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-11-19T12:12:20.614Z] -- Installing: /usr/local/include [2024-11-19T12:12:20.614Z] -- Installing: /usr/local/include/devsdk [2024-11-19T12:12:20.614Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-11-19T12:12:20.614Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-11-19T12:12:20.614Z] -- Installing: /usr/local/include/edgex [2024-11-19T12:12:20.614Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-11-19T12:12:20.614Z] -- Installing: /usr/local/include/edgex/devices.h [2024-11-19T12:12:20.614Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-11-19T12:12:20.614Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-11-19T12:12:20.614Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-11-19T12:12:20.614Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-11-19T12:12:20.614Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-11-19T12:12:20.614Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-11-19T12:12:20.614Z] make: Leaving directory '/tmp/sdk/build/release' [2024-11-19T12:12:21.564Z] Removing intermediate container bed27600f2e9 [2024-11-19T12:12:21.564Z] ---> f59357c02f0f [2024-11-19T12:12:21.564Z] Step 14/22 : FROM ${BASE} [2024-11-19T12:12:21.564Z] ---> 6605166a5db4 [2024-11-19T12:12:21.564Z] Step 15/22 : LABEL maintainer="IOTech " [2024-11-19T12:12:21.564Z] ---> Running in 5e2f1b728689 [2024-11-19T12:12:21.564Z] Removing intermediate container 5e2f1b728689 [2024-11-19T12:12:21.564Z] ---> 5d1dd453ce78 [2024-11-19T12:12:21.564Z] 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-11-19T12:12:21.564Z] ---> Running in 2b026de87907 [2024-11-19T12:12:21.824Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-11-19T12:12:22.091Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-19T12:12:22.091Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-19T12:12:22.091Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-19T12:12:22.351Z] Removing intermediate container 2b026de87907 [2024-11-19T12:12:22.351Z] ---> 8e463e7c4bb3 [2024-11-19T12:12:22.351Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-19T12:12:22.351Z] ---> Running in 624a9f41a461 [2024-11-19T12:12:22.921Z] Removing intermediate container 624a9f41a461 [2024-11-19T12:12:22.921Z] ---> 2edf60916779 [2024-11-19T12:12:22.921Z] 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-11-19T12:12:22.921Z] ---> Running in 0010a1c89528 [2024-11-19T12:12:23.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T12:12:23.439Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-19T12:12:23.698Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T12:12:24.268Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T12:12:24.269Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-11-19T12:12:24.269Z] (2/10) Installing curl (8.9.1-r1) [2024-11-19T12:12:24.269Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-11-19T12:12:24.269Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-11-19T12:12:24.269Z] (5/10) Installing hiredis (1.1.0-r2) [2024-11-19T12:12:24.269Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-11-19T12:12:24.269Z] (7/10) Installing libcbor (0.10.2-r1) [2024-11-19T12:12:24.269Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-11-19T12:12:24.839Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-11-19T12:12:25.100Z] (10/10) Installing libuuid (2.38.1-r8) [2024-11-19T12:12:25.100Z] Executing busybox-1.36.1-r4.trigger [2024-11-19T12:12:25.100Z] OK: 331 MiB in 90 packages [2024-11-19T12:12:25.670Z] Removing intermediate container 0010a1c89528 [2024-11-19T12:12:25.670Z] ---> c98b0ebcb7b9 [2024-11-19T12:12:25.670Z] Step 19/22 : RUN apk --no-cache upgrade [2024-11-19T12:12:25.670Z] ---> Running in fb5d62bb6c6d [2024-11-19T12:12:25.929Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T12:12:25.929Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-19T12:12:26.189Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T12:12:26.758Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T12:12:26.758Z] Upgrading critical system libraries and apk-tools: [2024-11-19T12:12:26.758Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-11-19T12:12:26.758Z] Executing busybox-1.36.1-r4.trigger [2024-11-19T12:12:26.758Z] Continuing the upgrade transaction with new apk-tools: [2024-11-19T12:12:26.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T12:12:26.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-19T12:12:27.018Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T12:12:27.278Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T12:12:27.278Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-11-19T12:12:27.278Z] Executing busybox-1.36.1-r7.post-upgrade [2024-11-19T12:12:27.539Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-11-19T12:12:27.539Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-11-19T12:12:27.539Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-11-19T12:12:27.539Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-11-19T12:12:27.798Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-11-19T12:12:27.798Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2024-11-19T12:12:27.798Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2024-11-19T12:12:27.798Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-11-19T12:12:27.798Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-11-19T12:12:27.798Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-11-19T12:12:27.798Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-11-19T12:12:27.798Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-11-19T12:12:27.798Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-11-19T12:12:27.798Z] Executing busybox-1.36.1-r7.trigger [2024-11-19T12:12:27.798Z] Executing ca-certificates-20240226-r0.trigger [2024-11-19T12:12:27.798Z] OK: 332 MiB in 90 packages [2024-11-19T12:12:28.735Z] Removing intermediate container fb5d62bb6c6d [2024-11-19T12:12:28.735Z] ---> 7da1ac637161 [2024-11-19T12:12:28.735Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-11-19T12:12:28.996Z] ---> 5a525f4984e2 [2024-11-19T12:12:28.996Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-11-19T12:12:29.255Z] ---> c9b84763dcff [2024-11-19T12:12:29.255Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-11-19T12:12:29.255Z] ---> 0f5702588ec4 [2024-11-19T12:12:29.255Z] Successfully built 0f5702588ec4 [2024-11-19T12:12:29.255Z] 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-11-19T12:12:29.669Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-19T12:12:29.669Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-19T12:12:29.841Z] prd-ubuntu20.04-docker-8c-8g-27031 does not seem to be running inside a container [2024-11-19T12:12:29.897Z] $ 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-11-19T12:12:30.242Z] $ docker top 1b8ab7419f91cc1a77c44e2494a79d1ce39b827050e110e7a311d020b44c24be -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-19T12:12:30.603Z] + make test [2024-11-19T12:12:30.603Z] echo "make test" [2024-11-19T12:12:30.603Z] make test [Pipeline] } [2024-11-19T12:12:30.612Z] $ docker stop --time=1 1b8ab7419f91cc1a77c44e2494a79d1ce39b827050e110e7a311d020b44c24be [2024-11-19T12:12:31.911Z] $ docker rm -f --volumes 1b8ab7419f91cc1a77c44e2494a79d1ce39b827050e110e7a311d020b44c24be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-19T12:12:32.608Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-19T12:12:32.895Z] + ls -al . [2024-11-19T12:12:32.895Z] total 212 [2024-11-19T12:12:32.895Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 19 12:11 . [2024-11-19T12:12:32.895Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 12:11 .. [2024-11-19T12:12:32.895Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 12:11 .git [2024-11-19T12:12:32.895Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 12:11 .github [2024-11-19T12:12:32.895Z] -rw-rw-r-- 1 jenkins jenkins 176 Nov 19 12:11 .gitignore [2024-11-19T12:12:32.895Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 19 12:11 .semver [2024-11-19T12:12:32.895Z] -rw-rw-r-- 1 jenkins jenkins 2908 Nov 19 12:11 Attribution.txt [2024-11-19T12:12:32.895Z] -rw-rw-r-- 1 jenkins jenkins 11953 Nov 19 12:11 CHANGELOG.md [2024-11-19T12:12:32.895Z] -rw-rw-r-- 1 jenkins jenkins 108574 Nov 19 12:11 Doxyfile [2024-11-19T12:12:32.895Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 19 12:11 GOVERNANCE.md [2024-11-19T12:12:32.895Z] -rw-rw-r-- 1 jenkins jenkins 784 Nov 19 12:11 Jenkinsfile [2024-11-19T12:12:32.895Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 19 12:11 LICENSE [2024-11-19T12:12:32.895Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 19 12:11 Makefile [2024-11-19T12:12:32.895Z] -rw-rw-r-- 1 jenkins jenkins 618 Nov 19 12:11 OWNERS.md [2024-11-19T12:12:32.895Z] -rw-rw-r-- 1 jenkins jenkins 1651 Nov 19 12:11 README.IOT.md [2024-11-19T12:12:32.895Z] -rw-rw-r-- 1 jenkins jenkins 4215 Nov 19 12:11 README.md [2024-11-19T12:12:32.895Z] -rw-rw-r-- 1 jenkins jenkins 1245 Nov 19 12:11 README.v3.md [2024-11-19T12:12:32.895Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 19 12:11 VERSION [2024-11-19T12:12:32.895Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 12:11 docs [2024-11-19T12:12:32.895Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 12:11 include [2024-11-19T12:12:32.895Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 12:11 scripts [2024-11-19T12:12:32.895Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 12:11 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T12:12:33.221Z] + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=b4a60c126f741d84c14ee104c3263f3235d33930 --label arch=amd64 --label version=4.0.0-dev.2 . [2024-11-19T12:12:33.221Z] Sending build context to Docker daemon 5.115MB [2024-11-19T12:12:33.221Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-11-19T12:12:33.221Z] Step 2/18 : FROM ${BASE} [2024-11-19T12:12:33.221Z] ---> 0f5702588ec4 [2024-11-19T12:12:33.221Z] Step 3/18 : LABEL maintainer="IOTech " [2024-11-19T12:12:33.484Z] ---> Running in 698a557d4e81 [2024-11-19T12:12:33.484Z] Removing intermediate container 698a557d4e81 [2024-11-19T12:12:33.484Z] ---> 50c6b3d22962 [2024-11-19T12:12:33.484Z] 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-11-19T12:12:33.484Z] ---> Running in 463604cd2c93 [2024-11-19T12:12:33.745Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-11-19T12:12:34.005Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-19T12:12:34.005Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-19T12:12:34.005Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-19T12:12:34.574Z] Removing intermediate container 463604cd2c93 [2024-11-19T12:12:34.574Z] ---> 7ed03200157c [2024-11-19T12:12:34.574Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-19T12:12:34.574Z] ---> Running in 000366ad6af6 [2024-11-19T12:12:34.833Z] Removing intermediate container 000366ad6af6 [2024-11-19T12:12:34.833Z] ---> c548f67897df [2024-11-19T12:12:34.833Z] 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-11-19T12:12:34.833Z] ---> Running in f0eac9d86b37 [2024-11-19T12:12:35.093Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T12:12:35.358Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-19T12:12:35.617Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T12:12:36.185Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T12:12:36.185Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-11-19T12:12:36.185Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-11-19T12:12:36.185Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-11-19T12:12:36.185Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-11-19T12:12:36.185Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-11-19T12:12:36.185Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-11-19T12:12:36.185Z] (7/11) Installing libblkid (2.38.1-r8) [2024-11-19T12:12:36.185Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-11-19T12:12:36.185Z] (9/11) Installing libmount (2.38.1-r8) [2024-11-19T12:12:36.185Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-11-19T12:12:36.185Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-11-19T12:12:36.185Z] Executing busybox-1.36.1-r7.trigger [2024-11-19T12:12:36.185Z] OK: 337 MiB in 101 packages [2024-11-19T12:12:36.754Z] Removing intermediate container f0eac9d86b37 [2024-11-19T12:12:36.754Z] ---> b90cfbc0e302 [2024-11-19T12:12:36.754Z] Step 7/18 : RUN apk --no-cache upgrade [2024-11-19T12:12:36.754Z] ---> Running in 3670401c5b12 [2024-11-19T12:12:37.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T12:12:37.280Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-19T12:12:37.280Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T12:12:37.849Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T12:12:37.849Z] OK: 337 MiB in 101 packages [2024-11-19T12:12:38.109Z] Removing intermediate container 3670401c5b12 [2024-11-19T12:12:38.109Z] ---> 64859228a629 [2024-11-19T12:12:38.109Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-11-19T12:12:38.368Z] ---> 47f97cb7461b [2024-11-19T12:12:38.368Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-11-19T12:12:38.368Z] ---> 343684de63fd [2024-11-19T12:12:38.368Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-11-19T12:12:38.631Z] ---> f45d883903a3 [2024-11-19T12:12:38.631Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-11-19T12:12:38.631Z] ---> 12b573ca52cf [2024-11-19T12:12:38.631Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-11-19T12:12:38.892Z] ---> 29bc195233c3 [2024-11-19T12:12:38.892Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-11-19T12:12:38.892Z] ---> 830272bf8345 [2024-11-19T12:12:38.892Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-11-19T12:12:38.892Z] ---> Running in 741bb80cbd54 [2024-11-19T12:12:38.892Z] Removing intermediate container 741bb80cbd54 [2024-11-19T12:12:38.892Z] ---> 8a69a0db5e48 [2024-11-19T12:12:38.892Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-11-19T12:12:39.152Z] ---> Running in 32b3ee0519b6 [2024-11-19T12:12:39.152Z] Removing intermediate container 32b3ee0519b6 [2024-11-19T12:12:39.152Z] ---> 6411feec2724 [2024-11-19T12:12:39.152Z] Step 16/18 : LABEL arch=amd64 [2024-11-19T12:12:39.152Z] ---> Running in 708763a7e4f5 [2024-11-19T12:12:39.152Z] Removing intermediate container 708763a7e4f5 [2024-11-19T12:12:39.152Z] ---> 3cab533bdc4d [2024-11-19T12:12:39.152Z] Step 17/18 : LABEL git_sha=b4a60c126f741d84c14ee104c3263f3235d33930 [2024-11-19T12:12:39.152Z] ---> Running in e326557ad073 [2024-11-19T12:12:39.412Z] Removing intermediate container e326557ad073 [2024-11-19T12:12:39.412Z] ---> 1fac0de56a8f [2024-11-19T12:12:39.412Z] Step 18/18 : LABEL version=4.0.0-dev.2 [2024-11-19T12:12:39.412Z] ---> Running in af64fbe601fa [2024-11-19T12:12:39.412Z] Removing intermediate container af64fbe601fa [2024-11-19T12:12:39.412Z] ---> acaafbdfb56e [2024-11-19T12:12:39.412Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-11-19T12:12:39.412Z] Successfully built acaafbdfb56e [2024-11-19T12:12:39.412Z] 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-11-19T12:12:39.900Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-19T12:12:39.900Z] [2024-11-19T12:12:39.900Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T12:12:40.211Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-19T12:12:40.211Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-19T12:12:40.211Z] 5eb5b503b376: Pulling fs layer [2024-11-19T12:12:40.211Z] 5c69ac0246d0: Pulling fs layer [2024-11-19T12:12:40.211Z] ec43610c2a17: Pulling fs layer [2024-11-19T12:12:40.211Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-19T12:12:40.211Z] 33b1e0a273af: Pulling fs layer [2024-11-19T12:12:40.211Z] 5d3b04190fa2: Pulling fs layer [2024-11-19T12:12:40.211Z] 2f39f015ded8: Pulling fs layer [2024-11-19T12:12:40.211Z] 33b1e0a273af: Waiting [2024-11-19T12:12:40.211Z] 5d3b04190fa2: Waiting [2024-11-19T12:12:40.211Z] 2f39f015ded8: Waiting [2024-11-19T12:12:40.211Z] 3a2ae6a8a46f: Waiting [2024-11-19T12:12:40.211Z] 5c69ac0246d0: Verifying Checksum [2024-11-19T12:12:40.211Z] 5c69ac0246d0: Download complete [2024-11-19T12:12:40.211Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-19T12:12:40.211Z] 3a2ae6a8a46f: Download complete [2024-11-19T12:12:40.211Z] 33b1e0a273af: Verifying Checksum [2024-11-19T12:12:40.211Z] 33b1e0a273af: Download complete [2024-11-19T12:12:40.211Z] 5d3b04190fa2: Verifying Checksum [2024-11-19T12:12:40.211Z] 5d3b04190fa2: Download complete [2024-11-19T12:12:40.211Z] ec43610c2a17: Verifying Checksum [2024-11-19T12:12:40.211Z] ec43610c2a17: Download complete [2024-11-19T12:12:40.471Z] 5eb5b503b376: Download complete [2024-11-19T12:12:41.041Z] 2f39f015ded8: Verifying Checksum [2024-11-19T12:12:41.041Z] 2f39f015ded8: Download complete [2024-11-19T12:12:41.609Z] 5eb5b503b376: Pull complete [2024-11-19T12:12:41.870Z] 5c69ac0246d0: Pull complete [2024-11-19T12:12:42.130Z] ec43610c2a17: Pull complete [2024-11-19T12:12:42.130Z] 3a2ae6a8a46f: Pull complete [2024-11-19T12:12:42.390Z] 33b1e0a273af: Pull complete [2024-11-19T12:12:42.648Z] 5d3b04190fa2: Pull complete [2024-11-19T12:12:46.837Z] 2f39f015ded8: Pull complete [2024-11-19T12:12:46.837Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-19T12:12:46.837Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-19T12:12:46.837Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-19T12:12:46.963Z] prd-ubuntu20.04-docker-8c-8g-27031 does not seem to be running inside a container [2024-11-19T12:12:46.991Z] $ 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-11-19T12:12:51.415Z] $ docker top 9be8814f8fdf9915831dc5abe648fbd624253cfdd8c7bc80706e88c1ddf42981 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-19T12:12:51.823Z] ---> job-cost.sh [2024-11-19T12:12:51.823Z] lf-activate-venv: SKIPPING [2024-11-19T12:12:51.823Z] INFO: No Stack... [2024-11-19T12:12:52.396Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-19T12:12:52.658Z] INFO: Archiving Costs [Pipeline] sh [2024-11-19T12:12:52.956Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2024-11-19T12:12:52.956Z] + cut -d, -f6 [Pipeline] lock [2024-11-19T12:12:52.972Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-79-stack-cost] [2024-11-19T12:12:52.980Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-79-stack-cost] did not exist. Created. [2024-11-19T12:12:52.987Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-79-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-19T12:12:53.295Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-19T12:12:53.335Z] Stashed 1 file(s) [Pipeline] } [2024-11-19T12:12:53.344Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-79-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-19T12:12:53.369Z] $ docker stop --time=1 9be8814f8fdf9915831dc5abe648fbd624253cfdd8c7bc80706e88c1ddf42981 [2024-11-19T12:12:54.530Z] $ docker rm -f --volumes 9be8814f8fdf9915831dc5abe648fbd624253cfdd8c7bc80706e88c1ddf42981 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-19T12:13:49.161Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-27032 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2024-11-19T12:13:49.179Z] Running in /w/workspace/device-sdk-c/79 [Pipeline] { [Pipeline] checkout [2024-11-19T12:13:52.235Z] Selected Git installation does not exist. Using Default [2024-11-19T12:13:52.235Z] The recommended git tool is: NONE [2024-11-19T12:14:00.232Z] using credential edgex-jenkins-ssh [2024-11-19T12:14:00.256Z] Cloning the remote Git repository [2024-11-19T12:14:00.353Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-11-19T12:14:00.481Z] > git init /w/workspace/device-sdk-c/79 # timeout=10 [2024-11-19T12:14:00.744Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-11-19T12:14:00.747Z] > git --version # timeout=10 [2024-11-19T12:14:00.783Z] > git --version # 'git version 2.25.1' [2024-11-19T12:14:00.785Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-19T12:14:01.198Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-19T12:14:02.336Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-11-19T12:14:02.369Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-19T12:14:03.652Z] Avoid second fetch [2024-11-19T12:14:03.652Z] Checking out Revision b4a60c126f741d84c14ee104c3263f3235d33930 (main) [2024-11-19T12:14:03.670Z] > git config core.sparsecheckout # timeout=10 [2024-11-19T12:14:03.771Z] > git checkout -f b4a60c126f741d84c14ee104c3263f3235d33930 # timeout=10 [2024-11-19T12:14:04.614Z] Commit message: "fix: Missing discovery delete wrapper for secure mode (#521)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-19T12:14:09.632Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-19T12:14:09.632Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-19T12:14:09.632Z] Dload Upload Total Spent Left Speed [2024-11-19T12:14:09.632Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2024-11-19T12:14:09.976Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-19T12:14:10.301Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-19T12:14:10.301Z] + sudo tee /etc/docker/daemon.new [2024-11-19T12:14:10.301Z] { [2024-11-19T12:14:10.301Z] "registry-mirrors": [ [2024-11-19T12:14:10.301Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-19T12:14:10.301Z] ], [2024-11-19T12:14:10.301Z] "bip": "10.250.0.254/24", [2024-11-19T12:14:10.301Z] "hosts": [ [2024-11-19T12:14:10.301Z] "tcp://0.0.0.0:5555", [2024-11-19T12:14:10.301Z] "unix:///var/run/docker.sock" [2024-11-19T12:14:10.301Z] ], [2024-11-19T12:14:10.301Z] "mtu": 1458, [2024-11-19T12:14:10.301Z] "selinux-enabled": true, [2024-11-19T12:14:10.301Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-19T12:14:10.301Z] } [Pipeline] sh [2024-11-19T12:14:10.630Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-19T12:14:10.957Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-19T12:14:29.213Z] provisioning config files... [2024-11-19T12:14:29.243Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/79@tmp/config16296407317457516426tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-19T12:14:29.673Z] ---> ****-login.sh [2024-11-19T12:14:29.673Z] nexus3.edgexfoundry.org:10001 [2024-11-19T12:14:29.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T12:14:30.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T12:14:30.527Z] Configure a credential helper to remove this warning. See [2024-11-19T12:14:30.527Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T12:14:30.527Z] [2024-11-19T12:14:30.527Z] Login Succeeded [2024-11-19T12:14:30.527Z] nexus3.edgexfoundry.org:10002 [2024-11-19T12:14:30.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T12:14:30.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T12:14:30.795Z] Configure a credential helper to remove this warning. See [2024-11-19T12:14:30.795Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T12:14:30.795Z] [2024-11-19T12:14:30.795Z] Login Succeeded [2024-11-19T12:14:30.795Z] nexus3.edgexfoundry.org:10003 [2024-11-19T12:14:31.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T12:14:31.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T12:14:31.067Z] Configure a credential helper to remove this warning. See [2024-11-19T12:14:31.067Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T12:14:31.067Z] [2024-11-19T12:14:31.067Z] Login Succeeded [2024-11-19T12:14:31.067Z] nexus3.edgexfoundry.org:10004 [2024-11-19T12:14:31.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T12:14:31.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T12:14:31.337Z] Configure a credential helper to remove this warning. See [2024-11-19T12:14:31.338Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T12:14:31.338Z] [2024-11-19T12:14:31.338Z] Login Succeeded [2024-11-19T12:14:31.338Z] ****.io [2024-11-19T12:14:31.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T12:14:31.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T12:14:31.874Z] Configure a credential helper to remove this warning. See [2024-11-19T12:14:31.874Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T12:14:31.874Z] [2024-11-19T12:14:31.874Z] Login Succeeded [2024-11-19T12:14:31.874Z] ---> ****-login.sh ends [Pipeline] } [2024-11-19T12:14:31.889Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-19T12:14:32.213Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-19T12:14:32.229Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-11-19T12:14:32.246Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-19T12:14:32.266Z] ========================================================= [2024-11-19T12:14:32.266Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-11-19T12:14:32.266Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T12:14:32.654Z] + 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-11-19T12:14:33.258Z] Sending build context to Docker daemon 3.062MB [2024-11-19T12:14:33.258Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-11-19T12:14:33.258Z] Step 2/22 : FROM ${BASE} as builder [2024-11-19T12:14:33.258Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-11-19T12:14:33.258Z] 579b34f0a95b: Pulling fs layer [2024-11-19T12:14:33.258Z] e71477ac5e1b: Pulling fs layer [2024-11-19T12:14:33.528Z] 579b34f0a95b: Verifying Checksum [2024-11-19T12:14:33.528Z] 579b34f0a95b: Download complete [2024-11-19T12:14:34.119Z] 579b34f0a95b: Pull complete [2024-11-19T12:14:36.075Z] e71477ac5e1b: Verifying Checksum [2024-11-19T12:14:36.075Z] e71477ac5e1b: Download complete [2024-11-19T12:14:48.425Z] e71477ac5e1b: Pull complete [2024-11-19T12:14:48.425Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-11-19T12:14:48.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-11-19T12:14:48.425Z] ---> 2b552cad5dd9 [2024-11-19T12:14:48.425Z] 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-11-19T12:14:48.425Z] ---> Running in b6142093aa18 [2024-11-19T12:14:49.395Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-11-19T12:14:49.663Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-19T12:14:49.663Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-19T12:14:49.663Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-19T12:14:50.261Z] Removing intermediate container b6142093aa18 [2024-11-19T12:14:50.261Z] ---> 030f989684c2 [2024-11-19T12:14:50.261Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-19T12:14:50.543Z] ---> Running in 00b0241531b3 [2024-11-19T12:14:52.536Z] Removing intermediate container 00b0241531b3 [2024-11-19T12:14:52.536Z] ---> 6c6f7f654df4 [2024-11-19T12:14:52.536Z] 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-11-19T12:14:52.536Z] ---> Running in b6d56facb816 [2024-11-19T12:14:53.128Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T12:14:53.711Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-19T12:14:54.320Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T12:14:55.290Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T12:14:55.290Z] (1/17) Installing hiredis (1.1.0-r2) [2024-11-19T12:14:55.290Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-11-19T12:14:55.290Z] (3/17) Installing libcbor (0.10.2-r1) [2024-11-19T12:14:55.290Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-11-19T12:14:56.270Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-11-19T12:14:56.270Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-11-19T12:14:56.538Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-11-19T12:14:56.806Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-11-19T12:14:56.806Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-11-19T12:14:56.806Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-11-19T12:14:56.806Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-11-19T12:14:56.806Z] (12/17) Installing libblkid (2.38.1-r8) [2024-11-19T12:14:56.806Z] (13/17) Installing libuuid (2.38.1-r8) [2024-11-19T12:14:56.806Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-11-19T12:14:57.075Z] (15/17) Installing libmount (2.38.1-r8) [2024-11-19T12:14:57.075Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-11-19T12:14:57.075Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-11-19T12:14:57.075Z] Executing busybox-1.36.1-r4.trigger [2024-11-19T12:14:57.343Z] OK: 333 MiB in 99 packages [2024-11-19T12:14:58.780Z] Removing intermediate container b6d56facb816 [2024-11-19T12:14:58.780Z] ---> 909f665fe85c [2024-11-19T12:14:58.780Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-11-19T12:14:58.780Z] ---> Running in dc1c4fb382e2 [2024-11-19T12:15:00.192Z] Removing intermediate container dc1c4fb382e2 [2024-11-19T12:15:00.192Z] ---> 5ce8387fea32 [2024-11-19T12:15:00.192Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-11-19T12:15:00.463Z] ---> 1caeb29351de [2024-11-19T12:15:00.463Z] Step 8/22 : COPY src /tmp/sdk/src [2024-11-19T12:15:01.424Z] ---> 335ba84df9ca [2024-11-19T12:15:01.424Z] Step 9/22 : COPY include /tmp/sdk/include [2024-11-19T12:15:04.006Z] ---> b54dccabbd04 [2024-11-19T12:15:04.006Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-11-19T12:15:04.006Z] ---> e849d3755034 [2024-11-19T12:15:04.006Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-11-19T12:15:04.586Z] ---> 0c15a1c7a71c [2024-11-19T12:15:04.586Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-11-19T12:15:04.855Z] ---> 7acc31ef0b4d [2024-11-19T12:15:04.855Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-11-19T12:15:05.127Z] ---> Running in 1b595132ac52 [2024-11-19T12:15:06.114Z] + CPPCHECK=false [2024-11-19T12:15:06.114Z] + DOCGEN=false [2024-11-19T12:15:06.114Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-11-19T12:15:06.114Z] + '[' 0 -gt 0 ] [2024-11-19T12:15:06.114Z] + readlink -f ./scripts/build.sh [2024-11-19T12:15:06.114Z] + dirname /tmp/sdk/scripts/build.sh [2024-11-19T12:15:06.114Z] + dirname /tmp/sdk/scripts [2024-11-19T12:15:06.114Z] + ROOT=/tmp/sdk [2024-11-19T12:15:06.114Z] + cd /tmp/sdk [2024-11-19T12:15:06.114Z] + mkdir -p /tmp/sdk/build/release [2024-11-19T12:15:06.114Z] + cd /tmp/sdk/build/release [2024-11-19T12:15:06.114Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-11-19T12:15:06.389Z] -- The C compiler identification is GNU 12.2.1 [2024-11-19T12:15:06.656Z] -- Detecting C compiler ABI info [2024-11-19T12:15:06.924Z] -- Detecting C compiler ABI info - done [2024-11-19T12:15:06.924Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-11-19T12:15:06.924Z] -- Detecting C compile features [2024-11-19T12:15:06.924Z] -- Detecting C compile features - done [2024-11-19T12:15:06.924Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-11-19T12:15:07.203Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-11-19T12:15:07.203Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-11-19T12:15:07.203Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-11-19T12:15:07.203Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-11-19T12:15:07.203Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-11-19T12:15:07.470Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-11-19T12:15:07.470Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-11-19T12:15:07.470Z] -- /opt/iotech/iot/1.5/include [2024-11-19T12:15:07.470Z] -- C SDK 4.0.0-dev.2 for Linux [2024-11-19T12:15:07.470Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-11-19T12:15:07.737Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-11-19T12:15:08.004Z] -- Found Curses: /usr/lib/libcurses.so [2024-11-19T12:15:08.004Z] -- Configuring done (2.0s) [2024-11-19T12:15:08.278Z] -- Generating done (0.2s) [2024-11-19T12:15:08.278Z] -- Build files have been written to: /tmp/sdk/build/release [2024-11-19T12:15:08.278Z] + make all package [2024-11-19T12:15:08.278Z] + tee release.log [2024-11-19T12:15:08.544Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-11-19T12:15:09.126Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-11-19T12:15:10.086Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-11-19T12:15:10.669Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-11-19T12:15:11.254Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-11-19T12:15:11.837Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-11-19T12:15:14.419Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-11-19T12:15:14.685Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-11-19T12:15:14.685Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-19T12:15:14.685Z] 294 | while (privateConfig) [2024-11-19T12:15:14.685Z] | ^~~~~~~~~~~~~ [2024-11-19T12:15:14.685Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-11-19T12:15:14.685Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-11-19T12:15:14.685Z] | ^~~~~~~~~~~~~ [2024-11-19T12:15:14.685Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-19T12:15:14.685Z] 271 | while (result) [2024-11-19T12:15:14.685Z] | ^~~~~~ [2024-11-19T12:15:14.685Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-11-19T12:15:14.685Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-11-19T12:15:14.685Z] | ^~~~~~ [2024-11-19T12:15:14.955Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-11-19T12:15:15.227Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-11-19T12:15:16.187Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-11-19T12:15:18.132Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-11-19T12:15:18.399Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-11-19T12:15:19.358Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-11-19T12:15:19.943Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-11-19T12:15:20.526Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-11-19T12:15:21.483Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-11-19T12:15:21.754Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-11-19T12:15:23.696Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-11-19T12:15:24.286Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-11-19T12:15:24.557Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-11-19T12:15:25.973Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-11-19T12:15:32.630Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-11-19T12:15:32.897Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-11-19T12:15:33.164Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-11-19T12:15:33.753Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-11-19T12:15:34.019Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-11-19T12:15:35.419Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-11-19T12:15:37.992Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-11-19T12:15:37.992Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-11-19T12:15:38.953Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-11-19T12:15:39.532Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-11-19T12:15:39.798Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-11-19T12:15:39.798Z] /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-19T12:15:39.798Z] 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-11-19T12:15:39.798Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-19T12:15:39.798Z] /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-19T12:15:39.798Z] 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-11-19T12:15:39.798Z] | ^ [2024-11-19T12:15:41.735Z] /tmp/sdk/src/c/service.c:1074:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-19T12:15:41.735Z] 1074 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-11-19T12:15:41.735Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-19T12:15:41.735Z] /tmp/sdk/src/c/service.c:886:68: note: 'deviceservices_config' was declared here [2024-11-19T12:15:41.735Z] 886 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-11-19T12:15:41.735Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-11-19T12:15:42.322Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-11-19T12:15:43.287Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-11-19T12:15:43.555Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-11-19T12:15:44.144Z] [ 68%] Linking C shared library libcsdk.so [2024-11-19T12:15:44.144Z] [ 68%] Built target csdk [2024-11-19T12:15:44.144Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-11-19T12:15:45.105Z] [ 72%] Linking C executable template [2024-11-19T12:15:45.373Z] [ 72%] Built target template [2024-11-19T12:15:45.643Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-11-19T12:15:46.228Z] [ 76%] Linking C executable device-counter [2024-11-19T12:15:46.496Z] [ 76%] Built target device-counter [2024-11-19T12:15:46.496Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-11-19T12:15:47.081Z] [ 80%] Linking C executable device-random [2024-11-19T12:15:47.346Z] [ 80%] Built target device-random [2024-11-19T12:15:47.346Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-11-19T12:15:47.926Z] [ 84%] Linking C executable device-gyro [2024-11-19T12:15:48.191Z] [ 84%] Built target device-gyro [2024-11-19T12:15:48.191Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-11-19T12:15:48.772Z] [ 88%] Linking C executable device-bitfields [2024-11-19T12:15:49.353Z] [ 88%] Built target device-bitfields [2024-11-19T12:15:49.353Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-11-19T12:15:50.320Z] [ 92%] Linking C executable template-discovery [2024-11-19T12:15:50.586Z] [ 92%] Built target template-discovery [2024-11-19T12:15:50.586Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-11-19T12:15:51.541Z] [ 96%] Linking C executable device-file [2024-11-19T12:15:51.809Z] [ 96%] Built target device-file [2024-11-19T12:15:51.809Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-11-19T12:15:52.396Z] [100%] Linking C executable device-terminal [2024-11-19T12:15:53.162Z] [100%] Built target device-terminal [2024-11-19T12:15:53.162Z] Run CPack packaging tool... [2024-11-19T12:15:53.162Z] CPack: Create package using TGZ [2024-11-19T12:15:53.162Z] CPack: Install projects [2024-11-19T12:15:53.162Z] CPack: - Run preinstall target for: Csdk [2024-11-19T12:15:53.747Z] CPack: - Install project: Csdk [] [2024-11-19T12:15:53.747Z] CPack: Create package [2024-11-19T12:15:54.015Z] CPack: - package: /tmp/sdk/build/release/csdk-4.0.0-dev.2.tar.gz generated. [2024-11-19T12:15:54.015Z] + '[' false '=' true ] [2024-11-19T12:15:54.015Z] + '[' false '=' true ] [2024-11-19T12:15:54.015Z] + mkdir -p /tmp/sdk/build/debug [2024-11-19T12:15:54.015Z] + cd /tmp/sdk/build/debug [2024-11-19T12:15:54.015Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-11-19T12:15:54.282Z] -- The C compiler identification is GNU 12.2.1 [2024-11-19T12:15:54.282Z] -- Detecting C compiler ABI info [2024-11-19T12:15:55.310Z] -- Detecting C compiler ABI info - done [2024-11-19T12:15:55.310Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-11-19T12:15:55.310Z] -- Detecting C compile features [2024-11-19T12:15:55.310Z] -- Detecting C compile features - done [2024-11-19T12:15:55.310Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-11-19T12:15:55.310Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-11-19T12:15:55.310Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-11-19T12:15:55.310Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-11-19T12:15:55.310Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-11-19T12:15:55.310Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-11-19T12:15:55.310Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-11-19T12:15:55.310Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-11-19T12:15:55.310Z] -- /opt/iotech/iot/1.5/include [2024-11-19T12:15:55.310Z] -- C SDK 4.0.0-dev.2 for Linux [2024-11-19T12:15:55.310Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-11-19T12:15:55.310Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-11-19T12:15:55.578Z] -- Found Curses: /usr/lib/libcurses.so [2024-11-19T12:15:55.578Z] -- Configuring done (1.7s) [2024-11-19T12:15:55.867Z] -- Generating done (0.2s) [2024-11-19T12:15:55.867Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-11-19T12:15:55.867Z] + + make [2024-11-19T12:15:55.867Z] tee debug.log [2024-11-19T12:15:59.699Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-11-19T12:15:59.699Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-11-19T12:15:59.699Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-11-19T12:15:59.699Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-11-19T12:15:59.699Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-11-19T12:15:59.699Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-11-19T12:15:59.699Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-11-19T12:15:59.699Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-11-19T12:15:59.699Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-11-19T12:15:59.699Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-11-19T12:16:01.609Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-11-19T12:16:01.609Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-11-19T12:16:01.609Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-11-19T12:16:01.609Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-11-19T12:16:01.609Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-11-19T12:16:02.195Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-11-19T12:16:02.195Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-11-19T12:16:03.157Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-11-19T12:16:03.519Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-11-19T12:16:03.519Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-11-19T12:16:04.103Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-11-19T12:16:05.505Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-11-19T12:16:05.505Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-11-19T12:16:05.772Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-11-19T12:16:06.040Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-11-19T12:16:06.316Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-11-19T12:16:06.904Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-11-19T12:16:08.313Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-11-19T12:16:08.313Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-11-19T12:16:08.896Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-11-19T12:16:09.169Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-11-19T12:16:09.438Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-11-19T12:16:09.438Z] /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-19T12:16:09.438Z] 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-11-19T12:16:09.438Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-19T12:16:09.438Z] /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-19T12:16:09.438Z] 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-11-19T12:16:09.438Z] | ^ [2024-11-19T12:16:10.024Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-11-19T12:16:10.293Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-11-19T12:16:10.568Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-11-19T12:16:10.834Z] [ 68%] Linking C shared library libcsdk.so [2024-11-19T12:16:11.100Z] [ 68%] Built target csdk [2024-11-19T12:16:11.100Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-11-19T12:16:11.681Z] [ 72%] Linking C executable template [2024-11-19T12:16:11.947Z] [ 72%] Built target template [2024-11-19T12:16:11.947Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-11-19T12:16:12.214Z] [ 76%] Linking C executable device-counter [2024-11-19T12:16:12.483Z] [ 76%] Built target device-counter [2024-11-19T12:16:12.750Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-11-19T12:16:13.030Z] [ 80%] Linking C executable device-random [2024-11-19T12:16:13.298Z] [ 80%] Built target device-random [2024-11-19T12:16:13.298Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-11-19T12:16:13.566Z] [ 84%] Linking C executable device-gyro [2024-11-19T12:16:13.834Z] [ 84%] Built target device-gyro [2024-11-19T12:16:14.102Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-11-19T12:16:14.368Z] [ 88%] Linking C executable device-bitfields [2024-11-19T12:16:14.635Z] [ 88%] Built target device-bitfields [2024-11-19T12:16:14.635Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-11-19T12:16:14.903Z] [ 92%] Linking C executable template-discovery [2024-11-19T12:16:15.486Z] [ 92%] Built target template-discovery [2024-11-19T12:16:15.486Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-11-19T12:16:15.752Z] [ 96%] Linking C executable device-file [2024-11-19T12:16:16.019Z] [ 96%] Built target device-file [2024-11-19T12:16:16.287Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-11-19T12:16:16.555Z] [100%] Linking C executable device-terminal [2024-11-19T12:16:16.821Z] [100%] Built target device-terminal [2024-11-19T12:16:16.821Z] make: Entering directory '/tmp/sdk/build/release' [2024-11-19T12:16:17.088Z] [ 68%] Built target csdk [2024-11-19T12:16:17.088Z] [ 72%] Built target template [2024-11-19T12:16:17.088Z] [ 76%] Built target device-counter [2024-11-19T12:16:17.357Z] [ 80%] Built target device-random [2024-11-19T12:16:17.357Z] [ 84%] Built target device-gyro [2024-11-19T12:16:17.357Z] [ 88%] Built target device-bitfields [2024-11-19T12:16:17.357Z] [ 92%] Built target template-discovery [2024-11-19T12:16:17.357Z] [ 96%] Built target device-file [2024-11-19T12:16:17.626Z] [100%] Built target device-terminal [2024-11-19T12:16:17.626Z] Install the project... [2024-11-19T12:16:17.626Z] -- Install configuration: "Release" [2024-11-19T12:16:17.626Z] -- Installing: /usr/local/lib/libcsdk.so [2024-11-19T12:16:17.626Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-11-19T12:16:17.626Z] -- Installing: /usr/local/include [2024-11-19T12:16:17.626Z] -- Installing: /usr/local/include/devsdk [2024-11-19T12:16:17.626Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-11-19T12:16:17.626Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-11-19T12:16:17.626Z] -- Installing: /usr/local/include/edgex [2024-11-19T12:16:17.626Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-11-19T12:16:17.626Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-11-19T12:16:17.626Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-11-19T12:16:17.626Z] -- Installing: /usr/local/include/edgex/devices.h [2024-11-19T12:16:17.626Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-11-19T12:16:17.626Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-11-19T12:16:17.626Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-11-19T12:16:17.626Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-11-19T12:16:17.626Z] make: Leaving directory '/tmp/sdk/build/release' [2024-11-19T12:16:19.043Z] Removing intermediate container 1b595132ac52 [2024-11-19T12:16:19.043Z] ---> 7df28b7609d9 [2024-11-19T12:16:19.043Z] Step 14/22 : FROM ${BASE} [2024-11-19T12:16:19.043Z] ---> 2b552cad5dd9 [2024-11-19T12:16:19.043Z] Step 15/22 : LABEL maintainer="IOTech " [2024-11-19T12:16:19.043Z] ---> Running in 54c8846a5cc1 [2024-11-19T12:16:19.321Z] Removing intermediate container 54c8846a5cc1 [2024-11-19T12:16:19.321Z] ---> 6becb20abad7 [2024-11-19T12:16:19.321Z] 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-11-19T12:16:19.588Z] ---> Running in d9e8de116628 [2024-11-19T12:16:20.548Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-11-19T12:16:20.816Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-19T12:16:20.816Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-19T12:16:20.816Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-19T12:16:21.784Z] Removing intermediate container d9e8de116628 [2024-11-19T12:16:21.784Z] ---> b926d5cc1174 [2024-11-19T12:16:21.784Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-19T12:16:21.784Z] ---> Running in d17d794fcc1e [2024-11-19T12:16:23.737Z] Removing intermediate container d17d794fcc1e [2024-11-19T12:16:23.737Z] ---> 958092d13def [2024-11-19T12:16:23.737Z] 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-11-19T12:16:23.737Z] ---> Running in 90352bb6a5b7 [2024-11-19T12:16:24.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T12:16:24.906Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-19T12:16:25.489Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T12:16:26.447Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T12:16:26.447Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-11-19T12:16:26.447Z] (2/10) Installing curl (8.9.1-r1) [2024-11-19T12:16:26.447Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-11-19T12:16:26.447Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-11-19T12:16:26.447Z] (5/10) Installing hiredis (1.1.0-r2) [2024-11-19T12:16:26.447Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-11-19T12:16:26.447Z] (7/10) Installing libcbor (0.10.2-r1) [2024-11-19T12:16:26.447Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-11-19T12:16:27.406Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-11-19T12:16:27.406Z] (10/10) Installing libuuid (2.38.1-r8) [2024-11-19T12:16:27.406Z] Executing busybox-1.36.1-r4.trigger [2024-11-19T12:16:27.673Z] OK: 328 MiB in 90 packages [2024-11-19T12:16:28.632Z] Removing intermediate container 90352bb6a5b7 [2024-11-19T12:16:28.632Z] ---> 3f46c2601e2e [2024-11-19T12:16:28.632Z] Step 19/22 : RUN apk --no-cache upgrade [2024-11-19T12:16:28.632Z] ---> Running in 774f9fcdfe97 [2024-11-19T12:16:29.604Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T12:16:29.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-19T12:16:30.466Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T12:16:31.422Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T12:16:31.422Z] Upgrading critical system libraries and apk-tools: [2024-11-19T12:16:31.422Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-11-19T12:16:31.422Z] Executing busybox-1.36.1-r4.trigger [2024-11-19T12:16:31.688Z] Continuing the upgrade transaction with new apk-tools: [2024-11-19T12:16:31.688Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T12:16:31.955Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-19T12:16:32.537Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T12:16:33.118Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T12:16:33.382Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-11-19T12:16:33.382Z] Executing busybox-1.36.1-r7.post-upgrade [2024-11-19T12:16:33.382Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-11-19T12:16:33.382Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-11-19T12:16:33.382Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-11-19T12:16:33.382Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-11-19T12:16:33.382Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-11-19T12:16:33.649Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2024-11-19T12:16:33.649Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2024-11-19T12:16:33.649Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-11-19T12:16:33.649Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-11-19T12:16:33.916Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-11-19T12:16:34.182Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-11-19T12:16:34.182Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-11-19T12:16:34.182Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-11-19T12:16:34.451Z] Executing busybox-1.36.1-r7.trigger [2024-11-19T12:16:34.451Z] Executing ca-certificates-20240226-r0.trigger [2024-11-19T12:16:34.451Z] OK: 328 MiB in 90 packages [2024-11-19T12:16:36.446Z] Removing intermediate container 774f9fcdfe97 [2024-11-19T12:16:36.446Z] ---> 537e4e68c91e [2024-11-19T12:16:36.446Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-11-19T12:16:37.063Z] ---> f6bbea5e4543 [2024-11-19T12:16:37.063Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-11-19T12:16:37.651Z] ---> cb2a48b9ed15 [2024-11-19T12:16:37.651Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-11-19T12:16:37.920Z] ---> 1a714674ea77 [2024-11-19T12:16:38.189Z] Successfully built 1a714674ea77 [2024-11-19T12:16:38.189Z] 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-11-19T12:16:38.651Z] + docker inspect -f . ci-base-image-arm64 [2024-11-19T12:16:38.651Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-19T12:16:38.880Z] prd-ubuntu20.04-docker-arm64-4c-16g-27032 does not seem to be running inside a container [2024-11-19T12:16:38.963Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/79 -v /w/workspace/device-sdk-c/79:/w/workspace/device-sdk-c/79:rw,z -v /w/workspace/device-sdk-c/79@tmp:/w/workspace/device-sdk-c/79@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-19T12:16:40.199Z] $ docker top 3023003b91d38aa25d93fed57ee9c42983265854f25eeb06b534c4deaa705a17 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-19T12:16:41.065Z] + make test [2024-11-19T12:16:41.065Z] echo "make test" [2024-11-19T12:16:41.065Z] make test [Pipeline] } [2024-11-19T12:16:41.086Z] $ docker stop --time=1 3023003b91d38aa25d93fed57ee9c42983265854f25eeb06b534c4deaa705a17 [2024-11-19T12:16:42.694Z] $ docker rm -f --volumes 3023003b91d38aa25d93fed57ee9c42983265854f25eeb06b534c4deaa705a17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-19T12:16:43.258Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-19T12:16:43.575Z] + ls -al . [2024-11-19T12:16:43.575Z] total 208 [2024-11-19T12:16:43.575Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 12:14 . [2024-11-19T12:16:43.575Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 12:14 .. [2024-11-19T12:16:43.575Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 12:14 .git [2024-11-19T12:16:43.575Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 12:14 .github [2024-11-19T12:16:43.575Z] -rw-rw-r-- 1 jenkins jenkins 176 Nov 19 12:14 .gitignore [2024-11-19T12:16:43.575Z] -rw-rw-r-- 1 jenkins jenkins 2908 Nov 19 12:14 Attribution.txt [2024-11-19T12:16:43.575Z] -rw-rw-r-- 1 jenkins jenkins 11953 Nov 19 12:14 CHANGELOG.md [2024-11-19T12:16:43.575Z] -rw-rw-r-- 1 jenkins jenkins 108574 Nov 19 12:14 Doxyfile [2024-11-19T12:16:43.575Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 19 12:14 GOVERNANCE.md [2024-11-19T12:16:43.575Z] -rw-rw-r-- 1 jenkins jenkins 784 Nov 19 12:14 Jenkinsfile [2024-11-19T12:16:43.575Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 19 12:14 LICENSE [2024-11-19T12:16:43.575Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 19 12:14 Makefile [2024-11-19T12:16:43.575Z] -rw-rw-r-- 1 jenkins jenkins 618 Nov 19 12:14 OWNERS.md [2024-11-19T12:16:43.575Z] -rw-rw-r-- 1 jenkins jenkins 1651 Nov 19 12:14 README.IOT.md [2024-11-19T12:16:43.575Z] -rw-rw-r-- 1 jenkins jenkins 4215 Nov 19 12:14 README.md [2024-11-19T12:16:43.575Z] -rw-rw-r-- 1 jenkins jenkins 1245 Nov 19 12:14 README.v3.md [2024-11-19T12:16:43.575Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 19 12:11 VERSION [2024-11-19T12:16:43.575Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 12:14 docs [2024-11-19T12:16:43.575Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 12:14 include [2024-11-19T12:16:43.575Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 12:14 scripts [2024-11-19T12:16:43.575Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 12:14 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T12:16:43.927Z] + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b4a60c126f741d84c14ee104c3263f3235d33930 --label arch=arm64 --label version=4.0.0-dev.2 . [2024-11-19T12:16:44.194Z] Sending build context to Docker daemon 3.062MB [2024-11-19T12:16:44.194Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-11-19T12:16:44.194Z] Step 2/18 : FROM ${BASE} [2024-11-19T12:16:44.194Z] ---> 1a714674ea77 [2024-11-19T12:16:44.194Z] Step 3/18 : LABEL maintainer="IOTech " [2024-11-19T12:16:44.462Z] ---> Running in 3c05c8ffb5b9 [2024-11-19T12:16:44.729Z] Removing intermediate container 3c05c8ffb5b9 [2024-11-19T12:16:44.729Z] ---> 47bc05e1757b [2024-11-19T12:16:44.729Z] 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-11-19T12:16:44.729Z] ---> Running in a9121f22ee68 [2024-11-19T12:16:45.687Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-11-19T12:16:46.269Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-19T12:16:46.269Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-19T12:16:46.269Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-19T12:16:48.255Z] Removing intermediate container a9121f22ee68 [2024-11-19T12:16:48.255Z] ---> 93c4b0f2cee1 [2024-11-19T12:16:48.255Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-19T12:16:48.255Z] ---> Running in 6a68162f7f86 [2024-11-19T12:16:50.187Z] Removing intermediate container 6a68162f7f86 [2024-11-19T12:16:50.187Z] ---> 784ebee386c3 [2024-11-19T12:16:50.187Z] 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-11-19T12:16:50.187Z] ---> Running in 5d8c01922c6d [2024-11-19T12:16:50.770Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T12:16:51.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-19T12:16:51.612Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T12:16:52.566Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T12:16:52.566Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-11-19T12:16:52.832Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-11-19T12:16:52.832Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-11-19T12:16:52.832Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-11-19T12:16:52.832Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-11-19T12:16:52.832Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-11-19T12:16:52.832Z] (7/11) Installing libblkid (2.38.1-r8) [2024-11-19T12:16:52.832Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-11-19T12:16:52.832Z] (9/11) Installing libmount (2.38.1-r8) [2024-11-19T12:16:52.832Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-11-19T12:16:52.832Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-11-19T12:16:53.100Z] Executing busybox-1.36.1-r7.trigger [2024-11-19T12:16:53.100Z] OK: 334 MiB in 101 packages [2024-11-19T12:16:54.517Z] Removing intermediate container 5d8c01922c6d [2024-11-19T12:16:54.517Z] ---> 7ff7710ca670 [2024-11-19T12:16:54.517Z] Step 7/18 : RUN apk --no-cache upgrade [2024-11-19T12:16:54.517Z] ---> Running in 238923df0fb3 [2024-11-19T12:16:55.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T12:16:55.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-19T12:16:55.951Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T12:16:56.907Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T12:16:56.907Z] OK: 334 MiB in 101 packages [2024-11-19T12:16:57.866Z] Removing intermediate container 238923df0fb3 [2024-11-19T12:16:57.866Z] ---> 63c210c609b0 [2024-11-19T12:16:57.866Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-11-19T12:16:59.801Z] ---> 2756d047c220 [2024-11-19T12:16:59.801Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-11-19T12:17:00.767Z] ---> cd0710972160 [2024-11-19T12:17:00.767Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-11-19T12:17:01.032Z] ---> e445e591f993 [2024-11-19T12:17:01.032Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-11-19T12:17:01.625Z] ---> ae8eedc07d89 [2024-11-19T12:17:01.625Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-11-19T12:17:02.206Z] ---> 936cb7a9d553 [2024-11-19T12:17:02.206Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-11-19T12:17:02.474Z] ---> 054f19c249ff [2024-11-19T12:17:02.474Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-11-19T12:17:02.743Z] ---> Running in b0401589475d [2024-11-19T12:17:03.012Z] Removing intermediate container b0401589475d [2024-11-19T12:17:03.012Z] ---> 6645fd146300 [2024-11-19T12:17:03.012Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-11-19T12:17:03.012Z] ---> Running in 802bc173e36e [2024-11-19T12:17:03.278Z] Removing intermediate container 802bc173e36e [2024-11-19T12:17:03.278Z] ---> a2bb765f0331 [2024-11-19T12:17:03.278Z] Step 16/18 : LABEL arch=arm64 [2024-11-19T12:17:03.278Z] ---> Running in 46be5e16d41c [2024-11-19T12:17:03.550Z] Removing intermediate container 46be5e16d41c [2024-11-19T12:17:03.550Z] ---> 063aadc0acbc [2024-11-19T12:17:03.550Z] Step 17/18 : LABEL git_sha=b4a60c126f741d84c14ee104c3263f3235d33930 [2024-11-19T12:17:03.550Z] ---> Running in 9359234f8d47 [2024-11-19T12:17:03.828Z] Removing intermediate container 9359234f8d47 [2024-11-19T12:17:03.828Z] ---> 004ac2f16b26 [2024-11-19T12:17:03.828Z] Step 18/18 : LABEL version=4.0.0-dev.2 [2024-11-19T12:17:04.095Z] ---> Running in 4ff91b11e181 [2024-11-19T12:17:04.361Z] Removing intermediate container 4ff91b11e181 [2024-11-19T12:17:04.361Z] ---> e42a39e69e34 [2024-11-19T12:17:04.361Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-11-19T12:17:04.361Z] Successfully built e42a39e69e34 [2024-11-19T12:17:04.361Z] 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-11-19T12:17:04.832Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-19T12:17:04.832Z] [2024-11-19T12:17:04.832Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T12:17:05.163Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-19T12:17:05.430Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-19T12:17:05.430Z] 8998bd30e6a1: Pulling fs layer [2024-11-19T12:17:05.430Z] 04944245beec: Pulling fs layer [2024-11-19T12:17:05.430Z] 699f458cf7ca: Pulling fs layer [2024-11-19T12:17:05.430Z] 765212b225bb: Pulling fs layer [2024-11-19T12:17:05.430Z] f23df028b6ca: Pulling fs layer [2024-11-19T12:17:05.430Z] d65c8cfc05b1: Pulling fs layer [2024-11-19T12:17:05.430Z] 2437ff75d9bd: Pulling fs layer [2024-11-19T12:17:05.430Z] f23df028b6ca: Waiting [2024-11-19T12:17:05.430Z] 765212b225bb: Waiting [2024-11-19T12:17:05.430Z] d65c8cfc05b1: Waiting [2024-11-19T12:17:05.430Z] 04944245beec: Verifying Checksum [2024-11-19T12:17:05.430Z] 04944245beec: Download complete [2024-11-19T12:17:05.430Z] 765212b225bb: Verifying Checksum [2024-11-19T12:17:05.430Z] 765212b225bb: Download complete [2024-11-19T12:17:05.430Z] f23df028b6ca: Download complete [2024-11-19T12:17:05.430Z] d65c8cfc05b1: Verifying Checksum [2024-11-19T12:17:05.430Z] d65c8cfc05b1: Download complete [2024-11-19T12:17:05.698Z] 699f458cf7ca: Verifying Checksum [2024-11-19T12:17:05.698Z] 699f458cf7ca: Download complete [2024-11-19T12:17:05.966Z] 8998bd30e6a1: Verifying Checksum [2024-11-19T12:17:05.966Z] 8998bd30e6a1: Download complete [2024-11-19T12:17:08.547Z] 2437ff75d9bd: Verifying Checksum [2024-11-19T12:17:08.547Z] 2437ff75d9bd: Download complete [2024-11-19T12:17:10.556Z] 8998bd30e6a1: Pull complete [2024-11-19T12:17:11.139Z] 04944245beec: Pull complete [2024-11-19T12:17:12.549Z] 699f458cf7ca: Pull complete [2024-11-19T12:17:12.816Z] 765212b225bb: Pull complete [2024-11-19T12:17:13.775Z] f23df028b6ca: Pull complete [2024-11-19T12:17:14.041Z] d65c8cfc05b1: Pull complete [2024-11-19T12:17:32.245Z] 2437ff75d9bd: Pull complete [2024-11-19T12:17:32.245Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-19T12:17:32.245Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-19T12:17:32.245Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-19T12:17:32.456Z] prd-ubuntu20.04-docker-arm64-4c-16g-27032 does not seem to be running inside a container [2024-11-19T12:17:32.515Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/79 -v /w/workspace/device-sdk-c/79:/w/workspace/device-sdk-c/79:rw,z -v /w/workspace/device-sdk-c/79@tmp:/w/workspace/device-sdk-c/79@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-19T12:17:34.961Z] $ docker top 568b645233f5425e2bb1daa60cefe1561504de5331ad763cb1e0133c3551a86e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-19T12:17:35.810Z] ---> job-cost.sh [2024-11-19T12:17:35.810Z] lf-activate-venv: SKIPPING [2024-11-19T12:17:35.810Z] INFO: No Stack... [2024-11-19T12:17:36.076Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-19T12:17:37.029Z] INFO: Archiving Costs [Pipeline] sh [2024-11-19T12:17:37.356Z] + cat /w/workspace/device-sdk-c/79/archives/cost.csv [2024-11-19T12:17:37.357Z] + cut -d, -f6 [Pipeline] lock [2024-11-19T12:17:37.678Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-79-stack-cost] [2024-11-19T12:17:37.686Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-79-stack-cost] did not exist. Created. [2024-11-19T12:17:37.693Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-79-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-19T12:17:38.358Z] /w/workspace/device-sdk-c/79@tmp/durable-fa265aa0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-19T12:17:38.688Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-19T12:17:38.718Z] Warning: overwriting stash ‘stack-cost’ [2024-11-19T12:17:39.179Z] Stashed 1 file(s) [Pipeline] } [2024-11-19T12:17:39.190Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-79-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-19T12:17:39.212Z] $ docker stop --time=1 568b645233f5425e2bb1daa60cefe1561504de5331ad763cb1e0133c3551a86e [2024-11-19T12:17:40.765Z] $ docker rm -f --volumes 568b645233f5425e2bb1daa60cefe1561504de5331ad763cb1e0133c3551a86e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh [2024-11-19T12:17:41.483Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-19T12:17:41.483Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T12:17:41.791Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-19T12:17:41.792Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-19T12:17:41.872Z] prd-ubuntu20.04-docker-8c-8g-27031 does not seem to be running inside a container [2024-11-19T12:17:41.905Z] $ 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-11-19T12:17:42.234Z] $ docker top fe16edf98815436785d760d1c9f9a88f2b0b597ecc962e912c6108942b6422ec -eo pid,comm [2024-11-19T12:17:42.279Z] 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-11-19T12:17:42.279Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-19T12:17:42.333Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-19T12:17:42.333Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-19T12:17:42.446Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-19T12:17:42.448Z] $ docker exec fe16edf98815436785d760d1c9f9a88f2b0b597ecc962e912c6108942b6422ec ssh-agent [2024-11-19T12:17:42.555Z] SSH_AUTH_SOCK=/tmp/ssh-AXb7x2uTnB1p/agent.31 [2024-11-19T12:17:42.555Z] SSH_AGENT_PID=37 [2024-11-19T12:17:42.559Z] Running ssh-add (command line suppressed) [2024-11-19T12:17:42.676Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12625891316045404185.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12625891316045404185.key) [2024-11-19T12:17:42.689Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-19T12:17:42.980Z] + git semver tag [2024-11-19T12:17:43.239Z] 2024-11-19 12:17:43,169 [run_tag] DEBUG tag force:False [2024-11-19T12:17:43.240Z] 2024-11-19 12:17:43,169 [check_head_tag] DEBUG check head tag [2024-11-19T12:17:43.240Z] 2024-11-19 12:17:43,170 [execute] INFO git cat-file --batch-check [2024-11-19T12:17:43.240Z] 2024-11-19 12:17:43,170 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-11-19T12:17:43.240Z] 2024-11-19 12:17:43,174 [execute] INFO git cat-file --batch [2024-11-19T12:17:43.240Z] 2024-11-19 12:17:43,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-11-19T12:17:43.240Z] 2024-11-19 12:17:43,192 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-11-19T12:17:43.240Z] 2024-11-19 12:17:43,192 [execute] INFO git tag -a v4.0.0-dev.2 -m v4.0.0-dev.2 [2024-11-19T12:17:43.240Z] 2024-11-19 12:17:43,192 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.2', '-m', 'v4.0.0-dev.2'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-11-19T12:17:43.240Z] 2024-11-19 12:17:43,197 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-11-19T12:17:43.240Z] 4.0.0-dev.2 [Pipeline] } [2024-11-19T12:17:43.247Z] $ docker exec --env ******** --env ******** fe16edf98815436785d760d1c9f9a88f2b0b597ecc962e912c6108942b6422ec ssh-agent -k [2024-11-19T12:17:43.356Z] unset SSH_AUTH_SOCK; [2024-11-19T12:17:43.356Z] unset SSH_AGENT_PID; [2024-11-19T12:17:43.356Z] echo Agent pid 37 killed; [2024-11-19T12:17:43.366Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-19T12:17:43.698Z] + git semver [Pipeline] } [2024-11-19T12:17:43.970Z] $ docker stop --time=1 fe16edf98815436785d760d1c9f9a88f2b0b597ecc962e912c6108942b6422ec [2024-11-19T12:17:45.217Z] $ docker rm -f --volumes fe16edf98815436785d760d1c9f9a88f2b0b597ecc962e912c6108942b6422ec [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T12:17:45.673Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-11-19T12:17:45.673Z] [2024-11-19T12:17:45.673Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T12:17:45.978Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-11-19T12:17:45.978Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-11-19T12:17:45.978Z] ab5ef0e58194: Pulling fs layer [2024-11-19T12:17:45.978Z] 9712f1f96733: Pulling fs layer [2024-11-19T12:17:45.978Z] 63f879dbbcfc: Pulling fs layer [2024-11-19T12:17:45.978Z] 0d9ebad4ef96: Pulling fs layer [2024-11-19T12:17:45.978Z] e9a5061849ea: Pulling fs layer [2024-11-19T12:17:45.978Z] d747dcd14b5f: Pulling fs layer [2024-11-19T12:17:45.978Z] 2de7ff778b66: Pulling fs layer [2024-11-19T12:17:45.978Z] 0d9ebad4ef96: Waiting [2024-11-19T12:17:45.978Z] e9a5061849ea: Waiting [2024-11-19T12:17:45.978Z] d747dcd14b5f: Waiting [2024-11-19T12:17:45.978Z] 9712f1f96733: Verifying Checksum [2024-11-19T12:17:45.978Z] 9712f1f96733: Download complete [2024-11-19T12:17:46.238Z] 63f879dbbcfc: Verifying Checksum [2024-11-19T12:17:46.238Z] 63f879dbbcfc: Download complete [2024-11-19T12:17:46.238Z] e9a5061849ea: Verifying Checksum [2024-11-19T12:17:46.238Z] e9a5061849ea: Download complete [2024-11-19T12:17:46.238Z] d747dcd14b5f: Verifying Checksum [2024-11-19T12:17:46.238Z] d747dcd14b5f: Download complete [2024-11-19T12:17:46.497Z] ab5ef0e58194: Download complete [2024-11-19T12:17:46.497Z] 0d9ebad4ef96: Verifying Checksum [2024-11-19T12:17:46.497Z] 2de7ff778b66: Verifying Checksum [2024-11-19T12:17:46.497Z] 2de7ff778b66: Download complete [2024-11-19T12:17:49.029Z] ab5ef0e58194: Pull complete [2024-11-19T12:17:49.029Z] 9712f1f96733: Pull complete [2024-11-19T12:17:49.965Z] 63f879dbbcfc: Pull complete [2024-11-19T12:17:54.152Z] 0d9ebad4ef96: Pull complete [2024-11-19T12:17:54.152Z] e9a5061849ea: Pull complete [2024-11-19T12:17:54.152Z] d747dcd14b5f: Pull complete [2024-11-19T12:17:54.718Z] 2de7ff778b66: Pull complete [2024-11-19T12:17:54.718Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-11-19T12:17:54.718Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-11-19T12:17:54.718Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-19T12:17:54.817Z] prd-ubuntu20.04-docker-8c-8g-27031 does not seem to be running inside a container [2024-11-19T12:17:54.849Z] $ 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-11-19T12:18:01.787Z] $ docker top c9fa0157f32a946c2e1305e0af424fc7e6402117f9ed49f631656c7386a13e7b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-11-19T12:18:01.873Z] provisioning config files... [2024-11-19T12:18:01.880Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1312290262492174647tmp [2024-11-19T12:18:01.890Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config6991185688908745322tmp [2024-11-19T12:18:01.899Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config4585802253522785599tmp [Pipeline] { [Pipeline] echo [2024-11-19T12:18:02.013Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-19T12:18:02.308Z] ---> sigul-configuration.sh [2024-11-19T12:18:02.308Z] gpg: directory `/root/.gnupg' created [2024-11-19T12:18:02.308Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-11-19T12:18:02.308Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-11-19T12:18:02.308Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-11-19T12:18:02.308Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-11-19T12:18:02.308Z] gpg: CAST5 encrypted data [2024-11-19T12:18:02.308Z] gpg: encrypted with 1 passphrase [2024-11-19T12:18:02.308Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-11-19T12:18:02.607Z] + mkdir /home/jenkins [2024-11-19T12:18:02.607Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-11-19T12:18:02.902Z] + 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-11-19T12:18:02.970Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-19T12:18:03.339Z] ---> sigul-install.sh [2024-11-19T12:18:03.339Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-11-19T12:18:03.689Z] + git tag --list [2024-11-19T12:18:03.689Z] 0.7.0 [2024-11-19T12:18:03.689Z] 0.7.1 [2024-11-19T12:18:03.689Z] 1.0.0 [2024-11-19T12:18:03.689Z] v1.0.1 [2024-11-19T12:18:03.689Z] v1.0.2 [2024-11-19T12:18:03.689Z] v1.0.3 [2024-11-19T12:18:03.689Z] v1.1.0 [2024-11-19T12:18:03.689Z] v1.1.1 [2024-11-19T12:18:03.689Z] v1.2.0 [2024-11-19T12:18:03.689Z] v1.2.1 [2024-11-19T12:18:03.689Z] v1.2.2 [2024-11-19T12:18:03.689Z] v1.3.0 [2024-11-19T12:18:03.689Z] v1.3.1 [2024-11-19T12:18:03.689Z] v2.0.0 [2024-11-19T12:18:03.689Z] v2.1.0 [2024-11-19T12:18:03.689Z] v2.2.0 [2024-11-19T12:18:03.689Z] v2.3.0 [2024-11-19T12:18:03.689Z] v3.0 [2024-11-19T12:18:03.689Z] v3.0.0 [2024-11-19T12:18:03.689Z] v3.0.1 [2024-11-19T12:18:03.689Z] v3.0.2 [2024-11-19T12:18:03.689Z] v3.0.3-dev.1 [2024-11-19T12:18:03.689Z] v3.0.3-dev.10 [2024-11-19T12:18:03.689Z] v3.0.3-dev.11 [2024-11-19T12:18:03.689Z] v3.0.3-dev.12 [2024-11-19T12:18:03.689Z] v3.0.3-dev.13 [2024-11-19T12:18:03.689Z] v3.0.3-dev.14 [2024-11-19T12:18:03.689Z] v3.0.3-dev.15 [2024-11-19T12:18:03.689Z] v3.0.3-dev.16 [2024-11-19T12:18:03.689Z] v3.0.3-dev.17 [2024-11-19T12:18:03.689Z] v3.0.3-dev.2 [2024-11-19T12:18:03.689Z] v3.0.3-dev.3 [2024-11-19T12:18:03.689Z] v3.0.3-dev.4 [2024-11-19T12:18:03.689Z] v3.0.3-dev.5 [2024-11-19T12:18:03.689Z] v3.0.3-dev.6 [2024-11-19T12:18:03.689Z] v3.0.3-dev.7 [2024-11-19T12:18:03.689Z] v3.0.3-dev.8 [2024-11-19T12:18:03.689Z] v3.0.3-dev.9 [2024-11-19T12:18:03.689Z] v3.1 [2024-11-19T12:18:03.689Z] v3.1.0 [2024-11-19T12:18:03.689Z] v3.1.0-dev.1 [2024-11-19T12:18:03.689Z] v3.1.0-dev.2 [2024-11-19T12:18:03.689Z] v3.1.0-dev.3 [2024-11-19T12:18:03.689Z] v3.1.0-dev.4 [2024-11-19T12:18:03.689Z] v3.1.0-dev.5 [2024-11-19T12:18:03.689Z] v3.1.0-dev.6 [2024-11-19T12:18:03.689Z] v3.1.0-dev.7 [2024-11-19T12:18:03.689Z] v3.1.0-dev.8 [2024-11-19T12:18:03.689Z] v3.1.0-dev.9 [2024-11-19T12:18:03.689Z] v3.1.1 [2024-11-19T12:18:03.689Z] v3.1.1-dev.1 [2024-11-19T12:18:03.689Z] v4.0.0-dev.1 [2024-11-19T12:18:03.689Z] v4.0.0-dev.2 [Pipeline] sh [2024-11-19T12:18:03.986Z] + lftools sign git-tag v4.0.0-dev.2 [2024-11-19T12:18:04.555Z] Signing Git tag with Sigul... [2024-11-19T12:18:04.555Z] Signing v4.0.0-dev.2 [Pipeline] echo [2024-11-19T12:18:04.828Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-19T12:18:05.121Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-11-19T12:18:05.128Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-11-19T12:18:05.157Z] $ docker stop --time=1 c9fa0157f32a946c2e1305e0af424fc7e6402117f9ed49f631656c7386a13e7b [2024-11-19T12:18:06.415Z] $ docker rm -f --volumes c9fa0157f32a946c2e1305e0af424fc7e6402117f9ed49f631656c7386a13e7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-11-19T12:18:06.876Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-19T12:18:06.876Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T12:18:07.186Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-19T12:18:07.186Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-19T12:18:07.283Z] prd-ubuntu20.04-docker-8c-8g-27031 does not seem to be running inside a container [2024-11-19T12:18:07.312Z] $ 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-11-19T12:18:07.649Z] $ docker top 119c5fee3ed05e90dfd5aa94ac6fdccf31910242e8f6be3488b3709fa16ffa3d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-19T12:18:07.778Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-19T12:18:07.778Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-19T12:18:07.884Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-19T12:18:07.885Z] $ docker exec 119c5fee3ed05e90dfd5aa94ac6fdccf31910242e8f6be3488b3709fa16ffa3d ssh-agent [2024-11-19T12:18:08.002Z] SSH_AUTH_SOCK=/tmp/ssh-VaN4Tdsq4bgn/agent.32 [2024-11-19T12:18:08.002Z] SSH_AGENT_PID=38 [2024-11-19T12:18:08.006Z] Running ssh-add (command line suppressed) [2024-11-19T12:18:08.110Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4545764485649590445.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4545764485649590445.key) [2024-11-19T12:18:08.124Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-19T12:18:08.417Z] + git semver bump pre [2024-11-19T12:18:08.676Z] 2024-11-19 12:18:08,586 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-11-19T12:18:08.676Z] 2024-11-19 12:18:08,587 [bump_version] DEBUG bumping version:4.0.0-dev.2 on axis:pre with prefix:dev [2024-11-19T12:18:08.676Z] 2024-11-19 12:18:08,587 [bump_version] DEBUG bumped version:4.0.0-dev.3 [2024-11-19T12:18:08.676Z] 2024-11-19 12:18:08,587 [write_version] DEBUG write version:4.0.0-dev.3 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2024-11-19T12:18:08.676Z] 2024-11-19 12:18:08,587 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-11-19T12:18:08.676Z] 2024-11-19 12:18:08,587 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-11-19T12:18:08.676Z] 2024-11-19 12:18:08,589 [execute] INFO git cat-file --batch-check [2024-11-19T12:18:08.676Z] 2024-11-19 12:18:08,590 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-11-19T12:18:08.676Z] 2024-11-19 12:18:08,596 [execute] INFO git cat-file --batch [2024-11-19T12:18:08.676Z] 2024-11-19 12:18:08,596 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-11-19T12:18:08.676Z] 2024-11-19 12:18:08,602 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-11-19T12:18:08.676Z] 4.0.0-dev.3 [Pipeline] } [2024-11-19T12:18:08.683Z] $ docker exec --env ******** --env ******** 119c5fee3ed05e90dfd5aa94ac6fdccf31910242e8f6be3488b3709fa16ffa3d ssh-agent -k [2024-11-19T12:18:08.782Z] unset SSH_AUTH_SOCK; [2024-11-19T12:18:08.783Z] unset SSH_AGENT_PID; [2024-11-19T12:18:08.783Z] echo Agent pid 38 killed; [2024-11-19T12:18:08.791Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-19T12:18:09.105Z] + git semver [Pipeline] } [2024-11-19T12:18:09.375Z] $ docker stop --time=1 119c5fee3ed05e90dfd5aa94ac6fdccf31910242e8f6be3488b3709fa16ffa3d [2024-11-19T12:18:10.631Z] $ docker rm -f --volumes 119c5fee3ed05e90dfd5aa94ac6fdccf31910242e8f6be3488b3709fa16ffa3d [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-19T12:18:10.984Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-19T12:18:10.984Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T12:18:11.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-19T12:18:11.282Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-19T12:18:11.357Z] prd-ubuntu20.04-docker-8c-8g-27031 does not seem to be running inside a container [2024-11-19T12:18:11.382Z] $ 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-11-19T12:18:11.717Z] $ docker top f8f2e251d49bd0e49864e96b31e24e8e2eed234e13606be3e50a710d207dadab -eo pid,comm [2024-11-19T12:18:11.763Z] 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-11-19T12:18:11.763Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-19T12:18:11.822Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-19T12:18:11.822Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-19T12:18:11.950Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-19T12:18:11.954Z] $ docker exec f8f2e251d49bd0e49864e96b31e24e8e2eed234e13606be3e50a710d207dadab ssh-agent [2024-11-19T12:18:12.058Z] SSH_AUTH_SOCK=/tmp/ssh-aNKFJvhgV1bR/agent.32 [2024-11-19T12:18:12.058Z] SSH_AGENT_PID=38 [2024-11-19T12:18:12.062Z] Running ssh-add (command line suppressed) [2024-11-19T12:18:12.170Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9863635966041967093.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_9863635966041967093.key) [2024-11-19T12:18:12.184Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-19T12:18:12.475Z] + git semver push [2024-11-19T12:18:12.735Z] 2024-11-19 12:18:12,687 [run_push] DEBUG push [2024-11-19T12:18:12.735Z] 2024-11-19 12:18:12,688 [execute] INFO git cat-file --batch-check [2024-11-19T12:18:12.735Z] 2024-11-19 12:18:12,688 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-11-19T12:18:12.735Z] 2024-11-19 12:18:12,692 [execute] INFO git rev-list 53e75e0335d3e9380a46bab593206c47c5f9473d -- [2024-11-19T12:18:12.735Z] 2024-11-19 12:18:12,692 [execute] DEBUG Popen(['git', 'rev-list', '53e75e0335d3e9380a46bab593206c47c5f9473d', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-11-19T12:18:12.735Z] 2024-11-19 12:18:12,700 [execute] INFO git fetch -v origin [2024-11-19T12:18:12.735Z] 2024-11-19 12:18:12,700 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-11-19T12:18:13.393Z] 2024-11-19 12:18:13,157 [run_push] DEBUG no remote changes detected [2024-11-19T12:18:13.393Z] 2024-11-19 12:18:13,157 [execute] INFO git push origin semver [2024-11-19T12:18:13.393Z] 2024-11-19 12:18:13,158 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-11-19T12:18:13.963Z] 2024-11-19 12:18:13,801 [run_push] DEBUG push all version tags [2024-11-19T12:18:13.963Z] 2024-11-19 12:18:13,802 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-11-19T12:18:13.963Z] 2024-11-19 12:18:13,802 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-11-19T12:18:14.531Z] 2024-11-19 12:18:14,400 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-11-19T12:18:14.531Z] 4.0.0-dev.3 [Pipeline] } [2024-11-19T12:18:14.540Z] $ docker exec --env ******** --env ******** f8f2e251d49bd0e49864e96b31e24e8e2eed234e13606be3e50a710d207dadab ssh-agent -k [2024-11-19T12:18:14.646Z] unset SSH_AUTH_SOCK; [2024-11-19T12:18:14.646Z] unset SSH_AGENT_PID; [2024-11-19T12:18:14.646Z] echo Agent pid 38 killed; [2024-11-19T12:18:14.656Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-19T12:18:14.986Z] + git semver [Pipeline] } [2024-11-19T12:18:15.255Z] $ docker stop --time=1 f8f2e251d49bd0e49864e96b31e24e8e2eed234e13606be3e50a710d207dadab [2024-11-19T12:18:16.594Z] $ docker rm -f --volumes f8f2e251d49bd0e49864e96b31e24e8e2eed234e13606be3e50a710d207dadab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-11-19T12:18:17.131Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2024-11-19T12:18:17.132Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-11-19T12:18:17.132Z] total 16 [2024-11-19T12:18:17.132Z] drwxr-xr-x 3 root root 4096 Nov 19 12:12 . [2024-11-19T12:18:17.132Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 19 12:18 .. [2024-11-19T12:18:17.132Z] drwxr-xr-x 2 root root 4096 Nov 19 12:12 cost [2024-11-19T12:18:17.132Z] -rw-r--r-- 1 root root 83 Nov 19 12:12 cost.csv [2024-11-19T12:18:17.132Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-11-19T12:18:17.132Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-11-19T12:18:17.132Z] total 16 [2024-11-19T12:18:17.132Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 19 12:12 . [2024-11-19T12:18:17.132Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 19 12:18 .. [2024-11-19T12:18:17.132Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 19 12:12 cost [2024-11-19T12:18:17.132Z] -rw-r--r-- 1 jenkins jenkins 83 Nov 19 12:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-19T12:18:17.443Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-19T12:18:18.301Z] ---> package-listing.sh [2024-11-19T12:18:18.301Z] ++ facter osfamily [2024-11-19T12:18:18.301Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-19T12:18:18.560Z] + OS_FAMILY=debian [2024-11-19T12:18:18.560Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2024-11-19T12:18:18.560Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-19T12:18:18.560Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-19T12:18:18.560Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-19T12:18:18.560Z] + PACKAGES=/tmp/packages_start.txt [2024-11-19T12:18:18.560Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-11-19T12:18:18.560Z] + PACKAGES=/tmp/packages_end.txt [2024-11-19T12:18:18.560Z] + case "${OS_FAMILY}" in [2024-11-19T12:18:18.560Z] + dpkg -l [2024-11-19T12:18:18.560Z] + grep '^ii' [2024-11-19T12:18:18.560Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-19T12:18:18.560Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-19T12:18:18.560Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-19T12:18:18.560Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-11-19T12:18:18.560Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2024-11-19T12:18:18.560Z] + 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-11-19T12:18:18.572Z] 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-11-19T12:18:18.853Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T12:18:19.417Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-19T12:18:19.417Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-19T12:18:19.499Z] prd-ubuntu20.04-docker-8c-8g-27031 does not seem to be running inside a container [2024-11-19T12:18:19.527Z] $ 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-11-19T12:18:19.719Z] $ docker top 79247d6cdea8be1e639b4fa2100941d952951f01f671f637b715111eac6018f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-19T12:18:20.084Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-19T12:18:20.371Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-19T12:18:20.657Z] + ls /var/log/sa-host [2024-11-19T12:18:20.657Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-19T12:18:20.745Z] provisioning config files... [2024-11-19T12:18:20.754Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config13820310449901684555tmp [Pipeline] { [Pipeline] echo [2024-11-19T12:18:20.774Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-19T12:18:21.059Z] ---> create-netrc.sh [Pipeline] } [2024-11-19T12:18:21.065Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-19T12:18:21.392Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-19T12:18:21.402Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-19T12:18:21.685Z] ---> sudo-logs.sh [2024-11-19T12:18:21.685Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-19T12:18:21.718Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-19T12:18:22.001Z] ---> job-cost.sh [2024-11-19T12:18:22.001Z] lf-activate-venv: SKIPPING [2024-11-19T12:18:22.001Z] DEBUG: total: 0.2199999988079071 [2024-11-19T12:18:22.001Z] INFO: Retrieving Stack Cost... [2024-11-19T12:18:22.262Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-19T12:18:22.524Z] INFO: Archiving Costs [Pipeline] echo [2024-11-19T12:18:22.539Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-19T12:18:22.824Z] ---> logs-deploy.sh [2024-11-19T12:18:22.824Z] lf-activate-venv: SKIPPING [2024-11-19T12:18:22.824Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/79 [2024-11-19T12:18:22.824Z] INFO: archiving workspace using pattern(s): [2024-11-19T12:18:23.766Z] Archives upload complete. [2024-11-19T12:18:23.766Z] INFO: archiving logs to Nexus