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 a7499e878299238b3c73abbb4e3a48a5a6fed8f0 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-ssh5644752398718486674.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-ssh15729775626925068121.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-ssh602432392617705313.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-ssh18439768244432335323.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-ssh10291562803988279365.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-10686 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 a7499e878299238b3c73abbb4e3a48a5a6fed8f0 Merge succeeded, producing a7499e878299238b3c73abbb4e3a48a5a6fed8f0 Checking out Revision a7499e878299238b3c73abbb4e3a48a5a6fed8f0 (PR-513) > git config core.sparsecheckout # timeout=10 > git checkout -f a7499e878299238b3c73abbb4e3a48a5a6fed8f0 # 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 a7499e878299238b3c73abbb4e3a48a5a6fed8f0 # timeout=10 Commit message: "feat: Updated parameters for deiscovery publish function, added function for generic system event publication" > git rev-list --no-walk 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-19T13:33:45.892Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-19T13:33:45.976Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-19T13:33:46.001Z] ========================================================= [2024-09-19T13:33:46.001Z] EdgeX Global Pipelines Version Info [2024-09-19T13:33:46.001Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-19T13:33:47.134Z] ------------------- [2024-09-19T13:33:47.134Z] stable info: [2024-09-19T13:33:47.134Z] ------------------- [2024-09-19T13:33:47.134Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-19T13:33:47.134Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-19T13:33:47.134Z] Message: update stable to v1.0.263 [2024-09-19T13:33:47.393Z] ------------------- [2024-09-19T13:33:47.393Z] experimental info: [2024-09-19T13:33:47.393Z] ------------------- [2024-09-19T13:33:47.393Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-19T13:33:47.393Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-19T13:33:47.393Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-19T13:33:47.472Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-09-19T13:33:47.492Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-09-19T13:33:47.514Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-19T13:33:47.532Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-19T13:33:47.550Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-19T13:33:47.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-09-19T13:33:47.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-09-19T13:33:47.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-19T13:33:47.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-19T13:33:47.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-09-19T13:33:47.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-19T13:33:47.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-19T13:33:47.710Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-19T13:33:47.735Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-09-19T13:33:47.754Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-19T13:33:47.776Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-19T13:33:47.795Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-19T13:33:47.816Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-513 [Pipeline] echo [2024-09-19T13:33:47.837Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-513 [Pipeline] echo [2024-09-19T13:33:47.861Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-513 [Pipeline] echo [2024-09-19T13:33:47.880Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a7499e878299238b3c73abbb4e3a48a5a6fed8f0 [Pipeline] echo [2024-09-19T13:33:47.899Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a7499e8 [Pipeline] echo [2024-09-19T13:33:47.924Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-19T13:33:47.984Z] provisioning config files... [2024-09-19T13:33:47.996Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config5645057244183818102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T13:33:48.326Z] ---> ****-login.sh [2024-09-19T13:33:48.326Z] nexus3.edgexfoundry.org:10001 [2024-09-19T13:33:48.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T13:33:48.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T13:33:48.846Z] Configure a credential helper to remove this warning. See [2024-09-19T13:33:48.846Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T13:33:48.846Z] [2024-09-19T13:33:48.846Z] Login Succeeded [2024-09-19T13:33:48.846Z] nexus3.edgexfoundry.org:10002 [2024-09-19T13:33:48.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T13:33:49.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T13:33:49.106Z] Configure a credential helper to remove this warning. See [2024-09-19T13:33:49.106Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T13:33:49.106Z] [2024-09-19T13:33:49.106Z] Login Succeeded [2024-09-19T13:33:49.106Z] nexus3.edgexfoundry.org:10003 [2024-09-19T13:33:49.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T13:33:49.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T13:33:49.107Z] Configure a credential helper to remove this warning. See [2024-09-19T13:33:49.107Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T13:33:49.107Z] [2024-09-19T13:33:49.107Z] Login Succeeded [2024-09-19T13:33:49.107Z] nexus3.edgexfoundry.org:10004 [2024-09-19T13:33:49.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T13:33:49.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T13:33:49.107Z] Configure a credential helper to remove this warning. See [2024-09-19T13:33:49.107Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T13:33:49.107Z] [2024-09-19T13:33:49.107Z] Login Succeeded [2024-09-19T13:33:49.107Z] ****.io [2024-09-19T13:33:49.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T13:33:49.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T13:33:49.368Z] Configure a credential helper to remove this warning. See [2024-09-19T13:33:49.368Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T13:33:49.368Z] [2024-09-19T13:33:49.368Z] Login Succeeded [2024-09-19T13:33:49.368Z] ---> ****-login.sh ends [Pipeline] } [2024-09-19T13:33:49.375Z] 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-19T13:33:49.791Z] + git rev-list -1 --merges a7499e878299238b3c73abbb4e3a48a5a6fed8f0~1..a7499e878299238b3c73abbb4e3a48a5a6fed8f0 [Pipeline] echo [2024-09-19T13:33:49.820Z] -----------> git rev-list -1 --merges a7499e878299238b3c73abbb4e3a48a5a6fed8f0~1..a7499e878299238b3c73abbb4e3a48a5a6fed8f0 a7499e878299238b3c73abbb4e3a48a5a6fed8f0 [false] [Pipeline] sh [2024-09-19T13:33:50.115Z] + git log --format=format:%s -1 a7499e878299238b3c73abbb4e3a48a5a6fed8f0 [Pipeline] echo [2024-09-19T13:33:50.133Z] ========================================================= [2024-09-19T13:33:50.133Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-19T13:33:50.133Z] ========================================================= 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-19T13:33:50.577Z] + git rev-list -1 --merges a7499e878299238b3c73abbb4e3a48a5a6fed8f0~1..a7499e878299238b3c73abbb4e3a48a5a6fed8f0 [Pipeline] echo [2024-09-19T13:33:50.590Z] -----------> git rev-list -1 --merges a7499e878299238b3c73abbb4e3a48a5a6fed8f0~1..a7499e878299238b3c73abbb4e3a48a5a6fed8f0 a7499e878299238b3c73abbb4e3a48a5a6fed8f0 [false] [Pipeline] sh [2024-09-19T13:33:50.881Z] + git log --format=format:%s -1 a7499e878299238b3c73abbb4e3a48a5a6fed8f0 [Pipeline] echo [2024-09-19T13:33:50.896Z] ========================================================= [2024-09-19T13:33:50.896Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-19T13:33:50.896Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-09-19T13:33:51.341Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-19T13:33:51.341Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-19T13:33:51.341Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-19T13:33:51.341Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-19T13:33:51.341Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-19T13:33:51.341Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-19T13:33:51.341Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T13:33:51.784Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-19T13:33:51.784Z] [2024-09-19T13:33:51.784Z] 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-19T13:33:52.103Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-19T13:33:52.103Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-19T13:33:52.103Z] b85a868b505f: Pulling fs layer [2024-09-19T13:33:52.103Z] e2be974225ed: Pulling fs layer [2024-09-19T13:33:52.103Z] 339a4e72a1f5: Pulling fs layer [2024-09-19T13:33:52.103Z] 988bab9f4d93: Pulling fs layer [2024-09-19T13:33:52.103Z] 1469e6f7b9e6: Pulling fs layer [2024-09-19T13:33:52.103Z] eaf3925da568: Pulling fs layer [2024-09-19T13:33:52.103Z] bab4dde63d76: Pulling fs layer [2024-09-19T13:33:52.103Z] bde34c3a00c8: Pulling fs layer [2024-09-19T13:33:52.103Z] b352a97aabf1: Pulling fs layer [2024-09-19T13:33:52.103Z] 4872d77fe225: Pulling fs layer [2024-09-19T13:33:52.103Z] 5851b861e8e6: Pulling fs layer [2024-09-19T13:33:52.103Z] 988bab9f4d93: Waiting [2024-09-19T13:33:52.103Z] 1469e6f7b9e6: Waiting [2024-09-19T13:33:52.103Z] bde34c3a00c8: Waiting [2024-09-19T13:33:52.103Z] b352a97aabf1: Waiting [2024-09-19T13:33:52.103Z] 4872d77fe225: Waiting [2024-09-19T13:33:52.103Z] eaf3925da568: Waiting [2024-09-19T13:33:52.103Z] bab4dde63d76: Waiting [2024-09-19T13:33:52.103Z] e2be974225ed: Verifying Checksum [2024-09-19T13:33:52.103Z] e2be974225ed: Download complete [2024-09-19T13:33:52.103Z] 988bab9f4d93: Verifying Checksum [2024-09-19T13:33:52.103Z] 988bab9f4d93: Download complete [2024-09-19T13:33:52.365Z] 1469e6f7b9e6: Verifying Checksum [2024-09-19T13:33:52.365Z] 1469e6f7b9e6: Download complete [2024-09-19T13:33:52.365Z] eaf3925da568: Verifying Checksum [2024-09-19T13:33:52.365Z] eaf3925da568: Download complete [2024-09-19T13:33:52.365Z] 339a4e72a1f5: Verifying Checksum [2024-09-19T13:33:52.365Z] 339a4e72a1f5: Download complete [2024-09-19T13:33:52.365Z] bde34c3a00c8: Download complete [2024-09-19T13:33:52.365Z] b352a97aabf1: Download complete [2024-09-19T13:33:52.365Z] 4872d77fe225: Verifying Checksum [2024-09-19T13:33:52.365Z] 4872d77fe225: Download complete [2024-09-19T13:33:52.365Z] 5851b861e8e6: Download complete [2024-09-19T13:33:52.624Z] b85a868b505f: Verifying Checksum [2024-09-19T13:33:52.624Z] b85a868b505f: Download complete [2024-09-19T13:33:52.884Z] bab4dde63d76: Verifying Checksum [2024-09-19T13:33:52.884Z] bab4dde63d76: Download complete [2024-09-19T13:33:53.827Z] b85a868b505f: Pull complete [2024-09-19T13:33:53.827Z] e2be974225ed: Pull complete [2024-09-19T13:33:54.396Z] 339a4e72a1f5: Pull complete [2024-09-19T13:33:54.396Z] 988bab9f4d93: Pull complete [2024-09-19T13:33:54.657Z] 1469e6f7b9e6: Pull complete [2024-09-19T13:33:54.919Z] eaf3925da568: Pull complete [2024-09-19T13:33:56.833Z] bab4dde63d76: Pull complete [2024-09-19T13:33:56.833Z] bde34c3a00c8: Pull complete [2024-09-19T13:33:56.833Z] b352a97aabf1: Pull complete [2024-09-19T13:33:56.833Z] 4872d77fe225: Pull complete [2024-09-19T13:33:57.094Z] 5851b861e8e6: Pull complete [2024-09-19T13:33:57.094Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-19T13:33:57.094Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-19T13:33:57.094Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T13:33:57.239Z] prd-ubuntu20.04-docker-8c-8g-10686 does not seem to be running inside a container [2024-09-19T13:33:57.266Z] $ 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-19T13:33:59.387Z] $ docker top 45b5b658a0312a6c04cfaf3259c31fa6c07bc8e9dbcd01afadf6902ecb22dc81 -eo pid,comm [2024-09-19T13:33:59.448Z] 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-19T13:33:59.448Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-19T13:33:59.510Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-19T13:33:59.510Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-19T13:33:59.625Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-19T13:33:59.622Z] $ docker exec 45b5b658a0312a6c04cfaf3259c31fa6c07bc8e9dbcd01afadf6902ecb22dc81 ssh-agent [2024-09-19T13:33:59.741Z] SSH_AUTH_SOCK=/tmp/ssh-i6Fq5qM7ve9S/agent.32 [2024-09-19T13:33:59.741Z] SSH_AGENT_PID=38 [2024-09-19T13:33:59.747Z] Running ssh-add (command line suppressed) [2024-09-19T13:33:59.840Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_14903516720666856410.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_14903516720666856410.key) [2024-09-19T13:33:59.858Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-19T13:34:00.157Z] + git tag --points-at HEAD [Pipeline] } [2024-09-19T13:34:00.164Z] $ docker exec --env ******** --env ******** 45b5b658a0312a6c04cfaf3259c31fa6c07bc8e9dbcd01afadf6902ecb22dc81 ssh-agent -k [2024-09-19T13:34:00.262Z] unset SSH_AUTH_SOCK; [2024-09-19T13:34:00.263Z] unset SSH_AGENT_PID; [2024-09-19T13:34:00.263Z] echo Agent pid 38 killed; [2024-09-19T13:34:00.275Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-19T13:34:00.316Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-19T13:34:00.316Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-19T13:34:00.451Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-19T13:34:00.449Z] $ docker exec 45b5b658a0312a6c04cfaf3259c31fa6c07bc8e9dbcd01afadf6902ecb22dc81 ssh-agent [2024-09-19T13:34:00.572Z] SSH_AUTH_SOCK=/tmp/ssh-f5rsfQ7lEs9M/agent.71 [2024-09-19T13:34:00.572Z] SSH_AGENT_PID=77 [2024-09-19T13:34:00.578Z] Running ssh-add (command line suppressed) [2024-09-19T13:34:00.679Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_4765672121195106780.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_4765672121195106780.key) [2024-09-19T13:34:00.698Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-19T13:34:00.992Z] + git semver init [2024-09-19T13:34:01.252Z] 2024-09-19 13:34:01,183 [run_init] DEBUG init version:0.0.0 force:False [2024-09-19T13:34:01.252Z] 2024-09-19 13:34:01,183 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver [2024-09-19T13:34:01.252Z] 2024-09-19 13:34:01,184 [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-19T13:34:01.252Z] 2024-09-19 13:34:01,184 [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-19T13:34:02.192Z] 2024-09-19 13:34:01,972 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.git/info/exclude [2024-09-19T13:34:02.192Z] 2024-09-19 13:34:01,973 [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-19T13:34:02.192Z] 2024-09-19 13:34:01,973 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 [2024-09-19T13:34:02.192Z] 2024-09-19 13:34:01,977 [execute] INFO git cat-file --batch-check [2024-09-19T13:34:02.192Z] 2024-09-19 13:34:01,978 [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-19T13:34:02.192Z] 2024-09-19 13:34:01,983 [execute] INFO git cat-file --batch [2024-09-19T13:34:02.192Z] 2024-09-19 13:34:01,983 [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-19T13:34:02.192Z] 2024-09-19 13:34:01,990 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 [2024-09-19T13:34:02.192Z] 0.0.0 [Pipeline] } [2024-09-19T13:34:02.197Z] $ docker exec --env ******** --env ******** 45b5b658a0312a6c04cfaf3259c31fa6c07bc8e9dbcd01afadf6902ecb22dc81 ssh-agent -k [2024-09-19T13:34:02.303Z] unset SSH_AUTH_SOCK; [2024-09-19T13:34:02.303Z] unset SSH_AGENT_PID; [2024-09-19T13:34:02.303Z] echo Agent pid 77 killed; [2024-09-19T13:34:02.318Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-19T13:34:02.649Z] + git semver [Pipeline] } [2024-09-19T13:34:02.920Z] $ docker stop --time=1 45b5b658a0312a6c04cfaf3259c31fa6c07bc8e9dbcd01afadf6902ecb22dc81 [2024-09-19T13:34:04.243Z] $ docker rm -f --volumes 45b5b658a0312a6c04cfaf3259c31fa6c07bc8e9dbcd01afadf6902ecb22dc81 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-19T13:34:04.595Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-19T13:34:04.847Z] Stashed 1 file(s) [Pipeline] echo [2024-09-19T13:34:04.851Z] [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-19T13:34:05.015Z] provisioning config files... [2024-09-19T13:34:05.024Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config1610099904560210667tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T13:34:05.325Z] ---> ****-login.sh [2024-09-19T13:34:05.325Z] nexus3.edgexfoundry.org:10001 [2024-09-19T13:34:05.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T13:34:05.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T13:34:05.325Z] Configure a credential helper to remove this warning. See [2024-09-19T13:34:05.325Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T13:34:05.325Z] [2024-09-19T13:34:05.325Z] Login Succeeded [2024-09-19T13:34:05.325Z] nexus3.edgexfoundry.org:10002 [2024-09-19T13:34:05.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T13:34:05.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T13:34:05.325Z] Configure a credential helper to remove this warning. See [2024-09-19T13:34:05.325Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T13:34:05.325Z] [2024-09-19T13:34:05.325Z] Login Succeeded [2024-09-19T13:34:05.325Z] nexus3.edgexfoundry.org:10003 [2024-09-19T13:34:05.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T13:34:05.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T13:34:05.586Z] Configure a credential helper to remove this warning. See [2024-09-19T13:34:05.586Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T13:34:05.586Z] [2024-09-19T13:34:05.586Z] Login Succeeded [2024-09-19T13:34:05.587Z] nexus3.edgexfoundry.org:10004 [2024-09-19T13:34:05.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T13:34:05.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T13:34:05.587Z] Configure a credential helper to remove this warning. See [2024-09-19T13:34:05.587Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T13:34:05.587Z] [2024-09-19T13:34:05.587Z] Login Succeeded [2024-09-19T13:34:05.587Z] ****.io [2024-09-19T13:34:05.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T13:34:05.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T13:34:05.847Z] Configure a credential helper to remove this warning. See [2024-09-19T13:34:05.847Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T13:34:05.847Z] [2024-09-19T13:34:05.847Z] Login Succeeded [2024-09-19T13:34:05.847Z] ---> ****-login.sh ends [Pipeline] } [2024-09-19T13:34:05.855Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-19T13:34:05.956Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-19T13:34:05.976Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-09-19T13:34:05.992Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-19T13:34:06.009Z] ========================================================= [2024-09-19T13:34:06.009Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-09-19T13:34:06.009Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T13:34:06.328Z] + 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-19T13:34:06.328Z] Sending build context to Docker daemon 5.288MB [2024-09-19T13:34:06.328Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-09-19T13:34:06.328Z] Step 2/22 : FROM ${BASE} as builder [2024-09-19T13:34:06.328Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-09-19T13:34:06.328Z] 96526aa774ef: Pulling fs layer [2024-09-19T13:34:06.328Z] da60e534fd72: Pulling fs layer [2024-09-19T13:34:06.591Z] 96526aa774ef: Verifying Checksum [2024-09-19T13:34:06.591Z] 96526aa774ef: Download complete [2024-09-19T13:34:06.591Z] 96526aa774ef: Pull complete [2024-09-19T13:34:07.527Z] da60e534fd72: Verifying Checksum [2024-09-19T13:34:07.527Z] da60e534fd72: Download complete [2024-09-19T13:34:10.812Z] da60e534fd72: Pull complete [2024-09-19T13:34:10.812Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-09-19T13:34:10.812Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-09-19T13:34:10.812Z] ---> 6605166a5db4 [2024-09-19T13:34:10.812Z] 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-19T13:34:12.192Z] ---> Running in 0bd75cddf6ed [2024-09-19T13:34:12.451Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-19T13:34:12.711Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T13:34:12.711Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T13:34:12.711Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T13:34:12.970Z] Removing intermediate container 0bd75cddf6ed [2024-09-19T13:34:12.970Z] ---> 864b56a104a4 [2024-09-19T13:34:12.970Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T13:34:12.970Z] ---> Running in 9a3155021a4c [2024-09-19T13:34:13.539Z] Removing intermediate container 9a3155021a4c [2024-09-19T13:34:13.539Z] ---> 28f4e6586252 [2024-09-19T13:34:13.539Z] 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-19T13:34:13.799Z] ---> Running in 63d620a6e7b1 [2024-09-19T13:34:14.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T13:34:14.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T13:34:14.317Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T13:34:14.885Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T13:34:14.885Z] (1/17) Installing hiredis (1.1.0-r2) [2024-09-19T13:34:14.885Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-09-19T13:34:14.885Z] (3/17) Installing libcbor (0.10.2-r1) [2024-09-19T13:34:14.885Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-19T13:34:15.455Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-19T13:34:15.714Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-19T13:34:15.973Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-09-19T13:34:15.973Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-09-19T13:34:15.973Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-09-19T13:34:15.973Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-09-19T13:34:15.973Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-19T13:34:15.973Z] (12/17) Installing libblkid (2.38.1-r8) [2024-09-19T13:34:15.973Z] (13/17) Installing libuuid (2.38.1-r8) [2024-09-19T13:34:15.973Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-09-19T13:34:15.973Z] (15/17) Installing libmount (2.38.1-r8) [2024-09-19T13:34:15.973Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-09-19T13:34:15.973Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-09-19T13:34:15.973Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T13:34:15.973Z] OK: 336 MiB in 99 packages [2024-09-19T13:34:16.539Z] Removing intermediate container 63d620a6e7b1 [2024-09-19T13:34:16.539Z] ---> 5d4e907cd556 [2024-09-19T13:34:16.539Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-09-19T13:34:16.539Z] ---> Running in 9d71f55ac858 [2024-09-19T13:34:17.108Z] Removing intermediate container 9d71f55ac858 [2024-09-19T13:34:17.108Z] ---> 8804d256de83 [2024-09-19T13:34:17.108Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-09-19T13:34:17.366Z] ---> 36b3217d70d0 [2024-09-19T13:34:17.366Z] Step 8/22 : COPY src /tmp/sdk/src [2024-09-19T13:34:17.625Z] ---> 52caa2bf966c [2024-09-19T13:34:17.625Z] Step 9/22 : COPY include /tmp/sdk/include [2024-09-19T13:34:17.625Z] ---> e00d46eef36f [2024-09-19T13:34:17.625Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-09-19T13:34:17.885Z] ---> af94c75c646d [2024-09-19T13:34:17.885Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-09-19T13:34:18.144Z] ---> 51c7e85006ee [2024-09-19T13:34:18.144Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-09-19T13:34:18.144Z] ---> 955beb58736d [2024-09-19T13:34:18.144Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-09-19T13:34:18.144Z] ---> Running in ecf9be29a667 [2024-09-19T13:34:18.403Z] + CPPCHECK=false [2024-09-19T13:34:18.403Z] + DOCGEN=false [2024-09-19T13:34:18.403Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-09-19T13:34:18.403Z] + '[' 0 -gt 0 ] [2024-09-19T13:34:18.403Z] + readlink -f ./scripts/build.sh [2024-09-19T13:34:18.403Z] + dirname /tmp/sdk/scripts/build.sh [2024-09-19T13:34:18.403Z] + dirname /tmp/sdk/scripts [2024-09-19T13:34:18.403Z] + ROOT=/tmp/sdk [2024-09-19T13:34:18.403Z] + cd /tmp/sdk [2024-09-19T13:34:18.403Z] + mkdir -p /tmp/sdk/build/release [2024-09-19T13:34:18.403Z] + cd /tmp/sdk/build/release [2024-09-19T13:34:18.403Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-09-19T13:34:18.662Z] -- The C compiler identification is GNU 12.2.1 [2024-09-19T13:34:18.662Z] -- Detecting C compiler ABI info [2024-09-19T13:34:18.662Z] -- Detecting C compiler ABI info - done [2024-09-19T13:34:18.662Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-19T13:34:18.662Z] -- Detecting C compile features [2024-09-19T13:34:18.662Z] -- Detecting C compile features - done [2024-09-19T13:34:18.662Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-19T13:34:18.662Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-19T13:34:18.662Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-19T13:34:18.662Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-19T13:34:18.662Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-19T13:34:18.662Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-19T13:34:18.662Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-19T13:34:18.662Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-19T13:34:18.662Z] -- /opt/iotech/iot/1.5/include [2024-09-19T13:34:18.662Z] -- C SDK 0.0.0 for Linux [2024-09-19T13:34:18.662Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-19T13:34:18.921Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-19T13:34:18.921Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-19T13:34:18.921Z] -- Configuring done (0.4s) [2024-09-19T13:34:18.921Z] -- Generating done (0.0s) [2024-09-19T13:34:18.921Z] -- Build files have been written to: /tmp/sdk/build/release [2024-09-19T13:34:18.921Z] + make all package [2024-09-19T13:34:18.921Z] + tee release.log [2024-09-19T13:34:18.921Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-19T13:34:19.181Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-19T13:34:19.181Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-19T13:34:19.441Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-19T13:34:19.441Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-19T13:34:19.701Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-19T13:34:19.960Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-19T13:34:19.966Z] Still waiting to schedule task [2024-09-19T13:34:19.966Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-09-19T13:34:20.222Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-09-19T13:34:20.222Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T13:34:20.222Z] 294 | while (privateConfig) [2024-09-19T13:34:20.222Z] | ^~~~~~~~~~~~~ [2024-09-19T13:34:20.222Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-09-19T13:34:20.222Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-19T13:34:20.222Z] | ^~~~~~~~~~~~~ [2024-09-19T13:34:20.222Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T13:34:20.222Z] 271 | while (result) [2024-09-19T13:34:20.222Z] | ^~~~~~ [2024-09-19T13:34:20.222Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-09-19T13:34:20.222Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-19T13:34:20.222Z] | ^~~~~~ [2024-09-19T13:34:20.222Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-19T13:34:20.222Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-19T13:34:20.222Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-19T13:34:20.791Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-19T13:34:20.791Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-19T13:34:20.791Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-19T13:34:21.050Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-19T13:34:21.050Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-19T13:34:21.311Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-19T13:34:21.311Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-19T13:34:21.573Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-19T13:34:21.573Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-19T13:34:21.837Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-19T13:34:22.103Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-19T13:34:23.048Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-19T13:34:23.048Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-19T13:34:23.308Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-19T13:34:23.308Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-19T13:34:23.308Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-19T13:34:23.568Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-19T13:34:23.828Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-19T13:34:24.086Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-19T13:34:24.086Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-19T13:34:24.086Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-19T13:34:24.344Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-19T13:34:24.344Z] /tmp/sdk/src/c/service.c:914:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T13:34:24.344Z] 914 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-19T13:34:24.344Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T13:34:24.344Z] /tmp/sdk/src/c/service.c:915:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T13:34:24.344Z] 915 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-19T13:34:24.344Z] | ^ [2024-09-19T13:34:24.344Z] /tmp/sdk/src/c/service.c:1069:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T13:34:24.344Z] 1069 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-09-19T13:34:24.344Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T13:34:24.344Z] /tmp/sdk/src/c/service.c:881:68: note: 'deviceservices_config' was declared here [2024-09-19T13:34:24.344Z] 881 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-09-19T13:34:24.344Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-09-19T13:34:24.603Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-19T13:34:24.603Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-19T13:34:24.869Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-19T13:34:24.869Z] [ 68%] Linking C shared library libcsdk.so [2024-09-19T13:34:24.869Z] [ 68%] Built target csdk [2024-09-19T13:34:24.869Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-19T13:34:25.129Z] [ 72%] Linking C executable template [2024-09-19T13:34:25.129Z] [ 72%] Built target template [2024-09-19T13:34:25.129Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-19T13:34:25.129Z] [ 76%] Linking C executable device-counter [2024-09-19T13:34:25.389Z] [ 76%] Built target device-counter [2024-09-19T13:34:25.389Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-19T13:34:25.389Z] [ 80%] Linking C executable device-random [2024-09-19T13:34:25.389Z] [ 80%] Built target device-random [2024-09-19T13:34:25.649Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-19T13:34:25.649Z] [ 84%] Linking C executable device-gyro [2024-09-19T13:34:25.649Z] [ 84%] Built target device-gyro [2024-09-19T13:34:25.649Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-19T13:34:25.908Z] [ 88%] Linking C executable device-bitfields [2024-09-19T13:34:25.908Z] [ 88%] Built target device-bitfields [2024-09-19T13:34:25.908Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-19T13:34:25.908Z] [ 92%] Linking C executable template-discovery [2024-09-19T13:34:26.168Z] [ 92%] Built target template-discovery [2024-09-19T13:34:26.168Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-19T13:34:26.168Z] [ 96%] Linking C executable device-file [2024-09-19T13:34:26.168Z] [ 96%] Built target device-file [2024-09-19T13:34:26.428Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-19T13:34:26.428Z] [100%] Linking C executable device-terminal [2024-09-19T13:34:26.428Z] [100%] Built target device-terminal [2024-09-19T13:34:26.428Z] Run CPack packaging tool... [2024-09-19T13:34:26.428Z] CPack: Create package using TGZ [2024-09-19T13:34:26.428Z] CPack: Install projects [2024-09-19T13:34:26.428Z] CPack: - Run preinstall target for: Csdk [2024-09-19T13:34:26.688Z] CPack: - Install project: Csdk [] [2024-09-19T13:34:26.688Z] CPack: Create package [2024-09-19T13:34:26.688Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-09-19T13:34:26.688Z] + '[' false '=' true ] [2024-09-19T13:34:26.688Z] + '[' false '=' true ] [2024-09-19T13:34:26.688Z] + mkdir -p /tmp/sdk/build/debug [2024-09-19T13:34:26.688Z] + cd /tmp/sdk/build/debug [2024-09-19T13:34:26.688Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-09-19T13:34:26.946Z] -- The C compiler identification is GNU 12.2.1 [2024-09-19T13:34:26.947Z] -- Detecting C compiler ABI info [2024-09-19T13:34:26.947Z] -- Detecting C compiler ABI info - done [2024-09-19T13:34:26.947Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-19T13:34:26.947Z] -- Detecting C compile features [2024-09-19T13:34:26.947Z] -- Detecting C compile features - done [2024-09-19T13:34:26.947Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-19T13:34:27.205Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-19T13:34:27.205Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-19T13:34:27.205Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-19T13:34:27.205Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-19T13:34:27.205Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-19T13:34:27.206Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-19T13:34:27.206Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-19T13:34:27.206Z] -- /opt/iotech/iot/1.5/include [2024-09-19T13:34:27.206Z] -- C SDK 0.0.0 for Linux [2024-09-19T13:34:27.206Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-19T13:34:27.206Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-19T13:34:27.206Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-19T13:34:27.206Z] -- Configuring done (0.4s) [2024-09-19T13:34:27.206Z] -- Generating done (0.0s) [2024-09-19T13:34:27.206Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-09-19T13:34:27.206Z] + + teemake debug.log [2024-09-19T13:34:27.206Z] [2024-09-19T13:34:27.206Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-19T13:34:27.467Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-19T13:34:27.467Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-19T13:34:27.467Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-19T13:34:27.728Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-19T13:34:27.728Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-19T13:34:27.728Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-19T13:34:27.986Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-19T13:34:27.986Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-19T13:34:27.986Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-19T13:34:28.246Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-19T13:34:28.246Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-19T13:34:28.246Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-19T13:34:28.246Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-19T13:34:28.506Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-19T13:34:28.506Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-19T13:34:28.506Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-19T13:34:28.766Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-19T13:34:28.766Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-19T13:34:28.766Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-19T13:34:28.766Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-19T13:34:29.026Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-19T13:34:29.286Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-19T13:34:29.286Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-19T13:34:29.286Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-19T13:34:29.286Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-19T13:34:29.286Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-19T13:34:29.546Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-19T13:34:29.809Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-19T13:34:29.809Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-19T13:34:29.809Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-19T13:34:29.809Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-19T13:34:29.809Z] /tmp/sdk/src/c/service.c:914:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T13:34:29.809Z] 914 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-19T13:34:29.809Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T13:34:29.809Z] /tmp/sdk/src/c/service.c:915:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T13:34:29.809Z] 915 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-19T13:34:29.809Z] | ^ [2024-09-19T13:34:30.068Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-19T13:34:30.068Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-19T13:34:30.068Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-19T13:34:30.068Z] [ 68%] Linking C shared library libcsdk.so [2024-09-19T13:34:30.068Z] [ 68%] Built target csdk [2024-09-19T13:34:30.328Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-19T13:34:30.328Z] [ 72%] Linking C executable template [2024-09-19T13:34:30.328Z] [ 72%] Built target template [2024-09-19T13:34:30.328Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-19T13:34:30.328Z] [ 76%] Linking C executable device-counter [2024-09-19T13:34:30.603Z] [ 76%] Built target device-counter [2024-09-19T13:34:30.603Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-19T13:34:30.603Z] [ 80%] Linking C executable device-random [2024-09-19T13:34:30.603Z] [ 80%] Built target device-random [2024-09-19T13:34:30.603Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-19T13:34:30.863Z] [ 84%] Linking C executable device-gyro [2024-09-19T13:34:30.863Z] [ 84%] Built target device-gyro [2024-09-19T13:34:30.863Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-19T13:34:30.863Z] [ 88%] Linking C executable device-bitfields [2024-09-19T13:34:30.863Z] [ 88%] Built target device-bitfields [2024-09-19T13:34:30.863Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-19T13:34:31.123Z] [ 92%] Linking C executable template-discovery [2024-09-19T13:34:31.123Z] [ 92%] Built target template-discovery [2024-09-19T13:34:31.123Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-19T13:34:31.123Z] [ 96%] Linking C executable device-file [2024-09-19T13:34:31.383Z] [ 96%] Built target device-file [2024-09-19T13:34:31.383Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-19T13:34:31.383Z] [100%] Linking C executable device-terminal [2024-09-19T13:34:31.383Z] [100%] Built target device-terminal [2024-09-19T13:34:31.383Z] make: Entering directory '/tmp/sdk/build/release' [2024-09-19T13:34:31.643Z] [ 68%] Built target csdk [2024-09-19T13:34:31.643Z] [ 72%] Built target template [2024-09-19T13:34:31.643Z] [ 76%] Built target device-counter [2024-09-19T13:34:31.643Z] [ 80%] Built target device-random [2024-09-19T13:34:31.643Z] [ 84%] Built target device-gyro [2024-09-19T13:34:31.643Z] [ 88%] Built target device-bitfields [2024-09-19T13:34:31.643Z] [ 92%] Built target template-discovery [2024-09-19T13:34:31.643Z] [ 96%] Built target device-file [2024-09-19T13:34:31.643Z] [100%] Built target device-terminal [2024-09-19T13:34:31.643Z] Install the project... [2024-09-19T13:34:31.643Z] -- Install configuration: "Release" [2024-09-19T13:34:31.643Z] -- Installing: /usr/local/lib/libcsdk.so [2024-09-19T13:34:31.643Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-09-19T13:34:31.643Z] -- Installing: /usr/local/include [2024-09-19T13:34:31.643Z] -- Installing: /usr/local/include/devsdk [2024-09-19T13:34:31.643Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-09-19T13:34:31.643Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-09-19T13:34:31.643Z] -- Installing: /usr/local/include/edgex [2024-09-19T13:34:31.643Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-09-19T13:34:31.643Z] -- Installing: /usr/local/include/edgex/devices.h [2024-09-19T13:34:31.643Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-09-19T13:34:31.643Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-09-19T13:34:31.643Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-09-19T13:34:31.643Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-09-19T13:34:31.643Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-09-19T13:34:31.643Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-09-19T13:34:31.643Z] make: Leaving directory '/tmp/sdk/build/release' [2024-09-19T13:34:32.580Z] Removing intermediate container ecf9be29a667 [2024-09-19T13:34:32.580Z] ---> 5a03c2bee899 [2024-09-19T13:34:32.580Z] Step 14/22 : FROM ${BASE} [2024-09-19T13:34:32.580Z] ---> 6605166a5db4 [2024-09-19T13:34:32.580Z] Step 15/22 : LABEL maintainer="IOTech " [2024-09-19T13:34:32.580Z] ---> Running in 8b4a3897a553 [2024-09-19T13:34:32.580Z] Removing intermediate container 8b4a3897a553 [2024-09-19T13:34:32.580Z] ---> 2431ba6b93ff [2024-09-19T13:34:32.580Z] 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-19T13:34:32.580Z] ---> Running in 6e1e3c77ff4b [2024-09-19T13:34:32.839Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-09-19T13:34:33.407Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T13:34:33.407Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T13:34:33.407Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T13:34:33.407Z] Removing intermediate container 6e1e3c77ff4b [2024-09-19T13:34:33.407Z] ---> d0496605b538 [2024-09-19T13:34:33.407Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T13:34:33.666Z] ---> Running in bc1c1cf73165 [2024-09-19T13:34:33.925Z] Removing intermediate container bc1c1cf73165 [2024-09-19T13:34:33.925Z] ---> 83b8096527e1 [2024-09-19T13:34:33.925Z] 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-19T13:34:34.188Z] ---> Running in e4b296ad1fd7 [2024-09-19T13:34:34.447Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T13:34:34.447Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T13:34:34.707Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T13:34:35.276Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T13:34:35.276Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) [2024-09-19T13:34:35.276Z] (2/10) Installing curl (8.9.1-r0) [2024-09-19T13:34:35.276Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) [2024-09-19T13:34:35.276Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-09-19T13:34:35.276Z] (5/10) Installing hiredis (1.1.0-r2) [2024-09-19T13:34:35.276Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-09-19T13:34:35.276Z] (7/10) Installing libcbor (0.10.2-r1) [2024-09-19T13:34:35.276Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-19T13:34:35.843Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-19T13:34:36.103Z] (10/10) Installing libuuid (2.38.1-r8) [2024-09-19T13:34:36.103Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T13:34:36.103Z] OK: 331 MiB in 90 packages [2024-09-19T13:34:36.670Z] Removing intermediate container e4b296ad1fd7 [2024-09-19T13:34:36.671Z] ---> 809ef6d609a0 [2024-09-19T13:34:36.671Z] Step 19/22 : RUN apk --no-cache upgrade [2024-09-19T13:34:36.671Z] ---> Running in 6a975bda786d [2024-09-19T13:34:36.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T13:34:36.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T13:34:37.189Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T13:34:37.758Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T13:34:37.758Z] Upgrading critical system libraries and apk-tools: [2024-09-19T13:34:37.758Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-09-19T13:34:37.758Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T13:34:37.758Z] Continuing the upgrade transaction with new apk-tools: [2024-09-19T13:34:37.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T13:34:37.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T13:34:38.018Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T13:34:38.279Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T13:34:38.551Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T13:34:38.551Z] Executing busybox-1.36.1-r7.post-upgrade [2024-09-19T13:34:38.551Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T13:34:38.551Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-09-19T13:34:38.551Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T13:34:38.551Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T13:34:38.551Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T13:34:38.551Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-09-19T13:34:38.551Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) [2024-09-19T13:34:38.551Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-09-19T13:34:38.551Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T13:34:38.551Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-09-19T13:34:38.551Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T13:34:38.551Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T13:34:38.551Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T13:34:38.551Z] Executing busybox-1.36.1-r7.trigger [2024-09-19T13:34:38.551Z] Executing ca-certificates-20240226-r0.trigger [2024-09-19T13:34:38.861Z] OK: 331 MiB in 90 packages [2024-09-19T13:34:39.801Z] Removing intermediate container 6a975bda786d [2024-09-19T13:34:39.801Z] ---> 9cb670433ad7 [2024-09-19T13:34:39.801Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-09-19T13:34:39.801Z] ---> 7d04d26eabe7 [2024-09-19T13:34:39.801Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-09-19T13:34:39.801Z] ---> 54be2ee5becb [2024-09-19T13:34:39.801Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-09-19T13:34:40.061Z] ---> 1ce0b8c9db14 [2024-09-19T13:34:40.061Z] Successfully built 1ce0b8c9db14 [2024-09-19T13:34:40.061Z] 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-19T13:34:40.480Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-19T13:34:40.480Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T13:34:40.570Z] prd-ubuntu20.04-docker-8c-8g-10686 does not seem to be running inside a container [2024-09-19T13:34:40.603Z] $ 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-19T13:34:40.943Z] $ docker top 50d2d8c76c2a5a685360b0e374bae66f2e7d0633828983fc26be32ee98fa92b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-19T13:34:41.298Z] + make test [2024-09-19T13:34:41.298Z] echo "make test" [2024-09-19T13:34:41.298Z] make test [Pipeline] } [2024-09-19T13:34:41.308Z] $ docker stop --time=1 50d2d8c76c2a5a685360b0e374bae66f2e7d0633828983fc26be32ee98fa92b4 [2024-09-19T13:34:42.596Z] $ docker rm -f --volumes 50d2d8c76c2a5a685360b0e374bae66f2e7d0633828983fc26be32ee98fa92b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-19T13:34:43.229Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-19T13:34:43.507Z] + ls -al . [2024-09-19T13:34:43.507Z] total 212 [2024-09-19T13:34:43.507Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 13:34 . [2024-09-19T13:34:43.507Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 13:33 .. [2024-09-19T13:34:43.507Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 13:34 .git [2024-09-19T13:34:43.507Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 13:33 .github [2024-09-19T13:34:43.507Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 19 13:33 .gitignore [2024-09-19T13:34:43.507Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 13:34 .semver [2024-09-19T13:34:43.507Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 19 13:33 Attribution.txt [2024-09-19T13:34:43.507Z] -rw-rw-r-- 1 jenkins jenkins 11953 Sep 19 13:33 CHANGELOG.md [2024-09-19T13:34:43.507Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 19 13:33 Doxyfile [2024-09-19T13:34:43.507Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 13:33 GOVERNANCE.md [2024-09-19T13:34:43.507Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 19 13:33 Jenkinsfile [2024-09-19T13:34:43.507Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 19 13:33 LICENSE [2024-09-19T13:34:43.507Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 19 13:33 Makefile [2024-09-19T13:34:43.507Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 19 13:33 OWNERS.md [2024-09-19T13:34:43.507Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 19 13:33 README.IOT.md [2024-09-19T13:34:43.507Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 19 13:33 README.md [2024-09-19T13:34:43.507Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 19 13:33 README.v3.md [2024-09-19T13:34:43.507Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 13:34 VERSION [2024-09-19T13:34:43.507Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 13:33 docs [2024-09-19T13:34:43.507Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 13:33 include [2024-09-19T13:34:43.507Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 13:33 scripts [2024-09-19T13:34:43.507Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 13:33 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T13:34:43.822Z] + 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=a7499e878299238b3c73abbb4e3a48a5a6fed8f0 --label arch=amd64 --label version=0.0.0 . [2024-09-19T13:34:43.822Z] Sending build context to Docker daemon 5.288MB [2024-09-19T13:34:43.822Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-09-19T13:34:43.822Z] Step 2/18 : FROM ${BASE} [2024-09-19T13:34:43.822Z] ---> 1ce0b8c9db14 [2024-09-19T13:34:43.822Z] Step 3/18 : LABEL maintainer="IOTech " [2024-09-19T13:34:43.822Z] ---> Running in 86750b58121e [2024-09-19T13:34:44.081Z] Removing intermediate container 86750b58121e [2024-09-19T13:34:44.081Z] ---> dc8d1807fa11 [2024-09-19T13:34:44.081Z] 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-19T13:34:44.081Z] ---> Running in 24871d6dd907 [2024-09-19T13:34:44.340Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-19T13:34:44.599Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T13:34:44.599Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T13:34:44.599Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T13:34:45.166Z] Removing intermediate container 24871d6dd907 [2024-09-19T13:34:45.166Z] ---> b5c6af164433 [2024-09-19T13:34:45.166Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T13:34:45.166Z] ---> Running in d6b769482121 [2024-09-19T13:34:45.427Z] Removing intermediate container d6b769482121 [2024-09-19T13:34:45.427Z] ---> f8d9a80b0dcd [2024-09-19T13:34:45.427Z] 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-19T13:34:45.688Z] ---> Running in 6a22237693a6 [2024-09-19T13:34:45.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T13:34:45.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T13:34:46.206Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T13:34:46.775Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T13:34:46.775Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-19T13:34:46.775Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-09-19T13:34:46.775Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-09-19T13:34:46.775Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-09-19T13:34:46.775Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-09-19T13:34:46.775Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-19T13:34:46.775Z] (7/11) Installing libblkid (2.38.1-r8) [2024-09-19T13:34:46.775Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-09-19T13:34:46.775Z] (9/11) Installing libmount (2.38.1-r8) [2024-09-19T13:34:46.775Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-09-19T13:34:47.036Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-09-19T13:34:47.036Z] Executing busybox-1.36.1-r7.trigger [2024-09-19T13:34:47.036Z] OK: 337 MiB in 101 packages [2024-09-19T13:34:47.606Z] Removing intermediate container 6a22237693a6 [2024-09-19T13:34:47.606Z] ---> 75e0677feda2 [2024-09-19T13:34:47.606Z] Step 7/18 : RUN apk --no-cache upgrade [2024-09-19T13:34:47.606Z] ---> Running in 5809161f889a [2024-09-19T13:34:47.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T13:34:47.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T13:34:47.867Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T13:34:48.435Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T13:34:48.435Z] OK: 337 MiB in 101 packages [2024-09-19T13:34:48.694Z] Removing intermediate container 5809161f889a [2024-09-19T13:34:48.694Z] ---> b043cc14a8bd [2024-09-19T13:34:48.694Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-09-19T13:34:48.956Z] ---> c1c2b8fe8ca4 [2024-09-19T13:34:48.956Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-09-19T13:34:49.214Z] ---> 4fc1895e6e32 [2024-09-19T13:34:49.214Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-09-19T13:34:49.214Z] ---> 4c8f955de4ec [2024-09-19T13:34:49.214Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-09-19T13:34:49.472Z] ---> cea50e778c81 [2024-09-19T13:34:49.472Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-09-19T13:34:49.472Z] ---> 6a1e31c8a649 [2024-09-19T13:34:49.472Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-09-19T13:34:49.731Z] ---> fffc53f9b8eb [2024-09-19T13:34:49.731Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-09-19T13:34:49.731Z] ---> Running in cd6074b3f650 [2024-09-19T13:34:49.731Z] Removing intermediate container cd6074b3f650 [2024-09-19T13:34:49.731Z] ---> f84c9d33f039 [2024-09-19T13:34:49.731Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-09-19T13:34:49.731Z] ---> Running in f93781900b76 [2024-09-19T13:34:49.990Z] Removing intermediate container f93781900b76 [2024-09-19T13:34:49.990Z] ---> f0c855b36990 [2024-09-19T13:34:49.990Z] Step 16/18 : LABEL arch=amd64 [2024-09-19T13:34:49.990Z] ---> Running in e25a244dddff [2024-09-19T13:34:49.990Z] Removing intermediate container e25a244dddff [2024-09-19T13:34:49.990Z] ---> 477b29b9fe48 [2024-09-19T13:34:49.990Z] Step 17/18 : LABEL git_sha=a7499e878299238b3c73abbb4e3a48a5a6fed8f0 [2024-09-19T13:34:49.990Z] ---> Running in 860eb0b53e1b [2024-09-19T13:34:49.990Z] Removing intermediate container 860eb0b53e1b [2024-09-19T13:34:49.990Z] ---> 2172dba6087b [2024-09-19T13:34:49.990Z] Step 18/18 : LABEL version=0.0.0 [2024-09-19T13:34:49.990Z] ---> Running in 975f07b6feba [2024-09-19T13:34:50.250Z] Removing intermediate container 975f07b6feba [2024-09-19T13:34:50.250Z] ---> 6176295c55f7 [2024-09-19T13:34:50.250Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-09-19T13:34:50.250Z] Successfully built 6176295c55f7 [2024-09-19T13:34:50.250Z] 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-19T13:34:50.826Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-19T13:34:50.826Z] [2024-09-19T13:34:50.826Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T13:34:51.136Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-19T13:34:51.136Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-19T13:34:51.136Z] 5eb5b503b376: Pulling fs layer [2024-09-19T13:34:51.136Z] 5c69ac0246d0: Pulling fs layer [2024-09-19T13:34:51.136Z] ec43610c2a17: Pulling fs layer [2024-09-19T13:34:51.136Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-19T13:34:51.136Z] 33b1e0a273af: Pulling fs layer [2024-09-19T13:34:51.136Z] 5d3b04190fa2: Pulling fs layer [2024-09-19T13:34:51.136Z] 2f39f015ded8: Pulling fs layer [2024-09-19T13:34:51.136Z] 5d3b04190fa2: Waiting [2024-09-19T13:34:51.136Z] 3a2ae6a8a46f: Waiting [2024-09-19T13:34:51.136Z] 33b1e0a273af: Waiting [2024-09-19T13:34:51.136Z] 2f39f015ded8: Waiting [2024-09-19T13:34:51.136Z] 5c69ac0246d0: Verifying Checksum [2024-09-19T13:34:51.136Z] 5c69ac0246d0: Download complete [2024-09-19T13:34:51.136Z] 3a2ae6a8a46f: Verifying Checksum [2024-09-19T13:34:51.136Z] 3a2ae6a8a46f: Download complete [2024-09-19T13:34:51.136Z] ec43610c2a17: Verifying Checksum [2024-09-19T13:34:51.136Z] ec43610c2a17: Download complete [2024-09-19T13:34:51.136Z] 33b1e0a273af: Verifying Checksum [2024-09-19T13:34:51.136Z] 33b1e0a273af: Download complete [2024-09-19T13:34:51.136Z] 5d3b04190fa2: Verifying Checksum [2024-09-19T13:34:51.136Z] 5d3b04190fa2: Download complete [2024-09-19T13:34:51.394Z] 5eb5b503b376: Verifying Checksum [2024-09-19T13:34:51.395Z] 5eb5b503b376: Download complete [2024-09-19T13:34:51.961Z] 2f39f015ded8: Download complete [2024-09-19T13:34:52.528Z] 5eb5b503b376: Pull complete [2024-09-19T13:34:52.528Z] 5c69ac0246d0: Pull complete [2024-09-19T13:34:53.095Z] ec43610c2a17: Pull complete [2024-09-19T13:34:53.095Z] 3a2ae6a8a46f: Pull complete [2024-09-19T13:34:53.354Z] 33b1e0a273af: Pull complete [2024-09-19T13:34:53.354Z] 5d3b04190fa2: Pull complete [2024-09-19T13:34:57.543Z] 2f39f015ded8: Pull complete [2024-09-19T13:34:57.543Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-19T13:34:57.543Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-19T13:34:57.543Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T13:34:57.640Z] prd-ubuntu20.04-docker-8c-8g-10686 does not seem to be running inside a container [2024-09-19T13:34:57.671Z] $ 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-19T13:35:00.903Z] $ docker top 72eea9f69996794edbdedcdcb238705048ee0bc7567995518f4eecd6ad0fc83a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T13:35:01.306Z] ---> job-cost.sh [2024-09-19T13:35:01.306Z] lf-activate-venv: SKIPPING [2024-09-19T13:35:01.306Z] INFO: No Stack... [2024-09-19T13:35:01.568Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-19T13:35:01.828Z] INFO: Archiving Costs [Pipeline] sh [2024-09-19T13:35:02.120Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/cost.csv [2024-09-19T13:35:02.120Z] + cut -d, -f6 [Pipeline] lock [2024-09-19T13:35:02.133Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-8-stack-cost] [2024-09-19T13:35:02.141Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-8-stack-cost] did not exist. Created. [2024-09-19T13:35:02.151Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-19T13:35:02.463Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-19T13:35:02.514Z] Stashed 1 file(s) [Pipeline] } [2024-09-19T13:35:02.574Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-8-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-19T13:35:02.598Z] $ docker stop --time=1 72eea9f69996794edbdedcdcb238705048ee0bc7567995518f4eecd6ad0fc83a [2024-09-19T13:35:03.750Z] $ docker rm -f --volumes 72eea9f69996794edbdedcdcb238705048ee0bc7567995518f4eecd6ad0fc83a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-19T13:36:15.833Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10687 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [Pipeline] { [Pipeline] ws [2024-09-19T13:36:15.853Z] Running in /w/workspace/device-sdk-c/8 [Pipeline] { [Pipeline] checkout [2024-09-19T13:36:15.891Z] Selected Git installation does not exist. Using Default [2024-09-19T13:36:15.891Z] The recommended git tool is: NONE [2024-09-19T13:36:20.549Z] using credential edgex-jenkins-ssh [2024-09-19T13:36:20.573Z] Cloning the remote Git repository [2024-09-19T13:36:20.617Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-09-19T13:36:20.705Z] > git init /w/workspace/device-sdk-c/8 # timeout=10 [2024-09-19T13:36:20.844Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-09-19T13:36:20.844Z] > git --version # timeout=10 [2024-09-19T13:36:20.867Z] > git --version # 'git version 2.25.1' [2024-09-19T13:36:20.870Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-19T13:36:21.046Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-19T13:36:22.047Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-09-19T13:36:22.070Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-19T13:36:22.883Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-09-19T13:36:22.928Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-09-19T13:36:22.929Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-19T13:36:22.958Z] > 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-19T13:36:23.549Z] Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit a7499e878299238b3c73abbb4e3a48a5a6fed8f0 [2024-09-19T13:36:23.896Z] Merge succeeded, producing a7499e878299238b3c73abbb4e3a48a5a6fed8f0 [2024-09-19T13:36:23.897Z] Checking out Revision a7499e878299238b3c73abbb4e3a48a5a6fed8f0 (PR-513) [2024-09-19T13:36:23.574Z] > git config core.sparsecheckout # timeout=10 [2024-09-19T13:36:23.652Z] > git checkout -f a7499e878299238b3c73abbb4e3a48a5a6fed8f0 # timeout=10 [2024-09-19T13:36:23.784Z] > git remote # timeout=10 [2024-09-19T13:36:23.799Z] > git config --get remote.origin.url # timeout=10 [2024-09-19T13:36:23.818Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-19T13:36:23.835Z] > git merge b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 [2024-09-19T13:36:23.858Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-19T13:36:23.907Z] > git config core.sparsecheckout # timeout=10 [2024-09-19T13:36:23.924Z] > git checkout -f a7499e878299238b3c73abbb4e3a48a5a6fed8f0 # timeout=10 [2024-09-19T13:36:27.554Z] Commit message: "feat: Updated parameters for deiscovery publish function, added function for generic system event publication" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-19T13:36:29.260Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-19T13:36:29.260Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-19T13:36:29.260Z] Dload Upload Total Spent Left Speed [2024-09-19T13:36:29.260Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 65448 0 --:--:-- --:--:-- --:--:-- 65116 100 12828 100 12828 0 0 65116 0 --:--:-- --:--:-- --:--:-- 64787 [Pipeline] sh [2024-09-19T13:36:29.589Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-19T13:36:29.929Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-09-19T13:36:29.930Z] + sudo tee /etc/docker/daemon.new [2024-09-19T13:36:29.930Z] { [2024-09-19T13:36:29.930Z] "registry-mirrors": [ [2024-09-19T13:36:29.930Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-19T13:36:29.930Z] ], [2024-09-19T13:36:29.930Z] "bip": "10.250.0.254/24", [2024-09-19T13:36:29.930Z] "hosts": [ [2024-09-19T13:36:29.930Z] "tcp://0.0.0.0:5555", [2024-09-19T13:36:29.930Z] "unix:///var/run/docker.sock" [2024-09-19T13:36:29.930Z] ], [2024-09-19T13:36:29.930Z] "mtu": 1458, [2024-09-19T13:36:29.930Z] "selinux-enabled": true, [2024-09-19T13:36:29.930Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-19T13:36:29.930Z] } [Pipeline] sh [2024-09-19T13:36:30.261Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-19T13:36:30.590Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-19T13:36:48.856Z] provisioning config files... [2024-09-19T13:36:48.882Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/8@tmp/config308494611341902017tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T13:36:49.337Z] ---> ****-login.sh [2024-09-19T13:36:49.337Z] nexus3.edgexfoundry.org:10001 [2024-09-19T13:36:49.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T13:36:49.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T13:36:49.889Z] Configure a credential helper to remove this warning. See [2024-09-19T13:36:49.889Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T13:36:49.889Z] [2024-09-19T13:36:49.889Z] Login Succeeded [2024-09-19T13:36:49.889Z] nexus3.edgexfoundry.org:10002 [2024-09-19T13:36:50.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T13:36:50.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T13:36:50.441Z] Configure a credential helper to remove this warning. See [2024-09-19T13:36:50.441Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T13:36:50.441Z] [2024-09-19T13:36:50.441Z] Login Succeeded [2024-09-19T13:36:50.441Z] nexus3.edgexfoundry.org:10003 [2024-09-19T13:36:50.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T13:36:50.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T13:36:50.711Z] Configure a credential helper to remove this warning. See [2024-09-19T13:36:50.711Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T13:36:50.711Z] [2024-09-19T13:36:50.711Z] Login Succeeded [2024-09-19T13:36:50.711Z] nexus3.edgexfoundry.org:10004 [2024-09-19T13:36:50.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T13:36:51.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T13:36:51.254Z] Configure a credential helper to remove this warning. See [2024-09-19T13:36:51.254Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T13:36:51.254Z] [2024-09-19T13:36:51.254Z] Login Succeeded [2024-09-19T13:36:51.254Z] ****.io [2024-09-19T13:36:51.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T13:36:51.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T13:36:51.523Z] Configure a credential helper to remove this warning. See [2024-09-19T13:36:51.523Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T13:36:51.523Z] [2024-09-19T13:36:51.794Z] Login Succeeded [2024-09-19T13:36:51.794Z] ---> ****-login.sh ends [Pipeline] } [2024-09-19T13:36:51.808Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-19T13:36:52.124Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-19T13:36:52.144Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-09-19T13:36:52.158Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-19T13:36:52.172Z] ========================================================= [2024-09-19T13:36:52.172Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-09-19T13:36:52.172Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T13:36:52.527Z] + 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-19T13:36:53.123Z] Sending build context to Docker daemon 3.262MB [2024-09-19T13:36:53.123Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-09-19T13:36:53.123Z] Step 2/22 : FROM ${BASE} as builder [2024-09-19T13:36:53.123Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-09-19T13:36:53.123Z] 579b34f0a95b: Pulling fs layer [2024-09-19T13:36:53.123Z] e71477ac5e1b: Pulling fs layer [2024-09-19T13:36:53.401Z] 579b34f0a95b: Download complete [2024-09-19T13:36:53.990Z] 579b34f0a95b: Pull complete [2024-09-19T13:36:55.968Z] e71477ac5e1b: Verifying Checksum [2024-09-19T13:36:55.968Z] e71477ac5e1b: Download complete [2024-09-19T13:37:08.294Z] e71477ac5e1b: Pull complete [2024-09-19T13:37:08.294Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-09-19T13:37:08.294Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-09-19T13:37:08.294Z] ---> 2b552cad5dd9 [2024-09-19T13:37:08.294Z] 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-19T13:37:08.294Z] ---> Running in a30983c064b8 [2024-09-19T13:37:08.294Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-19T13:37:08.875Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T13:37:08.875Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T13:37:08.875Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T13:37:09.459Z] Removing intermediate container a30983c064b8 [2024-09-19T13:37:09.459Z] ---> a5795a421bcf [2024-09-19T13:37:09.459Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T13:37:09.459Z] ---> Running in 09e6efdf2b64 [2024-09-19T13:37:12.068Z] Removing intermediate container 09e6efdf2b64 [2024-09-19T13:37:12.068Z] ---> 15430148a49e [2024-09-19T13:37:12.068Z] 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-19T13:37:12.068Z] ---> Running in b5804a68beb0 [2024-09-19T13:37:13.040Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T13:37:13.306Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T13:37:13.887Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T13:37:14.857Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T13:37:14.857Z] (1/17) Installing hiredis (1.1.0-r2) [2024-09-19T13:37:14.857Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-09-19T13:37:15.123Z] (3/17) Installing libcbor (0.10.2-r1) [2024-09-19T13:37:15.123Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-19T13:37:15.706Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-19T13:37:15.973Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-19T13:37:16.246Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-09-19T13:37:16.246Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-09-19T13:37:16.246Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-09-19T13:37:16.246Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-09-19T13:37:16.246Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-19T13:37:16.246Z] (12/17) Installing libblkid (2.38.1-r8) [2024-09-19T13:37:16.246Z] (13/17) Installing libuuid (2.38.1-r8) [2024-09-19T13:37:16.246Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-09-19T13:37:16.246Z] (15/17) Installing libmount (2.38.1-r8) [2024-09-19T13:37:16.246Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-09-19T13:37:16.246Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-09-19T13:37:16.246Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T13:37:16.246Z] OK: 333 MiB in 99 packages [2024-09-19T13:37:17.654Z] Removing intermediate container b5804a68beb0 [2024-09-19T13:37:17.654Z] ---> fa4c37933101 [2024-09-19T13:37:17.654Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-09-19T13:37:17.654Z] ---> Running in d5c9339f4bef [2024-09-19T13:37:19.065Z] Removing intermediate container d5c9339f4bef [2024-09-19T13:37:19.065Z] ---> 426a158bf5d6 [2024-09-19T13:37:19.065Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-09-19T13:37:19.646Z] ---> f0783b69d058 [2024-09-19T13:37:19.646Z] Step 8/22 : COPY src /tmp/sdk/src [2024-09-19T13:37:20.227Z] ---> 0367205f012c [2024-09-19T13:37:20.227Z] Step 9/22 : COPY include /tmp/sdk/include [2024-09-19T13:37:20.808Z] ---> 1dcd7cb944e0 [2024-09-19T13:37:20.808Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-09-19T13:37:21.074Z] ---> 7285092718ec [2024-09-19T13:37:21.074Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-09-19T13:37:21.660Z] ---> b263baa61c25 [2024-09-19T13:37:21.661Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-09-19T13:37:21.927Z] ---> 9b165d33727c [2024-09-19T13:37:21.927Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-09-19T13:37:22.193Z] ---> Running in d54bd74a770a [2024-09-19T13:37:23.167Z] + CPPCHECK=false [2024-09-19T13:37:23.167Z] + DOCGEN=false [2024-09-19T13:37:23.167Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-09-19T13:37:23.167Z] + '[' 0 -gt 0 ] [2024-09-19T13:37:23.167Z] + readlink -f ./scripts/build.sh [2024-09-19T13:37:23.167Z] + dirname /tmp/sdk/scripts/build.sh [2024-09-19T13:37:23.167Z] + dirname /tmp/sdk/scripts [2024-09-19T13:37:23.167Z] + ROOT=/tmp/sdk [2024-09-19T13:37:23.167Z] + cd /tmp/sdk [2024-09-19T13:37:23.167Z] + mkdir -p /tmp/sdk/build/release [2024-09-19T13:37:23.167Z] + cd /tmp/sdk/build/release [2024-09-19T13:37:23.167Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-09-19T13:37:23.434Z] -- The C compiler identification is GNU 12.2.1 [2024-09-19T13:37:23.434Z] -- Detecting C compiler ABI info [2024-09-19T13:37:23.705Z] -- Detecting C compiler ABI info - done [2024-09-19T13:37:23.705Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-19T13:37:23.705Z] -- Detecting C compile features [2024-09-19T13:37:23.705Z] -- Detecting C compile features - done [2024-09-19T13:37:23.705Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-19T13:37:23.978Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-19T13:37:23.978Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-19T13:37:23.978Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-19T13:37:23.978Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-19T13:37:23.978Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-19T13:37:23.978Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-19T13:37:24.243Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-19T13:37:24.243Z] -- /opt/iotech/iot/1.5/include [2024-09-19T13:37:24.243Z] -- C SDK 0.0.0 for Linux [2024-09-19T13:37:24.243Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-19T13:37:24.508Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-19T13:37:24.508Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-19T13:37:24.773Z] -- Configuring done (1.7s) [2024-09-19T13:37:25.037Z] -- Generating done (0.2s) [2024-09-19T13:37:25.037Z] -- Build files have been written to: /tmp/sdk/build/release [2024-09-19T13:37:25.037Z] + make all package [2024-09-19T13:37:25.037Z] + tee release.log [2024-09-19T13:37:25.037Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-19T13:37:26.003Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-19T13:37:26.606Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-19T13:37:27.559Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-19T13:37:28.139Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-19T13:37:28.720Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-19T13:37:31.292Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-19T13:37:31.558Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-09-19T13:37:31.558Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T13:37:31.558Z] 294 | while (privateConfig) [2024-09-19T13:37:31.558Z] | ^~~~~~~~~~~~~ [2024-09-19T13:37:31.558Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-09-19T13:37:31.558Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-19T13:37:31.558Z] | ^~~~~~~~~~~~~ [2024-09-19T13:37:31.558Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T13:37:31.558Z] 271 | while (result) [2024-09-19T13:37:31.558Z] | ^~~~~~ [2024-09-19T13:37:31.558Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-09-19T13:37:31.558Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-19T13:37:31.558Z] | ^~~~~~ [2024-09-19T13:37:31.823Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-19T13:37:32.088Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-19T13:37:33.041Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-19T13:37:34.975Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-19T13:37:35.558Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-19T13:37:36.139Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-19T13:37:37.097Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-19T13:37:37.363Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-19T13:37:38.768Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-19T13:37:38.768Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-19T13:37:41.349Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-19T13:37:41.349Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-19T13:37:41.933Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-19T13:37:43.345Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-19T13:37:49.994Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-19T13:37:50.579Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-19T13:37:51.164Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-19T13:37:51.749Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-19T13:37:52.018Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-19T13:37:53.438Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-19T13:37:55.387Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-19T13:37:55.972Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-19T13:37:56.933Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-19T13:37:57.518Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-19T13:37:57.788Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-19T13:37:57.788Z] /tmp/sdk/src/c/service.c:914:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T13:37:57.788Z] 914 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-19T13:37:57.788Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T13:37:57.788Z] /tmp/sdk/src/c/service.c:915:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T13:37:57.788Z] 915 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-19T13:37:57.788Z] | ^ [2024-09-19T13:37:59.740Z] /tmp/sdk/src/c/service.c:1069:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T13:37:59.740Z] 1069 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-09-19T13:37:59.740Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T13:37:59.741Z] /tmp/sdk/src/c/service.c:881:68: note: 'deviceservices_config' was declared here [2024-09-19T13:37:59.741Z] 881 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-09-19T13:37:59.741Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-09-19T13:38:00.327Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-19T13:38:01.289Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-19T13:38:01.560Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-19T13:38:02.146Z] [ 68%] Linking C shared library libcsdk.so [2024-09-19T13:38:02.146Z] [ 68%] Built target csdk [2024-09-19T13:38:02.412Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-19T13:38:03.373Z] [ 72%] Linking C executable template [2024-09-19T13:38:03.373Z] [ 72%] Built target template [2024-09-19T13:38:03.373Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-19T13:38:03.956Z] [ 76%] Linking C executable device-counter [2024-09-19T13:38:04.222Z] [ 76%] Built target device-counter [2024-09-19T13:38:04.222Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-19T13:38:04.813Z] [ 80%] Linking C executable device-random [2024-09-19T13:38:05.080Z] [ 80%] Built target device-random [2024-09-19T13:38:05.080Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-19T13:38:05.659Z] [ 84%] Linking C executable device-gyro [2024-09-19T13:38:05.924Z] [ 84%] Built target device-gyro [2024-09-19T13:38:05.925Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-19T13:38:06.506Z] [ 88%] Linking C executable device-bitfields [2024-09-19T13:38:06.772Z] [ 88%] Built target device-bitfields [2024-09-19T13:38:06.772Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-19T13:38:07.736Z] [ 92%] Linking C executable template-discovery [2024-09-19T13:38:08.003Z] [ 92%] Built target template-discovery [2024-09-19T13:38:08.003Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-19T13:38:08.983Z] [ 96%] Linking C executable device-file [2024-09-19T13:38:09.250Z] [ 96%] Built target device-file [2024-09-19T13:38:09.250Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-19T13:38:09.858Z] [100%] Linking C executable device-terminal [2024-09-19T13:38:10.126Z] [100%] Built target device-terminal [2024-09-19T13:38:10.126Z] Run CPack packaging tool... [2024-09-19T13:38:10.126Z] CPack: Create package using TGZ [2024-09-19T13:38:10.126Z] CPack: Install projects [2024-09-19T13:38:10.126Z] CPack: - Run preinstall target for: Csdk [2024-09-19T13:38:11.090Z] CPack: - Install project: Csdk [] [2024-09-19T13:38:11.090Z] CPack: Create package [2024-09-19T13:38:11.090Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-09-19T13:38:11.090Z] + '[' false '=' true ] [2024-09-19T13:38:11.090Z] + '[' false '=' true ] [2024-09-19T13:38:11.090Z] + mkdir -p /tmp/sdk/build/debug [2024-09-19T13:38:11.090Z] + cd /tmp/sdk/build/debug [2024-09-19T13:38:11.090Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-09-19T13:38:11.358Z] -- The C compiler identification is GNU 12.2.1 [2024-09-19T13:38:11.625Z] -- Detecting C compiler ABI info [2024-09-19T13:38:11.894Z] -- Detecting C compiler ABI info - done [2024-09-19T13:38:11.894Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-19T13:38:11.894Z] -- Detecting C compile features [2024-09-19T13:38:11.894Z] -- Detecting C compile features - done [2024-09-19T13:38:11.894Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-19T13:38:12.161Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-19T13:38:12.161Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-19T13:38:12.161Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-19T13:38:12.161Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-19T13:38:12.161Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-19T13:38:12.162Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-19T13:38:12.162Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-19T13:38:12.162Z] -- /opt/iotech/iot/1.5/include [2024-09-19T13:38:12.162Z] -- C SDK 0.0.0 for Linux [2024-09-19T13:38:12.162Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-19T13:38:12.744Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-19T13:38:12.744Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-19T13:38:12.744Z] -- Configuring done (1.7s) [2024-09-19T13:38:13.010Z] -- Generating done (0.2s) [2024-09-19T13:38:13.277Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-09-19T13:38:13.277Z] + make [2024-09-19T13:38:13.277Z] + tee debug.log [2024-09-19T13:38:13.277Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-19T13:38:13.862Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-19T13:38:14.131Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-19T13:38:14.398Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-19T13:38:14.677Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-19T13:38:15.263Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-19T13:38:15.850Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-19T13:38:16.251Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-19T13:38:16.533Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-19T13:38:17.127Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-19T13:38:17.720Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-19T13:38:17.991Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-19T13:38:18.601Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-19T13:38:18.895Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-19T13:38:19.185Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-19T13:38:19.452Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-19T13:38:19.721Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-19T13:38:20.682Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-19T13:38:20.682Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-19T13:38:20.950Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-19T13:38:21.534Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-19T13:38:22.958Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-19T13:38:22.958Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-19T13:38:23.228Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-19T13:38:23.496Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-19T13:38:23.764Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-19T13:38:24.352Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-19T13:38:25.768Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-19T13:38:25.768Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-19T13:38:26.355Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-19T13:38:26.622Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-19T13:38:26.892Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-19T13:38:26.892Z] /tmp/sdk/src/c/service.c:914:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T13:38:26.892Z] 914 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-19T13:38:26.892Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T13:38:26.892Z] /tmp/sdk/src/c/service.c:915:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T13:38:26.892Z] 915 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-19T13:38:26.892Z] | ^ [2024-09-19T13:38:27.478Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-19T13:38:27.746Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-19T13:38:28.013Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-19T13:38:28.280Z] [ 68%] Linking C shared library libcsdk.so [2024-09-19T13:38:28.547Z] [ 68%] Built target csdk [2024-09-19T13:38:28.547Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-19T13:38:29.130Z] [ 72%] Linking C executable template [2024-09-19T13:38:29.398Z] [ 72%] Built target template [2024-09-19T13:38:29.398Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-19T13:38:29.664Z] [ 76%] Linking C executable device-counter [2024-09-19T13:38:29.933Z] [ 76%] Built target device-counter [2024-09-19T13:38:29.933Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-19T13:38:30.198Z] [ 80%] Linking C executable device-random [2024-09-19T13:38:30.463Z] [ 80%] Built target device-random [2024-09-19T13:38:30.728Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-19T13:38:30.993Z] [ 84%] Linking C executable device-gyro [2024-09-19T13:38:31.258Z] [ 84%] Built target device-gyro [2024-09-19T13:38:31.258Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-19T13:38:31.525Z] [ 88%] Linking C executable device-bitfields [2024-09-19T13:38:31.792Z] [ 88%] Built target device-bitfields [2024-09-19T13:38:32.057Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-19T13:38:32.322Z] [ 92%] Linking C executable template-discovery [2024-09-19T13:38:32.588Z] [ 92%] Built target template-discovery [2024-09-19T13:38:32.588Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-19T13:38:33.169Z] [ 96%] Linking C executable device-file [2024-09-19T13:38:33.169Z] [ 96%] Built target device-file [2024-09-19T13:38:33.435Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-19T13:38:33.699Z] [100%] Linking C executable device-terminal [2024-09-19T13:38:34.278Z] [100%] Built target device-terminal [2024-09-19T13:38:34.278Z] make: Entering directory '/tmp/sdk/build/release' [2024-09-19T13:38:34.543Z] [ 68%] Built target csdk [2024-09-19T13:38:34.543Z] [ 72%] Built target template [2024-09-19T13:38:34.543Z] [ 76%] Built target device-counter [2024-09-19T13:38:34.543Z] [ 80%] Built target device-random [2024-09-19T13:38:34.807Z] [ 84%] Built target device-gyro [2024-09-19T13:38:34.807Z] [ 88%] Built target device-bitfields [2024-09-19T13:38:34.807Z] [ 92%] Built target template-discovery [2024-09-19T13:38:34.807Z] [ 96%] Built target device-file [2024-09-19T13:38:34.807Z] [100%] Built target device-terminal [2024-09-19T13:38:35.075Z] Install the project... [2024-09-19T13:38:35.075Z] -- Install configuration: "Release" [2024-09-19T13:38:35.075Z] -- Installing: /usr/local/lib/libcsdk.so [2024-09-19T13:38:35.075Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-09-19T13:38:35.075Z] -- Installing: /usr/local/include [2024-09-19T13:38:35.075Z] -- Installing: /usr/local/include/devsdk [2024-09-19T13:38:35.075Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-09-19T13:38:35.075Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-09-19T13:38:35.075Z] -- Installing: /usr/local/include/edgex [2024-09-19T13:38:35.075Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-09-19T13:38:35.075Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-09-19T13:38:35.075Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-09-19T13:38:35.075Z] -- Installing: /usr/local/include/edgex/devices.h [2024-09-19T13:38:35.075Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-09-19T13:38:35.075Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-09-19T13:38:35.075Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-09-19T13:38:35.075Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-09-19T13:38:35.075Z] make: Leaving directory '/tmp/sdk/build/release' [2024-09-19T13:38:36.481Z] Removing intermediate container d54bd74a770a [2024-09-19T13:38:36.481Z] ---> 1eb9cee52faa [2024-09-19T13:38:36.481Z] Step 14/22 : FROM ${BASE} [2024-09-19T13:38:36.481Z] ---> 2b552cad5dd9 [2024-09-19T13:38:36.481Z] Step 15/22 : LABEL maintainer="IOTech " [2024-09-19T13:38:36.481Z] ---> Running in 8a86d29bc720 [2024-09-19T13:38:36.748Z] Removing intermediate container 8a86d29bc720 [2024-09-19T13:38:36.748Z] ---> 6e81677f3b75 [2024-09-19T13:38:36.748Z] 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-19T13:38:36.748Z] ---> Running in 9f499da9e691 [2024-09-19T13:38:37.706Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-19T13:38:38.291Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T13:38:38.291Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T13:38:38.291Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T13:38:38.882Z] Removing intermediate container 9f499da9e691 [2024-09-19T13:38:38.882Z] ---> 1fd7d3af499a [2024-09-19T13:38:38.882Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T13:38:38.882Z] ---> Running in 4fe097e23838 [2024-09-19T13:38:40.823Z] Removing intermediate container 4fe097e23838 [2024-09-19T13:38:40.823Z] ---> 831e21e22cea [2024-09-19T13:38:40.823Z] 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-19T13:38:40.823Z] ---> Running in 6b0b8d47cacd [2024-09-19T13:38:41.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T13:38:42.102Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T13:38:42.681Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T13:38:43.647Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T13:38:43.647Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) [2024-09-19T13:38:43.647Z] (2/10) Installing curl (8.9.1-r0) [2024-09-19T13:38:43.647Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) [2024-09-19T13:38:43.647Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-09-19T13:38:43.647Z] (5/10) Installing hiredis (1.1.0-r2) [2024-09-19T13:38:43.647Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-09-19T13:38:43.647Z] (7/10) Installing libcbor (0.10.2-r1) [2024-09-19T13:38:43.647Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-19T13:38:44.602Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-19T13:38:44.602Z] (10/10) Installing libuuid (2.38.1-r8) [2024-09-19T13:38:44.602Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T13:38:44.602Z] OK: 328 MiB in 90 packages [2024-09-19T13:38:46.007Z] Removing intermediate container 6b0b8d47cacd [2024-09-19T13:38:46.007Z] ---> 9b6f03d23772 [2024-09-19T13:38:46.007Z] Step 19/22 : RUN apk --no-cache upgrade [2024-09-19T13:38:46.007Z] ---> Running in 26a196c9d4ef [2024-09-19T13:38:46.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T13:38:46.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T13:38:47.542Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T13:38:48.512Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T13:38:48.512Z] Upgrading critical system libraries and apk-tools: [2024-09-19T13:38:48.512Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-09-19T13:38:48.512Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T13:38:48.778Z] Continuing the upgrade transaction with new apk-tools: [2024-09-19T13:38:48.778Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T13:38:49.044Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T13:38:49.625Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T13:38:50.582Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T13:38:50.582Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T13:38:50.582Z] Executing busybox-1.36.1-r7.post-upgrade [2024-09-19T13:38:50.583Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T13:38:50.583Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-09-19T13:38:50.583Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T13:38:50.583Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T13:38:50.583Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T13:38:50.583Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-09-19T13:38:50.583Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) [2024-09-19T13:38:50.849Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-09-19T13:38:50.849Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T13:38:50.849Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-09-19T13:38:51.115Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T13:38:51.115Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T13:38:51.115Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T13:38:51.115Z] Executing busybox-1.36.1-r7.trigger [2024-09-19T13:38:51.383Z] Executing ca-certificates-20240226-r0.trigger [2024-09-19T13:38:51.383Z] OK: 328 MiB in 90 packages [2024-09-19T13:38:53.322Z] Removing intermediate container 26a196c9d4ef [2024-09-19T13:38:53.322Z] ---> 544c2440cf28 [2024-09-19T13:38:53.322Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-09-19T13:38:53.910Z] ---> 996665a6634f [2024-09-19T13:38:53.910Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-09-19T13:38:54.489Z] ---> 3213e738f807 [2024-09-19T13:38:54.489Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-09-19T13:38:54.754Z] ---> cf2501a3d2b1 [2024-09-19T13:38:55.019Z] Successfully built cf2501a3d2b1 [2024-09-19T13:38:55.019Z] 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-19T13:38:55.472Z] + docker inspect -f . ci-base-image-arm64 [2024-09-19T13:38:55.472Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T13:38:55.694Z] prd-ubuntu20.04-docker-arm64-4c-16g-10687 does not seem to be running inside a container [2024-09-19T13:38:55.759Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/8 -v /w/workspace/device-sdk-c/8:/w/workspace/device-sdk-c/8:rw,z -v /w/workspace/device-sdk-c/8@tmp:/w/workspace/device-sdk-c/8@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-19T13:38:56.958Z] $ docker top 15ad326e02cf88ab53168a064cb0fc9bf7322ff95828352b0afa9bf6b5be14b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-19T13:38:57.821Z] + make test [2024-09-19T13:38:57.822Z] echo "make test" [2024-09-19T13:38:57.822Z] make test [Pipeline] } [2024-09-19T13:38:57.845Z] $ docker stop --time=1 15ad326e02cf88ab53168a064cb0fc9bf7322ff95828352b0afa9bf6b5be14b0 [2024-09-19T13:38:59.427Z] $ docker rm -f --volumes 15ad326e02cf88ab53168a064cb0fc9bf7322ff95828352b0afa9bf6b5be14b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-19T13:38:59.992Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-19T13:39:00.312Z] + ls -al . [2024-09-19T13:39:00.313Z] total 208 [2024-09-19T13:39:00.313Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 13:36 . [2024-09-19T13:39:00.313Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 13:36 .. [2024-09-19T13:39:00.313Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 13:36 .git [2024-09-19T13:39:00.313Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 13:36 .github [2024-09-19T13:39:00.313Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 19 13:36 .gitignore [2024-09-19T13:39:00.313Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 19 13:36 Attribution.txt [2024-09-19T13:39:00.313Z] -rw-rw-r-- 1 jenkins jenkins 11953 Sep 19 13:36 CHANGELOG.md [2024-09-19T13:39:00.313Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 19 13:36 Doxyfile [2024-09-19T13:39:00.313Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 13:36 GOVERNANCE.md [2024-09-19T13:39:00.313Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 19 13:36 Jenkinsfile [2024-09-19T13:39:00.313Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 19 13:36 LICENSE [2024-09-19T13:39:00.313Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 19 13:36 Makefile [2024-09-19T13:39:00.313Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 19 13:36 OWNERS.md [2024-09-19T13:39:00.313Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 19 13:36 README.IOT.md [2024-09-19T13:39:00.313Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 19 13:36 README.md [2024-09-19T13:39:00.313Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 19 13:36 README.v3.md [2024-09-19T13:39:00.313Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 13:34 VERSION [2024-09-19T13:39:00.313Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 13:36 docs [2024-09-19T13:39:00.313Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 13:36 include [2024-09-19T13:39:00.313Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 13:36 scripts [2024-09-19T13:39:00.313Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 13:36 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T13:39:00.660Z] + 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=a7499e878299238b3c73abbb4e3a48a5a6fed8f0 --label arch=arm64 --label version=0.0.0 . [2024-09-19T13:39:01.248Z] Sending build context to Docker daemon 3.262MB [2024-09-19T13:39:01.248Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-09-19T13:39:01.248Z] Step 2/18 : FROM ${BASE} [2024-09-19T13:39:01.248Z] ---> cf2501a3d2b1 [2024-09-19T13:39:01.248Z] Step 3/18 : LABEL maintainer="IOTech " [2024-09-19T13:39:01.248Z] ---> Running in 47bea9191a59 [2024-09-19T13:39:01.518Z] Removing intermediate container 47bea9191a59 [2024-09-19T13:39:01.518Z] ---> dceff7175f8a [2024-09-19T13:39:01.518Z] 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-19T13:39:01.518Z] ---> Running in 39da1ae1b710 [2024-09-19T13:39:02.486Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-19T13:39:03.067Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T13:39:03.067Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T13:39:03.067Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T13:39:03.654Z] Removing intermediate container 39da1ae1b710 [2024-09-19T13:39:03.654Z] ---> 22a002af74bd [2024-09-19T13:39:03.654Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T13:39:03.654Z] ---> Running in 89fba6b7a5b0 [2024-09-19T13:39:05.595Z] Removing intermediate container 89fba6b7a5b0 [2024-09-19T13:39:05.595Z] ---> aff28ce47889 [2024-09-19T13:39:05.595Z] 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-19T13:39:05.595Z] ---> Running in c82d4a64c98d [2024-09-19T13:39:06.173Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T13:39:06.755Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T13:39:07.335Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T13:39:07.912Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T13:39:07.912Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-19T13:39:08.176Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-09-19T13:39:08.176Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-09-19T13:39:08.441Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-09-19T13:39:08.441Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-09-19T13:39:08.441Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-19T13:39:08.441Z] (7/11) Installing libblkid (2.38.1-r8) [2024-09-19T13:39:08.441Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-09-19T13:39:08.441Z] (9/11) Installing libmount (2.38.1-r8) [2024-09-19T13:39:08.441Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-09-19T13:39:08.441Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-09-19T13:39:08.441Z] Executing busybox-1.36.1-r7.trigger [2024-09-19T13:39:08.441Z] OK: 334 MiB in 101 packages [2024-09-19T13:39:09.848Z] Removing intermediate container c82d4a64c98d [2024-09-19T13:39:09.848Z] ---> 0004ed03121c [2024-09-19T13:39:09.848Z] Step 7/18 : RUN apk --no-cache upgrade [2024-09-19T13:39:09.848Z] ---> Running in 253b1b47b6e9 [2024-09-19T13:39:10.807Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T13:39:11.074Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T13:39:11.343Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T13:39:12.301Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T13:39:12.301Z] OK: 334 MiB in 101 packages [2024-09-19T13:39:13.276Z] Removing intermediate container 253b1b47b6e9 [2024-09-19T13:39:13.276Z] ---> c387dc43267b [2024-09-19T13:39:13.276Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-09-19T13:39:13.543Z] ---> 4610de58973e [2024-09-19T13:39:13.543Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-09-19T13:39:14.504Z] ---> a026980f42a7 [2024-09-19T13:39:14.504Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-09-19T13:39:14.770Z] ---> 247889acf655 [2024-09-19T13:39:14.770Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-09-19T13:39:15.354Z] ---> e75600c11126 [2024-09-19T13:39:15.354Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-09-19T13:39:15.942Z] ---> af3d8f048ebb [2024-09-19T13:39:15.942Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-09-19T13:39:16.209Z] ---> abbeeab757be [2024-09-19T13:39:16.209Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-09-19T13:39:16.477Z] ---> Running in b6e6c405f708 [2024-09-19T13:39:16.742Z] Removing intermediate container b6e6c405f708 [2024-09-19T13:39:16.742Z] ---> 9ee9487fec47 [2024-09-19T13:39:16.742Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-09-19T13:39:16.742Z] ---> Running in 936bb7b44509 [2024-09-19T13:39:17.010Z] Removing intermediate container 936bb7b44509 [2024-09-19T13:39:17.010Z] ---> d7ea68189e1c [2024-09-19T13:39:17.010Z] Step 16/18 : LABEL arch=arm64 [2024-09-19T13:39:17.010Z] ---> Running in 945f6069d5f8 [2024-09-19T13:39:17.277Z] Removing intermediate container 945f6069d5f8 [2024-09-19T13:39:17.277Z] ---> f6358e36f0fb [2024-09-19T13:39:17.277Z] Step 17/18 : LABEL git_sha=a7499e878299238b3c73abbb4e3a48a5a6fed8f0 [2024-09-19T13:39:17.546Z] ---> Running in 9186fa6e191a [2024-09-19T13:39:17.812Z] Removing intermediate container 9186fa6e191a [2024-09-19T13:39:17.812Z] ---> 8fe27e1120b6 [2024-09-19T13:39:17.812Z] Step 18/18 : LABEL version=0.0.0 [2024-09-19T13:39:17.812Z] ---> Running in ed62b8738eb1 [2024-09-19T13:39:18.078Z] Removing intermediate container ed62b8738eb1 [2024-09-19T13:39:18.078Z] ---> e71735af435a [2024-09-19T13:39:18.078Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-09-19T13:39:18.078Z] Successfully built e71735af435a [2024-09-19T13:39:18.078Z] 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-19T13:39:18.537Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-19T13:39:18.537Z] [2024-09-19T13:39:18.537Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T13:39:18.874Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-19T13:39:19.141Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-19T13:39:19.141Z] 8998bd30e6a1: Pulling fs layer [2024-09-19T13:39:19.141Z] 04944245beec: Pulling fs layer [2024-09-19T13:39:19.141Z] 699f458cf7ca: Pulling fs layer [2024-09-19T13:39:19.141Z] 765212b225bb: Pulling fs layer [2024-09-19T13:39:19.141Z] f23df028b6ca: Pulling fs layer [2024-09-19T13:39:19.141Z] d65c8cfc05b1: Pulling fs layer [2024-09-19T13:39:19.141Z] 2437ff75d9bd: Pulling fs layer [2024-09-19T13:39:19.141Z] 765212b225bb: Waiting [2024-09-19T13:39:19.141Z] d65c8cfc05b1: Waiting [2024-09-19T13:39:19.141Z] 2437ff75d9bd: Waiting [2024-09-19T13:39:19.409Z] 04944245beec: Verifying Checksum [2024-09-19T13:39:19.409Z] 04944245beec: Download complete [2024-09-19T13:39:19.409Z] 765212b225bb: Download complete [2024-09-19T13:39:19.409Z] f23df028b6ca: Verifying Checksum [2024-09-19T13:39:19.409Z] f23df028b6ca: Download complete [2024-09-19T13:39:19.409Z] d65c8cfc05b1: Verifying Checksum [2024-09-19T13:39:19.409Z] d65c8cfc05b1: Download complete [2024-09-19T13:39:19.677Z] 699f458cf7ca: Verifying Checksum [2024-09-19T13:39:19.677Z] 699f458cf7ca: Download complete [2024-09-19T13:39:19.945Z] 8998bd30e6a1: Verifying Checksum [2024-09-19T13:39:19.945Z] 8998bd30e6a1: Download complete [2024-09-19T13:39:22.522Z] 2437ff75d9bd: Verifying Checksum [2024-09-19T13:39:22.522Z] 2437ff75d9bd: Download complete [2024-09-19T13:39:24.461Z] 8998bd30e6a1: Pull complete [2024-09-19T13:39:25.045Z] 04944245beec: Pull complete [2024-09-19T13:39:26.451Z] 699f458cf7ca: Pull complete [2024-09-19T13:39:26.716Z] 765212b225bb: Pull complete [2024-09-19T13:39:27.673Z] f23df028b6ca: Pull complete [2024-09-19T13:39:27.673Z] d65c8cfc05b1: Pull complete [2024-09-19T13:39:45.870Z] 2437ff75d9bd: Pull complete [2024-09-19T13:39:45.870Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-19T13:39:45.870Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-19T13:39:45.870Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T13:39:46.084Z] prd-ubuntu20.04-docker-arm64-4c-16g-10687 does not seem to be running inside a container [2024-09-19T13:39:46.146Z] $ 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/8 -v /w/workspace/device-sdk-c/8:/w/workspace/device-sdk-c/8:rw,z -v /w/workspace/device-sdk-c/8@tmp:/w/workspace/device-sdk-c/8@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-19T13:39:48.522Z] $ docker top 058b1d87e20239a193c0a21886f2f6ba465cd506c9edd96f3d3bf169babfb410 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T13:39:49.016Z] ---> job-cost.sh [2024-09-19T13:39:49.280Z] lf-activate-venv: SKIPPING [2024-09-19T13:39:49.280Z] INFO: No Stack... [2024-09-19T13:39:49.546Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-19T13:39:50.501Z] INFO: Archiving Costs [Pipeline] sh [2024-09-19T13:39:50.813Z] + cat /w/workspace/device-sdk-c/8/archives/cost.csv [2024-09-19T13:39:50.813Z] + cut -d, -f6 [Pipeline] lock [2024-09-19T13:39:50.867Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-8-stack-cost] [2024-09-19T13:39:50.885Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-8-stack-cost] did not exist. Created. [2024-09-19T13:39:50.891Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-19T13:39:51.231Z] /w/workspace/device-sdk-c/8@tmp/durable-4c71f2ed/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-19T13:39:51.550Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-19T13:39:51.841Z] Warning: overwriting stash ‘stack-cost’ [2024-09-19T13:39:52.478Z] Stashed 1 file(s) [Pipeline] } [2024-09-19T13:39:52.539Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-8-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-19T13:39:52.576Z] $ docker stop --time=1 058b1d87e20239a193c0a21886f2f6ba465cd506c9edd96f3d3bf169babfb410 [2024-09-19T13:39:54.060Z] $ docker rm -f --volumes 058b1d87e20239a193c0a21886f2f6ba465cd506c9edd96f3d3bf169babfb410 [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-19T13:39:54.931Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives ] [2024-09-19T13:39:54.931Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives [2024-09-19T13:39:54.931Z] total 16 [2024-09-19T13:39:54.931Z] drwxr-xr-x 3 root root 4096 Sep 19 13:35 . [2024-09-19T13:39:54.931Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 13:35 .. [2024-09-19T13:39:54.931Z] drwxr-xr-x 2 root root 4096 Sep 19 13:35 cost [2024-09-19T13:39:54.931Z] -rw-r--r-- 1 root root 84 Sep 19 13:35 cost.csv [2024-09-19T13:39:54.931Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives [2024-09-19T13:39:54.931Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives [2024-09-19T13:39:54.931Z] total 16 [2024-09-19T13:39:54.931Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 13:35 . [2024-09-19T13:39:54.931Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 13:35 .. [2024-09-19T13:39:54.931Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 13:35 cost [2024-09-19T13:39:54.931Z] -rw-r--r-- 1 jenkins jenkins 84 Sep 19 13:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-19T13:39:55.225Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T13:39:56.086Z] ---> package-listing.sh [2024-09-19T13:39:56.086Z] ++ facter osfamily [2024-09-19T13:39:56.086Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-19T13:39:56.347Z] + OS_FAMILY=debian [2024-09-19T13:39:56.347Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-513 [2024-09-19T13:39:56.347Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-19T13:39:56.347Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-19T13:39:56.347Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-19T13:39:56.347Z] + PACKAGES=/tmp/packages_start.txt [2024-09-19T13:39:56.347Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' [2024-09-19T13:39:56.347Z] + PACKAGES=/tmp/packages_end.txt [2024-09-19T13:39:56.347Z] + case "${OS_FAMILY}" in [2024-09-19T13:39:56.347Z] + dpkg -l [2024-09-19T13:39:56.347Z] + grep '^ii' [2024-09-19T13:39:56.347Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-19T13:39:56.347Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-19T13:39:56.347Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-19T13:39:56.347Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' [2024-09-19T13:39:56.347Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/ [2024-09-19T13:39:56.347Z] + 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-19T13:39:56.357Z] 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-19T13:39:56.637Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T13:39:57.200Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-19T13:39:57.200Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T13:39:57.270Z] prd-ubuntu20.04-docker-8c-8g-10686 does not seem to be running inside a container [2024-09-19T13:39:57.301Z] $ 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-19T13:39:57.506Z] $ docker top 5d675f50ef2ae7ac24e891adab6f6d7df5d2dfb8c820ad35151b68a5482ff3a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-19T13:39:57.848Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-19T13:39:58.134Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-19T13:39:58.421Z] + ls /var/log/sa-host [2024-09-19T13:39:58.421Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-19T13:39:58.592Z] provisioning config files... [2024-09-19T13:39:58.601Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config17570105061511498350tmp [Pipeline] { [Pipeline] echo [2024-09-19T13:39:58.626Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T13:39:58.916Z] ---> create-netrc.sh [Pipeline] } [2024-09-19T13:39:58.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-19T13:39:59.270Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-19T13:39:59.280Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T13:39:59.560Z] ---> sudo-logs.sh [2024-09-19T13:39:59.560Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-19T13:39:59.591Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T13:39:59.871Z] ---> job-cost.sh [2024-09-19T13:39:59.871Z] lf-activate-venv: SKIPPING [2024-09-19T13:39:59.871Z] DEBUG: total: 0.2199999988079071 [2024-09-19T13:39:59.871Z] INFO: Retrieving Stack Cost... [2024-09-19T13:40:00.129Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-19T13:40:00.389Z] INFO: Archiving Costs [Pipeline] echo [2024-09-19T13:40:00.403Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T13:40:00.689Z] ---> logs-deploy.sh [2024-09-19T13:40:00.689Z] lf-activate-venv: SKIPPING [2024-09-19T13:40:00.689Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-513/8 [2024-09-19T13:40:00.689Z] INFO: archiving workspace using pattern(s): [2024-09-19T13:40:01.632Z] Archives upload complete. [2024-09-19T13:40:01.632Z] INFO: archiving logs to Nexus