Pull request #513 updated 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 Tylerg2471 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at b5fd43aa6b4e8069e65248caa2e7d6db03f961ef rather than 4293b3e4a4a54949bffd9f429a4df609b362bd9b Obtained Jenkinsfile from b5fd43aa6b4e8069e65248caa2e7d6db03f961ef 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-ssh8417581083581554140.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh16158508850762828375.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 f3350a1713306dce7682ed7e37d5774890d03277 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-513/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-513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5072391238683390682.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh9422524328610861045.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-513/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-513/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9367448497583985043.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-10675’ Running on prd-ubuntu20.04-docker-8c-8g-10678 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [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-513 # 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 > 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/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit 4293b3e4a4a54949bffd9f429a4df609b362bd9b Merge succeeded, producing 4293b3e4a4a54949bffd9f429a4df609b362bd9b Checking out Revision 4293b3e4a4a54949bffd9f429a4df609b362bd9b (PR-513) > git config core.sparsecheckout # timeout=10 > git checkout -f 4293b3e4a4a54949bffd9f429a4df609b362bd9b # 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 b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4293b3e4a4a54949bffd9f429a4df609b362bd9b # timeout=10 Commit message: "feat: Update docs to mention Event publishing during discovery, updated template.c and discovery/template.c to allow compiling and provide an example of publishing an event" > git rev-list --no-walk b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-19T09:24:16.127Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-19T09:24:16.204Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-19T09:24:16.234Z] ========================================================= [2024-09-19T09:24:16.234Z] EdgeX Global Pipelines Version Info [2024-09-19T09:24:16.234Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:24:17.365Z] ------------------- [2024-09-19T09:24:17.365Z] stable info: [2024-09-19T09:24:17.365Z] ------------------- [2024-09-19T09:24:17.365Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-19T09:24:17.365Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-19T09:24:17.365Z] Message: update stable to v1.0.263 [2024-09-19T09:24:17.624Z] ------------------- [2024-09-19T09:24:17.624Z] experimental info: [2024-09-19T09:24:17.624Z] ------------------- [2024-09-19T09:24:17.624Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-19T09:24:17.624Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-19T09:24:17.624Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-19T09:24:17.703Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-09-19T09:24:17.732Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-09-19T09:24:17.752Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-19T09:24:17.777Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-19T09:24:17.800Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-19T09:24:17.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-09-19T09:24:17.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-09-19T09:24:17.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-19T09:24:17.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-19T09:24:17.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-09-19T09:24:17.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-19T09:24:17.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-19T09:24:17.969Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-19T09:24:17.988Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-09-19T09:24:18.011Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-19T09:24:18.039Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-19T09:24:18.065Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-19T09:24:18.084Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-513 [Pipeline] echo [2024-09-19T09:24:18.108Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-513 [Pipeline] echo [2024-09-19T09:24:18.131Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-513 [Pipeline] echo [2024-09-19T09:24:18.151Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4293b3e4a4a54949bffd9f429a4df609b362bd9b [Pipeline] echo [2024-09-19T09:24:18.174Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4293b3e [Pipeline] echo [2024-09-19T09:24:18.198Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-19T09:24:18.275Z] provisioning config files... [2024-09-19T09:24:18.289Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config3741576691853494178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:24:18.627Z] ---> ****-login.sh [2024-09-19T09:24:18.627Z] nexus3.edgexfoundry.org:10001 [2024-09-19T09:24:18.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:24:18.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:24:18.887Z] Configure a credential helper to remove this warning. See [2024-09-19T09:24:18.887Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:24:18.887Z] [2024-09-19T09:24:18.887Z] Login Succeeded [2024-09-19T09:24:18.887Z] nexus3.edgexfoundry.org:10002 [2024-09-19T09:24:19.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:24:19.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:24:19.149Z] Configure a credential helper to remove this warning. See [2024-09-19T09:24:19.149Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:24:19.149Z] [2024-09-19T09:24:19.149Z] Login Succeeded [2024-09-19T09:24:19.149Z] nexus3.edgexfoundry.org:10003 [2024-09-19T09:24:19.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:24:19.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:24:19.149Z] Configure a credential helper to remove this warning. See [2024-09-19T09:24:19.149Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:24:19.149Z] [2024-09-19T09:24:19.149Z] Login Succeeded [2024-09-19T09:24:19.149Z] nexus3.edgexfoundry.org:10004 [2024-09-19T09:24:19.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:24:19.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:24:19.410Z] Configure a credential helper to remove this warning. See [2024-09-19T09:24:19.410Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:24:19.410Z] [2024-09-19T09:24:19.410Z] Login Succeeded [2024-09-19T09:24:19.410Z] ****.io [2024-09-19T09:24:19.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:24:19.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:24:19.672Z] Configure a credential helper to remove this warning. See [2024-09-19T09:24:19.672Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:24:19.672Z] [2024-09-19T09:24:19.672Z] Login Succeeded [2024-09-19T09:24:19.672Z] ---> ****-login.sh ends [Pipeline] } [2024-09-19T09:24:19.680Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2024-09-19T09:24:20.071Z] + git rev-list -1 --merges 4293b3e4a4a54949bffd9f429a4df609b362bd9b~1..4293b3e4a4a54949bffd9f429a4df609b362bd9b [Pipeline] echo [2024-09-19T09:24:20.104Z] -----------> git rev-list -1 --merges 4293b3e4a4a54949bffd9f429a4df609b362bd9b~1..4293b3e4a4a54949bffd9f429a4df609b362bd9b 4293b3e4a4a54949bffd9f429a4df609b362bd9b [false] [Pipeline] sh [2024-09-19T09:24:20.398Z] + git log --format=format:%s -1 4293b3e4a4a54949bffd9f429a4df609b362bd9b [Pipeline] echo [2024-09-19T09:24:20.414Z] ========================================================= [2024-09-19T09:24:20.414Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-19T09:24:20.414Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-09-19T09:24:20.867Z] + git rev-list -1 --merges 4293b3e4a4a54949bffd9f429a4df609b362bd9b~1..4293b3e4a4a54949bffd9f429a4df609b362bd9b [Pipeline] echo [2024-09-19T09:24:20.881Z] -----------> git rev-list -1 --merges 4293b3e4a4a54949bffd9f429a4df609b362bd9b~1..4293b3e4a4a54949bffd9f429a4df609b362bd9b 4293b3e4a4a54949bffd9f429a4df609b362bd9b [false] [Pipeline] sh [2024-09-19T09:24:21.180Z] + git log --format=format:%s -1 4293b3e4a4a54949bffd9f429a4df609b362bd9b [Pipeline] echo [2024-09-19T09:24:21.205Z] ========================================================= [2024-09-19T09:24:21.205Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-19T09:24:21.205Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-09-19T09:24:21.664Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-19T09:24:21.664Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-19T09:24:21.664Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-19T09:24:21.664Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-19T09:24:21.664Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-19T09:24:21.664Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-19T09:24:21.664Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T09:24:22.111Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-19T09:24:22.111Z] [2024-09-19T09:24:22.111Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T09:24:22.432Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-19T09:24:22.432Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-19T09:24:22.432Z] b85a868b505f: Pulling fs layer [2024-09-19T09:24:22.432Z] e2be974225ed: Pulling fs layer [2024-09-19T09:24:22.432Z] 339a4e72a1f5: Pulling fs layer [2024-09-19T09:24:22.432Z] 988bab9f4d93: Pulling fs layer [2024-09-19T09:24:22.432Z] 1469e6f7b9e6: Pulling fs layer [2024-09-19T09:24:22.432Z] eaf3925da568: Pulling fs layer [2024-09-19T09:24:22.432Z] bab4dde63d76: Pulling fs layer [2024-09-19T09:24:22.432Z] bde34c3a00c8: Pulling fs layer [2024-09-19T09:24:22.432Z] b352a97aabf1: Pulling fs layer [2024-09-19T09:24:22.432Z] 4872d77fe225: Pulling fs layer [2024-09-19T09:24:22.432Z] 5851b861e8e6: Pulling fs layer [2024-09-19T09:24:22.432Z] bab4dde63d76: Waiting [2024-09-19T09:24:22.432Z] b352a97aabf1: Waiting [2024-09-19T09:24:22.432Z] 4872d77fe225: Waiting [2024-09-19T09:24:22.432Z] bde34c3a00c8: Waiting [2024-09-19T09:24:22.432Z] 1469e6f7b9e6: Waiting [2024-09-19T09:24:22.432Z] 988bab9f4d93: Waiting [2024-09-19T09:24:22.432Z] eaf3925da568: Waiting [2024-09-19T09:24:22.432Z] e2be974225ed: Download complete [2024-09-19T09:24:22.432Z] 988bab9f4d93: Verifying Checksum [2024-09-19T09:24:22.432Z] 988bab9f4d93: Download complete [2024-09-19T09:24:22.432Z] 1469e6f7b9e6: Verifying Checksum [2024-09-19T09:24:22.432Z] 1469e6f7b9e6: Download complete [2024-09-19T09:24:22.432Z] eaf3925da568: Download complete [2024-09-19T09:24:22.432Z] 339a4e72a1f5: Verifying Checksum [2024-09-19T09:24:22.432Z] 339a4e72a1f5: Download complete [2024-09-19T09:24:22.691Z] bde34c3a00c8: Verifying Checksum [2024-09-19T09:24:22.691Z] bde34c3a00c8: Download complete [2024-09-19T09:24:22.691Z] b352a97aabf1: Download complete [2024-09-19T09:24:22.691Z] 4872d77fe225: Verifying Checksum [2024-09-19T09:24:22.691Z] 4872d77fe225: Download complete [2024-09-19T09:24:22.691Z] 5851b861e8e6: Verifying Checksum [2024-09-19T09:24:22.691Z] 5851b861e8e6: Download complete [2024-09-19T09:24:22.691Z] b85a868b505f: Verifying Checksum [2024-09-19T09:24:22.691Z] b85a868b505f: Download complete [2024-09-19T09:24:22.950Z] bab4dde63d76: Verifying Checksum [2024-09-19T09:24:22.950Z] bab4dde63d76: Download complete [2024-09-19T09:24:23.888Z] b85a868b505f: Pull complete [2024-09-19T09:24:23.888Z] e2be974225ed: Pull complete [2024-09-19T09:24:24.455Z] 339a4e72a1f5: Pull complete [2024-09-19T09:24:24.455Z] 988bab9f4d93: Pull complete [2024-09-19T09:24:24.716Z] 1469e6f7b9e6: Pull complete [2024-09-19T09:24:24.716Z] eaf3925da568: Pull complete [2024-09-19T09:24:26.625Z] bab4dde63d76: Pull complete [2024-09-19T09:24:26.625Z] bde34c3a00c8: Pull complete [2024-09-19T09:24:26.625Z] b352a97aabf1: Pull complete [2024-09-19T09:24:26.625Z] 4872d77fe225: Pull complete [2024-09-19T09:24:26.885Z] 5851b861e8e6: Pull complete [2024-09-19T09:24:26.885Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-19T09:24:26.885Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-19T09:24:26.885Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T09:24:27.036Z] prd-ubuntu20.04-docker-8c-8g-10678 does not seem to be running inside a container [2024-09-19T09:24:27.075Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@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-09-19T09:24:29.506Z] $ docker top 44aaa7b25028335dc2f289dbc1399aaee16cf66cbf4901201a3a33f336082186 -eo pid,comm [2024-09-19T09:24:29.563Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-09-19T09:24:29.563Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-19T09:24:29.626Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-19T09:24:29.626Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-19T09:24:29.730Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-19T09:24:29.732Z] $ docker exec 44aaa7b25028335dc2f289dbc1399aaee16cf66cbf4901201a3a33f336082186 ssh-agent [2024-09-19T09:24:29.839Z] SSH_AUTH_SOCK=/tmp/ssh-OwtgHl4koc8S/agent.31 [2024-09-19T09:24:29.839Z] SSH_AGENT_PID=37 [2024-09-19T09:24:29.845Z] Running ssh-add (command line suppressed) [2024-09-19T09:24:29.940Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_3856735502963909786.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_3856735502963909786.key) [2024-09-19T09:24:29.954Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-19T09:24:30.243Z] + git tag --points-at HEAD [Pipeline] } [2024-09-19T09:24:30.255Z] $ docker exec --env ******** --env ******** 44aaa7b25028335dc2f289dbc1399aaee16cf66cbf4901201a3a33f336082186 ssh-agent -k [2024-09-19T09:24:30.361Z] unset SSH_AUTH_SOCK; [2024-09-19T09:24:30.361Z] unset SSH_AGENT_PID; [2024-09-19T09:24:30.361Z] echo Agent pid 37 killed; [2024-09-19T09:24:30.369Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-19T09:24:30.406Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-19T09:24:30.406Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-19T09:24:30.522Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-19T09:24:30.524Z] $ docker exec 44aaa7b25028335dc2f289dbc1399aaee16cf66cbf4901201a3a33f336082186 ssh-agent [2024-09-19T09:24:30.642Z] SSH_AUTH_SOCK=/tmp/ssh-yu9gM0cAinN7/agent.70 [2024-09-19T09:24:30.642Z] SSH_AGENT_PID=76 [2024-09-19T09:24:30.647Z] Running ssh-add (command line suppressed) [2024-09-19T09:24:30.745Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_13813116357299835010.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_13813116357299835010.key) [2024-09-19T09:24:30.759Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-19T09:24:31.055Z] + git semver init [2024-09-19T09:24:31.316Z] 2024-09-19 09:24:31,220 [run_init] DEBUG init version:0.0.0 force:False [2024-09-19T09:24:31.316Z] 2024-09-19 09:24:31,221 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver [2024-09-19T09:24:31.316Z] 2024-09-19 09:24:31,221 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver [2024-09-19T09:24:31.316Z] 2024-09-19 09:24:31,221 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513, universal_newlines=False, shell=None, istream=None) [2024-09-19T09:24:32.254Z] 2024-09-19 09:24:32,014 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.git/info/exclude [2024-09-19T09:24:32.254Z] 2024-09-19 09:24:32,015 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 with force:False [2024-09-19T09:24:32.254Z] 2024-09-19 09:24:32,015 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 [2024-09-19T09:24:32.254Z] 2024-09-19 09:24:32,017 [execute] INFO git cat-file --batch-check [2024-09-19T09:24:32.254Z] 2024-09-19 09:24:32,018 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver, universal_newlines=False, shell=None, istream=) [2024-09-19T09:24:32.254Z] 2024-09-19 09:24:32,025 [execute] INFO git cat-file --batch [2024-09-19T09:24:32.255Z] 2024-09-19 09:24:32,025 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver, universal_newlines=False, shell=None, istream=) [2024-09-19T09:24:32.255Z] 2024-09-19 09:24:32,031 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 [2024-09-19T09:24:32.255Z] 0.0.0 [Pipeline] } [2024-09-19T09:24:32.264Z] $ docker exec --env ******** --env ******** 44aaa7b25028335dc2f289dbc1399aaee16cf66cbf4901201a3a33f336082186 ssh-agent -k [2024-09-19T09:24:32.378Z] unset SSH_AUTH_SOCK; [2024-09-19T09:24:32.378Z] unset SSH_AGENT_PID; [2024-09-19T09:24:32.378Z] echo Agent pid 76 killed; [2024-09-19T09:24:32.391Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-19T09:24:32.714Z] + git semver [Pipeline] } [2024-09-19T09:24:32.987Z] $ docker stop --time=1 44aaa7b25028335dc2f289dbc1399aaee16cf66cbf4901201a3a33f336082186 [2024-09-19T09:24:34.239Z] $ docker rm -f --volumes 44aaa7b25028335dc2f289dbc1399aaee16cf66cbf4901201a3a33f336082186 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-19T09:24:34.585Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-19T09:24:34.822Z] Stashed 1 file(s) [Pipeline] echo [2024-09-19T09:24:34.826Z] [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-09-19T09:24:34.993Z] provisioning config files... [2024-09-19T09:24:35.004Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config16473572814634052682tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:24:35.310Z] ---> ****-login.sh [2024-09-19T09:24:35.310Z] nexus3.edgexfoundry.org:10001 [2024-09-19T09:24:35.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:24:35.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:24:35.310Z] Configure a credential helper to remove this warning. See [2024-09-19T09:24:35.310Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:24:35.310Z] [2024-09-19T09:24:35.310Z] Login Succeeded [2024-09-19T09:24:35.310Z] nexus3.edgexfoundry.org:10002 [2024-09-19T09:24:35.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:24:35.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:24:35.310Z] Configure a credential helper to remove this warning. See [2024-09-19T09:24:35.310Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:24:35.310Z] [2024-09-19T09:24:35.310Z] Login Succeeded [2024-09-19T09:24:35.310Z] nexus3.edgexfoundry.org:10003 [2024-09-19T09:24:35.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:24:35.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:24:35.571Z] Configure a credential helper to remove this warning. See [2024-09-19T09:24:35.571Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:24:35.571Z] [2024-09-19T09:24:35.571Z] Login Succeeded [2024-09-19T09:24:35.571Z] nexus3.edgexfoundry.org:10004 [2024-09-19T09:24:35.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:24:35.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:24:35.572Z] Configure a credential helper to remove this warning. See [2024-09-19T09:24:35.572Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:24:35.572Z] [2024-09-19T09:24:35.572Z] Login Succeeded [2024-09-19T09:24:35.572Z] ****.io [2024-09-19T09:24:35.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:24:35.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:24:35.832Z] Configure a credential helper to remove this warning. See [2024-09-19T09:24:35.832Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:24:35.832Z] [2024-09-19T09:24:35.833Z] Login Succeeded [2024-09-19T09:24:35.833Z] ---> ****-login.sh ends [Pipeline] } [2024-09-19T09:24:35.840Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-19T09:24:35.934Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-19T09:24:35.953Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-09-19T09:24:35.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-19T09:24:35.990Z] ========================================================= [2024-09-19T09:24:35.990Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-09-19T09:24:35.990Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T09:24:36.317Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2024-09-19T09:24:36.317Z] Sending build context to Docker daemon 5.237MB [2024-09-19T09:24:36.317Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-09-19T09:24:36.317Z] Step 2/22 : FROM ${BASE} as builder [2024-09-19T09:24:36.317Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-09-19T09:24:36.317Z] 96526aa774ef: Pulling fs layer [2024-09-19T09:24:36.317Z] da60e534fd72: Pulling fs layer [2024-09-19T09:24:36.578Z] 96526aa774ef: Verifying Checksum [2024-09-19T09:24:36.578Z] 96526aa774ef: Download complete [2024-09-19T09:24:36.578Z] 96526aa774ef: Pull complete [2024-09-19T09:24:37.165Z] da60e534fd72: Verifying Checksum [2024-09-19T09:24:40.462Z] da60e534fd72: Pull complete [2024-09-19T09:24:40.462Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-09-19T09:24:40.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-09-19T09:24:40.462Z] ---> 6605166a5db4 [2024-09-19T09:24:40.462Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-19T09:24:42.372Z] ---> Running in 1d1d305dd345 [2024-09-19T09:24:42.942Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-19T09:24:43.202Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T09:24:43.202Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T09:24:43.202Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T09:24:43.461Z] Removing intermediate container 1d1d305dd345 [2024-09-19T09:24:43.461Z] ---> 629d29cb46d9 [2024-09-19T09:24:43.461Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T09:24:43.461Z] ---> Running in eb75ab26fdc7 [2024-09-19T09:24:44.033Z] Removing intermediate container eb75ab26fdc7 [2024-09-19T09:24:44.033Z] ---> f072aeda2354 [2024-09-19T09:24:44.033Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-09-19T09:24:44.033Z] ---> Running in bfcab5599bfc [2024-09-19T09:24:44.293Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T09:24:44.554Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T09:24:44.814Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T09:24:45.383Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T09:24:45.383Z] (1/17) Installing hiredis (1.1.0-r2) [2024-09-19T09:24:45.383Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-09-19T09:24:45.383Z] (3/17) Installing libcbor (0.10.2-r1) [2024-09-19T09:24:45.383Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-19T09:24:45.954Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-19T09:24:46.214Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-19T09:24:46.473Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-09-19T09:24:46.473Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-09-19T09:24:46.473Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-09-19T09:24:46.473Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-09-19T09:24:46.473Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-19T09:24:46.473Z] (12/17) Installing libblkid (2.38.1-r8) [2024-09-19T09:24:46.473Z] (13/17) Installing libuuid (2.38.1-r8) [2024-09-19T09:24:46.473Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-09-19T09:24:46.473Z] (15/17) Installing libmount (2.38.1-r8) [2024-09-19T09:24:46.473Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-09-19T09:24:46.473Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-09-19T09:24:46.473Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T09:24:46.473Z] OK: 336 MiB in 99 packages [2024-09-19T09:24:47.042Z] Removing intermediate container bfcab5599bfc [2024-09-19T09:24:47.042Z] ---> ea45440aae82 [2024-09-19T09:24:47.042Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-09-19T09:24:47.042Z] ---> Running in 0da832d81afb [2024-09-19T09:24:47.610Z] Removing intermediate container 0da832d81afb [2024-09-19T09:24:47.610Z] ---> fd4d9a071f43 [2024-09-19T09:24:47.610Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-09-19T09:24:47.871Z] ---> 97ee657a497f [2024-09-19T09:24:47.871Z] Step 8/22 : COPY src /tmp/sdk/src [2024-09-19T09:24:48.131Z] ---> 355f73a40977 [2024-09-19T09:24:48.131Z] Step 9/22 : COPY include /tmp/sdk/include [2024-09-19T09:24:48.131Z] ---> 1127c2e8a52a [2024-09-19T09:24:48.131Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-09-19T09:24:48.131Z] ---> 77ea013cff2c [2024-09-19T09:24:48.131Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-09-19T09:24:48.392Z] ---> 9f8803a0d1a7 [2024-09-19T09:24:48.392Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-09-19T09:24:48.392Z] ---> 3bd7ec032a61 [2024-09-19T09:24:48.392Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-09-19T09:24:48.651Z] ---> Running in 70eff505b4f8 [2024-09-19T09:24:48.911Z] + CPPCHECK=false [2024-09-19T09:24:48.911Z] + DOCGEN=false [2024-09-19T09:24:48.911Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-09-19T09:24:48.911Z] + '[' 0 -gt 0 ] [2024-09-19T09:24:48.911Z] + readlink -f ./scripts/build.sh [2024-09-19T09:24:48.911Z] + dirname /tmp/sdk/scripts/build.sh [2024-09-19T09:24:48.911Z] + dirname /tmp/sdk/scripts [2024-09-19T09:24:48.911Z] + ROOT=/tmp/sdk [2024-09-19T09:24:48.911Z] + cd /tmp/sdk [2024-09-19T09:24:48.911Z] + mkdir -p /tmp/sdk/build/release [2024-09-19T09:24:48.911Z] + cd /tmp/sdk/build/release [2024-09-19T09:24:48.911Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-09-19T09:24:49.171Z] -- The C compiler identification is GNU 12.2.1 [2024-09-19T09:24:49.171Z] -- Detecting C compiler ABI info [2024-09-19T09:24:49.171Z] -- Detecting C compiler ABI info - done [2024-09-19T09:24:49.171Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-19T09:24:49.171Z] -- Detecting C compile features [2024-09-19T09:24:49.171Z] -- Detecting C compile features - done [2024-09-19T09:24:49.171Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-19T09:24:49.171Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-19T09:24:49.171Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-19T09:24:49.171Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-19T09:24:49.171Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-19T09:24:49.171Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-19T09:24:49.171Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-19T09:24:49.171Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-19T09:24:49.171Z] -- /opt/iotech/iot/1.5/include [2024-09-19T09:24:49.171Z] -- C SDK 0.0.0 for Linux [2024-09-19T09:24:49.171Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-19T09:24:49.430Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-19T09:24:49.430Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-19T09:24:49.430Z] -- Configuring done (0.4s) [2024-09-19T09:24:49.430Z] -- Generating done (0.0s) [2024-09-19T09:24:49.430Z] -- Build files have been written to: /tmp/sdk/build/release [2024-09-19T09:24:49.430Z] + make all package [2024-09-19T09:24:49.430Z] + tee release.log [2024-09-19T09:24:49.430Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-19T09:24:49.689Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-19T09:24:49.689Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-19T09:24:49.938Z] Still waiting to schedule task [2024-09-19T09:24:49.938Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10676’ [2024-09-19T09:24:49.949Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-19T09:24:49.949Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-19T09:24:49.949Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-19T09:24:50.518Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-19T09:24:50.518Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-09-19T09:24:50.518Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T09:24:50.518Z] 294 | while (privateConfig) [2024-09-19T09:24:50.518Z] | ^~~~~~~~~~~~~ [2024-09-19T09:24:50.518Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-09-19T09:24:50.518Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-19T09:24:50.518Z] | ^~~~~~~~~~~~~ [2024-09-19T09:24:50.518Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T09:24:50.518Z] 271 | while (result) [2024-09-19T09:24:50.518Z] | ^~~~~~ [2024-09-19T09:24:50.518Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-09-19T09:24:50.518Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-19T09:24:50.518Z] | ^~~~~~ [2024-09-19T09:24:50.518Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-19T09:24:50.518Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-19T09:24:50.777Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-19T09:24:51.037Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-19T09:24:51.037Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-19T09:24:51.295Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-19T09:24:51.295Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-19T09:24:51.555Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-19T09:24:51.555Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-19T09:24:51.816Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-19T09:24:52.077Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-19T09:24:52.077Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-19T09:24:52.077Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-19T09:24:52.337Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-19T09:24:53.276Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-19T09:24:53.535Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-19T09:24:53.535Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-19T09:24:53.535Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-19T09:24:53.795Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-19T09:24:53.795Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-19T09:24:54.366Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-19T09:24:54.366Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-19T09:24:54.366Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-19T09:24:54.626Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-19T09:24:54.626Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-19T09:24:54.626Z] /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T09:24:54.626Z] 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-19T09:24:54.626Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T09:24:54.626Z] /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T09:24:54.626Z] 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-19T09:24:54.626Z] | ^ [2024-09-19T09:24:54.888Z] /tmp/sdk/src/c/service.c:1047:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T09:24:54.889Z] 1047 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-09-19T09:24:54.889Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T09:24:54.889Z] /tmp/sdk/src/c/service.c:859:68: note: 'deviceservices_config' was declared here [2024-09-19T09:24:54.889Z] 859 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-09-19T09:24:54.889Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-09-19T09:24:54.889Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-19T09:24:55.149Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-19T09:24:55.149Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-19T09:24:55.149Z] [ 68%] Linking C shared library libcsdk.so [2024-09-19T09:24:55.149Z] [ 68%] Built target csdk [2024-09-19T09:24:55.149Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-19T09:24:55.411Z] [ 72%] Linking C executable template [2024-09-19T09:24:55.411Z] [ 72%] Built target template [2024-09-19T09:24:55.411Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-19T09:24:55.670Z] [ 76%] Linking C executable device-counter [2024-09-19T09:24:55.670Z] [ 76%] Built target device-counter [2024-09-19T09:24:55.670Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-19T09:24:55.670Z] [ 80%] Linking C executable device-random [2024-09-19T09:24:55.670Z] [ 80%] Built target device-random [2024-09-19T09:24:55.930Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-19T09:24:55.930Z] [ 84%] Linking C executable device-gyro [2024-09-19T09:24:55.930Z] [ 84%] Built target device-gyro [2024-09-19T09:24:55.930Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-19T09:24:55.930Z] [ 88%] Linking C executable device-bitfields [2024-09-19T09:24:56.189Z] [ 88%] Built target device-bitfields [2024-09-19T09:24:56.189Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-19T09:24:56.189Z] [ 92%] Linking C executable template-discovery [2024-09-19T09:24:56.447Z] [ 92%] Built target template-discovery [2024-09-19T09:24:56.448Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-19T09:24:56.448Z] [ 96%] Linking C executable device-file [2024-09-19T09:24:56.448Z] [ 96%] Built target device-file [2024-09-19T09:24:56.448Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-19T09:24:56.706Z] [100%] Linking C executable device-terminal [2024-09-19T09:24:56.706Z] [100%] Built target device-terminal [2024-09-19T09:24:56.706Z] Run CPack packaging tool... [2024-09-19T09:24:56.706Z] CPack: Create package using TGZ [2024-09-19T09:24:56.706Z] CPack: Install projects [2024-09-19T09:24:56.706Z] CPack: - Run preinstall target for: Csdk [2024-09-19T09:24:56.967Z] CPack: - Install project: Csdk [] [2024-09-19T09:24:56.967Z] CPack: Create package [2024-09-19T09:24:56.967Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-09-19T09:24:56.967Z] + '[' false '=' true ] [2024-09-19T09:24:56.967Z] + '[' false '=' true ] [2024-09-19T09:24:56.967Z] + mkdir -p /tmp/sdk/build/debug [2024-09-19T09:24:56.967Z] + cd /tmp/sdk/build/debug [2024-09-19T09:24:56.967Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-09-19T09:24:56.967Z] -- The C compiler identification is GNU 12.2.1 [2024-09-19T09:24:56.967Z] -- Detecting C compiler ABI info [2024-09-19T09:24:57.227Z] -- Detecting C compiler ABI info - done [2024-09-19T09:24:57.227Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-19T09:24:57.227Z] -- Detecting C compile features [2024-09-19T09:24:57.227Z] -- Detecting C compile features - done [2024-09-19T09:24:57.227Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-19T09:24:57.227Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-19T09:24:57.227Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-19T09:24:57.227Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-19T09:24:57.227Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-19T09:24:57.227Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-19T09:24:57.227Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-19T09:24:57.227Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-19T09:24:57.227Z] -- /opt/iotech/iot/1.5/include [2024-09-19T09:24:57.227Z] -- C SDK 0.0.0 for Linux [2024-09-19T09:24:57.227Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-19T09:24:57.227Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-19T09:24:57.485Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-19T09:24:57.485Z] -- Configuring done (0.4s) [2024-09-19T09:24:57.485Z] -- Generating done (0.0s) [2024-09-19T09:24:57.485Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-09-19T09:24:57.485Z] + make [2024-09-19T09:24:57.485Z] + tee debug.log [2024-09-19T09:24:57.485Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-19T09:24:57.485Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-19T09:24:57.485Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-19T09:24:57.745Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-19T09:24:57.745Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-19T09:24:57.745Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-19T09:24:58.004Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-19T09:24:58.004Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-19T09:24:58.004Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-19T09:24:58.004Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-19T09:24:58.263Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-19T09:24:58.263Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-19T09:24:58.263Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-19T09:24:58.522Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-19T09:24:58.522Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-19T09:24:58.522Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-19T09:24:58.522Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-19T09:24:58.782Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-19T09:24:58.782Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-19T09:24:58.782Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-19T09:24:59.041Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-19T09:24:59.041Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-19T09:24:59.300Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-19T09:24:59.300Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-19T09:24:59.300Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-19T09:24:59.300Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-19T09:24:59.558Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-19T09:24:59.558Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-19T09:24:59.818Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-19T09:24:59.818Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-19T09:24:59.818Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-19T09:24:59.818Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-19T09:24:59.818Z] /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T09:24:59.818Z] 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-19T09:24:59.818Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T09:24:59.818Z] /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T09:24:59.818Z] 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-19T09:24:59.818Z] | ^ [2024-09-19T09:25:00.077Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-19T09:25:00.077Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-19T09:25:00.077Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-19T09:25:00.077Z] [ 68%] Linking C shared library libcsdk.so [2024-09-19T09:25:00.335Z] [ 68%] Built target csdk [2024-09-19T09:25:00.335Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-19T09:25:00.335Z] [ 72%] Linking C executable template [2024-09-19T09:25:00.335Z] [ 72%] Built target template [2024-09-19T09:25:00.335Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-19T09:25:00.595Z] [ 76%] Linking C executable device-counter [2024-09-19T09:25:00.595Z] [ 76%] Built target device-counter [2024-09-19T09:25:00.595Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-19T09:25:00.595Z] [ 80%] Linking C executable device-random [2024-09-19T09:25:00.595Z] [ 80%] Built target device-random [2024-09-19T09:25:00.595Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-19T09:25:00.852Z] [ 84%] Linking C executable device-gyro [2024-09-19T09:25:00.852Z] [ 84%] Built target device-gyro [2024-09-19T09:25:00.852Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-19T09:25:00.853Z] [ 88%] Linking C executable device-bitfields [2024-09-19T09:25:00.853Z] [ 88%] Built target device-bitfields [2024-09-19T09:25:01.110Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-19T09:25:01.110Z] [ 92%] Linking C executable template-discovery [2024-09-19T09:25:01.110Z] [ 92%] Built target template-discovery [2024-09-19T09:25:01.110Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-19T09:25:01.110Z] [ 96%] Linking C executable device-file [2024-09-19T09:25:01.368Z] [ 96%] Built target device-file [2024-09-19T09:25:01.368Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-19T09:25:01.368Z] [100%] Linking C executable device-terminal [2024-09-19T09:25:01.368Z] [100%] Built target device-terminal [2024-09-19T09:25:01.368Z] make: Entering directory '/tmp/sdk/build/release' [2024-09-19T09:25:01.368Z] [ 68%] Built target csdk [2024-09-19T09:25:01.628Z] [ 72%] Built target template [2024-09-19T09:25:01.628Z] [ 76%] Built target device-counter [2024-09-19T09:25:01.628Z] [ 80%] Built target device-random [2024-09-19T09:25:01.628Z] [ 84%] Built target device-gyro [2024-09-19T09:25:01.628Z] [ 88%] Built target device-bitfields [2024-09-19T09:25:01.628Z] [ 92%] Built target template-discovery [2024-09-19T09:25:01.628Z] [ 96%] Built target device-file [2024-09-19T09:25:01.628Z] [100%] Built target device-terminal [2024-09-19T09:25:01.628Z] Install the project... [2024-09-19T09:25:01.628Z] -- Install configuration: "Release" [2024-09-19T09:25:01.628Z] -- Installing: /usr/local/lib/libcsdk.so [2024-09-19T09:25:01.628Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-09-19T09:25:01.628Z] -- Installing: /usr/local/include [2024-09-19T09:25:01.628Z] -- Installing: /usr/local/include/devsdk [2024-09-19T09:25:01.628Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-09-19T09:25:01.628Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-09-19T09:25:01.628Z] -- Installing: /usr/local/include/edgex [2024-09-19T09:25:01.628Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-09-19T09:25:01.628Z] -- Installing: /usr/local/include/edgex/devices.h [2024-09-19T09:25:01.628Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-09-19T09:25:01.628Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-09-19T09:25:01.628Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-09-19T09:25:01.628Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-09-19T09:25:01.628Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-09-19T09:25:01.628Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-09-19T09:25:01.628Z] make: Leaving directory '/tmp/sdk/build/release' [2024-09-19T09:25:02.197Z] Removing intermediate container 70eff505b4f8 [2024-09-19T09:25:02.197Z] ---> 6ae714675005 [2024-09-19T09:25:02.197Z] Step 14/22 : FROM ${BASE} [2024-09-19T09:25:02.197Z] ---> 6605166a5db4 [2024-09-19T09:25:02.197Z] Step 15/22 : LABEL maintainer="IOTech " [2024-09-19T09:25:02.455Z] ---> Running in 2abad387c17f [2024-09-19T09:25:02.455Z] Removing intermediate container 2abad387c17f [2024-09-19T09:25:02.455Z] ---> 07c4208ddb0b [2024-09-19T09:25:02.455Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-19T09:25:02.455Z] ---> Running in 98a7b1b8f909 [2024-09-19T09:25:02.714Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-09-19T09:25:03.281Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T09:25:03.281Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T09:25:03.281Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T09:25:03.281Z] Removing intermediate container 98a7b1b8f909 [2024-09-19T09:25:03.281Z] ---> f4bded671e1f [2024-09-19T09:25:03.281Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T09:25:03.540Z] ---> Running in 6a87a7ec35fa [2024-09-19T09:25:04.107Z] Removing intermediate container 6a87a7ec35fa [2024-09-19T09:25:04.108Z] ---> 254c295fd8bd [2024-09-19T09:25:04.108Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init [2024-09-19T09:25:04.108Z] ---> Running in 069369db8e46 [2024-09-19T09:25:04.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T09:25:04.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T09:25:04.627Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T09:25:05.195Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T09:25:05.195Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) [2024-09-19T09:25:05.195Z] (2/10) Installing curl (8.9.1-r0) [2024-09-19T09:25:05.195Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) [2024-09-19T09:25:05.195Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-09-19T09:25:05.195Z] (5/10) Installing hiredis (1.1.0-r2) [2024-09-19T09:25:05.195Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-09-19T09:25:05.195Z] (7/10) Installing libcbor (0.10.2-r1) [2024-09-19T09:25:05.195Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-19T09:25:05.767Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-19T09:25:06.026Z] (10/10) Installing libuuid (2.38.1-r8) [2024-09-19T09:25:06.026Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T09:25:06.026Z] OK: 331 MiB in 90 packages [2024-09-19T09:25:06.285Z] Removing intermediate container 069369db8e46 [2024-09-19T09:25:06.285Z] ---> 2ffbf8cb342a [2024-09-19T09:25:06.285Z] Step 19/22 : RUN apk --no-cache upgrade [2024-09-19T09:25:06.285Z] ---> Running in f384f5fcccc7 [2024-09-19T09:25:06.854Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T09:25:06.854Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T09:25:06.854Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T09:25:08.238Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T09:25:08.238Z] Upgrading critical system libraries and apk-tools: [2024-09-19T09:25:08.238Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-09-19T09:25:08.238Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T09:25:08.238Z] Continuing the upgrade transaction with new apk-tools: [2024-09-19T09:25:08.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T09:25:08.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T09:25:08.500Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T09:25:08.759Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T09:25:08.759Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T09:25:08.759Z] Executing busybox-1.36.1-r7.post-upgrade [2024-09-19T09:25:09.017Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T09:25:09.017Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-09-19T09:25:09.017Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T09:25:09.017Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T09:25:09.017Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T09:25:09.017Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-09-19T09:25:09.017Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) [2024-09-19T09:25:09.017Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-09-19T09:25:09.017Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T09:25:09.017Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-09-19T09:25:09.017Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T09:25:09.017Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T09:25:09.017Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T09:25:09.017Z] Executing busybox-1.36.1-r7.trigger [2024-09-19T09:25:09.017Z] Executing ca-certificates-20240226-r0.trigger [2024-09-19T09:25:09.017Z] OK: 331 MiB in 90 packages [2024-09-19T09:25:09.953Z] Removing intermediate container f384f5fcccc7 [2024-09-19T09:25:09.953Z] ---> 55b00ce5f369 [2024-09-19T09:25:09.953Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-09-19T09:25:10.211Z] ---> a6824c90566a [2024-09-19T09:25:10.211Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-09-19T09:25:10.211Z] ---> 49546b518f3f [2024-09-19T09:25:10.211Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-09-19T09:25:10.470Z] ---> 1a175054c343 [2024-09-19T09:25:10.470Z] Successfully built 1a175054c343 [2024-09-19T09:25:10.470Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T09:25:10.884Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-19T09:25:10.884Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T09:25:10.967Z] prd-ubuntu20.04-docker-8c-8g-10678 does not seem to be running inside a container [2024-09-19T09:25:10.992Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@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-09-19T09:25:11.332Z] $ docker top 1640da2fce6c6eb1b8a31334706ff17ab8c4fa01c76f7d461b4db21de12c9f38 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-19T09:25:11.683Z] + make test [2024-09-19T09:25:11.683Z] echo "make test" [2024-09-19T09:25:11.683Z] make test [Pipeline] } [2024-09-19T09:25:11.691Z] $ docker stop --time=1 1640da2fce6c6eb1b8a31334706ff17ab8c4fa01c76f7d461b4db21de12c9f38 [2024-09-19T09:25:12.956Z] $ docker rm -f --volumes 1640da2fce6c6eb1b8a31334706ff17ab8c4fa01c76f7d461b4db21de12c9f38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-19T09:25:13.667Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-19T09:25:13.964Z] + ls -al . [2024-09-19T09:25:13.964Z] total 212 [2024-09-19T09:25:13.964Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 09:24 . [2024-09-19T09:25:13.964Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 09:24 .. [2024-09-19T09:25:13.964Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 09:24 .git [2024-09-19T09:25:13.964Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 09:24 .github [2024-09-19T09:25:13.964Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 19 09:24 .gitignore [2024-09-19T09:25:13.964Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 09:24 .semver [2024-09-19T09:25:13.964Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 19 09:24 Attribution.txt [2024-09-19T09:25:13.964Z] -rw-rw-r-- 1 jenkins jenkins 11953 Sep 19 09:24 CHANGELOG.md [2024-09-19T09:25:13.964Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 19 09:24 Doxyfile [2024-09-19T09:25:13.964Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 09:24 GOVERNANCE.md [2024-09-19T09:25:13.964Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 19 09:24 Jenkinsfile [2024-09-19T09:25:13.964Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 19 09:24 LICENSE [2024-09-19T09:25:13.964Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 19 09:24 Makefile [2024-09-19T09:25:13.964Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 19 09:24 OWNERS.md [2024-09-19T09:25:13.964Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 19 09:24 README.IOT.md [2024-09-19T09:25:13.964Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 19 09:24 README.md [2024-09-19T09:25:13.964Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 19 09:24 README.v3.md [2024-09-19T09:25:13.964Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 09:24 VERSION [2024-09-19T09:25:13.964Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 09:24 docs [2024-09-19T09:25:13.964Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 09:24 include [2024-09-19T09:25:13.964Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 09:24 scripts [2024-09-19T09:25:13.964Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 09:24 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T09:25:14.283Z] + 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=4293b3e4a4a54949bffd9f429a4df609b362bd9b --label arch=amd64 --label version=0.0.0 . [2024-09-19T09:25:14.283Z] Sending build context to Docker daemon 5.237MB [2024-09-19T09:25:14.283Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-09-19T09:25:14.283Z] Step 2/18 : FROM ${BASE} [2024-09-19T09:25:14.283Z] ---> 1a175054c343 [2024-09-19T09:25:14.283Z] Step 3/18 : LABEL maintainer="IOTech " [2024-09-19T09:25:14.283Z] ---> Running in 66db6c8ed06e [2024-09-19T09:25:14.283Z] Removing intermediate container 66db6c8ed06e [2024-09-19T09:25:14.283Z] ---> ba28cff38a04 [2024-09-19T09:25:14.283Z] Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-19T09:25:14.543Z] ---> Running in 8a232de5027d [2024-09-19T09:25:14.805Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-19T09:25:15.065Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T09:25:15.065Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T09:25:15.065Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T09:25:15.325Z] Removing intermediate container 8a232de5027d [2024-09-19T09:25:15.325Z] ---> 87f70917f05c [2024-09-19T09:25:15.325Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T09:25:15.325Z] ---> Running in 37b31b88aa2f [2024-09-19T09:25:15.895Z] Removing intermediate container 37b31b88aa2f [2024-09-19T09:25:15.895Z] ---> 119740acb685 [2024-09-19T09:25:15.895Z] Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2024-09-19T09:25:15.895Z] ---> Running in 2bf2a3b3464b [2024-09-19T09:25:16.156Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T09:25:16.422Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T09:25:16.422Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T09:25:16.991Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T09:25:16.991Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-19T09:25:17.249Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-09-19T09:25:17.249Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-09-19T09:25:17.249Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-09-19T09:25:17.249Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-09-19T09:25:17.249Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-19T09:25:17.249Z] (7/11) Installing libblkid (2.38.1-r8) [2024-09-19T09:25:17.249Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-09-19T09:25:17.249Z] (9/11) Installing libmount (2.38.1-r8) [2024-09-19T09:25:17.249Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-09-19T09:25:17.249Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-09-19T09:25:17.249Z] Executing busybox-1.36.1-r7.trigger [2024-09-19T09:25:17.249Z] OK: 337 MiB in 101 packages [2024-09-19T09:25:17.819Z] Removing intermediate container 2bf2a3b3464b [2024-09-19T09:25:17.819Z] ---> 9ee487594ec4 [2024-09-19T09:25:17.819Z] Step 7/18 : RUN apk --no-cache upgrade [2024-09-19T09:25:17.819Z] ---> Running in df75db8eca68 [2024-09-19T09:25:18.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T09:25:18.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T09:25:18.338Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T09:25:18.906Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T09:25:18.906Z] OK: 337 MiB in 101 packages [2024-09-19T09:25:19.165Z] Removing intermediate container df75db8eca68 [2024-09-19T09:25:19.165Z] ---> e124d7236c81 [2024-09-19T09:25:19.165Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-09-19T09:25:19.165Z] ---> 32918f91c0f3 [2024-09-19T09:25:19.165Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-09-19T09:25:19.423Z] ---> 3d3ac8eb0ef0 [2024-09-19T09:25:19.423Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-09-19T09:25:19.423Z] ---> 97d835437863 [2024-09-19T09:25:19.423Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-09-19T09:25:19.682Z] ---> d8b1672e9789 [2024-09-19T09:25:19.682Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-09-19T09:25:19.682Z] ---> de091bcd324c [2024-09-19T09:25:19.682Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-09-19T09:25:19.682Z] ---> 92454b7bbd5e [2024-09-19T09:25:19.682Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-09-19T09:25:19.682Z] ---> Running in d4d4e13af288 [2024-09-19T09:25:19.949Z] Removing intermediate container d4d4e13af288 [2024-09-19T09:25:19.949Z] ---> 60578ad2f727 [2024-09-19T09:25:19.949Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-09-19T09:25:19.949Z] ---> Running in e5fff7cbbf64 [2024-09-19T09:25:19.949Z] Removing intermediate container e5fff7cbbf64 [2024-09-19T09:25:19.949Z] ---> 179b72d05f93 [2024-09-19T09:25:19.949Z] Step 16/18 : LABEL arch=amd64 [2024-09-19T09:25:19.949Z] ---> Running in 085d50d77da9 [2024-09-19T09:25:20.210Z] Removing intermediate container 085d50d77da9 [2024-09-19T09:25:20.210Z] ---> b06c0778b3bc [2024-09-19T09:25:20.210Z] Step 17/18 : LABEL git_sha=4293b3e4a4a54949bffd9f429a4df609b362bd9b [2024-09-19T09:25:20.210Z] ---> Running in ee208b529da7 [2024-09-19T09:25:20.210Z] Removing intermediate container ee208b529da7 [2024-09-19T09:25:20.210Z] ---> 96a973d627eb [2024-09-19T09:25:20.210Z] Step 18/18 : LABEL version=0.0.0 [2024-09-19T09:25:20.210Z] ---> Running in 4a0b8fe88844 [2024-09-19T09:25:20.210Z] Removing intermediate container 4a0b8fe88844 [2024-09-19T09:25:20.210Z] ---> 3c2b39864153 [2024-09-19T09:25:20.210Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-09-19T09:25:20.210Z] Successfully built 3c2b39864153 [2024-09-19T09:25:20.210Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T09:25:20.716Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-19T09:25:20.716Z] [2024-09-19T09:25:20.716Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T09:25:21.023Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-19T09:25:21.023Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-19T09:25:21.023Z] 5eb5b503b376: Pulling fs layer [2024-09-19T09:25:21.023Z] 5c69ac0246d0: Pulling fs layer [2024-09-19T09:25:21.023Z] ec43610c2a17: Pulling fs layer [2024-09-19T09:25:21.023Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-19T09:25:21.023Z] 33b1e0a273af: Pulling fs layer [2024-09-19T09:25:21.023Z] 5d3b04190fa2: Pulling fs layer [2024-09-19T09:25:21.023Z] 2f39f015ded8: Pulling fs layer [2024-09-19T09:25:21.023Z] 3a2ae6a8a46f: Waiting [2024-09-19T09:25:21.023Z] 33b1e0a273af: Waiting [2024-09-19T09:25:21.023Z] 5d3b04190fa2: Waiting [2024-09-19T09:25:21.023Z] 2f39f015ded8: Waiting [2024-09-19T09:25:21.023Z] 5c69ac0246d0: Verifying Checksum [2024-09-19T09:25:21.023Z] 5c69ac0246d0: Download complete [2024-09-19T09:25:21.023Z] 3a2ae6a8a46f: Verifying Checksum [2024-09-19T09:25:21.023Z] 3a2ae6a8a46f: Download complete [2024-09-19T09:25:21.023Z] 33b1e0a273af: Verifying Checksum [2024-09-19T09:25:21.023Z] 33b1e0a273af: Download complete [2024-09-19T09:25:21.023Z] 5d3b04190fa2: Verifying Checksum [2024-09-19T09:25:21.023Z] 5d3b04190fa2: Download complete [2024-09-19T09:25:21.023Z] ec43610c2a17: Verifying Checksum [2024-09-19T09:25:21.023Z] ec43610c2a17: Download complete [2024-09-19T09:25:21.283Z] 5eb5b503b376: Verifying Checksum [2024-09-19T09:25:21.283Z] 5eb5b503b376: Download complete [2024-09-19T09:25:21.850Z] 2f39f015ded8: Download complete [2024-09-19T09:25:22.417Z] 5eb5b503b376: Pull complete [2024-09-19T09:25:22.676Z] 5c69ac0246d0: Pull complete [2024-09-19T09:25:23.246Z] ec43610c2a17: Pull complete [2024-09-19T09:25:23.246Z] 3a2ae6a8a46f: Pull complete [2024-09-19T09:25:23.504Z] 33b1e0a273af: Pull complete [2024-09-19T09:25:23.504Z] 5d3b04190fa2: Pull complete [2024-09-19T09:25:27.691Z] 2f39f015ded8: Pull complete [2024-09-19T09:25:27.691Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-19T09:25:27.691Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-19T09:25:27.691Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T09:25:27.790Z] prd-ubuntu20.04-docker-8c-8g-10678 does not seem to be running inside a container [2024-09-19T09:25:27.819Z] $ 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-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@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-09-19T09:25:31.340Z] $ docker top 324f1e043f7cdd6cb4b8a6f52ca1a57a5c31bbca96cd155dcd67a9e8c1885287 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:25:31.747Z] ---> job-cost.sh [2024-09-19T09:25:31.747Z] lf-activate-venv: SKIPPING [2024-09-19T09:25:31.747Z] INFO: No Stack... [2024-09-19T09:25:32.315Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-19T09:25:32.575Z] INFO: Archiving Costs [Pipeline] sh [2024-09-19T09:25:32.860Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/cost.csv [2024-09-19T09:25:32.860Z] + cut -d, -f6 [Pipeline] lock [2024-09-19T09:25:32.874Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-6-stack-cost] [2024-09-19T09:25:32.884Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-6-stack-cost] did not exist. Created. [2024-09-19T09:25:32.892Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-19T09:25:33.201Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-19T09:25:33.241Z] Stashed 1 file(s) [Pipeline] } [2024-09-19T09:25:33.251Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-6-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-19T09:25:33.276Z] $ docker stop --time=1 324f1e043f7cdd6cb4b8a6f52ca1a57a5c31bbca96cd155dcd67a9e8c1885287 [2024-09-19T09:25:34.454Z] $ docker rm -f --volumes 324f1e043f7cdd6cb4b8a6f52ca1a57a5c31bbca96cd155dcd67a9e8c1885287 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-19T09:28:31.455Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10679 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [Pipeline] { [Pipeline] ws [2024-09-19T09:28:31.470Z] Running in /w/workspace/device-sdk-c/6 [Pipeline] { [Pipeline] checkout [2024-09-19T09:28:31.520Z] Selected Git installation does not exist. Using Default [2024-09-19T09:28:31.520Z] The recommended git tool is: NONE [2024-09-19T09:28:39.892Z] using credential edgex-jenkins-ssh [2024-09-19T09:28:39.921Z] Cloning the remote Git repository [2024-09-19T09:28:39.966Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-09-19T09:28:40.086Z] > git init /w/workspace/device-sdk-c/6 # timeout=10 [2024-09-19T09:28:40.276Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-09-19T09:28:40.277Z] > git --version # timeout=10 [2024-09-19T09:28:40.318Z] > git --version # 'git version 2.25.1' [2024-09-19T09:28:40.321Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-19T09:28:40.530Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-19T09:28:41.620Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-09-19T09:28:41.677Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-19T09:28:42.969Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-09-19T09:28:43.030Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-09-19T09:28:43.031Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-19T09:28:43.080Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-09-19T09:28:43.680Z] Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit 4293b3e4a4a54949bffd9f429a4df609b362bd9b [2024-09-19T09:28:44.083Z] Merge succeeded, producing 4293b3e4a4a54949bffd9f429a4df609b362bd9b [2024-09-19T09:28:44.084Z] Checking out Revision 4293b3e4a4a54949bffd9f429a4df609b362bd9b (PR-513) [2024-09-19T09:28:43.710Z] > git config core.sparsecheckout # timeout=10 [2024-09-19T09:28:43.789Z] > git checkout -f 4293b3e4a4a54949bffd9f429a4df609b362bd9b # timeout=10 [2024-09-19T09:28:43.911Z] > git remote # timeout=10 [2024-09-19T09:28:43.938Z] > git config --get remote.origin.url # timeout=10 [2024-09-19T09:28:43.985Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-19T09:28:44.023Z] > git merge b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 [2024-09-19T09:28:44.058Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-19T09:28:44.092Z] > git config core.sparsecheckout # timeout=10 [2024-09-19T09:28:44.108Z] > git checkout -f 4293b3e4a4a54949bffd9f429a4df609b362bd9b # timeout=10 [2024-09-19T09:28:47.884Z] Commit message: "feat: Update docs to mention Event publishing during discovery, updated template.c and discovery/template.c to allow compiling and provide an example of publishing an event" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-19T09:28:49.683Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-19T09:28:49.684Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-19T09:28:49.684Z] Dload Upload Total Spent Left Speed [2024-09-19T09:28:49.684Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 63192 0 --:--:-- --:--:-- --:--:-- 63504 [Pipeline] sh [2024-09-19T09:28:50.019Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-19T09:28:50.345Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-09-19T09:28:50.345Z] + sudo tee /etc/docker/daemon.new [2024-09-19T09:28:50.345Z] { [2024-09-19T09:28:50.345Z] "registry-mirrors": [ [2024-09-19T09:28:50.345Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-19T09:28:50.345Z] ], [2024-09-19T09:28:50.345Z] "bip": "10.250.0.254/24", [2024-09-19T09:28:50.345Z] "hosts": [ [2024-09-19T09:28:50.345Z] "tcp://0.0.0.0:5555", [2024-09-19T09:28:50.345Z] "unix:///var/run/docker.sock" [2024-09-19T09:28:50.345Z] ], [2024-09-19T09:28:50.345Z] "mtu": 1458, [2024-09-19T09:28:50.345Z] "selinux-enabled": true, [2024-09-19T09:28:50.345Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-19T09:28:50.345Z] } [Pipeline] sh [2024-09-19T09:28:50.677Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-19T09:28:51.008Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-19T09:29:09.272Z] provisioning config files... [2024-09-19T09:29:09.311Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/6@tmp/config5762103636027846302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:29:09.755Z] ---> ****-login.sh [2024-09-19T09:29:09.755Z] nexus3.edgexfoundry.org:10001 [2024-09-19T09:29:10.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:29:10.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:29:10.339Z] Configure a credential helper to remove this warning. See [2024-09-19T09:29:10.339Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:29:10.339Z] [2024-09-19T09:29:10.339Z] Login Succeeded [2024-09-19T09:29:10.339Z] nexus3.edgexfoundry.org:10002 [2024-09-19T09:29:10.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:29:10.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:29:10.609Z] Configure a credential helper to remove this warning. See [2024-09-19T09:29:10.609Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:29:10.609Z] [2024-09-19T09:29:10.609Z] Login Succeeded [2024-09-19T09:29:10.609Z] nexus3.edgexfoundry.org:10003 [2024-09-19T09:29:10.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:29:10.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:29:10.876Z] Configure a credential helper to remove this warning. See [2024-09-19T09:29:10.876Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:29:10.876Z] [2024-09-19T09:29:10.876Z] Login Succeeded [2024-09-19T09:29:11.147Z] nexus3.edgexfoundry.org:10004 [2024-09-19T09:29:11.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:29:11.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:29:11.417Z] Configure a credential helper to remove this warning. See [2024-09-19T09:29:11.417Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:29:11.417Z] [2024-09-19T09:29:11.417Z] Login Succeeded [2024-09-19T09:29:11.417Z] ****.io [2024-09-19T09:29:11.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:29:11.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:29:11.684Z] Configure a credential helper to remove this warning. See [2024-09-19T09:29:11.684Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:29:11.684Z] [2024-09-19T09:29:11.684Z] Login Succeeded [2024-09-19T09:29:11.684Z] ---> ****-login.sh ends [Pipeline] } [2024-09-19T09:29:11.696Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-19T09:29:12.006Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-19T09:29:12.026Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-09-19T09:29:12.041Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-19T09:29:12.060Z] ========================================================= [2024-09-19T09:29:12.060Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-09-19T09:29:12.060Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T09:29:12.406Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2024-09-19T09:29:12.681Z] Sending build context to Docker daemon 3.225MB [2024-09-19T09:29:12.948Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-09-19T09:29:12.948Z] Step 2/22 : FROM ${BASE} as builder [2024-09-19T09:29:12.948Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-09-19T09:29:12.948Z] 579b34f0a95b: Pulling fs layer [2024-09-19T09:29:12.948Z] e71477ac5e1b: Pulling fs layer [2024-09-19T09:29:13.215Z] 579b34f0a95b: Verifying Checksum [2024-09-19T09:29:13.215Z] 579b34f0a95b: Download complete [2024-09-19T09:29:13.821Z] 579b34f0a95b: Pull complete [2024-09-19T09:29:15.787Z] e71477ac5e1b: Verifying Checksum [2024-09-19T09:29:15.787Z] e71477ac5e1b: Download complete [2024-09-19T09:29:28.128Z] e71477ac5e1b: Pull complete [2024-09-19T09:29:28.128Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-09-19T09:29:28.128Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-09-19T09:29:28.128Z] ---> 2b552cad5dd9 [2024-09-19T09:29:28.128Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-19T09:29:28.129Z] ---> Running in 7601da014b83 [2024-09-19T09:29:28.713Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-09-19T09:29:29.295Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T09:29:29.295Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T09:29:29.295Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T09:29:30.259Z] Removing intermediate container 7601da014b83 [2024-09-19T09:29:30.259Z] ---> f32406cc3e9e [2024-09-19T09:29:30.259Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T09:29:30.259Z] ---> Running in 91e99bb17221 [2024-09-19T09:29:31.683Z] Removing intermediate container 91e99bb17221 [2024-09-19T09:29:31.683Z] ---> 023935034701 [2024-09-19T09:29:31.683Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-09-19T09:29:31.683Z] ---> Running in 3e12c1fbc932 [2024-09-19T09:29:32.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T09:29:33.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T09:29:33.813Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T09:29:34.777Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T09:29:34.777Z] (1/17) Installing hiredis (1.1.0-r2) [2024-09-19T09:29:34.777Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-09-19T09:29:34.777Z] (3/17) Installing libcbor (0.10.2-r1) [2024-09-19T09:29:34.777Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-19T09:29:35.742Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-19T09:29:35.742Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-19T09:29:36.008Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-09-19T09:29:36.008Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-09-19T09:29:36.008Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-09-19T09:29:36.008Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-09-19T09:29:36.008Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-19T09:29:36.008Z] (12/17) Installing libblkid (2.38.1-r8) [2024-09-19T09:29:36.008Z] (13/17) Installing libuuid (2.38.1-r8) [2024-09-19T09:29:36.008Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-09-19T09:29:36.008Z] (15/17) Installing libmount (2.38.1-r8) [2024-09-19T09:29:36.008Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-09-19T09:29:36.008Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-09-19T09:29:36.275Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T09:29:36.275Z] OK: 333 MiB in 99 packages [2024-09-19T09:29:37.683Z] Removing intermediate container 3e12c1fbc932 [2024-09-19T09:29:37.683Z] ---> bbffede7eaee [2024-09-19T09:29:37.683Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-09-19T09:29:37.683Z] ---> Running in 65a10b79af56 [2024-09-19T09:29:39.630Z] Removing intermediate container 65a10b79af56 [2024-09-19T09:29:39.630Z] ---> 274c127dd21b [2024-09-19T09:29:39.630Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-09-19T09:29:39.630Z] ---> 2179ca77856a [2024-09-19T09:29:39.630Z] Step 8/22 : COPY src /tmp/sdk/src [2024-09-19T09:29:40.596Z] ---> 42ce50c4f4f2 [2024-09-19T09:29:40.596Z] Step 9/22 : COPY include /tmp/sdk/include [2024-09-19T09:29:41.189Z] ---> 2a6ef93039ec [2024-09-19T09:29:41.189Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-09-19T09:29:41.780Z] ---> 50c55ccf8210 [2024-09-19T09:29:41.780Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-09-19T09:29:42.747Z] ---> b2b4d1da05e9 [2024-09-19T09:29:42.747Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-09-19T09:29:43.026Z] ---> 482762343195 [2024-09-19T09:29:43.026Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-09-19T09:29:43.026Z] ---> Running in 43cec6d3262f [2024-09-19T09:29:44.458Z] + CPPCHECK=false [2024-09-19T09:29:44.458Z] + DOCGEN=false [2024-09-19T09:29:44.458Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-09-19T09:29:44.458Z] + '[' 0 -gt 0 ] [2024-09-19T09:29:44.458Z] + readlink -f ./scripts/build.sh [2024-09-19T09:29:44.458Z] + dirname /tmp/sdk/scripts/build.sh [2024-09-19T09:29:44.458Z] + dirname /tmp/sdk/scripts [2024-09-19T09:29:44.458Z] + ROOT=/tmp/sdk [2024-09-19T09:29:44.458Z] + cd /tmp/sdk [2024-09-19T09:29:44.458Z] + mkdir -p /tmp/sdk/build/release [2024-09-19T09:29:44.458Z] + cd /tmp/sdk/build/release [2024-09-19T09:29:44.458Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-09-19T09:29:44.458Z] -- The C compiler identification is GNU 12.2.1 [2024-09-19T09:29:44.728Z] -- Detecting C compiler ABI info [2024-09-19T09:29:44.996Z] -- Detecting C compiler ABI info - done [2024-09-19T09:29:44.996Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-19T09:29:44.996Z] -- Detecting C compile features [2024-09-19T09:29:44.996Z] -- Detecting C compile features - done [2024-09-19T09:29:44.996Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-19T09:29:45.279Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-19T09:29:45.279Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-19T09:29:45.279Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-19T09:29:45.279Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-19T09:29:45.279Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-19T09:29:45.279Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-19T09:29:45.568Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-19T09:29:45.568Z] -- /opt/iotech/iot/1.5/include [2024-09-19T09:29:45.568Z] -- C SDK 0.0.0 for Linux [2024-09-19T09:29:45.568Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-19T09:29:45.839Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-19T09:29:46.107Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-19T09:29:46.107Z] -- Configuring done (2.0s) [2024-09-19T09:29:46.375Z] -- Generating done (0.3s) [2024-09-19T09:29:46.653Z] -- Build files have been written to: /tmp/sdk/build/release [2024-09-19T09:29:46.653Z] + make all package [2024-09-19T09:29:46.653Z] + tee release.log [2024-09-19T09:29:46.653Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-19T09:29:47.615Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-19T09:29:48.588Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-19T09:29:49.182Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-19T09:29:50.148Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-19T09:29:50.731Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-19T09:29:53.329Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-19T09:29:53.918Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-09-19T09:29:53.918Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T09:29:53.918Z] 294 | while (privateConfig) [2024-09-19T09:29:53.918Z] | ^~~~~~~~~~~~~ [2024-09-19T09:29:53.918Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-09-19T09:29:53.918Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-19T09:29:53.918Z] | ^~~~~~~~~~~~~ [2024-09-19T09:29:53.918Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T09:29:53.918Z] 271 | while (result) [2024-09-19T09:29:53.918Z] | ^~~~~~ [2024-09-19T09:29:53.918Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-09-19T09:29:53.918Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-19T09:29:53.918Z] | ^~~~~~ [2024-09-19T09:29:54.504Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-19T09:29:54.773Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-19T09:29:55.737Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-19T09:29:58.323Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-19T09:29:58.591Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-19T09:29:59.554Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-19T09:30:00.516Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-19T09:30:01.103Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-19T09:30:02.527Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-19T09:30:02.527Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-19T09:30:05.119Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-19T09:30:05.706Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-19T09:30:06.293Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-19T09:30:08.250Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-19T09:30:16.501Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-19T09:30:17.086Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-19T09:30:17.355Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-19T09:30:18.321Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-19T09:30:18.590Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-19T09:30:20.538Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-19T09:30:22.492Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-19T09:30:23.079Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-19T09:30:24.047Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-19T09:30:24.632Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-19T09:30:24.900Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-19T09:30:24.900Z] /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T09:30:24.900Z] 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-19T09:30:24.900Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T09:30:24.900Z] /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T09:30:24.900Z] 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-19T09:30:24.900Z] | ^ [2024-09-19T09:30:26.848Z] /tmp/sdk/src/c/service.c:1047:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T09:30:26.848Z] 1047 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-09-19T09:30:26.848Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T09:30:26.848Z] /tmp/sdk/src/c/service.c:859:68: note: 'deviceservices_config' was declared here [2024-09-19T09:30:26.848Z] 859 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-09-19T09:30:26.848Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-09-19T09:30:28.262Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-19T09:30:28.855Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-19T09:30:29.441Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-19T09:30:30.045Z] [ 68%] Linking C shared library libcsdk.so [2024-09-19T09:30:30.314Z] [ 68%] Built target csdk [2024-09-19T09:30:30.314Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-19T09:30:31.283Z] [ 72%] Linking C executable template [2024-09-19T09:30:31.894Z] [ 72%] Built target template [2024-09-19T09:30:31.894Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-19T09:30:32.856Z] [ 76%] Linking C executable device-counter [2024-09-19T09:30:33.124Z] [ 76%] Built target device-counter [2024-09-19T09:30:33.124Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-19T09:30:33.711Z] [ 80%] Linking C executable device-random [2024-09-19T09:30:34.298Z] [ 80%] Built target device-random [2024-09-19T09:30:34.298Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-19T09:30:34.885Z] [ 84%] Linking C executable device-gyro [2024-09-19T09:30:35.472Z] [ 84%] Built target device-gyro [2024-09-19T09:30:35.473Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-19T09:30:36.067Z] [ 88%] Linking C executable device-bitfields [2024-09-19T09:30:36.652Z] [ 88%] Built target device-bitfields [2024-09-19T09:30:36.652Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-19T09:30:37.616Z] [ 92%] Linking C executable template-discovery [2024-09-19T09:30:38.204Z] [ 92%] Built target template-discovery [2024-09-19T09:30:38.204Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-19T09:30:39.172Z] [ 96%] Linking C executable device-file [2024-09-19T09:30:39.442Z] [ 96%] Built target device-file [2024-09-19T09:30:39.709Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-19T09:30:40.293Z] [100%] Linking C executable device-terminal [2024-09-19T09:30:40.876Z] [100%] Built target device-terminal [2024-09-19T09:30:40.876Z] Run CPack packaging tool... [2024-09-19T09:30:40.876Z] CPack: Create package using TGZ [2024-09-19T09:30:40.876Z] CPack: Install projects [2024-09-19T09:30:40.876Z] CPack: - Run preinstall target for: Csdk [2024-09-19T09:30:41.840Z] CPack: - Install project: Csdk [] [2024-09-19T09:30:41.840Z] CPack: Create package [2024-09-19T09:30:42.107Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-09-19T09:30:42.107Z] + '[' false '=' true ] [2024-09-19T09:30:42.107Z] + '[' false '=' true ] [2024-09-19T09:30:42.107Z] + mkdir -p /tmp/sdk/build/debug [2024-09-19T09:30:42.107Z] + cd /tmp/sdk/build/debug [2024-09-19T09:30:42.107Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-09-19T09:30:42.376Z] -- The C compiler identification is GNU 12.2.1 [2024-09-19T09:30:42.376Z] -- Detecting C compiler ABI info [2024-09-19T09:30:42.968Z] -- Detecting C compiler ABI info - done [2024-09-19T09:30:42.968Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-19T09:30:42.968Z] -- Detecting C compile features [2024-09-19T09:30:42.968Z] -- Detecting C compile features - done [2024-09-19T09:30:42.968Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-19T09:30:43.239Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-19T09:30:43.239Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-19T09:30:43.239Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-19T09:30:43.239Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-19T09:30:43.239Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-19T09:30:43.239Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-19T09:30:43.239Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-19T09:30:43.239Z] -- /opt/iotech/iot/1.5/include [2024-09-19T09:30:43.239Z] -- C SDK 0.0.0 for Linux [2024-09-19T09:30:43.239Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-19T09:30:43.509Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-19T09:30:43.779Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-19T09:30:44.048Z] -- Configuring done (1.9s) [2024-09-19T09:30:44.316Z] -- Generating done (0.3s) [2024-09-19T09:30:44.316Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-09-19T09:30:44.316Z] + make [2024-09-19T09:30:44.316Z] + tee debug.log [2024-09-19T09:30:44.316Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-19T09:30:44.902Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-19T09:30:45.169Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-19T09:30:45.876Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-19T09:30:46.149Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-19T09:30:46.754Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-19T09:30:47.350Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-19T09:30:47.972Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-19T09:30:48.244Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-19T09:30:48.513Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-19T09:30:49.477Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-19T09:30:49.744Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-19T09:30:50.011Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-19T09:30:50.597Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-19T09:30:50.865Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-19T09:30:51.135Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-19T09:30:51.404Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-19T09:30:52.375Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-19T09:30:52.640Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-19T09:30:52.907Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-19T09:30:53.488Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-19T09:30:54.897Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-19T09:30:55.163Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-19T09:30:55.438Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-19T09:30:55.707Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-19T09:30:55.972Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-19T09:30:56.559Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-19T09:30:57.969Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-19T09:30:58.238Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-19T09:30:58.819Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-19T09:30:59.086Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-19T09:30:59.354Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-19T09:30:59.354Z] /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T09:30:59.354Z] 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-19T09:30:59.354Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T09:30:59.354Z] /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T09:30:59.354Z] 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-19T09:30:59.354Z] | ^ [2024-09-19T09:31:00.314Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-19T09:31:00.589Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-19T09:31:00.856Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-19T09:31:01.123Z] [ 68%] Linking C shared library libcsdk.so [2024-09-19T09:31:01.390Z] [ 68%] Built target csdk [2024-09-19T09:31:01.390Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-19T09:31:01.973Z] [ 72%] Linking C executable template [2024-09-19T09:31:02.240Z] [ 72%] Built target template [2024-09-19T09:31:02.240Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-19T09:31:02.828Z] [ 76%] Linking C executable device-counter [2024-09-19T09:31:03.097Z] [ 76%] Built target device-counter [2024-09-19T09:31:03.097Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-19T09:31:03.365Z] [ 80%] Linking C executable device-random [2024-09-19T09:31:03.953Z] [ 80%] Built target device-random [2024-09-19T09:31:03.953Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-19T09:31:04.537Z] [ 84%] Linking C executable device-gyro [2024-09-19T09:31:04.802Z] [ 84%] Built target device-gyro [2024-09-19T09:31:04.802Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-19T09:31:05.384Z] [ 88%] Linking C executable device-bitfields [2024-09-19T09:31:05.648Z] [ 88%] Built target device-bitfields [2024-09-19T09:31:05.913Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-19T09:31:06.177Z] [ 92%] Linking C executable template-discovery [2024-09-19T09:31:06.769Z] [ 92%] Built target template-discovery [2024-09-19T09:31:06.769Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-19T09:31:07.034Z] [ 96%] Linking C executable device-file [2024-09-19T09:31:07.617Z] [ 96%] Built target device-file [2024-09-19T09:31:07.617Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-19T09:31:07.882Z] [100%] Linking C executable device-terminal [2024-09-19T09:31:08.462Z] [100%] Built target device-terminal [2024-09-19T09:31:08.462Z] make: Entering directory '/tmp/sdk/build/release' [2024-09-19T09:31:08.729Z] [ 68%] Built target csdk [2024-09-19T09:31:08.729Z] [ 72%] Built target template [2024-09-19T09:31:08.729Z] [ 76%] Built target device-counter [2024-09-19T09:31:08.729Z] [ 80%] Built target device-random [2024-09-19T09:31:08.994Z] [ 84%] Built target device-gyro [2024-09-19T09:31:08.994Z] [ 88%] Built target device-bitfields [2024-09-19T09:31:08.994Z] [ 92%] Built target template-discovery [2024-09-19T09:31:08.994Z] [ 96%] Built target device-file [2024-09-19T09:31:08.994Z] [100%] Built target device-terminal [2024-09-19T09:31:09.262Z] Install the project... [2024-09-19T09:31:09.262Z] -- Install configuration: "Release" [2024-09-19T09:31:09.262Z] -- Installing: /usr/local/lib/libcsdk.so [2024-09-19T09:31:09.262Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-09-19T09:31:09.262Z] -- Installing: /usr/local/include [2024-09-19T09:31:09.262Z] -- Installing: /usr/local/include/devsdk [2024-09-19T09:31:09.262Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-09-19T09:31:09.262Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-09-19T09:31:09.262Z] -- Installing: /usr/local/include/edgex [2024-09-19T09:31:09.262Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-09-19T09:31:09.262Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-09-19T09:31:09.262Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-09-19T09:31:09.262Z] -- Installing: /usr/local/include/edgex/devices.h [2024-09-19T09:31:09.262Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-09-19T09:31:09.262Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-09-19T09:31:09.262Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-09-19T09:31:09.262Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-09-19T09:31:09.262Z] make: Leaving directory '/tmp/sdk/build/release' [2024-09-19T09:31:10.674Z] Removing intermediate container 43cec6d3262f [2024-09-19T09:31:10.674Z] ---> 32d311be3407 [2024-09-19T09:31:10.674Z] Step 14/22 : FROM ${BASE} [2024-09-19T09:31:10.674Z] ---> 2b552cad5dd9 [2024-09-19T09:31:10.674Z] Step 15/22 : LABEL maintainer="IOTech " [2024-09-19T09:31:10.674Z] ---> Running in e5102cf912fd [2024-09-19T09:31:10.944Z] Removing intermediate container e5102cf912fd [2024-09-19T09:31:10.944Z] ---> 19c4ecbe5074 [2024-09-19T09:31:10.944Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-19T09:31:11.223Z] ---> Running in d69e9d3f19a0 [2024-09-19T09:31:12.187Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-19T09:31:12.774Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T09:31:12.774Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T09:31:12.774Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T09:31:13.358Z] Removing intermediate container d69e9d3f19a0 [2024-09-19T09:31:13.358Z] ---> adac64c15b10 [2024-09-19T09:31:13.358Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T09:31:13.358Z] ---> Running in ee17583afc3f [2024-09-19T09:31:15.317Z] Removing intermediate container ee17583afc3f [2024-09-19T09:31:15.317Z] ---> 6fa06dbca68d [2024-09-19T09:31:15.317Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init [2024-09-19T09:31:15.317Z] ---> Running in 307b29fbd37f [2024-09-19T09:31:16.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T09:31:16.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T09:31:17.454Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T09:31:18.410Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T09:31:18.410Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) [2024-09-19T09:31:18.410Z] (2/10) Installing curl (8.9.1-r0) [2024-09-19T09:31:18.410Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) [2024-09-19T09:31:18.410Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-09-19T09:31:18.410Z] (5/10) Installing hiredis (1.1.0-r2) [2024-09-19T09:31:18.410Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-09-19T09:31:18.410Z] (7/10) Installing libcbor (0.10.2-r1) [2024-09-19T09:31:18.410Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-19T09:31:18.992Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-19T09:31:19.264Z] (10/10) Installing libuuid (2.38.1-r8) [2024-09-19T09:31:19.264Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T09:31:19.264Z] OK: 328 MiB in 90 packages [2024-09-19T09:31:20.677Z] Removing intermediate container 307b29fbd37f [2024-09-19T09:31:20.677Z] ---> 47ba11b85c04 [2024-09-19T09:31:20.677Z] Step 19/22 : RUN apk --no-cache upgrade [2024-09-19T09:31:20.677Z] ---> Running in f86e885bd01b [2024-09-19T09:31:21.632Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T09:31:21.898Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T09:31:22.482Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T09:31:23.439Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T09:31:23.439Z] Upgrading critical system libraries and apk-tools: [2024-09-19T09:31:23.439Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-09-19T09:31:23.439Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T09:31:23.707Z] Continuing the upgrade transaction with new apk-tools: [2024-09-19T09:31:23.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T09:31:23.976Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T09:31:24.559Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T09:31:25.524Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T09:31:25.524Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T09:31:25.524Z] Executing busybox-1.36.1-r7.post-upgrade [2024-09-19T09:31:25.524Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T09:31:25.524Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-09-19T09:31:25.524Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T09:31:25.792Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T09:31:25.792Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T09:31:25.792Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-09-19T09:31:25.792Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) [2024-09-19T09:31:25.792Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-09-19T09:31:25.792Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T09:31:26.060Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-09-19T09:31:26.656Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T09:31:26.656Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T09:31:26.656Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T09:31:26.927Z] Executing busybox-1.36.1-r7.trigger [2024-09-19T09:31:26.927Z] Executing ca-certificates-20240226-r0.trigger [2024-09-19T09:31:26.927Z] OK: 328 MiB in 90 packages [2024-09-19T09:31:28.894Z] Removing intermediate container f86e885bd01b [2024-09-19T09:31:28.894Z] ---> 550549ec27ea [2024-09-19T09:31:28.894Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-09-19T09:31:29.475Z] ---> 9fb3092619ca [2024-09-19T09:31:29.475Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-09-19T09:31:30.061Z] ---> 4078b76bb6cd [2024-09-19T09:31:30.061Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-09-19T09:31:30.643Z] ---> 08269c297501 [2024-09-19T09:31:30.643Z] Successfully built 08269c297501 [2024-09-19T09:31:30.643Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T09:31:31.112Z] + docker inspect -f . ci-base-image-arm64 [2024-09-19T09:31:31.113Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T09:31:31.410Z] prd-ubuntu20.04-docker-arm64-4c-16g-10679 does not seem to be running inside a container [2024-09-19T09:31:31.469Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@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-09-19T09:31:32.720Z] $ docker top 85d1cd60ac3fab8c93367247193743ee01977e7a8f1b18f35c2e1b677d450f78 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-19T09:31:33.559Z] + make test [2024-09-19T09:31:33.559Z] echo "make test" [2024-09-19T09:31:33.559Z] make test [Pipeline] } [2024-09-19T09:31:33.575Z] $ docker stop --time=1 85d1cd60ac3fab8c93367247193743ee01977e7a8f1b18f35c2e1b677d450f78 [2024-09-19T09:31:35.576Z] $ docker rm -f --volumes 85d1cd60ac3fab8c93367247193743ee01977e7a8f1b18f35c2e1b677d450f78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-19T09:31:36.159Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-19T09:31:36.476Z] + ls -al . [2024-09-19T09:31:36.476Z] total 208 [2024-09-19T09:31:36.476Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 09:28 . [2024-09-19T09:31:36.476Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 09:28 .. [2024-09-19T09:31:36.476Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 09:28 .git [2024-09-19T09:31:36.476Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 09:28 .github [2024-09-19T09:31:36.476Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 19 09:28 .gitignore [2024-09-19T09:31:36.476Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 19 09:28 Attribution.txt [2024-09-19T09:31:36.476Z] -rw-rw-r-- 1 jenkins jenkins 11953 Sep 19 09:28 CHANGELOG.md [2024-09-19T09:31:36.476Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 19 09:28 Doxyfile [2024-09-19T09:31:36.476Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 09:28 GOVERNANCE.md [2024-09-19T09:31:36.476Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 19 09:28 Jenkinsfile [2024-09-19T09:31:36.476Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 19 09:28 LICENSE [2024-09-19T09:31:36.476Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 19 09:28 Makefile [2024-09-19T09:31:36.476Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 19 09:28 OWNERS.md [2024-09-19T09:31:36.476Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 19 09:28 README.IOT.md [2024-09-19T09:31:36.476Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 19 09:28 README.md [2024-09-19T09:31:36.476Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 19 09:28 README.v3.md [2024-09-19T09:31:36.476Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 09:24 VERSION [2024-09-19T09:31:36.476Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 09:28 docs [2024-09-19T09:31:36.476Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 09:28 include [2024-09-19T09:31:36.476Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 09:28 scripts [2024-09-19T09:31:36.476Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 09:28 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T09:31:36.824Z] + 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=4293b3e4a4a54949bffd9f429a4df609b362bd9b --label arch=arm64 --label version=0.0.0 . [2024-09-19T09:31:37.411Z] Sending build context to Docker daemon 3.225MB [2024-09-19T09:31:37.411Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-09-19T09:31:37.411Z] Step 2/18 : FROM ${BASE} [2024-09-19T09:31:37.411Z] ---> 08269c297501 [2024-09-19T09:31:37.411Z] Step 3/18 : LABEL maintainer="IOTech " [2024-09-19T09:31:37.411Z] ---> Running in 16298405d47f [2024-09-19T09:31:37.686Z] Removing intermediate container 16298405d47f [2024-09-19T09:31:37.686Z] ---> 287df6891381 [2024-09-19T09:31:37.686Z] Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-19T09:31:37.686Z] ---> Running in dc88c7ef9742 [2024-09-19T09:31:38.647Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-19T09:31:39.231Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T09:31:39.231Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T09:31:39.231Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T09:31:40.196Z] Removing intermediate container dc88c7ef9742 [2024-09-19T09:31:40.196Z] ---> 69de822e5bd2 [2024-09-19T09:31:40.196Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T09:31:40.196Z] ---> Running in 8adcb1ffe8dc [2024-09-19T09:31:41.607Z] Removing intermediate container 8adcb1ffe8dc [2024-09-19T09:31:41.607Z] ---> 6ae996755d7b [2024-09-19T09:31:41.607Z] Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2024-09-19T09:31:41.880Z] ---> Running in 826326018f52 [2024-09-19T09:31:42.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T09:31:43.109Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T09:31:43.695Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T09:31:44.655Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T09:31:44.655Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-19T09:31:44.923Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-09-19T09:31:44.923Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-09-19T09:31:44.923Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-09-19T09:31:44.923Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-09-19T09:31:44.923Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-19T09:31:44.923Z] (7/11) Installing libblkid (2.38.1-r8) [2024-09-19T09:31:44.923Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-09-19T09:31:44.923Z] (9/11) Installing libmount (2.38.1-r8) [2024-09-19T09:31:44.923Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-09-19T09:31:44.923Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-09-19T09:31:45.191Z] Executing busybox-1.36.1-r7.trigger [2024-09-19T09:31:45.191Z] OK: 334 MiB in 101 packages [2024-09-19T09:31:47.147Z] Removing intermediate container 826326018f52 [2024-09-19T09:31:47.147Z] ---> 09a429267aaf [2024-09-19T09:31:47.147Z] Step 7/18 : RUN apk --no-cache upgrade [2024-09-19T09:31:47.147Z] ---> Running in 60b50c1ca737 [2024-09-19T09:31:48.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T09:31:48.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T09:31:48.687Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T09:31:49.646Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T09:31:49.646Z] OK: 334 MiB in 101 packages [2024-09-19T09:31:50.229Z] Removing intermediate container 60b50c1ca737 [2024-09-19T09:31:50.229Z] ---> b5a06d74f1ab [2024-09-19T09:31:50.229Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-09-19T09:31:50.810Z] ---> 1a755e856bbd [2024-09-19T09:31:50.810Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-09-19T09:31:51.770Z] ---> 051da80d0889 [2024-09-19T09:31:51.770Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-09-19T09:31:52.035Z] ---> 0280018498ae [2024-09-19T09:31:52.035Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-09-19T09:31:52.616Z] ---> cd113234c0e3 [2024-09-19T09:31:52.616Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-09-19T09:31:52.882Z] ---> 2b1df70c9259 [2024-09-19T09:31:52.882Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-09-19T09:31:53.462Z] ---> 88293eb26ae6 [2024-09-19T09:31:53.462Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-09-19T09:31:53.462Z] ---> Running in 93e66129dbfd [2024-09-19T09:31:53.727Z] Removing intermediate container 93e66129dbfd [2024-09-19T09:31:53.727Z] ---> 743cb8e5babc [2024-09-19T09:31:53.727Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-09-19T09:31:53.727Z] ---> Running in b9bad42b2ecf [2024-09-19T09:31:53.991Z] Removing intermediate container b9bad42b2ecf [2024-09-19T09:31:53.991Z] ---> 8024aa08be0e [2024-09-19T09:31:53.991Z] Step 16/18 : LABEL arch=arm64 [2024-09-19T09:31:54.255Z] ---> Running in 5da0e4225242 [2024-09-19T09:31:54.521Z] Removing intermediate container 5da0e4225242 [2024-09-19T09:31:54.521Z] ---> ca194fffd546 [2024-09-19T09:31:54.521Z] Step 17/18 : LABEL git_sha=4293b3e4a4a54949bffd9f429a4df609b362bd9b [2024-09-19T09:31:54.521Z] ---> Running in dad25056ff6e [2024-09-19T09:31:54.786Z] Removing intermediate container dad25056ff6e [2024-09-19T09:31:54.786Z] ---> eeeb3b0fac20 [2024-09-19T09:31:54.786Z] Step 18/18 : LABEL version=0.0.0 [2024-09-19T09:31:54.786Z] ---> Running in dc3b8ac814dd [2024-09-19T09:31:55.051Z] Removing intermediate container dc3b8ac814dd [2024-09-19T09:31:55.051Z] ---> fd901c228029 [2024-09-19T09:31:55.051Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-09-19T09:31:55.316Z] Successfully built fd901c228029 [2024-09-19T09:31:55.316Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T09:31:55.796Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-19T09:31:55.796Z] [2024-09-19T09:31:55.797Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T09:31:56.136Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-19T09:31:56.136Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-19T09:31:56.136Z] 8998bd30e6a1: Pulling fs layer [2024-09-19T09:31:56.136Z] 04944245beec: Pulling fs layer [2024-09-19T09:31:56.136Z] 699f458cf7ca: Pulling fs layer [2024-09-19T09:31:56.136Z] 765212b225bb: Pulling fs layer [2024-09-19T09:31:56.136Z] f23df028b6ca: Pulling fs layer [2024-09-19T09:31:56.136Z] d65c8cfc05b1: Pulling fs layer [2024-09-19T09:31:56.136Z] 2437ff75d9bd: Pulling fs layer [2024-09-19T09:31:56.403Z] f23df028b6ca: Waiting [2024-09-19T09:31:56.403Z] d65c8cfc05b1: Waiting [2024-09-19T09:31:56.403Z] 765212b225bb: Waiting [2024-09-19T09:31:56.403Z] 2437ff75d9bd: Waiting [2024-09-19T09:31:56.403Z] 04944245beec: Verifying Checksum [2024-09-19T09:31:56.403Z] 04944245beec: Download complete [2024-09-19T09:31:56.403Z] 765212b225bb: Verifying Checksum [2024-09-19T09:31:56.403Z] 765212b225bb: Download complete [2024-09-19T09:31:56.403Z] f23df028b6ca: Download complete [2024-09-19T09:31:56.403Z] d65c8cfc05b1: Verifying Checksum [2024-09-19T09:31:56.403Z] d65c8cfc05b1: Download complete [2024-09-19T09:31:56.668Z] 699f458cf7ca: Verifying Checksum [2024-09-19T09:31:56.668Z] 699f458cf7ca: Download complete [2024-09-19T09:31:56.934Z] 8998bd30e6a1: Verifying Checksum [2024-09-19T09:31:56.934Z] 8998bd30e6a1: Download complete [2024-09-19T09:31:59.610Z] 2437ff75d9bd: Verifying Checksum [2024-09-19T09:32:01.599Z] 8998bd30e6a1: Pull complete [2024-09-19T09:32:02.188Z] 04944245beec: Pull complete [2024-09-19T09:32:03.593Z] 699f458cf7ca: Pull complete [2024-09-19T09:32:03.593Z] 765212b225bb: Pull complete [2024-09-19T09:32:04.546Z] f23df028b6ca: Pull complete [2024-09-19T09:32:04.546Z] d65c8cfc05b1: Pull complete [2024-09-19T09:32:22.731Z] 2437ff75d9bd: Pull complete [2024-09-19T09:32:22.731Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-19T09:32:22.731Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-19T09:32:22.731Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T09:32:22.935Z] prd-ubuntu20.04-docker-arm64-4c-16g-10679 does not seem to be running inside a container [2024-09-19T09:32:22.990Z] $ 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/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@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-09-19T09:32:25.402Z] $ docker top e905e367d6ef1789ba1658581a8fecf8a6cd8e2b417496c68b6bc1dee10d28c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:32:25.892Z] ---> job-cost.sh [2024-09-19T09:32:26.156Z] lf-activate-venv: SKIPPING [2024-09-19T09:32:26.156Z] INFO: No Stack... [2024-09-19T09:32:26.733Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-19T09:32:27.310Z] INFO: Archiving Costs [Pipeline] sh [2024-09-19T09:32:27.627Z] + + cutcat -d, /w/workspace/device-sdk-c/6/archives/cost.csv -f6 [2024-09-19T09:32:27.627Z] [Pipeline] lock [2024-09-19T09:32:27.683Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-6-stack-cost] [2024-09-19T09:32:27.692Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-6-stack-cost] did not exist. Created. [2024-09-19T09:32:27.702Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-19T09:32:28.046Z] /w/workspace/device-sdk-c/6@tmp/durable-8f05f4e2/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-19T09:32:28.368Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-19T09:32:28.394Z] Warning: overwriting stash ‘stack-cost’ [2024-09-19T09:32:28.825Z] Stashed 1 file(s) [Pipeline] } [2024-09-19T09:32:28.837Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-6-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-19T09:32:28.869Z] $ docker stop --time=1 e905e367d6ef1789ba1658581a8fecf8a6cd8e2b417496c68b6bc1dee10d28c0 [2024-09-19T09:32:30.346Z] $ docker rm -f --volumes e905e367d6ef1789ba1658581a8fecf8a6cd8e2b417496c68b6bc1dee10d28c0 [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-09-19T09:32:31.222Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives ] [2024-09-19T09:32:31.222Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives [2024-09-19T09:32:31.222Z] total 16 [2024-09-19T09:32:31.222Z] drwxr-xr-x 3 root root 4096 Sep 19 09:25 . [2024-09-19T09:32:31.222Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 09:25 .. [2024-09-19T09:32:31.222Z] drwxr-xr-x 2 root root 4096 Sep 19 09:25 cost [2024-09-19T09:32:31.222Z] -rw-r--r-- 1 root root 84 Sep 19 09:25 cost.csv [2024-09-19T09:32:31.223Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives [2024-09-19T09:32:31.223Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives [2024-09-19T09:32:31.223Z] total 16 [2024-09-19T09:32:31.223Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 09:25 . [2024-09-19T09:32:31.223Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 09:25 .. [2024-09-19T09:32:31.223Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 09:25 cost [2024-09-19T09:32:31.223Z] -rw-r--r-- 1 jenkins jenkins 84 Sep 19 09:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:32:31.515Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:32:32.376Z] ---> package-listing.sh [2024-09-19T09:32:32.376Z] ++ facter osfamily [2024-09-19T09:32:32.376Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-19T09:32:32.635Z] + OS_FAMILY=debian [2024-09-19T09:32:32.635Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-513 [2024-09-19T09:32:32.635Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-19T09:32:32.635Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-19T09:32:32.635Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-19T09:32:32.635Z] + PACKAGES=/tmp/packages_start.txt [2024-09-19T09:32:32.635Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' [2024-09-19T09:32:32.635Z] + PACKAGES=/tmp/packages_end.txt [2024-09-19T09:32:32.635Z] + case "${OS_FAMILY}" in [2024-09-19T09:32:32.635Z] + dpkg -l [2024-09-19T09:32:32.635Z] + grep '^ii' [2024-09-19T09:32:32.635Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-19T09:32:32.635Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-19T09:32:32.635Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-19T09:32:32.635Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' [2024-09-19T09:32:32.635Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/ [2024-09-19T09:32:32.635Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/ [Pipeline] echo [2024-09-19T09:32:32.645Z] 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-513/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-09-19T09:32:32.922Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T09:32:33.495Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-19T09:32:33.495Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T09:32:33.581Z] prd-ubuntu20.04-docker-8c-8g-10678 does not seem to be running inside a container [2024-09-19T09:32:33.611Z] $ 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-513/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-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@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-09-19T09:32:33.795Z] $ docker top 31d70d635e499287145515cca10c781c5da2816ce35f878932e55942f7583113 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-19T09:32:34.148Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-19T09:32:34.436Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-19T09:32:34.724Z] + ls /var/log/sa-host [2024-09-19T09:32:34.724Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-19T09:32:34.813Z] provisioning config files... [2024-09-19T09:32:34.823Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config11042051625842877895tmp [Pipeline] { [Pipeline] echo [2024-09-19T09:32:34.855Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:32:35.143Z] ---> create-netrc.sh [Pipeline] } [2024-09-19T09:32:35.151Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:32:35.492Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-19T09:32:35.501Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:32:35.786Z] ---> sudo-logs.sh [2024-09-19T09:32:35.787Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-19T09:32:35.821Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:32:36.113Z] ---> job-cost.sh [2024-09-19T09:32:36.113Z] lf-activate-venv: SKIPPING [2024-09-19T09:32:36.113Z] DEBUG: total: 0.2199999988079071 [2024-09-19T09:32:36.113Z] INFO: Retrieving Stack Cost... [2024-09-19T09:32:36.371Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-19T09:32:36.630Z] INFO: Archiving Costs [Pipeline] echo [2024-09-19T09:32:36.656Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:32:36.939Z] ---> logs-deploy.sh [2024-09-19T09:32:36.939Z] lf-activate-venv: SKIPPING [2024-09-19T09:32:36.939Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-513/6 [2024-09-19T09:32:36.939Z] INFO: archiving workspace using pattern(s): [2024-09-19T09:32:37.874Z] Archives upload complete. [2024-09-19T09:32:37.875Z] INFO: archiving logs to Nexus