Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of eaton-coreymutter for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 2f4b8229e7370b0b7e16fa2f5b159a12b049b4ac+b4a60c126f741d84c14ee104c3263f3235d33930 (8b757cf8b0826cfe895f819170b70254ff3e4348) 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-ssh5614190324830214940.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-ssh72164573746650075.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/PR-520/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/PR-520/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1318789773583570937.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-ssh11117723120862676302.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/PR-520/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/PR-520/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15591587336374228445.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-27053 in /w/workspace/edgexfoundry_device-sdk-c_PR-520 [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_PR-520 # 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 Merging remotes/origin/main commit b4a60c126f741d84c14ee104c3263f3235d33930 into PR head commit 2f4b8229e7370b0b7e16fa2f5b159a12b049b4ac > 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 remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/520/head:refs/remotes/origin/PR-520 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f4b8229e7370b0b7e16fa2f5b159a12b049b4ac # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b4a60c126f741d84c14ee104c3263f3235d33930 # timeout=10 Merge succeeded, producing 60e4ac41c3252f28840957af7a084be9442fb24e Checking out Revision 60e4ac41c3252f28840957af7a084be9442fb24e (PR-520) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 60e4ac41c3252f28840957af7a084be9442fb24e # timeout=10 Commit message: "Merge commit 'b4a60c126f741d84c14ee104c3263f3235d33930' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk a1285c9c4a50919824972e76a7ef6929cbb7350a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-19T18:55:23.507Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-19T18:55:23.584Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-19T18:55:23.608Z] ========================================================= [2024-11-19T18:55:23.608Z] EdgeX Global Pipelines Version Info [2024-11-19T18:55:23.608Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-19T18:55:24.728Z] ------------------- [2024-11-19T18:55:24.728Z] stable info: [2024-11-19T18:55:24.728Z] ------------------- [2024-11-19T18:55:24.728Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-19T18:55:24.728Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-19T18:55:24.728Z] Message: update stable to v1.0.265 [2024-11-19T18:55:24.988Z] ------------------- [2024-11-19T18:55:24.988Z] experimental info: [2024-11-19T18:55:24.988Z] ------------------- [2024-11-19T18:55:24.988Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-19T18:55:24.988Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-19T18:55:24.988Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-19T18:55:25.067Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-11-19T18:55:25.092Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-11-19T18:55:25.119Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-19T18:55:25.139Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-19T18:55:25.157Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-19T18:55:25.179Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-11-19T18:55:25.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-11-19T18:55:25.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-19T18:55:25.250Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-19T18:55:25.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-11-19T18:55:25.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-19T18:55:25.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-19T18:55:25.343Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-19T18:55:25.363Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-11-19T18:55:25.386Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-19T18:55:25.408Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-19T18:55:25.429Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-19T18:55:25.450Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-520 [Pipeline] echo [2024-11-19T18:55:25.473Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-520 [Pipeline] echo [2024-11-19T18:55:25.493Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-520 [Pipeline] echo [2024-11-19T18:55:25.517Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 60e4ac41c3252f28840957af7a084be9442fb24e [Pipeline] echo [2024-11-19T18:55:25.539Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 60e4ac4 [Pipeline] echo [2024-11-19T18:55:25.562Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-19T18:55:25.622Z] provisioning config files... [2024-11-19T18:55:25.638Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/config10533114895913641490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-19T18:55:25.972Z] ---> ****-login.sh [2024-11-19T18:55:25.972Z] nexus3.edgexfoundry.org:10001 [2024-11-19T18:55:26.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:55:26.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:55:26.494Z] Configure a credential helper to remove this warning. See [2024-11-19T18:55:26.494Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:55:26.494Z] [2024-11-19T18:55:26.494Z] Login Succeeded [2024-11-19T18:55:26.494Z] nexus3.edgexfoundry.org:10002 [2024-11-19T18:55:26.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:55:26.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:55:26.494Z] Configure a credential helper to remove this warning. See [2024-11-19T18:55:26.494Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:55:26.494Z] [2024-11-19T18:55:26.494Z] Login Succeeded [2024-11-19T18:55:26.494Z] nexus3.edgexfoundry.org:10003 [2024-11-19T18:55:26.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:55:26.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:55:26.495Z] Configure a credential helper to remove this warning. See [2024-11-19T18:55:26.495Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:55:26.495Z] [2024-11-19T18:55:26.495Z] Login Succeeded [2024-11-19T18:55:26.495Z] nexus3.edgexfoundry.org:10004 [2024-11-19T18:55:26.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:55:26.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:55:26.756Z] Configure a credential helper to remove this warning. See [2024-11-19T18:55:26.756Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:55:26.756Z] [2024-11-19T18:55:26.756Z] Login Succeeded [2024-11-19T18:55:26.756Z] ****.io [2024-11-19T18:55:26.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:55:27.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:55:27.016Z] Configure a credential helper to remove this warning. See [2024-11-19T18:55:27.016Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:55:27.016Z] [2024-11-19T18:55:27.016Z] Login Succeeded [2024-11-19T18:55:27.016Z] ---> ****-login.sh ends [Pipeline] } [2024-11-19T18:55:27.024Z] 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-19T18:55:27.448Z] + git rev-list -1 --merges 60e4ac41c3252f28840957af7a084be9442fb24e~1..60e4ac41c3252f28840957af7a084be9442fb24e [Pipeline] echo [2024-11-19T18:55:27.476Z] -----------> git rev-list -1 --merges 60e4ac41c3252f28840957af7a084be9442fb24e~1..60e4ac41c3252f28840957af7a084be9442fb24e 60e4ac41c3252f28840957af7a084be9442fb24e [2024-11-19T18:55:27.476Z] 60e4ac41c3252f28840957af7a084be9442fb24e [false] [Pipeline] sh [2024-11-19T18:55:27.775Z] + git log --format=format:%s -1 60e4ac41c3252f28840957af7a084be9442fb24e [Pipeline] echo [2024-11-19T18:55:27.794Z] ========================================================= [2024-11-19T18:55:27.794Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-19T18:55:27.794Z] ========================================================= 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-19T18:55:28.248Z] + git rev-list -1 --merges 60e4ac41c3252f28840957af7a084be9442fb24e~1..60e4ac41c3252f28840957af7a084be9442fb24e [Pipeline] echo [2024-11-19T18:55:28.259Z] -----------> git rev-list -1 --merges 60e4ac41c3252f28840957af7a084be9442fb24e~1..60e4ac41c3252f28840957af7a084be9442fb24e 60e4ac41c3252f28840957af7a084be9442fb24e [2024-11-19T18:55:28.259Z] 60e4ac41c3252f28840957af7a084be9442fb24e [false] [Pipeline] sh [2024-11-19T18:55:28.558Z] + git log --format=format:%s -1 60e4ac41c3252f28840957af7a084be9442fb24e [Pipeline] echo [2024-11-19T18:55:28.575Z] ========================================================= [2024-11-19T18:55:28.575Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-19T18:55:28.575Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-11-19T18:55:29.018Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-19T18:55:29.018Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-19T18:55:29.018Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-19T18:55:29.018Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-19T18:55:29.018Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-19T18:55:29.018Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-19T18:55:29.018Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T18:55:29.436Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-19T18:55:29.436Z] [2024-11-19T18:55:29.436Z] 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-19T18:55:29.745Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-19T18:55:29.745Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-19T18:55:29.745Z] b85a868b505f: Pulling fs layer [2024-11-19T18:55:29.745Z] e2be974225ed: Pulling fs layer [2024-11-19T18:55:29.745Z] 339a4e72a1f5: Pulling fs layer [2024-11-19T18:55:29.745Z] 988bab9f4d93: Pulling fs layer [2024-11-19T18:55:29.745Z] 1469e6f7b9e6: Pulling fs layer [2024-11-19T18:55:29.745Z] eaf3925da568: Pulling fs layer [2024-11-19T18:55:29.745Z] bab4dde63d76: Pulling fs layer [2024-11-19T18:55:29.745Z] bde34c3a00c8: Pulling fs layer [2024-11-19T18:55:29.745Z] b352a97aabf1: Pulling fs layer [2024-11-19T18:55:29.745Z] 4872d77fe225: Pulling fs layer [2024-11-19T18:55:29.745Z] 5851b861e8e6: Pulling fs layer [2024-11-19T18:55:29.745Z] eaf3925da568: Waiting [2024-11-19T18:55:29.745Z] bab4dde63d76: Waiting [2024-11-19T18:55:29.746Z] bde34c3a00c8: Waiting [2024-11-19T18:55:29.746Z] b352a97aabf1: Waiting [2024-11-19T18:55:29.746Z] 4872d77fe225: Waiting [2024-11-19T18:55:29.746Z] 5851b861e8e6: Waiting [2024-11-19T18:55:29.746Z] 988bab9f4d93: Waiting [2024-11-19T18:55:29.746Z] 1469e6f7b9e6: Waiting [2024-11-19T18:55:29.746Z] e2be974225ed: Download complete [2024-11-19T18:55:29.746Z] 988bab9f4d93: Download complete [2024-11-19T18:55:29.746Z] 1469e6f7b9e6: Verifying Checksum [2024-11-19T18:55:29.746Z] 1469e6f7b9e6: Download complete [2024-11-19T18:55:29.746Z] 339a4e72a1f5: Verifying Checksum [2024-11-19T18:55:29.746Z] 339a4e72a1f5: Download complete [2024-11-19T18:55:30.006Z] eaf3925da568: Verifying Checksum [2024-11-19T18:55:30.006Z] eaf3925da568: Download complete [2024-11-19T18:55:30.006Z] bde34c3a00c8: Verifying Checksum [2024-11-19T18:55:30.006Z] bde34c3a00c8: Download complete [2024-11-19T18:55:30.006Z] b352a97aabf1: Verifying Checksum [2024-11-19T18:55:30.006Z] b352a97aabf1: Download complete [2024-11-19T18:55:30.006Z] 4872d77fe225: Download complete [2024-11-19T18:55:30.006Z] 5851b861e8e6: Download complete [2024-11-19T18:55:30.006Z] b85a868b505f: Verifying Checksum [2024-11-19T18:55:30.006Z] b85a868b505f: Download complete [2024-11-19T18:55:30.267Z] bab4dde63d76: Verifying Checksum [2024-11-19T18:55:30.267Z] bab4dde63d76: Download complete [2024-11-19T18:55:31.205Z] b85a868b505f: Pull complete [2024-11-19T18:55:31.465Z] e2be974225ed: Pull complete [2024-11-19T18:55:32.036Z] 339a4e72a1f5: Pull complete [2024-11-19T18:55:32.036Z] 988bab9f4d93: Pull complete [2024-11-19T18:55:32.306Z] 1469e6f7b9e6: Pull complete [2024-11-19T18:55:32.306Z] eaf3925da568: Pull complete [2024-11-19T18:55:34.224Z] bab4dde63d76: Pull complete [2024-11-19T18:55:34.485Z] bde34c3a00c8: Pull complete [2024-11-19T18:55:34.485Z] b352a97aabf1: Pull complete [2024-11-19T18:55:34.485Z] 4872d77fe225: Pull complete [2024-11-19T18:55:34.746Z] 5851b861e8e6: Pull complete [2024-11-19T18:55:34.746Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-19T18:55:34.746Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-19T18:55:34.746Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-19T18:55:34.896Z] prd-ubuntu20.04-docker-8c-8g-27053 does not seem to be running inside a container [2024-11-19T18:55:34.929Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-520 -v /w/workspace/edgexfoundry_device-sdk-c_PR-520:/w/workspace/edgexfoundry_device-sdk-c_PR-520:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-520@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-19T18:55:37.372Z] $ docker top 48cbd57d11934f53a3fcaeb411e76f5a7288bcde7b06ba6dd012c71cd65198c5 -eo pid,comm [2024-11-19T18:55:37.426Z] 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-19T18:55:37.426Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-19T18:55:37.471Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-19T18:55:37.471Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-19T18:55:37.595Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-19T18:55:37.597Z] $ docker exec 48cbd57d11934f53a3fcaeb411e76f5a7288bcde7b06ba6dd012c71cd65198c5 ssh-agent [2024-11-19T18:55:37.715Z] SSH_AUTH_SOCK=/tmp/ssh-SNe9vHJvlbnO/agent.32 [2024-11-19T18:55:37.715Z] SSH_AGENT_PID=38 [2024-11-19T18:55:37.721Z] Running ssh-add (command line suppressed) [2024-11-19T18:55:37.822Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/private_key_592967910729947981.key (/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/private_key_592967910729947981.key) [2024-11-19T18:55:37.837Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-19T18:55:38.136Z] + git tag --points-at HEAD [Pipeline] } [2024-11-19T18:55:38.148Z] $ docker exec --env ******** --env ******** 48cbd57d11934f53a3fcaeb411e76f5a7288bcde7b06ba6dd012c71cd65198c5 ssh-agent -k [2024-11-19T18:55:38.262Z] unset SSH_AUTH_SOCK; [2024-11-19T18:55:38.263Z] unset SSH_AGENT_PID; [2024-11-19T18:55:38.263Z] echo Agent pid 38 killed; [2024-11-19T18:55:38.278Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-19T18:55:38.319Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-19T18:55:38.319Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-19T18:55:38.446Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-19T18:55:38.448Z] $ docker exec 48cbd57d11934f53a3fcaeb411e76f5a7288bcde7b06ba6dd012c71cd65198c5 ssh-agent [2024-11-19T18:55:38.556Z] SSH_AUTH_SOCK=/tmp/ssh-4JT3j3iQ6WM0/agent.71 [2024-11-19T18:55:38.556Z] SSH_AGENT_PID=77 [2024-11-19T18:55:38.561Z] Running ssh-add (command line suppressed) [2024-11-19T18:55:38.661Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/private_key_10569201345940179274.key (/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/private_key_10569201345940179274.key) [2024-11-19T18:55:38.677Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-19T18:55:38.971Z] + git semver init [2024-11-19T18:55:39.230Z] 2024-11-19 18:55:39,154 [run_init] DEBUG init version:0.0.0 force:False [2024-11-19T18:55:39.230Z] 2024-11-19 18:55:39,155 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver [2024-11-19T18:55:39.230Z] 2024-11-19 18:55:39,155 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver [2024-11-19T18:55:39.230Z] 2024-11-19 18:55:39,156 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-520, universal_newlines=False, shell=None, istream=None) [2024-11-19T18:55:40.169Z] 2024-11-19 18:55:39,928 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520/.git/info/exclude [2024-11-19T18:55:40.169Z] 2024-11-19 18:55:39,929 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver/PR-520 with force:False [2024-11-19T18:55:40.169Z] 2024-11-19 18:55:39,929 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver/PR-520 [2024-11-19T18:55:40.169Z] 2024-11-19 18:55:39,933 [execute] INFO git cat-file --batch-check [2024-11-19T18:55:40.169Z] 2024-11-19 18:55:39,933 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver, universal_newlines=False, shell=None, istream=) [2024-11-19T18:55:40.170Z] 2024-11-19 18:55:39,938 [execute] INFO git cat-file --batch [2024-11-19T18:55:40.170Z] 2024-11-19 18:55:39,939 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver, universal_newlines=False, shell=None, istream=) [2024-11-19T18:55:40.170Z] 2024-11-19 18:55:39,944 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver/PR-520 [2024-11-19T18:55:40.170Z] 0.0.0 [Pipeline] } [2024-11-19T18:55:40.180Z] $ docker exec --env ******** --env ******** 48cbd57d11934f53a3fcaeb411e76f5a7288bcde7b06ba6dd012c71cd65198c5 ssh-agent -k [2024-11-19T18:55:40.282Z] unset SSH_AUTH_SOCK; [2024-11-19T18:55:40.283Z] unset SSH_AGENT_PID; [2024-11-19T18:55:40.283Z] echo Agent pid 77 killed; [2024-11-19T18:55:40.293Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-19T18:55:40.627Z] + git semver [Pipeline] } [2024-11-19T18:55:40.900Z] $ docker stop --time=1 48cbd57d11934f53a3fcaeb411e76f5a7288bcde7b06ba6dd012c71cd65198c5 [2024-11-19T18:55:42.233Z] $ docker rm -f --volumes 48cbd57d11934f53a3fcaeb411e76f5a7288bcde7b06ba6dd012c71cd65198c5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-19T18:55:42.589Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-19T18:55:42.835Z] Stashed 1 file(s) [Pipeline] echo [2024-11-19T18:55:42.839Z] [edgeXSemver]: initialized semver on version 0.0.0 [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-19T18:55:43.006Z] provisioning config files... [2024-11-19T18:55:43.016Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/config1087497055598288193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-19T18:55:43.320Z] ---> ****-login.sh [2024-11-19T18:55:43.320Z] nexus3.edgexfoundry.org:10001 [2024-11-19T18:55:43.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:55:43.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:55:43.321Z] Configure a credential helper to remove this warning. See [2024-11-19T18:55:43.321Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:55:43.321Z] [2024-11-19T18:55:43.321Z] Login Succeeded [2024-11-19T18:55:43.321Z] nexus3.edgexfoundry.org:10002 [2024-11-19T18:55:43.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:55:43.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:55:43.321Z] Configure a credential helper to remove this warning. See [2024-11-19T18:55:43.321Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:55:43.321Z] [2024-11-19T18:55:43.321Z] Login Succeeded [2024-11-19T18:55:43.321Z] nexus3.edgexfoundry.org:10003 [2024-11-19T18:55:43.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:55:43.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:55:43.581Z] Configure a credential helper to remove this warning. See [2024-11-19T18:55:43.581Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:55:43.581Z] [2024-11-19T18:55:43.581Z] Login Succeeded [2024-11-19T18:55:43.581Z] nexus3.edgexfoundry.org:10004 [2024-11-19T18:55:43.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:55:43.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:55:43.581Z] Configure a credential helper to remove this warning. See [2024-11-19T18:55:43.581Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:55:43.581Z] [2024-11-19T18:55:43.581Z] Login Succeeded [2024-11-19T18:55:43.581Z] ****.io [2024-11-19T18:55:43.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:55:43.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:55:43.842Z] Configure a credential helper to remove this warning. See [2024-11-19T18:55:43.842Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:55:43.842Z] [2024-11-19T18:55:43.842Z] Login Succeeded [2024-11-19T18:55:43.842Z] ---> ****-login.sh ends [Pipeline] } [2024-11-19T18:55:43.850Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-19T18:55:43.929Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-19T18:55:43.949Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-11-19T18:55:43.968Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-19T18:55:43.982Z] ========================================================= [2024-11-19T18:55:43.982Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-11-19T18:55:43.982Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T18:55:44.305Z] + 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-19T18:55:44.305Z] Sending build context to Docker daemon 5.212MB [2024-11-19T18:55:44.305Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-11-19T18:55:44.305Z] Step 2/22 : FROM ${BASE} as builder [2024-11-19T18:55:44.305Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-11-19T18:55:44.305Z] 96526aa774ef: Pulling fs layer [2024-11-19T18:55:44.305Z] da60e534fd72: Pulling fs layer [2024-11-19T18:55:44.564Z] 96526aa774ef: Verifying Checksum [2024-11-19T18:55:44.564Z] 96526aa774ef: Download complete [2024-11-19T18:55:44.564Z] 96526aa774ef: Pull complete [2024-11-19T18:55:45.504Z] da60e534fd72: Verifying Checksum [2024-11-19T18:55:45.504Z] da60e534fd72: Download complete [2024-11-19T18:55:48.792Z] da60e534fd72: Pull complete [2024-11-19T18:55:48.792Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-11-19T18:55:48.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-11-19T18:55:48.792Z] ---> 6605166a5db4 [2024-11-19T18:55:48.792Z] 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-19T18:55:49.733Z] ---> Running in 1739c2ed3e01 [2024-11-19T18:55:50.303Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-11-19T18:55:50.566Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-19T18:55:50.566Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-19T18:55:50.566Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-19T18:55:50.827Z] Removing intermediate container 1739c2ed3e01 [2024-11-19T18:55:50.827Z] ---> 6f357b35baf5 [2024-11-19T18:55:50.827Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-19T18:55:50.827Z] ---> Running in 7bb24011b376 [2024-11-19T18:55:51.397Z] Removing intermediate container 7bb24011b376 [2024-11-19T18:55:51.397Z] ---> 3b0e5f8582a2 [2024-11-19T18:55:51.397Z] 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-19T18:55:51.397Z] ---> Running in 7a66b0ee0e8a [2024-11-19T18:55:51.967Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T18:55:52.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-19T18:55:52.227Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T18:55:52.797Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T18:55:52.797Z] (1/17) Installing hiredis (1.1.0-r2) [2024-11-19T18:55:52.797Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-11-19T18:55:52.797Z] (3/17) Installing libcbor (0.10.2-r1) [2024-11-19T18:55:52.797Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-11-19T18:55:53.735Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-11-19T18:55:53.735Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-11-19T18:55:53.735Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-11-19T18:55:53.735Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-11-19T18:55:53.735Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-11-19T18:55:53.735Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-11-19T18:55:53.735Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-11-19T18:55:53.735Z] (12/17) Installing libblkid (2.38.1-r8) [2024-11-19T18:55:53.994Z] (13/17) Installing libuuid (2.38.1-r8) [2024-11-19T18:55:53.994Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-11-19T18:55:53.994Z] (15/17) Installing libmount (2.38.1-r8) [2024-11-19T18:55:53.994Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-11-19T18:55:53.994Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-11-19T18:55:53.994Z] Executing busybox-1.36.1-r4.trigger [2024-11-19T18:55:53.994Z] OK: 336 MiB in 99 packages [2024-11-19T18:55:54.562Z] Removing intermediate container 7a66b0ee0e8a [2024-11-19T18:55:54.562Z] ---> 35b5e9b0d1d8 [2024-11-19T18:55:54.562Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-11-19T18:55:54.562Z] ---> Running in d7ffe852df48 [2024-11-19T18:55:55.130Z] Removing intermediate container d7ffe852df48 [2024-11-19T18:55:55.130Z] ---> 96597571607f [2024-11-19T18:55:55.130Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-11-19T18:55:55.388Z] ---> efa7c5360f55 [2024-11-19T18:55:55.388Z] Step 8/22 : COPY src /tmp/sdk/src [2024-11-19T18:55:55.647Z] ---> fe7ec22d15e5 [2024-11-19T18:55:55.647Z] Step 9/22 : COPY include /tmp/sdk/include [2024-11-19T18:55:55.647Z] ---> ea32bdffed64 [2024-11-19T18:55:55.647Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-11-19T18:55:55.905Z] ---> 672e88486125 [2024-11-19T18:55:55.905Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-11-19T18:55:56.164Z] ---> 3dbef70accb0 [2024-11-19T18:55:56.164Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-11-19T18:55:56.164Z] ---> 78e0304685e0 [2024-11-19T18:55:56.164Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-11-19T18:55:56.164Z] ---> Running in dd7e4a0c8de9 [2024-11-19T18:55:56.424Z] + CPPCHECK=false [2024-11-19T18:55:56.424Z] + DOCGEN=false [2024-11-19T18:55:56.424Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-11-19T18:55:56.424Z] + '[' 0 -gt 0 ] [2024-11-19T18:55:56.424Z] + readlink -f ./scripts/build.sh [2024-11-19T18:55:56.424Z] + dirname /tmp/sdk/scripts/build.sh [2024-11-19T18:55:56.424Z] + dirname /tmp/sdk/scripts [2024-11-19T18:55:56.424Z] + ROOT=/tmp/sdk [2024-11-19T18:55:56.424Z] + cd /tmp/sdk [2024-11-19T18:55:56.424Z] + mkdir -p /tmp/sdk/build/release [2024-11-19T18:55:56.424Z] + cd /tmp/sdk/build/release [2024-11-19T18:55:56.424Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-11-19T18:55:56.683Z] -- The C compiler identification is GNU 12.2.1 [2024-11-19T18:55:56.683Z] -- Detecting C compiler ABI info [2024-11-19T18:55:56.683Z] -- Detecting C compiler ABI info - done [2024-11-19T18:55:56.683Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-11-19T18:55:56.683Z] -- Detecting C compile features [2024-11-19T18:55:56.683Z] -- Detecting C compile features - done [2024-11-19T18:55:56.683Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-11-19T18:55:56.683Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-11-19T18:55:56.683Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-11-19T18:55:56.683Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-11-19T18:55:56.683Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-11-19T18:55:56.944Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-11-19T18:55:56.944Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-11-19T18:55:56.944Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-11-19T18:55:56.944Z] -- /opt/iotech/iot/1.5/include [2024-11-19T18:55:56.944Z] -- C SDK 0.0.0 for Linux [2024-11-19T18:55:56.944Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-11-19T18:55:56.944Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-11-19T18:55:56.944Z] -- Found Curses: /usr/lib/libcurses.so [2024-11-19T18:55:56.944Z] -- Configuring done (0.4s) [2024-11-19T18:55:56.944Z] -- Generating done (0.0s) [2024-11-19T18:55:56.944Z] -- Build files have been written to: /tmp/sdk/build/release [2024-11-19T18:55:56.944Z] + make all package [2024-11-19T18:55:56.944Z] + tee release.log [2024-11-19T18:55:56.944Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-11-19T18:55:57.204Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-11-19T18:55:57.204Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-11-19T18:55:57.464Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-11-19T18:55:57.464Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-11-19T18:55:57.724Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-11-19T18:55:57.952Z] Still waiting to schedule task [2024-11-19T18:55:57.952Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-11-19T18:55:57.984Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-11-19T18:55:57.984Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-11-19T18:55:57.984Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-19T18:55:57.984Z] 294 | while (privateConfig) [2024-11-19T18:55:57.984Z] | ^~~~~~~~~~~~~ [2024-11-19T18:55:57.984Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-11-19T18:55:57.984Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-11-19T18:55:57.984Z] | ^~~~~~~~~~~~~ [2024-11-19T18:55:57.984Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-19T18:55:57.984Z] 271 | while (result) [2024-11-19T18:55:57.984Z] | ^~~~~~ [2024-11-19T18:55:57.984Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-11-19T18:55:57.984Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-11-19T18:55:57.984Z] | ^~~~~~ [2024-11-19T18:55:58.243Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-11-19T18:55:58.243Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-11-19T18:55:58.243Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-11-19T18:55:58.501Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-11-19T18:55:58.761Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-11-19T18:55:58.761Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-11-19T18:55:59.020Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-11-19T18:55:59.020Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-11-19T18:55:59.281Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-11-19T18:55:59.281Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-11-19T18:55:59.541Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-11-19T18:55:59.802Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2024-11-19T18:55:59.802Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-11-19T18:56:00.062Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-11-19T18:56:00.323Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-11-19T18:56:01.261Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-11-19T18:56:01.261Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-11-19T18:56:01.521Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-11-19T18:56:01.521Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-11-19T18:56:01.521Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-11-19T18:56:01.782Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-11-19T18:56:02.041Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-11-19T18:56:02.301Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-11-19T18:56:02.301Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-11-19T18:56:02.561Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-11-19T18:56:02.561Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-11-19T18:56:02.561Z] /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-19T18:56:02.561Z] 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-11-19T18:56:02.561Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-19T18:56:02.561Z] /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-19T18:56:02.561Z] 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-11-19T18:56:02.561Z] | ^ [2024-11-19T18:56:02.822Z] /tmp/sdk/src/c/service.c:1082:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-19T18:56:02.822Z] 1082 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-11-19T18:56:02.822Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-19T18:56:02.822Z] /tmp/sdk/src/c/service.c:886:68: note: 'deviceservices_config' was declared here [2024-11-19T18:56:02.822Z] 886 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-11-19T18:56:02.822Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-11-19T18:56:02.822Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-11-19T18:56:03.082Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-11-19T18:56:03.082Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-11-19T18:56:03.082Z] [ 69%] Linking C shared library libcsdk.so [2024-11-19T18:56:03.082Z] [ 69%] Built target csdk [2024-11-19T18:56:03.082Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-11-19T18:56:03.343Z] [ 73%] Linking C executable template [2024-11-19T18:56:03.343Z] [ 73%] Built target template [2024-11-19T18:56:03.343Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-11-19T18:56:03.602Z] [ 76%] Linking C executable device-counter [2024-11-19T18:56:03.602Z] [ 76%] Built target device-counter [2024-11-19T18:56:03.602Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-11-19T18:56:03.602Z] [ 80%] Linking C executable device-random [2024-11-19T18:56:03.862Z] [ 80%] Built target device-random [2024-11-19T18:56:03.862Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-11-19T18:56:03.862Z] [ 84%] Linking C executable device-gyro [2024-11-19T18:56:03.862Z] [ 84%] Built target device-gyro [2024-11-19T18:56:03.862Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-11-19T18:56:04.122Z] [ 88%] Linking C executable device-bitfields [2024-11-19T18:56:04.122Z] [ 88%] Built target device-bitfields [2024-11-19T18:56:04.122Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-11-19T18:56:04.381Z] [ 92%] Linking C executable template-discovery [2024-11-19T18:56:04.381Z] [ 92%] Built target template-discovery [2024-11-19T18:56:04.381Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-11-19T18:56:04.381Z] [ 96%] Linking C executable device-file [2024-11-19T18:56:04.640Z] [ 96%] Built target device-file [2024-11-19T18:56:04.640Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-11-19T18:56:04.640Z] [100%] Linking C executable device-terminal [2024-11-19T18:56:04.640Z] [100%] Built target device-terminal [2024-11-19T18:56:04.901Z] Run CPack packaging tool... [2024-11-19T18:56:04.901Z] CPack: Create package using TGZ [2024-11-19T18:56:04.901Z] CPack: Install projects [2024-11-19T18:56:04.901Z] CPack: - Run preinstall target for: Csdk [2024-11-19T18:56:05.160Z] CPack: - Install project: Csdk [] [2024-11-19T18:56:05.160Z] CPack: Create package [2024-11-19T18:56:05.160Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-11-19T18:56:05.160Z] + '[' false '=' true ] [2024-11-19T18:56:05.160Z] + '[' false '=' true ] [2024-11-19T18:56:05.160Z] + mkdir -p /tmp/sdk/build/debug [2024-11-19T18:56:05.160Z] + cd /tmp/sdk/build/debug [2024-11-19T18:56:05.160Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-11-19T18:56:05.160Z] -- The C compiler identification is GNU 12.2.1 [2024-11-19T18:56:05.160Z] -- Detecting C compiler ABI info [2024-11-19T18:56:05.160Z] -- Detecting C compiler ABI info - done [2024-11-19T18:56:05.160Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-11-19T18:56:05.160Z] -- Detecting C compile features [2024-11-19T18:56:05.160Z] -- Detecting C compile features - done [2024-11-19T18:56:05.160Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-11-19T18:56:05.422Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-11-19T18:56:05.422Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-11-19T18:56:05.422Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-11-19T18:56:05.422Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-11-19T18:56:05.422Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-11-19T18:56:05.422Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-11-19T18:56:05.422Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-11-19T18:56:05.422Z] -- /opt/iotech/iot/1.5/include [2024-11-19T18:56:05.422Z] -- C SDK 0.0.0 for Linux [2024-11-19T18:56:05.422Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-11-19T18:56:05.422Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-11-19T18:56:05.422Z] -- Found Curses: /usr/lib/libcurses.so [2024-11-19T18:56:05.422Z] -- Configuring done (0.4s) [2024-11-19T18:56:05.683Z] -- Generating done (0.0s) [2024-11-19T18:56:05.683Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-11-19T18:56:05.683Z] + make [2024-11-19T18:56:05.683Z] + tee debug.log [2024-11-19T18:56:05.683Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-11-19T18:56:05.683Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-11-19T18:56:05.683Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-11-19T18:56:05.943Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-11-19T18:56:05.943Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-11-19T18:56:05.943Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-11-19T18:56:06.203Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-11-19T18:56:06.203Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-11-19T18:56:06.203Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-11-19T18:56:06.203Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-11-19T18:56:06.463Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-11-19T18:56:06.463Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-11-19T18:56:06.463Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-11-19T18:56:06.724Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-11-19T18:56:06.724Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-11-19T18:56:06.724Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-11-19T18:56:06.724Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-11-19T18:56:06.984Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-11-19T18:56:06.984Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2024-11-19T18:56:07.244Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-11-19T18:56:07.244Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-11-19T18:56:07.244Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-11-19T18:56:07.503Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-11-19T18:56:07.503Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-11-19T18:56:07.503Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-11-19T18:56:07.762Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-11-19T18:56:07.762Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-11-19T18:56:07.762Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-11-19T18:56:08.024Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-11-19T18:56:08.024Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-11-19T18:56:08.288Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-11-19T18:56:08.288Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-11-19T18:56:08.288Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-11-19T18:56:08.288Z] /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-19T18:56:08.288Z] 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-11-19T18:56:08.288Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-19T18:56:08.288Z] /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-19T18:56:08.288Z] 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-11-19T18:56:08.288Z] | ^ [2024-11-19T18:56:08.288Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-11-19T18:56:08.549Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-11-19T18:56:08.549Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-11-19T18:56:08.549Z] [ 69%] Linking C shared library libcsdk.so [2024-11-19T18:56:08.549Z] [ 69%] Built target csdk [2024-11-19T18:56:08.549Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-11-19T18:56:08.810Z] [ 73%] Linking C executable template [2024-11-19T18:56:08.810Z] [ 73%] Built target template [2024-11-19T18:56:08.810Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-11-19T18:56:08.810Z] [ 76%] Linking C executable device-counter [2024-11-19T18:56:08.810Z] [ 76%] Built target device-counter [2024-11-19T18:56:09.069Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-11-19T18:56:09.069Z] [ 80%] Linking C executable device-random [2024-11-19T18:56:09.069Z] [ 80%] Built target device-random [2024-11-19T18:56:09.069Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-11-19T18:56:09.069Z] [ 84%] Linking C executable device-gyro [2024-11-19T18:56:09.328Z] [ 84%] Built target device-gyro [2024-11-19T18:56:09.328Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-11-19T18:56:09.328Z] [ 88%] Linking C executable device-bitfields [2024-11-19T18:56:09.328Z] [ 88%] Built target device-bitfields [2024-11-19T18:56:09.328Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-11-19T18:56:09.587Z] [ 92%] Linking C executable template-discovery [2024-11-19T18:56:09.587Z] [ 92%] Built target template-discovery [2024-11-19T18:56:09.587Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-11-19T18:56:09.587Z] [ 96%] Linking C executable device-file [2024-11-19T18:56:09.587Z] [ 96%] Built target device-file [2024-11-19T18:56:09.846Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-11-19T18:56:09.846Z] [100%] Linking C executable device-terminal [2024-11-19T18:56:09.846Z] [100%] Built target device-terminal [2024-11-19T18:56:09.846Z] make: Entering directory '/tmp/sdk/build/release' [2024-11-19T18:56:09.846Z] [ 69%] Built target csdk [2024-11-19T18:56:09.846Z] [ 73%] Built target template [2024-11-19T18:56:10.105Z] [ 76%] Built target device-counter [2024-11-19T18:56:10.105Z] [ 80%] Built target device-random [2024-11-19T18:56:10.105Z] [ 84%] Built target device-gyro [2024-11-19T18:56:10.105Z] [ 88%] Built target device-bitfields [2024-11-19T18:56:10.105Z] [ 92%] Built target template-discovery [2024-11-19T18:56:10.105Z] [ 96%] Built target device-file [2024-11-19T18:56:10.105Z] [100%] Built target device-terminal [2024-11-19T18:56:10.105Z] Install the project... [2024-11-19T18:56:10.105Z] -- Install configuration: "Release" [2024-11-19T18:56:10.105Z] -- Installing: /usr/local/lib/libcsdk.so [2024-11-19T18:56:10.105Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-11-19T18:56:10.105Z] -- Installing: /usr/local/include [2024-11-19T18:56:10.105Z] -- Installing: /usr/local/include/devsdk [2024-11-19T18:56:10.105Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-11-19T18:56:10.105Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-11-19T18:56:10.105Z] -- Installing: /usr/local/include/edgex [2024-11-19T18:56:10.105Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-11-19T18:56:10.105Z] -- Installing: /usr/local/include/edgex/devices.h [2024-11-19T18:56:10.105Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-11-19T18:56:10.105Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-11-19T18:56:10.105Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-11-19T18:56:10.105Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-11-19T18:56:10.105Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-11-19T18:56:10.105Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-11-19T18:56:10.105Z] make: Leaving directory '/tmp/sdk/build/release' [2024-11-19T18:56:10.672Z] Removing intermediate container dd7e4a0c8de9 [2024-11-19T18:56:10.672Z] ---> 73f1dbf2ed10 [2024-11-19T18:56:10.672Z] Step 14/22 : FROM ${BASE} [2024-11-19T18:56:10.672Z] ---> 6605166a5db4 [2024-11-19T18:56:10.672Z] Step 15/22 : LABEL maintainer="IOTech " [2024-11-19T18:56:10.672Z] ---> Running in fd4131bff958 [2024-11-19T18:56:10.931Z] Removing intermediate container fd4131bff958 [2024-11-19T18:56:10.931Z] ---> ec1f7727f509 [2024-11-19T18:56:10.931Z] 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-19T18:56:10.931Z] ---> Running in c35e29bb37f9 [2024-11-19T18:56:11.190Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-11-19T18:56:11.449Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-19T18:56:11.449Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-19T18:56:11.449Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-19T18:56:11.709Z] Removing intermediate container c35e29bb37f9 [2024-11-19T18:56:11.709Z] ---> 6f3c237063b6 [2024-11-19T18:56:11.709Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-19T18:56:11.969Z] ---> Running in 17a9f32256e5 [2024-11-19T18:56:12.536Z] Removing intermediate container 17a9f32256e5 [2024-11-19T18:56:12.536Z] ---> 8718e8188c58 [2024-11-19T18:56:12.536Z] 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-19T18:56:12.536Z] ---> Running in dbeba940ce7f [2024-11-19T18:56:12.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T18:56:12.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-19T18:56:13.055Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T18:56:13.625Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T18:56:13.625Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-11-19T18:56:13.625Z] (2/10) Installing curl (8.9.1-r1) [2024-11-19T18:56:13.625Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-11-19T18:56:13.625Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-11-19T18:56:13.625Z] (5/10) Installing hiredis (1.1.0-r2) [2024-11-19T18:56:13.625Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-11-19T18:56:13.625Z] (7/10) Installing libcbor (0.10.2-r1) [2024-11-19T18:56:13.625Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-11-19T18:56:14.194Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-11-19T18:56:14.455Z] (10/10) Installing libuuid (2.38.1-r8) [2024-11-19T18:56:14.455Z] Executing busybox-1.36.1-r4.trigger [2024-11-19T18:56:14.455Z] OK: 331 MiB in 90 packages [2024-11-19T18:56:15.023Z] Removing intermediate container dbeba940ce7f [2024-11-19T18:56:15.023Z] ---> f8ce23236868 [2024-11-19T18:56:15.023Z] Step 19/22 : RUN apk --no-cache upgrade [2024-11-19T18:56:15.023Z] ---> Running in 82b15f1750c4 [2024-11-19T18:56:15.023Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T18:56:15.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-19T18:56:15.282Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T18:56:15.851Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T18:56:15.851Z] Upgrading critical system libraries and apk-tools: [2024-11-19T18:56:15.851Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-11-19T18:56:15.851Z] Executing busybox-1.36.1-r4.trigger [2024-11-19T18:56:15.851Z] Continuing the upgrade transaction with new apk-tools: [2024-11-19T18:56:15.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T18:56:16.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-19T18:56:16.111Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T18:56:16.680Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T18:56:16.680Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-11-19T18:56:16.680Z] Executing busybox-1.36.1-r7.post-upgrade [2024-11-19T18:56:16.680Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-11-19T18:56:16.680Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-11-19T18:56:16.680Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-11-19T18:56:16.680Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-11-19T18:56:16.680Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-11-19T18:56:16.680Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2024-11-19T18:56:16.680Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2024-11-19T18:56:16.681Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-11-19T18:56:16.681Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-11-19T18:56:16.681Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-11-19T18:56:16.681Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-11-19T18:56:16.681Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-11-19T18:56:16.941Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-11-19T18:56:16.941Z] Executing busybox-1.36.1-r7.trigger [2024-11-19T18:56:16.941Z] Executing ca-certificates-20240226-r0.trigger [2024-11-19T18:56:16.941Z] OK: 332 MiB in 90 packages [2024-11-19T18:56:17.883Z] Removing intermediate container 82b15f1750c4 [2024-11-19T18:56:17.883Z] ---> 1e154dd7000f [2024-11-19T18:56:17.883Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-11-19T18:56:17.883Z] ---> d5188402c8b9 [2024-11-19T18:56:17.883Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-11-19T18:56:17.883Z] ---> 521afb34d70d [2024-11-19T18:56:17.883Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-11-19T18:56:18.143Z] ---> 92bc92f21979 [2024-11-19T18:56:18.143Z] Successfully built 92bc92f21979 [2024-11-19T18:56:18.143Z] 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-19T18:56:18.552Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-19T18:56:18.552Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-19T18:56:18.641Z] prd-ubuntu20.04-docker-8c-8g-27053 does not seem to be running inside a container [2024-11-19T18:56:18.671Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-520 -v /w/workspace/edgexfoundry_device-sdk-c_PR-520:/w/workspace/edgexfoundry_device-sdk-c_PR-520:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-520@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-19T18:56:19.032Z] $ docker top 4cfa264b205a386994f733c97e58816947f95c69a6d8a91d48c89834c8921fda -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-19T18:56:19.397Z] + make test [2024-11-19T18:56:19.397Z] echo "make test" [2024-11-19T18:56:19.397Z] make test [Pipeline] } [2024-11-19T18:56:19.406Z] $ docker stop --time=1 4cfa264b205a386994f733c97e58816947f95c69a6d8a91d48c89834c8921fda [2024-11-19T18:56:20.684Z] $ docker rm -f --volumes 4cfa264b205a386994f733c97e58816947f95c69a6d8a91d48c89834c8921fda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-19T18:56:21.357Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-19T18:56:21.645Z] + ls -al . [2024-11-19T18:56:21.645Z] total 212 [2024-11-19T18:56:21.645Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 19 18:55 . [2024-11-19T18:56:21.645Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 18:55 .. [2024-11-19T18:56:21.645Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 18:55 .git [2024-11-19T18:56:21.645Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 18:55 .github [2024-11-19T18:56:21.645Z] -rw-rw-r-- 1 jenkins jenkins 176 Nov 19 18:55 .gitignore [2024-11-19T18:56:21.645Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 19 18:55 .semver [2024-11-19T18:56:21.645Z] -rw-rw-r-- 1 jenkins jenkins 2908 Nov 19 18:55 Attribution.txt [2024-11-19T18:56:21.645Z] -rw-rw-r-- 1 jenkins jenkins 11953 Nov 19 18:55 CHANGELOG.md [2024-11-19T18:56:21.645Z] -rw-rw-r-- 1 jenkins jenkins 108574 Nov 19 18:55 Doxyfile [2024-11-19T18:56:21.645Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 19 18:55 GOVERNANCE.md [2024-11-19T18:56:21.645Z] -rw-rw-r-- 1 jenkins jenkins 784 Nov 19 18:55 Jenkinsfile [2024-11-19T18:56:21.645Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 19 18:55 LICENSE [2024-11-19T18:56:21.645Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 19 18:55 Makefile [2024-11-19T18:56:21.645Z] -rw-rw-r-- 1 jenkins jenkins 618 Nov 19 18:55 OWNERS.md [2024-11-19T18:56:21.645Z] -rw-rw-r-- 1 jenkins jenkins 1651 Nov 19 18:55 README.IOT.md [2024-11-19T18:56:21.645Z] -rw-rw-r-- 1 jenkins jenkins 4215 Nov 19 18:55 README.md [2024-11-19T18:56:21.645Z] -rw-rw-r-- 1 jenkins jenkins 1245 Nov 19 18:55 README.v3.md [2024-11-19T18:56:21.645Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 19 18:55 VERSION [2024-11-19T18:56:21.645Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 18:55 docs [2024-11-19T18:56:21.645Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 18:55 include [2024-11-19T18:56:21.645Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 18:55 scripts [2024-11-19T18:56:21.645Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 18:55 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T18:56:21.969Z] + 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=60e4ac41c3252f28840957af7a084be9442fb24e --label arch=amd64 --label version=0.0.0 . [2024-11-19T18:56:21.969Z] Sending build context to Docker daemon 5.212MB [2024-11-19T18:56:21.969Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-11-19T18:56:21.969Z] Step 2/18 : FROM ${BASE} [2024-11-19T18:56:21.969Z] ---> 92bc92f21979 [2024-11-19T18:56:21.969Z] Step 3/18 : LABEL maintainer="IOTech " [2024-11-19T18:56:21.969Z] ---> Running in e18ba164a289 [2024-11-19T18:56:21.969Z] Removing intermediate container e18ba164a289 [2024-11-19T18:56:21.969Z] ---> 6ea59b7effbb [2024-11-19T18:56:21.969Z] 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-19T18:56:21.969Z] ---> Running in 4c0d9f0791c3 [2024-11-19T18:56:22.538Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-11-19T18:56:22.798Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-19T18:56:22.798Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-19T18:56:22.798Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-19T18:56:23.059Z] Removing intermediate container 4c0d9f0791c3 [2024-11-19T18:56:23.059Z] ---> 014a8a193cd0 [2024-11-19T18:56:23.059Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-19T18:56:23.059Z] ---> Running in 1682350d98ce [2024-11-19T18:56:23.628Z] Removing intermediate container 1682350d98ce [2024-11-19T18:56:23.628Z] ---> fc39ad0aa090 [2024-11-19T18:56:23.628Z] 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-19T18:56:23.628Z] ---> Running in 55edc0fd4bb6 [2024-11-19T18:56:23.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T18:56:24.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-19T18:56:24.407Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T18:56:24.667Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T18:56:24.667Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-11-19T18:56:24.928Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-11-19T18:56:24.928Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-11-19T18:56:24.928Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-11-19T18:56:24.928Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-11-19T18:56:24.928Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-11-19T18:56:24.928Z] (7/11) Installing libblkid (2.38.1-r8) [2024-11-19T18:56:24.928Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-11-19T18:56:24.928Z] (9/11) Installing libmount (2.38.1-r8) [2024-11-19T18:56:24.928Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-11-19T18:56:24.928Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-11-19T18:56:24.928Z] Executing busybox-1.36.1-r7.trigger [2024-11-19T18:56:25.189Z] OK: 337 MiB in 101 packages [2024-11-19T18:56:25.448Z] Removing intermediate container 55edc0fd4bb6 [2024-11-19T18:56:25.448Z] ---> 133b92164108 [2024-11-19T18:56:25.448Z] Step 7/18 : RUN apk --no-cache upgrade [2024-11-19T18:56:25.448Z] ---> Running in 83c2eb6c6e8c [2024-11-19T18:56:25.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T18:56:25.967Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-19T18:56:25.967Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T18:56:26.534Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T18:56:26.534Z] OK: 337 MiB in 101 packages [2024-11-19T18:56:26.793Z] Removing intermediate container 83c2eb6c6e8c [2024-11-19T18:56:26.793Z] ---> 86c67a1d9f49 [2024-11-19T18:56:26.793Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-11-19T18:56:26.793Z] ---> 5acba365eb57 [2024-11-19T18:56:26.793Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-11-19T18:56:27.053Z] ---> 89137ac9f207 [2024-11-19T18:56:27.053Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-11-19T18:56:27.313Z] ---> a420ab190a42 [2024-11-19T18:56:27.313Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-11-19T18:56:27.313Z] ---> f26adef0f857 [2024-11-19T18:56:27.313Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-11-19T18:56:27.574Z] ---> 47bfe01bac6f [2024-11-19T18:56:27.574Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-11-19T18:56:27.574Z] ---> 32fd7cb17626 [2024-11-19T18:56:27.574Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-11-19T18:56:27.574Z] ---> Running in d3eaafd7236e [2024-11-19T18:56:27.832Z] Removing intermediate container d3eaafd7236e [2024-11-19T18:56:27.832Z] ---> 0fa9bad767bf [2024-11-19T18:56:27.832Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-11-19T18:56:27.832Z] ---> Running in c5d66ea28134 [2024-11-19T18:56:27.832Z] Removing intermediate container c5d66ea28134 [2024-11-19T18:56:27.832Z] ---> d2b0ba6036cf [2024-11-19T18:56:27.832Z] Step 16/18 : LABEL arch=amd64 [2024-11-19T18:56:27.832Z] ---> Running in 8ab5f8fea026 [2024-11-19T18:56:27.832Z] Removing intermediate container 8ab5f8fea026 [2024-11-19T18:56:27.832Z] ---> 46d7f828d5a9 [2024-11-19T18:56:27.832Z] Step 17/18 : LABEL git_sha=60e4ac41c3252f28840957af7a084be9442fb24e [2024-11-19T18:56:27.832Z] ---> Running in 749e1666a7fd [2024-11-19T18:56:28.092Z] Removing intermediate container 749e1666a7fd [2024-11-19T18:56:28.092Z] ---> babc719bef62 [2024-11-19T18:56:28.092Z] Step 18/18 : LABEL version=0.0.0 [2024-11-19T18:56:28.092Z] ---> Running in 2317f70d440d [2024-11-19T18:56:28.092Z] Removing intermediate container 2317f70d440d [2024-11-19T18:56:28.092Z] ---> 163248a3657d [2024-11-19T18:56:28.092Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-11-19T18:56:28.092Z] Successfully built 163248a3657d [2024-11-19T18:56:28.092Z] 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-19T18:56:28.596Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-19T18:56:28.596Z] [2024-11-19T18:56:28.596Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T18:56:28.899Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-19T18:56:28.899Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-19T18:56:28.899Z] 5eb5b503b376: Pulling fs layer [2024-11-19T18:56:28.899Z] 5c69ac0246d0: Pulling fs layer [2024-11-19T18:56:28.899Z] ec43610c2a17: Pulling fs layer [2024-11-19T18:56:28.899Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-19T18:56:28.899Z] 33b1e0a273af: Pulling fs layer [2024-11-19T18:56:28.899Z] 5d3b04190fa2: Pulling fs layer [2024-11-19T18:56:28.899Z] 2f39f015ded8: Pulling fs layer [2024-11-19T18:56:28.899Z] 2f39f015ded8: Waiting [2024-11-19T18:56:28.899Z] 33b1e0a273af: Waiting [2024-11-19T18:56:28.899Z] 5d3b04190fa2: Waiting [2024-11-19T18:56:28.899Z] 3a2ae6a8a46f: Waiting [2024-11-19T18:56:28.899Z] 5c69ac0246d0: Download complete [2024-11-19T18:56:28.899Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-19T18:56:28.899Z] 3a2ae6a8a46f: Download complete [2024-11-19T18:56:28.899Z] 33b1e0a273af: Verifying Checksum [2024-11-19T18:56:28.899Z] 33b1e0a273af: Download complete [2024-11-19T18:56:28.899Z] ec43610c2a17: Verifying Checksum [2024-11-19T18:56:28.899Z] ec43610c2a17: Download complete [2024-11-19T18:56:28.899Z] 5d3b04190fa2: Verifying Checksum [2024-11-19T18:56:28.899Z] 5d3b04190fa2: Download complete [2024-11-19T18:56:29.159Z] 5eb5b503b376: Verifying Checksum [2024-11-19T18:56:29.159Z] 5eb5b503b376: Download complete [2024-11-19T18:56:29.727Z] 2f39f015ded8: Verifying Checksum [2024-11-19T18:56:29.727Z] 2f39f015ded8: Download complete [2024-11-19T18:56:30.294Z] 5eb5b503b376: Pull complete [2024-11-19T18:56:30.553Z] 5c69ac0246d0: Pull complete [2024-11-19T18:56:30.814Z] ec43610c2a17: Pull complete [2024-11-19T18:56:30.815Z] 3a2ae6a8a46f: Pull complete [2024-11-19T18:56:31.075Z] 33b1e0a273af: Pull complete [2024-11-19T18:56:31.075Z] 5d3b04190fa2: Pull complete [2024-11-19T18:56:36.494Z] 2f39f015ded8: Pull complete [2024-11-19T18:56:36.494Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-19T18:56:36.494Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-19T18:56:36.494Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-19T18:56:36.601Z] prd-ubuntu20.04-docker-8c-8g-27053 does not seem to be running inside a container [2024-11-19T18:56:36.627Z] $ 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_PR-520 -v /w/workspace/edgexfoundry_device-sdk-c_PR-520:/w/workspace/edgexfoundry_device-sdk-c_PR-520:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-520@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-19T18:56:38.044Z] $ docker top 70a685836b8e331e7853b688a123f61b946fc5d97b10cd83afe8ee2629948eb1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-19T18:56:38.480Z] ---> job-cost.sh [2024-11-19T18:56:38.480Z] lf-activate-venv: SKIPPING [2024-11-19T18:56:38.480Z] INFO: No Stack... [2024-11-19T18:56:38.740Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-19T18:56:38.999Z] INFO: Archiving Costs [Pipeline] sh [2024-11-19T18:56:39.293Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives/cost.csv [2024-11-19T18:56:39.293Z] + cut -d, -f6 [Pipeline] lock [2024-11-19T18:56:39.309Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-520-2-stack-cost] [2024-11-19T18:56:39.318Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-520-2-stack-cost] did not exist. Created. [2024-11-19T18:56:39.325Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-520-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-19T18:56:39.631Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-19T18:56:39.683Z] Stashed 1 file(s) [Pipeline] } [2024-11-19T18:56:39.693Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-520-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-19T18:56:39.720Z] $ docker stop --time=1 70a685836b8e331e7853b688a123f61b946fc5d97b10cd83afe8ee2629948eb1 [2024-11-19T18:56:40.878Z] $ docker rm -f --volumes 70a685836b8e331e7853b688a123f61b946fc5d97b10cd83afe8ee2629948eb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-19T18:57:28.940Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-27055 in /w/workspace/edgexfoundry_device-sdk-c_PR-520 [Pipeline] { [Pipeline] ws [2024-11-19T18:57:28.959Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2024-11-19T18:57:32.025Z] Selected Git installation does not exist. Using Default [2024-11-19T18:57:32.025Z] The recommended git tool is: NONE [2024-11-19T18:57:41.822Z] using credential edgex-jenkins-ssh [2024-11-19T18:57:41.858Z] Cloning the remote Git repository [2024-11-19T18:57:41.909Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-11-19T18:57:42.060Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2024-11-19T18:57:42.371Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-11-19T18:57:42.372Z] > git --version # timeout=10 [2024-11-19T18:57:42.399Z] > git --version # 'git version 2.25.1' [2024-11-19T18:57:42.402Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-19T18:57:42.590Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-19T18:57:43.880Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-11-19T18:57:43.923Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-19T18:57:46.613Z] Merging remotes/origin/main commit b4a60c126f741d84c14ee104c3263f3235d33930 into PR head commit 2f4b8229e7370b0b7e16fa2f5b159a12b049b4ac [2024-11-19T18:57:47.089Z] Merge succeeded, producing 26147b8fd4fb68e8abff718f86d9511b7854f7ee [2024-11-19T18:57:47.090Z] Checking out Revision 26147b8fd4fb68e8abff718f86d9511b7854f7ee (PR-520) [2024-11-19T18:57:45.941Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-11-19T18:57:46.008Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-11-19T18:57:46.009Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-19T18:57:46.031Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/520/head:refs/remotes/origin/PR-520 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-19T18:57:46.630Z] > git config core.sparsecheckout # timeout=10 [2024-11-19T18:57:46.721Z] > git checkout -f 2f4b8229e7370b0b7e16fa2f5b159a12b049b4ac # timeout=10 [2024-11-19T18:57:46.873Z] > git remote # timeout=10 [2024-11-19T18:57:46.897Z] > git config --get remote.origin.url # timeout=10 [2024-11-19T18:57:46.913Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-19T18:57:46.936Z] > git merge b4a60c126f741d84c14ee104c3263f3235d33930 # timeout=10 [2024-11-19T18:57:47.050Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-19T18:57:47.099Z] > git config core.sparsecheckout # timeout=10 [2024-11-19T18:57:47.142Z] > git checkout -f 26147b8fd4fb68e8abff718f86d9511b7854f7ee # timeout=10 [2024-11-19T18:57:50.944Z] Commit message: "Merge commit 'b4a60c126f741d84c14ee104c3263f3235d33930' into HEAD" [2024-11-19T18:57:50.974Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-19T18:57:50.949Z] > git rev-list --no-walk a1285c9c4a50919824972e76a7ef6929cbb7350a # timeout=10 [2024-11-19T18:57:52.627Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-19T18:57:52.627Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-19T18:57:52.627Z] Dload Upload Total Spent Left Speed [2024-11-19T18:57:52.627Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 80175 0 --:--:-- --:--:-- --:--:-- 80175 [Pipeline] sh [2024-11-19T18:57:52.968Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-19T18:57:53.297Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-19T18:57:53.297Z] + sudo tee /etc/docker/daemon.new [2024-11-19T18:57:53.297Z] { [2024-11-19T18:57:53.297Z] "registry-mirrors": [ [2024-11-19T18:57:53.297Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-19T18:57:53.297Z] ], [2024-11-19T18:57:53.297Z] "bip": "10.250.0.254/24", [2024-11-19T18:57:53.297Z] "hosts": [ [2024-11-19T18:57:53.297Z] "tcp://0.0.0.0:5555", [2024-11-19T18:57:53.297Z] "unix:///var/run/docker.sock" [2024-11-19T18:57:53.297Z] ], [2024-11-19T18:57:53.297Z] "mtu": 1458, [2024-11-19T18:57:53.297Z] "selinux-enabled": true, [2024-11-19T18:57:53.297Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-19T18:57:53.297Z] } [Pipeline] sh [2024-11-19T18:57:53.618Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-19T18:57:53.942Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-19T18:58:12.247Z] provisioning config files... [2024-11-19T18:58:12.273Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config5169560199020870678tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-19T18:58:12.713Z] ---> ****-login.sh [2024-11-19T18:58:12.713Z] nexus3.edgexfoundry.org:10001 [2024-11-19T18:58:12.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:58:13.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:58:13.259Z] Configure a credential helper to remove this warning. See [2024-11-19T18:58:13.259Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:58:13.259Z] [2024-11-19T18:58:13.259Z] Login Succeeded [2024-11-19T18:58:13.259Z] nexus3.edgexfoundry.org:10002 [2024-11-19T18:58:13.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:58:13.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:58:13.798Z] Configure a credential helper to remove this warning. See [2024-11-19T18:58:13.798Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:58:13.798Z] [2024-11-19T18:58:13.798Z] Login Succeeded [2024-11-19T18:58:13.798Z] nexus3.edgexfoundry.org:10003 [2024-11-19T18:58:14.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:58:14.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:58:14.069Z] Configure a credential helper to remove this warning. See [2024-11-19T18:58:14.069Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:58:14.069Z] [2024-11-19T18:58:14.069Z] Login Succeeded [2024-11-19T18:58:14.069Z] nexus3.edgexfoundry.org:10004 [2024-11-19T18:58:14.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:58:14.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:58:14.340Z] Configure a credential helper to remove this warning. See [2024-11-19T18:58:14.340Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:58:14.340Z] [2024-11-19T18:58:14.340Z] Login Succeeded [2024-11-19T18:58:14.340Z] ****.io [2024-11-19T18:58:14.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:58:14.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:58:14.876Z] Configure a credential helper to remove this warning. See [2024-11-19T18:58:14.876Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:58:14.876Z] [2024-11-19T18:58:14.876Z] Login Succeeded [2024-11-19T18:58:14.876Z] ---> ****-login.sh ends [Pipeline] } [2024-11-19T18:58:14.888Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-19T18:58:15.184Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-19T18:58:15.203Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-11-19T18:58:15.229Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-19T18:58:15.253Z] ========================================================= [2024-11-19T18:58:15.253Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-11-19T18:58:15.253Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T18:58:15.597Z] + 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-19T18:58:15.864Z] Sending build context to Docker daemon 3.15MB [2024-11-19T18:58:16.132Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-11-19T18:58:16.132Z] Step 2/22 : FROM ${BASE} as builder [2024-11-19T18:58:16.132Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-11-19T18:58:16.132Z] 579b34f0a95b: Pulling fs layer [2024-11-19T18:58:16.132Z] e71477ac5e1b: Pulling fs layer [2024-11-19T18:58:16.132Z] 579b34f0a95b: Verifying Checksum [2024-11-19T18:58:16.132Z] 579b34f0a95b: Download complete [2024-11-19T18:58:17.121Z] 579b34f0a95b: Pull complete [2024-11-19T18:58:19.065Z] e71477ac5e1b: Verifying Checksum [2024-11-19T18:58:19.065Z] e71477ac5e1b: Download complete [2024-11-19T18:58:31.395Z] e71477ac5e1b: Pull complete [2024-11-19T18:58:31.396Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-11-19T18:58:31.396Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-11-19T18:58:31.396Z] ---> 2b552cad5dd9 [2024-11-19T18:58:31.396Z] 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-19T18:58:31.396Z] ---> Running in 9e54381cf12f [2024-11-19T18:58:32.406Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-11-19T18:58:33.030Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-19T18:58:33.030Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-19T18:58:33.030Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-19T18:58:33.625Z] Removing intermediate container 9e54381cf12f [2024-11-19T18:58:33.625Z] ---> 22c45ca5040b [2024-11-19T18:58:33.625Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-19T18:58:33.895Z] ---> Running in 494e7e308283 [2024-11-19T18:58:35.855Z] Removing intermediate container 494e7e308283 [2024-11-19T18:58:35.855Z] ---> 87ad2dc13d67 [2024-11-19T18:58:35.855Z] 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-19T18:58:35.855Z] ---> Running in 1e56d4de7973 [2024-11-19T18:58:36.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T18:58:37.027Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-19T18:58:37.608Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T18:58:38.190Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T18:58:38.190Z] (1/17) Installing hiredis (1.1.0-r2) [2024-11-19T18:58:38.455Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-11-19T18:58:38.456Z] (3/17) Installing libcbor (0.10.2-r1) [2024-11-19T18:58:38.456Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-11-19T18:58:39.036Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-11-19T18:58:39.302Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-11-19T18:58:39.571Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-11-19T18:58:39.571Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-11-19T18:58:39.571Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-11-19T18:58:39.571Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-11-19T18:58:39.571Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-11-19T18:58:39.571Z] (12/17) Installing libblkid (2.38.1-r8) [2024-11-19T18:58:39.571Z] (13/17) Installing libuuid (2.38.1-r8) [2024-11-19T18:58:39.571Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-11-19T18:58:39.571Z] (15/17) Installing libmount (2.38.1-r8) [2024-11-19T18:58:39.571Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-11-19T18:58:39.571Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-11-19T18:58:39.571Z] Executing busybox-1.36.1-r4.trigger [2024-11-19T18:58:39.838Z] OK: 333 MiB in 99 packages [2024-11-19T18:58:40.798Z] Removing intermediate container 1e56d4de7973 [2024-11-19T18:58:40.798Z] ---> f10e241cddd7 [2024-11-19T18:58:40.798Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-11-19T18:58:41.070Z] ---> Running in 1a9c02291946 [2024-11-19T18:58:42.486Z] Removing intermediate container 1a9c02291946 [2024-11-19T18:58:42.486Z] ---> 45223ef0dd85 [2024-11-19T18:58:42.486Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-11-19T18:58:42.752Z] ---> 0446034116c3 [2024-11-19T18:58:42.752Z] Step 8/22 : COPY src /tmp/sdk/src [2024-11-19T18:58:44.695Z] ---> d1e844a6e9ab [2024-11-19T18:58:44.695Z] Step 9/22 : COPY include /tmp/sdk/include [2024-11-19T18:58:45.281Z] ---> c7b9527d7a2e [2024-11-19T18:58:45.281Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-11-19T18:58:45.864Z] ---> 9b30757bc15c [2024-11-19T18:58:45.864Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-11-19T18:58:46.451Z] ---> ca7e9cfb3a3f [2024-11-19T18:58:46.451Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-11-19T18:58:46.718Z] ---> 598d2046dee0 [2024-11-19T18:58:46.718Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-11-19T18:58:46.987Z] ---> Running in 048727f366a0 [2024-11-19T18:58:47.961Z] + CPPCHECK=false [2024-11-19T18:58:47.961Z] + DOCGEN=false [2024-11-19T18:58:47.961Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-11-19T18:58:47.961Z] + '[' 0 -gt 0 ] [2024-11-19T18:58:47.961Z] + readlink -f ./scripts/build.sh [2024-11-19T18:58:47.961Z] + dirname /tmp/sdk/scripts/build.sh [2024-11-19T18:58:47.961Z] + dirname /tmp/sdk/scripts [2024-11-19T18:58:47.961Z] + ROOT=/tmp/sdk [2024-11-19T18:58:47.961Z] + cd /tmp/sdk [2024-11-19T18:58:47.961Z] + mkdir -p /tmp/sdk/build/release [2024-11-19T18:58:47.961Z] + cd /tmp/sdk/build/release [2024-11-19T18:58:47.961Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-11-19T18:58:48.548Z] -- The C compiler identification is GNU 12.2.1 [2024-11-19T18:58:48.548Z] -- Detecting C compiler ABI info [2024-11-19T18:58:48.835Z] -- Detecting C compiler ABI info - done [2024-11-19T18:58:49.106Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-11-19T18:58:49.106Z] -- Detecting C compile features [2024-11-19T18:58:49.106Z] -- Detecting C compile features - done [2024-11-19T18:58:49.106Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-11-19T18:58:49.378Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-11-19T18:58:49.378Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-11-19T18:58:49.378Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-11-19T18:58:49.378Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-11-19T18:58:49.647Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-11-19T18:58:49.647Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-11-19T18:58:49.647Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-11-19T18:58:49.647Z] -- /opt/iotech/iot/1.5/include [2024-11-19T18:58:49.647Z] -- C SDK 0.0.0 for Linux [2024-11-19T18:58:49.647Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-11-19T18:58:49.917Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-11-19T18:58:50.186Z] -- Found Curses: /usr/lib/libcurses.so [2024-11-19T18:58:50.456Z] -- Configuring done (2.3s) [2024-11-19T18:58:50.725Z] -- Generating done (0.3s) [2024-11-19T18:58:50.726Z] -- Build files have been written to: /tmp/sdk/build/release [2024-11-19T18:58:50.726Z] + + tee release.log [2024-11-19T18:58:50.726Z] make all package [2024-11-19T18:58:50.994Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-11-19T18:58:51.957Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-11-19T18:58:52.571Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-11-19T18:58:53.539Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-11-19T18:58:54.505Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-11-19T18:58:55.094Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-11-19T18:58:57.041Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-11-19T18:58:58.004Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-11-19T18:58:58.004Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-19T18:58:58.004Z] 294 | while (privateConfig) [2024-11-19T18:58:58.004Z] | ^~~~~~~~~~~~~ [2024-11-19T18:58:58.004Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-11-19T18:58:58.004Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-11-19T18:58:58.004Z] | ^~~~~~~~~~~~~ [2024-11-19T18:58:58.004Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-19T18:58:58.004Z] 271 | while (result) [2024-11-19T18:58:58.004Z] | ^~~~~~ [2024-11-19T18:58:58.004Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-11-19T18:58:58.004Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-11-19T18:58:58.004Z] | ^~~~~~ [2024-11-19T18:58:58.272Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-11-19T18:58:58.554Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-11-19T18:58:59.516Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-11-19T18:59:01.468Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-11-19T18:59:02.054Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-11-19T18:59:03.015Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-11-19T18:59:03.601Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-11-19T18:59:04.189Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-11-19T18:59:05.604Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-11-19T18:59:05.604Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-11-19T18:59:08.198Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-11-19T18:59:08.198Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2024-11-19T18:59:10.151Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-11-19T18:59:10.736Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-11-19T18:59:12.148Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-11-19T18:59:20.373Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-11-19T18:59:20.373Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-11-19T18:59:20.642Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-11-19T18:59:21.227Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-11-19T18:59:21.496Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-11-19T18:59:22.910Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-11-19T18:59:25.518Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-11-19T18:59:25.518Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-11-19T18:59:26.480Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-11-19T18:59:27.066Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-11-19T18:59:27.334Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-11-19T18:59:27.334Z] /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-19T18:59:27.334Z] 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-11-19T18:59:27.334Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-19T18:59:27.334Z] /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-19T18:59:27.334Z] 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-11-19T18:59:27.334Z] | ^ [2024-11-19T18:59:29.290Z] /tmp/sdk/src/c/service.c:1082:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-19T18:59:29.290Z] 1082 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-11-19T18:59:29.290Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-19T18:59:29.290Z] /tmp/sdk/src/c/service.c:886:68: note: 'deviceservices_config' was declared here [2024-11-19T18:59:29.290Z] 886 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-11-19T18:59:29.290Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-11-19T18:59:30.711Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-11-19T18:59:31.672Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-11-19T18:59:31.942Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-11-19T18:59:32.533Z] [ 69%] Linking C shared library libcsdk.so [2024-11-19T18:59:32.533Z] [ 69%] Built target csdk [2024-11-19T18:59:32.802Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-11-19T18:59:33.778Z] [ 73%] Linking C executable template [2024-11-19T18:59:34.047Z] [ 73%] Built target template [2024-11-19T18:59:34.047Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-11-19T18:59:34.631Z] [ 76%] Linking C executable device-counter [2024-11-19T18:59:34.898Z] [ 76%] Built target device-counter [2024-11-19T18:59:35.168Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-11-19T18:59:35.749Z] [ 80%] Linking C executable device-random [2024-11-19T18:59:36.015Z] [ 80%] Built target device-random [2024-11-19T18:59:36.015Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-11-19T18:59:36.599Z] [ 84%] Linking C executable device-gyro [2024-11-19T18:59:36.870Z] [ 84%] Built target device-gyro [2024-11-19T18:59:36.870Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-11-19T18:59:37.458Z] [ 88%] Linking C executable device-bitfields [2024-11-19T18:59:38.051Z] [ 88%] Built target device-bitfields [2024-11-19T18:59:38.051Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-11-19T18:59:39.019Z] [ 92%] Linking C executable template-discovery [2024-11-19T18:59:39.603Z] [ 92%] Built target template-discovery [2024-11-19T18:59:39.874Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-11-19T18:59:40.458Z] [ 96%] Linking C executable device-file [2024-11-19T18:59:41.042Z] [ 96%] Built target device-file [2024-11-19T18:59:41.042Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-11-19T18:59:42.004Z] [100%] Linking C executable device-terminal [2024-11-19T18:59:42.273Z] [100%] Built target device-terminal [2024-11-19T18:59:42.273Z] Run CPack packaging tool... [2024-11-19T18:59:42.542Z] CPack: Create package using TGZ [2024-11-19T18:59:42.542Z] CPack: Install projects [2024-11-19T18:59:42.542Z] CPack: - Run preinstall target for: Csdk [2024-11-19T18:59:43.504Z] CPack: - Install project: Csdk [] [2024-11-19T18:59:43.504Z] CPack: Create package [2024-11-19T18:59:43.504Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-11-19T18:59:43.504Z] + '[' false '=' true ] [2024-11-19T18:59:43.504Z] + '[' false '=' true ] [2024-11-19T18:59:43.504Z] + mkdir -p /tmp/sdk/build/debug [2024-11-19T18:59:43.504Z] + cd /tmp/sdk/build/debug [2024-11-19T18:59:43.504Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-11-19T18:59:43.773Z] -- The C compiler identification is GNU 12.2.1 [2024-11-19T18:59:44.041Z] -- Detecting C compiler ABI info [2024-11-19T18:59:44.309Z] -- Detecting C compiler ABI info - done [2024-11-19T18:59:44.309Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-11-19T18:59:44.309Z] -- Detecting C compile features [2024-11-19T18:59:44.309Z] -- Detecting C compile features - done [2024-11-19T18:59:44.578Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-11-19T18:59:44.578Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-11-19T18:59:44.578Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-11-19T18:59:44.578Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-11-19T18:59:44.578Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-11-19T18:59:44.846Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-11-19T18:59:44.846Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-11-19T18:59:44.846Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-11-19T18:59:44.846Z] -- /opt/iotech/iot/1.5/include [2024-11-19T18:59:44.846Z] -- C SDK 0.0.0 for Linux [2024-11-19T18:59:44.846Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-11-19T18:59:45.113Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-11-19T18:59:45.379Z] -- Found Curses: /usr/lib/libcurses.so [2024-11-19T18:59:45.379Z] -- Configuring done (1.9s) [2024-11-19T18:59:45.646Z] -- Generating done (0.3s) [2024-11-19T18:59:45.646Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-11-19T18:59:45.646Z] + make [2024-11-19T18:59:45.646Z] + tee debug.log [2024-11-19T18:59:45.920Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-11-19T18:59:46.187Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-11-19T18:59:46.773Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-11-19T18:59:47.360Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-11-19T18:59:47.627Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-11-19T18:59:48.212Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-11-19T18:59:49.174Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-11-19T18:59:49.442Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-11-19T18:59:49.711Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-11-19T18:59:50.295Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-11-19T18:59:50.891Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-11-19T18:59:51.159Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-11-19T18:59:51.742Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-11-19T18:59:52.010Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-11-19T18:59:52.599Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-11-19T18:59:52.866Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-11-19T18:59:53.145Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-11-19T18:59:54.114Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-11-19T18:59:54.114Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2024-11-19T18:59:54.700Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-11-19T18:59:54.968Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-11-19T18:59:55.929Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-11-19T18:59:57.342Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-11-19T18:59:57.342Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-11-19T18:59:57.927Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-11-19T18:59:58.195Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-11-19T18:59:58.463Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-11-19T18:59:59.047Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-11-19T19:00:00.458Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-11-19T19:00:01.048Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-11-19T19:00:01.316Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-11-19T19:00:01.911Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-11-19T19:00:02.183Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-11-19T19:00:02.183Z] /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-19T19:00:02.183Z] 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-11-19T19:00:02.183Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-19T19:00:02.183Z] /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-19T19:00:02.183Z] 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-11-19T19:00:02.183Z] | ^ [2024-11-19T19:00:02.769Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-11-19T19:00:03.036Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-11-19T19:00:03.620Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-11-19T19:00:03.891Z] [ 69%] Linking C shared library libcsdk.so [2024-11-19T19:00:04.158Z] [ 69%] Built target csdk [2024-11-19T19:00:04.158Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-11-19T19:00:04.426Z] [ 73%] Linking C executable template [2024-11-19T19:00:04.694Z] [ 73%] Built target template [2024-11-19T19:00:04.964Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-11-19T19:00:05.230Z] [ 76%] Linking C executable device-counter [2024-11-19T19:00:05.499Z] [ 76%] Built target device-counter [2024-11-19T19:00:05.499Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-11-19T19:00:06.081Z] [ 80%] Linking C executable device-random [2024-11-19T19:00:06.347Z] [ 80%] Built target device-random [2024-11-19T19:00:06.347Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-11-19T19:00:06.614Z] [ 84%] Linking C executable device-gyro [2024-11-19T19:00:06.881Z] [ 84%] Built target device-gyro [2024-11-19T19:00:07.149Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-11-19T19:00:07.416Z] [ 88%] Linking C executable device-bitfields [2024-11-19T19:00:07.683Z] [ 88%] Built target device-bitfields [2024-11-19T19:00:07.683Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-11-19T19:00:08.310Z] [ 92%] Linking C executable template-discovery [2024-11-19T19:00:08.581Z] [ 92%] Built target template-discovery [2024-11-19T19:00:08.581Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-11-19T19:00:09.179Z] [ 96%] Linking C executable device-file [2024-11-19T19:00:09.452Z] [ 96%] Built target device-file [2024-11-19T19:00:09.452Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-11-19T19:00:09.723Z] [100%] Linking C executable device-terminal [2024-11-19T19:00:10.322Z] [100%] Built target device-terminal [2024-11-19T19:00:10.322Z] make: Entering directory '/tmp/sdk/build/release' [2024-11-19T19:00:10.322Z] [ 69%] Built target csdk [2024-11-19T19:00:10.606Z] [ 73%] Built target template [2024-11-19T19:00:10.606Z] [ 76%] Built target device-counter [2024-11-19T19:00:10.606Z] [ 80%] Built target device-random [2024-11-19T19:00:10.606Z] [ 84%] Built target device-gyro [2024-11-19T19:00:10.606Z] [ 88%] Built target device-bitfields [2024-11-19T19:00:10.875Z] [ 92%] Built target template-discovery [2024-11-19T19:00:10.875Z] [ 96%] Built target device-file [2024-11-19T19:00:10.875Z] [100%] Built target device-terminal [2024-11-19T19:00:10.875Z] Install the project... [2024-11-19T19:00:10.875Z] -- Install configuration: "Release" [2024-11-19T19:00:10.875Z] -- Installing: /usr/local/lib/libcsdk.so [2024-11-19T19:00:10.875Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-11-19T19:00:10.875Z] -- Installing: /usr/local/include [2024-11-19T19:00:10.875Z] -- Installing: /usr/local/include/devsdk [2024-11-19T19:00:10.875Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-11-19T19:00:10.875Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-11-19T19:00:10.875Z] -- Installing: /usr/local/include/edgex [2024-11-19T19:00:10.875Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-11-19T19:00:11.144Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-11-19T19:00:11.144Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-11-19T19:00:11.144Z] -- Installing: /usr/local/include/edgex/devices.h [2024-11-19T19:00:11.144Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-11-19T19:00:11.144Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-11-19T19:00:11.144Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-11-19T19:00:11.144Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-11-19T19:00:11.144Z] make: Leaving directory '/tmp/sdk/build/release' [2024-11-19T19:00:12.557Z] Removing intermediate container 048727f366a0 [2024-11-19T19:00:12.557Z] ---> 896d5b67a91a [2024-11-19T19:00:12.557Z] Step 14/22 : FROM ${BASE} [2024-11-19T19:00:12.557Z] ---> 2b552cad5dd9 [2024-11-19T19:00:12.557Z] Step 15/22 : LABEL maintainer="IOTech " [2024-11-19T19:00:12.557Z] ---> Running in e35f26ae5e74 [2024-11-19T19:00:12.829Z] Removing intermediate container e35f26ae5e74 [2024-11-19T19:00:12.829Z] ---> b57dd5ffe631 [2024-11-19T19:00:12.829Z] 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-19T19:00:13.103Z] ---> Running in 1723505308c4 [2024-11-19T19:00:14.062Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-11-19T19:00:14.331Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-19T19:00:14.331Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-19T19:00:14.331Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-19T19:00:14.919Z] Removing intermediate container 1723505308c4 [2024-11-19T19:00:14.919Z] ---> 052eba12f86a [2024-11-19T19:00:14.919Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-19T19:00:15.189Z] ---> Running in e44ffcf4cfc8 [2024-11-19T19:00:17.143Z] Removing intermediate container e44ffcf4cfc8 [2024-11-19T19:00:17.143Z] ---> 8cde237e3206 [2024-11-19T19:00:17.143Z] 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-19T19:00:17.143Z] ---> Running in a2d62c5f82d8 [2024-11-19T19:00:17.728Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T19:00:18.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-19T19:00:18.574Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T19:00:19.526Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T19:00:19.526Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-11-19T19:00:19.791Z] (2/10) Installing curl (8.9.1-r1) [2024-11-19T19:00:19.791Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-11-19T19:00:19.791Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-11-19T19:00:19.791Z] (5/10) Installing hiredis (1.1.0-r2) [2024-11-19T19:00:19.791Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-11-19T19:00:19.791Z] (7/10) Installing libcbor (0.10.2-r1) [2024-11-19T19:00:19.791Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-11-19T19:00:20.369Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-11-19T19:00:20.640Z] (10/10) Installing libuuid (2.38.1-r8) [2024-11-19T19:00:20.640Z] Executing busybox-1.36.1-r4.trigger [2024-11-19T19:00:20.640Z] OK: 328 MiB in 90 packages [2024-11-19T19:00:22.048Z] Removing intermediate container a2d62c5f82d8 [2024-11-19T19:00:22.049Z] ---> 756f2e62c24f [2024-11-19T19:00:22.049Z] Step 19/22 : RUN apk --no-cache upgrade [2024-11-19T19:00:22.049Z] ---> Running in 4ff0b32f1d66 [2024-11-19T19:00:22.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T19:00:23.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-19T19:00:23.485Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T19:00:24.445Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T19:00:24.445Z] Upgrading critical system libraries and apk-tools: [2024-11-19T19:00:24.445Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-11-19T19:00:24.445Z] Executing busybox-1.36.1-r4.trigger [2024-11-19T19:00:24.712Z] Continuing the upgrade transaction with new apk-tools: [2024-11-19T19:00:24.712Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T19:00:24.988Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-19T19:00:25.578Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T19:00:26.161Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T19:00:26.161Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-11-19T19:00:26.161Z] Executing busybox-1.36.1-r7.post-upgrade [2024-11-19T19:00:26.427Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-11-19T19:00:26.427Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-11-19T19:00:26.427Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-11-19T19:00:26.427Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-11-19T19:00:26.427Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-11-19T19:00:26.693Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2024-11-19T19:00:26.693Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2024-11-19T19:00:26.693Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-11-19T19:00:26.693Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-11-19T19:00:26.960Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-11-19T19:00:27.227Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-11-19T19:00:27.227Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-11-19T19:00:27.227Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-11-19T19:00:27.227Z] Executing busybox-1.36.1-r7.trigger [2024-11-19T19:00:27.227Z] Executing ca-certificates-20240226-r0.trigger [2024-11-19T19:00:27.494Z] OK: 328 MiB in 90 packages [2024-11-19T19:00:30.552Z] Removing intermediate container 4ff0b32f1d66 [2024-11-19T19:00:30.552Z] ---> 25a6811e9221 [2024-11-19T19:00:30.552Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-11-19T19:00:30.552Z] ---> 148ce560b497 [2024-11-19T19:00:30.552Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-11-19T19:00:30.552Z] ---> e804870deaac [2024-11-19T19:00:30.552Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-11-19T19:00:30.818Z] ---> 25651cef9fcd [2024-11-19T19:00:30.818Z] Successfully built 25651cef9fcd [2024-11-19T19:00:30.818Z] 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-19T19:00:35.211Z] + docker inspect -f . ci-base-image-arm64 [2024-11-19T19:00:35.211Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-19T19:00:35.527Z] prd-ubuntu20.04-docker-arm64-4c-16g-27055 does not seem to be running inside a container [2024-11-19T19:00:35.595Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-19T19:00:36.891Z] $ docker top cf72feb805a982b8ef4b3935272d4dd9304bd9858fc1eb7332c318322a76ed8f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-19T19:00:37.733Z] + make test [2024-11-19T19:00:37.733Z] echo "make test" [2024-11-19T19:00:37.733Z] make test [Pipeline] } [2024-11-19T19:00:37.750Z] $ docker stop --time=1 cf72feb805a982b8ef4b3935272d4dd9304bd9858fc1eb7332c318322a76ed8f [2024-11-19T19:00:44.116Z] $ docker rm -f --volumes cf72feb805a982b8ef4b3935272d4dd9304bd9858fc1eb7332c318322a76ed8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-19T19:00:44.700Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-19T19:00:45.026Z] + ls -al . [2024-11-19T19:00:45.026Z] total 208 [2024-11-19T19:00:45.026Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 18:57 . [2024-11-19T19:00:45.026Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 18:57 .. [2024-11-19T19:00:45.026Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 18:57 .git [2024-11-19T19:00:45.026Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 18:57 .github [2024-11-19T19:00:45.026Z] -rw-rw-r-- 1 jenkins jenkins 176 Nov 19 18:57 .gitignore [2024-11-19T19:00:45.026Z] -rw-rw-r-- 1 jenkins jenkins 2908 Nov 19 18:57 Attribution.txt [2024-11-19T19:00:45.026Z] -rw-rw-r-- 1 jenkins jenkins 11953 Nov 19 18:57 CHANGELOG.md [2024-11-19T19:00:45.026Z] -rw-rw-r-- 1 jenkins jenkins 108574 Nov 19 18:57 Doxyfile [2024-11-19T19:00:45.026Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 19 18:57 GOVERNANCE.md [2024-11-19T19:00:45.026Z] -rw-rw-r-- 1 jenkins jenkins 784 Nov 19 18:57 Jenkinsfile [2024-11-19T19:00:45.026Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 19 18:57 LICENSE [2024-11-19T19:00:45.026Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 19 18:57 Makefile [2024-11-19T19:00:45.026Z] -rw-rw-r-- 1 jenkins jenkins 618 Nov 19 18:57 OWNERS.md [2024-11-19T19:00:45.026Z] -rw-rw-r-- 1 jenkins jenkins 1651 Nov 19 18:57 README.IOT.md [2024-11-19T19:00:45.026Z] -rw-rw-r-- 1 jenkins jenkins 4215 Nov 19 18:57 README.md [2024-11-19T19:00:45.026Z] -rw-rw-r-- 1 jenkins jenkins 1245 Nov 19 18:57 README.v3.md [2024-11-19T19:00:45.026Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 19 18:55 VERSION [2024-11-19T19:00:45.027Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 18:57 docs [2024-11-19T19:00:45.027Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 18:57 include [2024-11-19T19:00:45.027Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 18:57 scripts [2024-11-19T19:00:45.027Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 18:57 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T19:00:45.381Z] + 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=26147b8fd4fb68e8abff718f86d9511b7854f7ee --label arch=arm64 --label version=0.0.0 . [2024-11-19T19:00:45.649Z] Sending build context to Docker daemon 3.15MB [2024-11-19T19:00:45.918Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-11-19T19:00:45.918Z] Step 2/18 : FROM ${BASE} [2024-11-19T19:00:45.918Z] ---> 25651cef9fcd [2024-11-19T19:00:45.918Z] Step 3/18 : LABEL maintainer="IOTech " [2024-11-19T19:00:45.918Z] ---> Running in c022e59ecc46 [2024-11-19T19:00:46.186Z] Removing intermediate container c022e59ecc46 [2024-11-19T19:00:46.186Z] ---> 592db9870f18 [2024-11-19T19:00:46.186Z] 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-19T19:00:46.453Z] ---> Running in 98f0a53226b9 [2024-11-19T19:00:47.426Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-11-19T19:00:47.696Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-19T19:00:47.696Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-19T19:00:47.696Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-19T19:00:48.665Z] Removing intermediate container 98f0a53226b9 [2024-11-19T19:00:48.665Z] ---> f226a24f77e3 [2024-11-19T19:00:48.665Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-19T19:00:48.665Z] ---> Running in ac1749096fc2 [2024-11-19T19:00:50.621Z] Removing intermediate container ac1749096fc2 [2024-11-19T19:00:50.621Z] ---> 220a54f117f7 [2024-11-19T19:00:50.621Z] 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-19T19:00:50.621Z] ---> Running in 51e651ec8a96 [2024-11-19T19:00:51.582Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T19:00:51.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-19T19:00:52.429Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T19:00:53.384Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T19:00:53.384Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-11-19T19:00:53.649Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-11-19T19:00:53.649Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-11-19T19:00:53.649Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-11-19T19:00:53.649Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-11-19T19:00:53.649Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-11-19T19:00:53.649Z] (7/11) Installing libblkid (2.38.1-r8) [2024-11-19T19:00:53.649Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-11-19T19:00:53.649Z] (9/11) Installing libmount (2.38.1-r8) [2024-11-19T19:00:53.649Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-11-19T19:00:53.649Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-11-19T19:00:53.917Z] Executing busybox-1.36.1-r7.trigger [2024-11-19T19:00:53.917Z] OK: 334 MiB in 101 packages [2024-11-19T19:00:55.326Z] Removing intermediate container 51e651ec8a96 [2024-11-19T19:00:55.326Z] ---> da9c987c34b6 [2024-11-19T19:00:55.326Z] Step 7/18 : RUN apk --no-cache upgrade [2024-11-19T19:00:55.326Z] ---> Running in 693dd4c5105a [2024-11-19T19:00:56.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T19:00:56.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-19T19:00:57.140Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T19:00:58.111Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T19:00:58.111Z] OK: 334 MiB in 101 packages [2024-11-19T19:00:59.072Z] Removing intermediate container 693dd4c5105a [2024-11-19T19:00:59.072Z] ---> 0baa9b5fe9c7 [2024-11-19T19:00:59.072Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-11-19T19:00:59.340Z] ---> be87069077f3 [2024-11-19T19:00:59.340Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-11-19T19:01:00.300Z] ---> 75f203bc067c [2024-11-19T19:01:00.300Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-11-19T19:01:00.890Z] ---> fbf00f7d01fa [2024-11-19T19:01:00.890Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-11-19T19:01:01.485Z] ---> f026d2cfec91 [2024-11-19T19:01:01.485Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-11-19T19:01:02.072Z] ---> 399dc61d739d [2024-11-19T19:01:02.072Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-11-19T19:01:02.339Z] ---> 579e86d9e70d [2024-11-19T19:01:02.339Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-11-19T19:01:02.609Z] ---> Running in 546a3855f310 [2024-11-19T19:01:02.882Z] Removing intermediate container 546a3855f310 [2024-11-19T19:01:02.882Z] ---> 1294c85285a9 [2024-11-19T19:01:02.882Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-11-19T19:01:02.882Z] ---> Running in bb862a8ba2d8 [2024-11-19T19:01:03.473Z] Removing intermediate container bb862a8ba2d8 [2024-11-19T19:01:03.473Z] ---> 4b6e82cf198d [2024-11-19T19:01:03.473Z] Step 16/18 : LABEL arch=arm64 [2024-11-19T19:01:03.473Z] ---> Running in 574a4b83dff7 [2024-11-19T19:01:03.741Z] Removing intermediate container 574a4b83dff7 [2024-11-19T19:01:03.741Z] ---> 1bff46cbbdf4 [2024-11-19T19:01:03.741Z] Step 17/18 : LABEL git_sha=26147b8fd4fb68e8abff718f86d9511b7854f7ee [2024-11-19T19:01:03.741Z] ---> Running in 39d19814cc6e [2024-11-19T19:01:04.325Z] Removing intermediate container 39d19814cc6e [2024-11-19T19:01:04.325Z] ---> 8fe822c6e323 [2024-11-19T19:01:04.325Z] Step 18/18 : LABEL version=0.0.0 [2024-11-19T19:01:04.325Z] ---> Running in e71c44c82fc7 [2024-11-19T19:01:04.591Z] Removing intermediate container e71c44c82fc7 [2024-11-19T19:01:04.591Z] ---> c41d827f526e [2024-11-19T19:01:04.591Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-11-19T19:01:04.591Z] Successfully built c41d827f526e [2024-11-19T19:01:04.591Z] 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-19T19:01:05.057Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-19T19:01:05.057Z] [2024-11-19T19:01:05.057Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T19:01:05.397Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-19T19:01:05.662Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-19T19:01:05.662Z] 8998bd30e6a1: Pulling fs layer [2024-11-19T19:01:05.662Z] 04944245beec: Pulling fs layer [2024-11-19T19:01:05.662Z] 699f458cf7ca: Pulling fs layer [2024-11-19T19:01:05.662Z] 765212b225bb: Pulling fs layer [2024-11-19T19:01:05.662Z] f23df028b6ca: Pulling fs layer [2024-11-19T19:01:05.662Z] d65c8cfc05b1: Pulling fs layer [2024-11-19T19:01:05.662Z] 2437ff75d9bd: Pulling fs layer [2024-11-19T19:01:05.662Z] f23df028b6ca: Waiting [2024-11-19T19:01:05.662Z] d65c8cfc05b1: Waiting [2024-11-19T19:01:05.662Z] 2437ff75d9bd: Waiting [2024-11-19T19:01:05.662Z] 765212b225bb: Waiting [2024-11-19T19:01:05.662Z] 04944245beec: Verifying Checksum [2024-11-19T19:01:05.662Z] 04944245beec: Download complete [2024-11-19T19:01:05.662Z] 765212b225bb: Download complete [2024-11-19T19:01:05.662Z] f23df028b6ca: Verifying Checksum [2024-11-19T19:01:05.662Z] f23df028b6ca: Download complete [2024-11-19T19:01:05.662Z] d65c8cfc05b1: Verifying Checksum [2024-11-19T19:01:05.662Z] d65c8cfc05b1: Download complete [2024-11-19T19:01:05.928Z] 699f458cf7ca: Verifying Checksum [2024-11-19T19:01:05.928Z] 699f458cf7ca: Download complete [2024-11-19T19:01:06.197Z] 8998bd30e6a1: Verifying Checksum [2024-11-19T19:01:06.197Z] 8998bd30e6a1: Download complete [2024-11-19T19:01:08.776Z] 2437ff75d9bd: Verifying Checksum [2024-11-19T19:01:08.776Z] 2437ff75d9bd: Download complete [2024-11-19T19:01:10.721Z] 8998bd30e6a1: Pull complete [2024-11-19T19:01:11.306Z] 04944245beec: Pull complete [2024-11-19T19:01:12.717Z] 699f458cf7ca: Pull complete [2024-11-19T19:01:12.983Z] 765212b225bb: Pull complete [2024-11-19T19:01:13.944Z] f23df028b6ca: Pull complete [2024-11-19T19:01:14.213Z] d65c8cfc05b1: Pull complete [2024-11-19T19:01:32.422Z] 2437ff75d9bd: Pull complete [2024-11-19T19:01:32.422Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-19T19:01:32.422Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-19T19:01:32.422Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-19T19:01:32.638Z] prd-ubuntu20.04-docker-arm64-4c-16g-27055 does not seem to be running inside a container [2024-11-19T19:01:32.702Z] $ 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/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-19T19:01:35.412Z] $ docker top 8c1aff9ebe0538cb48ed854f8273fc1da8f0c8bd509650bfa8e932bb23ceb9fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-19T19:01:36.238Z] ---> job-cost.sh [2024-11-19T19:01:36.238Z] lf-activate-venv: SKIPPING [2024-11-19T19:01:36.238Z] INFO: No Stack... [2024-11-19T19:01:36.505Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-19T19:01:37.462Z] INFO: Archiving Costs [Pipeline] sh [2024-11-19T19:01:38.100Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2024-11-19T19:01:38.100Z] + cut -d, -f6 [Pipeline] lock [2024-11-19T19:01:38.163Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-520-2-stack-cost] [2024-11-19T19:01:38.174Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-520-2-stack-cost] did not exist. Created. [2024-11-19T19:01:38.181Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-520-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-19T19:01:38.852Z] /w/workspace/device-sdk-c/2@tmp/durable-ee318577/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-19T19:01:39.498Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-19T19:01:39.525Z] Warning: overwriting stash ‘stack-cost’ [2024-11-19T19:01:40.380Z] Stashed 1 file(s) [Pipeline] } [2024-11-19T19:01:40.391Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-520-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-19T19:01:40.415Z] $ docker stop --time=1 8c1aff9ebe0538cb48ed854f8273fc1da8f0c8bd509650bfa8e932bb23ceb9fb [2024-11-19T19:01:41.967Z] $ docker rm -f --volumes 8c1aff9ebe0538cb48ed854f8273fc1da8f0c8bd509650bfa8e932bb23ceb9fb [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) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [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-19T19:01:42.927Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives ] [2024-11-19T19:01:42.927Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives [2024-11-19T19:01:42.927Z] total 16 [2024-11-19T19:01:42.927Z] drwxr-xr-x 3 root root 4096 Nov 19 18:56 . [2024-11-19T19:01:42.927Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 19 18:56 .. [2024-11-19T19:01:42.927Z] drwxr-xr-x 2 root root 4096 Nov 19 18:56 cost [2024-11-19T19:01:42.927Z] -rw-r--r-- 1 root root 84 Nov 19 18:56 cost.csv [2024-11-19T19:01:42.927Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives [2024-11-19T19:01:42.927Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives [2024-11-19T19:01:42.927Z] total 16 [2024-11-19T19:01:42.927Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 19 18:56 . [2024-11-19T19:01:42.927Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 19 18:56 .. [2024-11-19T19:01:42.927Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 19 18:56 cost [2024-11-19T19:01:42.927Z] -rw-r--r-- 1 jenkins jenkins 84 Nov 19 18:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-19T19:01:43.215Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-19T19:01:44.073Z] ---> package-listing.sh [2024-11-19T19:01:44.073Z] ++ facter osfamily [2024-11-19T19:01:44.073Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-19T19:01:44.333Z] + OS_FAMILY=debian [2024-11-19T19:01:44.333Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-520 [2024-11-19T19:01:44.333Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-19T19:01:44.333Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-19T19:01:44.333Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-19T19:01:44.333Z] + PACKAGES=/tmp/packages_start.txt [2024-11-19T19:01:44.333Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-520 ']' [2024-11-19T19:01:44.333Z] + PACKAGES=/tmp/packages_end.txt [2024-11-19T19:01:44.333Z] + case "${OS_FAMILY}" in [2024-11-19T19:01:44.333Z] + dpkg -l [2024-11-19T19:01:44.333Z] + grep '^ii' [2024-11-19T19:01:44.333Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-19T19:01:44.333Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-19T19:01:44.333Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-19T19:01:44.333Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-520 ']' [2024-11-19T19:01:44.333Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives/ [2024-11-19T19:01:44.333Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives/ [Pipeline] echo [2024-11-19T19:01:44.346Z] 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_PR-520/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-19T19:01:44.624Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T19:01:45.188Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-19T19:01:45.188Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-19T19:01:45.265Z] prd-ubuntu20.04-docker-8c-8g-27053 does not seem to be running inside a container [2024-11-19T19:01:45.290Z] $ 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_PR-520/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_PR-520 -v /w/workspace/edgexfoundry_device-sdk-c_PR-520:/w/workspace/edgexfoundry_device-sdk-c_PR-520:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-520@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-19T19:01:45.496Z] $ docker top 056bee7c5352e3401409bef9b7ce244432f76168cb1285f68baad9a748a878a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-19T19:01:45.848Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-19T19:01:46.137Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-19T19:01:46.425Z] + ls /var/log/sa-host [2024-11-19T19:01:46.425Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-19T19:01:46.583Z] provisioning config files... [2024-11-19T19:01:46.592Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/config3065340036709555541tmp [Pipeline] { [Pipeline] echo [2024-11-19T19:01:46.619Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-19T19:01:46.904Z] ---> create-netrc.sh [Pipeline] } [2024-11-19T19:01:46.911Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-19T19:01:47.260Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-19T19:01:47.271Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-19T19:01:47.557Z] ---> sudo-logs.sh [2024-11-19T19:01:47.557Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-19T19:01:47.585Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-19T19:01:47.869Z] ---> job-cost.sh [2024-11-19T19:01:47.869Z] lf-activate-venv: SKIPPING [2024-11-19T19:01:47.869Z] DEBUG: total: 0.2199999988079071 [2024-11-19T19:01:47.869Z] INFO: Retrieving Stack Cost... [2024-11-19T19:01:48.129Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-19T19:01:48.389Z] INFO: Archiving Costs [Pipeline] echo [2024-11-19T19:01:48.405Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-19T19:01:48.686Z] ---> logs-deploy.sh [2024-11-19T19:01:48.686Z] lf-activate-venv: SKIPPING [2024-11-19T19:01:48.686Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-520/2 [2024-11-19T19:01:48.686Z] INFO: archiving workspace using pattern(s): [2024-11-19T19:01:49.628Z] Archives upload complete. [2024-11-19T19:01:49.628Z] INFO: archiving logs to Nexus