Pull request #521 opened 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 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 rather than f27bd017b6d72737d04d754e3d2195165e7fc649 Obtained Jenkinsfile from 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18316171660959915698.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13018844545163153030.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-521/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-521/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6701741859589872132.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-521/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8875990763553441301.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh4349217404032215605.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-521/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-521/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14244713556542359921.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-26486 in /w/workspace/edgexfoundry_device-sdk-c_PR-521 [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-521 # 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/521/head:refs/remotes/origin/PR-521 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 into PR head commit f27bd017b6d72737d04d754e3d2195165e7fc649 Merge succeeded, producing f27bd017b6d72737d04d754e3d2195165e7fc649 Checking out Revision f27bd017b6d72737d04d754e3d2195165e7fc649 (PR-521) > git config core.sparsecheckout # timeout=10 > git checkout -f f27bd017b6d72737d04d754e3d2195165e7fc649 # 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 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f27bd017b6d72737d04d754e3d2195165e7fc649 # timeout=10 Commit message: "fix: Missing discovery delete wrapper for secure mode" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-15T14:48:04.399Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-15T14:48:04.623Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-15T14:48:04.744Z] ========================================================= [2024-11-15T14:48:04.744Z] EdgeX Global Pipelines Version Info [2024-11-15T14:48:04.744Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-15T14:48:05.889Z] ------------------- [2024-11-15T14:48:05.889Z] stable info: [2024-11-15T14:48:05.889Z] ------------------- [2024-11-15T14:48:05.889Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-15T14:48:05.889Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-15T14:48:05.889Z] Message: update stable to v1.0.265 [2024-11-15T14:48:06.461Z] ------------------- [2024-11-15T14:48:06.461Z] experimental info: [2024-11-15T14:48:06.461Z] ------------------- [2024-11-15T14:48:06.461Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-15T14:48:06.461Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-15T14:48:06.461Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-15T14:48:06.689Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-11-15T14:48:06.748Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-11-15T14:48:06.807Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-15T14:48:06.872Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-15T14:48:06.934Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-15T14:48:06.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-11-15T14:48:07.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-11-15T14:48:07.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-15T14:48:07.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-15T14:48:07.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-11-15T14:48:07.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-15T14:48:07.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-15T14:48:07.405Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-15T14:48:07.459Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-11-15T14:48:07.514Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-15T14:48:07.568Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-15T14:48:07.625Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-15T14:48:07.681Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-521 [Pipeline] echo [2024-11-15T14:48:07.740Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-521 [Pipeline] echo [2024-11-15T14:48:07.802Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-521 [Pipeline] echo [2024-11-15T14:48:07.857Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f27bd017b6d72737d04d754e3d2195165e7fc649 [Pipeline] echo [2024-11-15T14:48:07.908Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f27bd01 [Pipeline] echo [2024-11-15T14:48:07.967Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-15T14:48:08.381Z] provisioning config files... [2024-11-15T14:48:08.396Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-521@tmp/config17421048418876550971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-15T14:48:08.796Z] ---> ****-login.sh [2024-11-15T14:48:08.796Z] nexus3.edgexfoundry.org:10001 [2024-11-15T14:48:09.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-15T14:48:09.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-15T14:48:09.064Z] Configure a credential helper to remove this warning. See [2024-11-15T14:48:09.064Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-15T14:48:09.064Z] [2024-11-15T14:48:09.064Z] Login Succeeded [2024-11-15T14:48:09.064Z] nexus3.edgexfoundry.org:10002 [2024-11-15T14:48:09.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-15T14:48:09.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-15T14:48:09.327Z] Configure a credential helper to remove this warning. See [2024-11-15T14:48:09.327Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-15T14:48:09.327Z] [2024-11-15T14:48:09.327Z] Login Succeeded [2024-11-15T14:48:09.327Z] nexus3.edgexfoundry.org:10003 [2024-11-15T14:48:09.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-15T14:48:09.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-15T14:48:09.327Z] Configure a credential helper to remove this warning. See [2024-11-15T14:48:09.327Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-15T14:48:09.327Z] [2024-11-15T14:48:09.327Z] Login Succeeded [2024-11-15T14:48:09.327Z] nexus3.edgexfoundry.org:10004 [2024-11-15T14:48:09.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-15T14:48:09.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-15T14:48:09.590Z] Configure a credential helper to remove this warning. See [2024-11-15T14:48:09.590Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-15T14:48:09.590Z] [2024-11-15T14:48:09.590Z] Login Succeeded [2024-11-15T14:48:09.590Z] ****.io [2024-11-15T14:48:09.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-15T14:48:09.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-15T14:48:09.853Z] Configure a credential helper to remove this warning. See [2024-11-15T14:48:09.853Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-15T14:48:09.853Z] [2024-11-15T14:48:09.853Z] Login Succeeded [2024-11-15T14:48:09.853Z] ---> ****-login.sh ends [Pipeline] } [2024-11-15T14:48:09.889Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2024-11-15T14:48:10.567Z] + git rev-list -1 --merges f27bd017b6d72737d04d754e3d2195165e7fc649~1..f27bd017b6d72737d04d754e3d2195165e7fc649 [Pipeline] echo [2024-11-15T14:48:10.618Z] -----------> git rev-list -1 --merges f27bd017b6d72737d04d754e3d2195165e7fc649~1..f27bd017b6d72737d04d754e3d2195165e7fc649 f27bd017b6d72737d04d754e3d2195165e7fc649 [false] [Pipeline] sh [2024-11-15T14:48:10.953Z] + git log --format=format:%s -1 f27bd017b6d72737d04d754e3d2195165e7fc649 [Pipeline] echo [2024-11-15T14:48:11.007Z] ========================================================= [2024-11-15T14:48:11.007Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-15T14:48:11.007Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-15T14:48:12.029Z] + git rev-list -1 --merges f27bd017b6d72737d04d754e3d2195165e7fc649~1..f27bd017b6d72737d04d754e3d2195165e7fc649 [Pipeline] echo [2024-11-15T14:48:12.074Z] -----------> git rev-list -1 --merges f27bd017b6d72737d04d754e3d2195165e7fc649~1..f27bd017b6d72737d04d754e3d2195165e7fc649 f27bd017b6d72737d04d754e3d2195165e7fc649 [false] [Pipeline] sh [2024-11-15T14:48:12.408Z] + git log --format=format:%s -1 f27bd017b6d72737d04d754e3d2195165e7fc649 [Pipeline] echo [2024-11-15T14:48:12.449Z] ========================================================= [2024-11-15T14:48:12.449Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-15T14:48:12.449Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-11-15T14:48:12.977Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-15T14:48:12.977Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-15T14:48:12.977Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-15T14:48:12.977Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-15T14:48:12.977Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-15T14:48:12.977Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-15T14:48:12.977Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-15T14:48:13.504Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-15T14:48:13.505Z] [2024-11-15T14:48:13.505Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-15T14:48:13.915Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-15T14:48:13.916Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-15T14:48:13.916Z] b85a868b505f: Pulling fs layer [2024-11-15T14:48:13.916Z] e2be974225ed: Pulling fs layer [2024-11-15T14:48:13.916Z] 339a4e72a1f5: Pulling fs layer [2024-11-15T14:48:13.916Z] 988bab9f4d93: Pulling fs layer [2024-11-15T14:48:13.916Z] 1469e6f7b9e6: Pulling fs layer [2024-11-15T14:48:13.916Z] eaf3925da568: Pulling fs layer [2024-11-15T14:48:13.916Z] bab4dde63d76: Pulling fs layer [2024-11-15T14:48:13.916Z] bde34c3a00c8: Pulling fs layer [2024-11-15T14:48:13.916Z] b352a97aabf1: Pulling fs layer [2024-11-15T14:48:13.916Z] 4872d77fe225: Pulling fs layer [2024-11-15T14:48:13.916Z] 5851b861e8e6: Pulling fs layer [2024-11-15T14:48:13.916Z] bab4dde63d76: Waiting [2024-11-15T14:48:13.916Z] bde34c3a00c8: Waiting [2024-11-15T14:48:13.916Z] b352a97aabf1: Waiting [2024-11-15T14:48:13.916Z] 4872d77fe225: Waiting [2024-11-15T14:48:13.916Z] 5851b861e8e6: Waiting [2024-11-15T14:48:13.916Z] 988bab9f4d93: Waiting [2024-11-15T14:48:13.916Z] 1469e6f7b9e6: Waiting [2024-11-15T14:48:13.916Z] eaf3925da568: Waiting [2024-11-15T14:48:13.916Z] e2be974225ed: Verifying Checksum [2024-11-15T14:48:13.916Z] e2be974225ed: Download complete [2024-11-15T14:48:13.916Z] 988bab9f4d93: Download complete [2024-11-15T14:48:13.916Z] 1469e6f7b9e6: Verifying Checksum [2024-11-15T14:48:13.916Z] 1469e6f7b9e6: Download complete [2024-11-15T14:48:14.178Z] eaf3925da568: Verifying Checksum [2024-11-15T14:48:14.178Z] eaf3925da568: Download complete [2024-11-15T14:48:14.178Z] 339a4e72a1f5: Verifying Checksum [2024-11-15T14:48:14.178Z] 339a4e72a1f5: Download complete [2024-11-15T14:48:14.178Z] bde34c3a00c8: Verifying Checksum [2024-11-15T14:48:14.178Z] bde34c3a00c8: Download complete [2024-11-15T14:48:14.178Z] b352a97aabf1: Download complete [2024-11-15T14:48:14.178Z] 4872d77fe225: Download complete [2024-11-15T14:48:14.178Z] 5851b861e8e6: Verifying Checksum [2024-11-15T14:48:14.178Z] 5851b861e8e6: Download complete [2024-11-15T14:48:14.178Z] b85a868b505f: Verifying Checksum [2024-11-15T14:48:14.178Z] b85a868b505f: Download complete [2024-11-15T14:48:14.438Z] bab4dde63d76: Verifying Checksum [2024-11-15T14:48:14.438Z] bab4dde63d76: Download complete [2024-11-15T14:48:15.374Z] b85a868b505f: Pull complete [2024-11-15T14:48:15.374Z] e2be974225ed: Pull complete [2024-11-15T14:48:15.946Z] 339a4e72a1f5: Pull complete [2024-11-15T14:48:15.946Z] 988bab9f4d93: Pull complete [2024-11-15T14:48:16.207Z] 1469e6f7b9e6: Pull complete [2024-11-15T14:48:16.207Z] eaf3925da568: Pull complete [2024-11-15T14:48:18.113Z] bab4dde63d76: Pull complete [2024-11-15T14:48:18.113Z] bde34c3a00c8: Pull complete [2024-11-15T14:48:18.372Z] b352a97aabf1: Pull complete [2024-11-15T14:48:18.372Z] 4872d77fe225: Pull complete [2024-11-15T14:48:18.372Z] 5851b861e8e6: Pull complete [2024-11-15T14:48:18.372Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-15T14:48:18.372Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-15T14:48:18.372Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-15T14:48:18.671Z] prd-ubuntu20.04-docker-8c-8g-26486 does not seem to be running inside a container [2024-11-15T14:48:18.698Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-521 -v /w/workspace/edgexfoundry_device-sdk-c_PR-521:/w/workspace/edgexfoundry_device-sdk-c_PR-521:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-521@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-521@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-15T14:48:20.835Z] $ docker top b3b6d4b545ef47b2e83be4590a1633780c495038591adf80b3aa7410cd41a5e6 -eo pid,comm [2024-11-15T14:48:20.902Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-11-15T14:48:20.902Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-15T14:48:21.056Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-15T14:48:21.056Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-15T14:48:21.168Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-15T14:48:21.168Z] $ docker exec b3b6d4b545ef47b2e83be4590a1633780c495038591adf80b3aa7410cd41a5e6 ssh-agent [2024-11-15T14:48:21.272Z] SSH_AUTH_SOCK=/tmp/ssh-yFky0YkclQuI/agent.31 [2024-11-15T14:48:21.272Z] SSH_AGENT_PID=37 [2024-11-15T14:48:21.279Z] Running ssh-add (command line suppressed) [2024-11-15T14:48:21.382Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-521@tmp/private_key_3141933892259511734.key (/w/workspace/edgexfoundry_device-sdk-c_PR-521@tmp/private_key_3141933892259511734.key) [2024-11-15T14:48:21.402Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-15T14:48:21.750Z] + git tag --points-at HEAD [Pipeline] } [2024-11-15T14:48:21.780Z] $ docker exec --env ******** --env ******** b3b6d4b545ef47b2e83be4590a1633780c495038591adf80b3aa7410cd41a5e6 ssh-agent -k [2024-11-15T14:48:21.892Z] unset SSH_AUTH_SOCK; [2024-11-15T14:48:21.893Z] unset SSH_AGENT_PID; [2024-11-15T14:48:21.893Z] echo Agent pid 37 killed; [2024-11-15T14:48:21.914Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-15T14:48:22.027Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-15T14:48:22.027Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-15T14:48:22.155Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-15T14:48:22.154Z] $ docker exec b3b6d4b545ef47b2e83be4590a1633780c495038591adf80b3aa7410cd41a5e6 ssh-agent [2024-11-15T14:48:22.290Z] SSH_AUTH_SOCK=/tmp/ssh-IDgYtO8akV2j/agent.71 [2024-11-15T14:48:22.290Z] SSH_AGENT_PID=77 [2024-11-15T14:48:22.295Z] Running ssh-add (command line suppressed) [2024-11-15T14:48:22.391Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-521@tmp/private_key_15851763422308545856.key (/w/workspace/edgexfoundry_device-sdk-c_PR-521@tmp/private_key_15851763422308545856.key) [2024-11-15T14:48:22.408Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-15T14:48:22.764Z] + git semver init [2024-11-15T14:48:23.024Z] 2024-11-15 14:48:22,931 [run_init] DEBUG init version:0.0.0 force:False [2024-11-15T14:48:23.024Z] 2024-11-15 14:48:22,932 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-521/.semver [2024-11-15T14:48:23.024Z] 2024-11-15 14:48:22,932 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-521/.semver [2024-11-15T14:48:23.024Z] 2024-11-15 14:48:22,932 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-521/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-521, universal_newlines=False, shell=None, istream=None) [2024-11-15T14:48:23.964Z] 2024-11-15 14:48:23,733 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-521/.git/info/exclude [2024-11-15T14:48:23.964Z] 2024-11-15 14:48:23,733 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-521/.semver/PR-521 with force:False [2024-11-15T14:48:23.964Z] 2024-11-15 14:48:23,733 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-521/.semver/PR-521 [2024-11-15T14:48:23.964Z] 2024-11-15 14:48:23,737 [execute] INFO git cat-file --batch-check [2024-11-15T14:48:23.964Z] 2024-11-15 14:48:23,737 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-521/.semver, universal_newlines=False, shell=None, istream=) [2024-11-15T14:48:23.964Z] 2024-11-15 14:48:23,743 [execute] INFO git cat-file --batch [2024-11-15T14:48:23.964Z] 2024-11-15 14:48:23,743 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-521/.semver, universal_newlines=False, shell=None, istream=) [2024-11-15T14:48:23.964Z] 2024-11-15 14:48:23,749 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-521/.semver/PR-521 [2024-11-15T14:48:23.964Z] 0.0.0 [Pipeline] } [2024-11-15T14:48:23.990Z] $ docker exec --env ******** --env ******** b3b6d4b545ef47b2e83be4590a1633780c495038591adf80b3aa7410cd41a5e6 ssh-agent -k [2024-11-15T14:48:24.099Z] unset SSH_AUTH_SOCK; [2024-11-15T14:48:24.100Z] unset SSH_AGENT_PID; [2024-11-15T14:48:24.100Z] echo Agent pid 77 killed; [2024-11-15T14:48:24.113Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-15T14:48:24.570Z] + git semver [Pipeline] } [2024-11-15T14:48:24.858Z] $ docker stop --time=1 b3b6d4b545ef47b2e83be4590a1633780c495038591adf80b3aa7410cd41a5e6 [2024-11-15T14:48:26.140Z] $ docker rm -f --volumes b3b6d4b545ef47b2e83be4590a1633780c495038591adf80b3aa7410cd41a5e6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-15T14:48:26.569Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-15T14:48:26.891Z] Stashed 1 file(s) [Pipeline] echo [2024-11-15T14:48:26.914Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-15T14:48:27.561Z] provisioning config files... [2024-11-15T14:48:27.572Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-521@tmp/config7924490882503175885tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-15T14:48:27.949Z] ---> ****-login.sh [2024-11-15T14:48:27.949Z] nexus3.edgexfoundry.org:10001 [2024-11-15T14:48:27.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-15T14:48:27.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-15T14:48:27.950Z] Configure a credential helper to remove this warning. See [2024-11-15T14:48:27.950Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-15T14:48:27.950Z] [2024-11-15T14:48:27.950Z] Login Succeeded [2024-11-15T14:48:27.950Z] nexus3.edgexfoundry.org:10002 [2024-11-15T14:48:27.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-15T14:48:27.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-15T14:48:27.950Z] Configure a credential helper to remove this warning. See [2024-11-15T14:48:27.950Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-15T14:48:27.950Z] [2024-11-15T14:48:27.950Z] Login Succeeded [2024-11-15T14:48:27.950Z] nexus3.edgexfoundry.org:10003 [2024-11-15T14:48:28.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-15T14:48:28.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-15T14:48:28.210Z] Configure a credential helper to remove this warning. See [2024-11-15T14:48:28.210Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-15T14:48:28.210Z] [2024-11-15T14:48:28.210Z] Login Succeeded [2024-11-15T14:48:28.210Z] nexus3.edgexfoundry.org:10004 [2024-11-15T14:48:28.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-15T14:48:28.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-15T14:48:28.211Z] Configure a credential helper to remove this warning. See [2024-11-15T14:48:28.211Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-15T14:48:28.211Z] [2024-11-15T14:48:28.211Z] Login Succeeded [2024-11-15T14:48:28.211Z] ****.io [2024-11-15T14:48:28.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-15T14:48:28.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-15T14:48:28.473Z] Configure a credential helper to remove this warning. See [2024-11-15T14:48:28.473Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-15T14:48:28.473Z] [2024-11-15T14:48:28.473Z] Login Succeeded [2024-11-15T14:48:28.473Z] ---> ****-login.sh ends [Pipeline] } [2024-11-15T14:48:28.508Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-15T14:48:28.769Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-15T14:48:28.816Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-11-15T14:48:28.866Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-15T14:48:28.920Z] ========================================================= [2024-11-15T14:48:28.920Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-11-15T14:48:28.920Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-15T14:48:29.386Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2024-11-15T14:48:29.386Z] Sending build context to Docker daemon 5.125MB [2024-11-15T14:48:29.386Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-11-15T14:48:29.386Z] Step 2/22 : FROM ${BASE} as builder [2024-11-15T14:48:29.386Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-11-15T14:48:29.386Z] 96526aa774ef: Pulling fs layer [2024-11-15T14:48:29.386Z] da60e534fd72: Pulling fs layer [2024-11-15T14:48:29.647Z] 96526aa774ef: Verifying Checksum [2024-11-15T14:48:29.647Z] 96526aa774ef: Download complete [2024-11-15T14:48:29.647Z] 96526aa774ef: Pull complete [2024-11-15T14:48:30.217Z] da60e534fd72: Verifying Checksum [2024-11-15T14:48:30.217Z] da60e534fd72: Download complete [2024-11-15T14:48:33.509Z] da60e534fd72: Pull complete [2024-11-15T14:48:33.509Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-11-15T14:48:33.509Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-11-15T14:48:33.509Z] ---> 6605166a5db4 [2024-11-15T14:48:33.509Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-11-15T14:48:34.892Z] ---> Running in 0fead750e5e9 [2024-11-15T14:48:35.154Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-11-15T14:48:35.415Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-15T14:48:35.415Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-15T14:48:35.415Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-15T14:48:35.674Z] Removing intermediate container 0fead750e5e9 [2024-11-15T14:48:35.674Z] ---> a5db86bdf81a [2024-11-15T14:48:35.674Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-15T14:48:35.674Z] ---> Running in 39a15679f928 [2024-11-15T14:48:36.244Z] Removing intermediate container 39a15679f928 [2024-11-15T14:48:36.244Z] ---> 1505a93949f1 [2024-11-15T14:48:36.244Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-11-15T14:48:36.244Z] ---> Running in 0c0c4e3e8741 [2024-11-15T14:48:36.504Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-15T14:48:36.765Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-15T14:48:37.025Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-15T14:48:37.595Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-15T14:48:37.595Z] (1/17) Installing hiredis (1.1.0-r2) [2024-11-15T14:48:37.595Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-11-15T14:48:37.595Z] (3/17) Installing libcbor (0.10.2-r1) [2024-11-15T14:48:37.857Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-11-15T14:48:38.428Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-11-15T14:48:38.428Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-11-15T14:48:38.689Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-11-15T14:48:38.689Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-11-15T14:48:38.689Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-11-15T14:48:38.689Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-11-15T14:48:38.948Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-11-15T14:48:38.948Z] (12/17) Installing libblkid (2.38.1-r8) [2024-11-15T14:48:38.948Z] (13/17) Installing libuuid (2.38.1-r8) [2024-11-15T14:48:38.948Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-11-15T14:48:38.948Z] (15/17) Installing libmount (2.38.1-r8) [2024-11-15T14:48:38.948Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-11-15T14:48:38.948Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-11-15T14:48:38.948Z] Executing busybox-1.36.1-r4.trigger [2024-11-15T14:48:38.948Z] OK: 336 MiB in 99 packages [2024-11-15T14:48:39.516Z] Removing intermediate container 0c0c4e3e8741 [2024-11-15T14:48:39.516Z] ---> 34bd4cccb0ce [2024-11-15T14:48:39.516Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-11-15T14:48:39.516Z] ---> Running in 056e5ebd418a [2024-11-15T14:48:40.086Z] Removing intermediate container 056e5ebd418a [2024-11-15T14:48:40.086Z] ---> 7fb454b4d02d [2024-11-15T14:48:40.086Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-11-15T14:48:40.345Z] ---> afd5417a5fa9 [2024-11-15T14:48:40.345Z] Step 8/22 : COPY src /tmp/sdk/src [2024-11-15T14:48:40.345Z] ---> fa18982a0c0a [2024-11-15T14:48:40.345Z] Step 9/22 : COPY include /tmp/sdk/include [2024-11-15T14:48:40.605Z] ---> 45d2a66a7488 [2024-11-15T14:48:40.605Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-11-15T14:48:40.605Z] ---> 49fa7ee4b21b [2024-11-15T14:48:40.605Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-11-15T14:48:40.865Z] ---> a298533ad97e [2024-11-15T14:48:40.865Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-11-15T14:48:40.865Z] ---> f608fb0bed54 [2024-11-15T14:48:40.865Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-11-15T14:48:40.865Z] ---> Running in 9f5b02f1d20c [2024-11-15T14:48:41.435Z] + CPPCHECK=false [2024-11-15T14:48:41.435Z] + DOCGEN=false [2024-11-15T14:48:41.435Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-11-15T14:48:41.435Z] + '[' 0 -gt 0 ] [2024-11-15T14:48:41.435Z] + readlink -f ./scripts/build.sh [2024-11-15T14:48:41.435Z] + dirname /tmp/sdk/scripts/build.sh [2024-11-15T14:48:41.435Z] + dirname /tmp/sdk/scripts [2024-11-15T14:48:41.435Z] + ROOT=/tmp/sdk [2024-11-15T14:48:41.435Z] + cd /tmp/sdk [2024-11-15T14:48:41.435Z] + mkdir -p /tmp/sdk/build/release [2024-11-15T14:48:41.435Z] + cd /tmp/sdk/build/release [2024-11-15T14:48:41.435Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-11-15T14:48:41.435Z] -- The C compiler identification is GNU 12.2.1 [2024-11-15T14:48:41.435Z] -- Detecting C compiler ABI info [2024-11-15T14:48:41.435Z] -- Detecting C compiler ABI info - done [2024-11-15T14:48:41.435Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-11-15T14:48:41.435Z] -- Detecting C compile features [2024-11-15T14:48:41.435Z] -- Detecting C compile features - done [2024-11-15T14:48:41.435Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-11-15T14:48:41.435Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-11-15T14:48:41.435Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-11-15T14:48:41.435Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-11-15T14:48:41.435Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-11-15T14:48:41.435Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-11-15T14:48:41.435Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-11-15T14:48:41.435Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-11-15T14:48:41.435Z] -- /opt/iotech/iot/1.5/include [2024-11-15T14:48:41.435Z] -- C SDK 0.0.0 for Linux [2024-11-15T14:48:41.435Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-11-15T14:48:41.695Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-11-15T14:48:41.695Z] -- Found Curses: /usr/lib/libcurses.so [2024-11-15T14:48:41.695Z] -- Configuring done (0.4s) [2024-11-15T14:48:41.695Z] -- Generating done (0.0s) [2024-11-15T14:48:41.695Z] -- Build files have been written to: /tmp/sdk/build/release [2024-11-15T14:48:41.695Z] + make all package [2024-11-15T14:48:41.695Z] + tee release.log [2024-11-15T14:48:41.695Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-11-15T14:48:41.956Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-11-15T14:48:41.956Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-11-15T14:48:42.216Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-11-15T14:48:42.216Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-11-15T14:48:42.216Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-11-15T14:48:42.335Z] Still waiting to schedule task [2024-11-15T14:48:42.335Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-11-15T14:48:42.793Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-11-15T14:48:42.793Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-11-15T14:48:42.793Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-15T14:48:42.793Z] 294 | while (privateConfig) [2024-11-15T14:48:42.793Z] | ^~~~~~~~~~~~~ [2024-11-15T14:48:42.793Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-11-15T14:48:42.793Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-11-15T14:48:42.793Z] | ^~~~~~~~~~~~~ [2024-11-15T14:48:42.793Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-15T14:48:42.793Z] 271 | while (result) [2024-11-15T14:48:42.793Z] | ^~~~~~ [2024-11-15T14:48:42.793Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-11-15T14:48:42.793Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-11-15T14:48:42.793Z] | ^~~~~~ [2024-11-15T14:48:42.793Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-11-15T14:48:42.793Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-11-15T14:48:43.054Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-11-15T14:48:43.313Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-11-15T14:48:43.313Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-11-15T14:48:43.578Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-11-15T14:48:43.578Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-11-15T14:48:43.838Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-11-15T14:48:43.838Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-11-15T14:48:44.097Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-11-15T14:48:44.357Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-11-15T14:48:44.357Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-11-15T14:48:44.357Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-11-15T14:48:44.616Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-11-15T14:48:45.554Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-11-15T14:48:45.817Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-11-15T14:48:45.817Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-11-15T14:48:45.817Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-11-15T14:48:46.077Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-11-15T14:48:46.077Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-11-15T14:48:46.646Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-11-15T14:48:46.646Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-11-15T14:48:46.646Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-11-15T14:48:46.906Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-11-15T14:48:46.906Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-11-15T14:48:46.906Z] /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-15T14:48:46.906Z] 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-11-15T14:48:46.906Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-15T14:48:46.906Z] /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-15T14:48:46.906Z] 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-11-15T14:48:46.906Z] | ^ [2024-11-15T14:48:47.166Z] /tmp/sdk/src/c/service.c:1074:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-15T14:48:47.166Z] 1074 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-11-15T14:48:47.166Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-15T14:48:47.166Z] /tmp/sdk/src/c/service.c:886:68: note: 'deviceservices_config' was declared here [2024-11-15T14:48:47.166Z] 886 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-11-15T14:48:47.166Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-11-15T14:48:47.167Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-11-15T14:48:47.426Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-11-15T14:48:47.426Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-11-15T14:48:47.426Z] [ 68%] Linking C shared library libcsdk.so [2024-11-15T14:48:47.426Z] [ 68%] Built target csdk [2024-11-15T14:48:47.426Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-11-15T14:48:47.685Z] [ 72%] Linking C executable template [2024-11-15T14:48:47.685Z] [ 72%] Built target template [2024-11-15T14:48:47.685Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-11-15T14:48:47.944Z] [ 76%] Linking C executable device-counter [2024-11-15T14:48:47.944Z] [ 76%] Built target device-counter [2024-11-15T14:48:47.944Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-11-15T14:48:47.944Z] [ 80%] Linking C executable device-random [2024-11-15T14:48:47.944Z] [ 80%] Built target device-random [2024-11-15T14:48:48.203Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-11-15T14:48:48.203Z] [ 84%] Linking C executable device-gyro [2024-11-15T14:48:48.203Z] [ 84%] Built target device-gyro [2024-11-15T14:48:48.203Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-11-15T14:48:48.203Z] [ 88%] Linking C executable device-bitfields [2024-11-15T14:48:48.461Z] [ 88%] Built target device-bitfields [2024-11-15T14:48:48.461Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-11-15T14:48:48.461Z] [ 92%] Linking C executable template-discovery [2024-11-15T14:48:48.720Z] [ 92%] Built target template-discovery [2024-11-15T14:48:48.720Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-11-15T14:48:48.720Z] [ 96%] Linking C executable device-file [2024-11-15T14:48:48.720Z] [ 96%] Built target device-file [2024-11-15T14:48:48.979Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-11-15T14:48:48.979Z] [100%] Linking C executable device-terminal [2024-11-15T14:48:48.979Z] [100%] Built target device-terminal [2024-11-15T14:48:48.979Z] Run CPack packaging tool... [2024-11-15T14:48:48.979Z] CPack: Create package using TGZ [2024-11-15T14:48:48.979Z] CPack: Install projects [2024-11-15T14:48:48.979Z] CPack: - Run preinstall target for: Csdk [2024-11-15T14:48:49.237Z] CPack: - Install project: Csdk [] [2024-11-15T14:48:49.237Z] CPack: Create package [2024-11-15T14:48:49.237Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-11-15T14:48:49.237Z] + '[' false '=' true ] [2024-11-15T14:48:49.237Z] + '[' false '=' true ] [2024-11-15T14:48:49.237Z] + mkdir -p /tmp/sdk/build/debug [2024-11-15T14:48:49.237Z] + cd /tmp/sdk/build/debug [2024-11-15T14:48:49.237Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-11-15T14:48:49.497Z] -- The C compiler identification is GNU 12.2.1 [2024-11-15T14:48:49.497Z] -- Detecting C compiler ABI info [2024-11-15T14:48:49.497Z] -- Detecting C compiler ABI info - done [2024-11-15T14:48:49.497Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-11-15T14:48:49.497Z] -- Detecting C compile features [2024-11-15T14:48:49.497Z] -- Detecting C compile features - done [2024-11-15T14:48:49.497Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-11-15T14:48:49.497Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-11-15T14:48:49.497Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-11-15T14:48:49.497Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-11-15T14:48:49.497Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-11-15T14:48:49.497Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-11-15T14:48:49.497Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-11-15T14:48:49.497Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-11-15T14:48:49.497Z] -- /opt/iotech/iot/1.5/include [2024-11-15T14:48:49.497Z] -- C SDK 0.0.0 for Linux [2024-11-15T14:48:49.497Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-11-15T14:48:49.756Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-11-15T14:48:49.756Z] -- Found Curses: /usr/lib/libcurses.so [2024-11-15T14:48:49.756Z] -- Configuring done (0.4s) [2024-11-15T14:48:49.756Z] -- Generating done (0.0s) [2024-11-15T14:48:49.756Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-11-15T14:48:49.756Z] + make [2024-11-15T14:48:49.756Z] + tee debug.log [2024-11-15T14:48:49.756Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-11-15T14:48:50.014Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-11-15T14:48:50.015Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-11-15T14:48:50.015Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-11-15T14:48:50.015Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-11-15T14:48:50.274Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-11-15T14:48:50.274Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-11-15T14:48:50.274Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-11-15T14:48:50.533Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-11-15T14:48:50.533Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-11-15T14:48:50.533Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-11-15T14:48:50.793Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-11-15T14:48:50.793Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-11-15T14:48:50.793Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-11-15T14:48:50.793Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-11-15T14:48:51.053Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-11-15T14:48:51.053Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-11-15T14:48:51.053Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-11-15T14:48:51.313Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-11-15T14:48:51.313Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-11-15T14:48:51.313Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-11-15T14:48:51.573Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-11-15T14:48:51.573Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-11-15T14:48:51.573Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-11-15T14:48:51.833Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-11-15T14:48:51.833Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-11-15T14:48:51.833Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-11-15T14:48:52.093Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-11-15T14:48:52.093Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-11-15T14:48:52.353Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-11-15T14:48:52.353Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-11-15T14:48:52.353Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-11-15T14:48:52.353Z] /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-15T14:48:52.353Z] 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-11-15T14:48:52.353Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-15T14:48:52.353Z] /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-15T14:48:52.353Z] 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-11-15T14:48:52.353Z] | ^ [2024-11-15T14:48:52.353Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-11-15T14:48:52.613Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-11-15T14:48:52.613Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-11-15T14:48:52.613Z] [ 68%] Linking C shared library libcsdk.so [2024-11-15T14:48:52.872Z] [ 68%] Built target csdk [2024-11-15T14:48:52.872Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-11-15T14:48:53.132Z] [ 72%] Linking C executable template [2024-11-15T14:48:53.132Z] [ 72%] Built target template [2024-11-15T14:48:53.132Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-11-15T14:48:53.132Z] [ 76%] Linking C executable device-counter [2024-11-15T14:48:53.132Z] [ 76%] Built target device-counter [2024-11-15T14:48:53.132Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-11-15T14:48:53.392Z] [ 80%] Linking C executable device-random [2024-11-15T14:48:53.392Z] [ 80%] Built target device-random [2024-11-15T14:48:53.392Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-11-15T14:48:53.392Z] [ 84%] Linking C executable device-gyro [2024-11-15T14:48:53.392Z] [ 84%] Built target device-gyro [2024-11-15T14:48:53.652Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-11-15T14:48:53.652Z] [ 88%] Linking C executable device-bitfields [2024-11-15T14:48:53.652Z] [ 88%] Built target device-bitfields [2024-11-15T14:48:53.652Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-11-15T14:48:53.652Z] [ 92%] Linking C executable template-discovery [2024-11-15T14:48:53.911Z] [ 92%] Built target template-discovery [2024-11-15T14:48:53.911Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-11-15T14:48:53.911Z] [ 96%] Linking C executable device-file [2024-11-15T14:48:53.911Z] [ 96%] Built target device-file [2024-11-15T14:48:53.911Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-11-15T14:48:53.911Z] [100%] Linking C executable device-terminal [2024-11-15T14:48:54.170Z] [100%] Built target device-terminal [2024-11-15T14:48:54.170Z] make: Entering directory '/tmp/sdk/build/release' [2024-11-15T14:48:54.170Z] [ 68%] Built target csdk [2024-11-15T14:48:54.170Z] [ 72%] Built target template [2024-11-15T14:48:54.170Z] [ 76%] Built target device-counter [2024-11-15T14:48:54.170Z] [ 80%] Built target device-random [2024-11-15T14:48:54.170Z] [ 84%] Built target device-gyro [2024-11-15T14:48:54.170Z] [ 88%] Built target device-bitfields [2024-11-15T14:48:54.170Z] [ 92%] Built target template-discovery [2024-11-15T14:48:54.170Z] [ 96%] Built target device-file [2024-11-15T14:48:54.429Z] [100%] Built target device-terminal [2024-11-15T14:48:54.429Z] Install the project... [2024-11-15T14:48:54.429Z] -- Install configuration: "Release" [2024-11-15T14:48:54.429Z] -- Installing: /usr/local/lib/libcsdk.so [2024-11-15T14:48:54.429Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-11-15T14:48:54.429Z] -- Installing: /usr/local/include [2024-11-15T14:48:54.429Z] -- Installing: /usr/local/include/devsdk [2024-11-15T14:48:54.429Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-11-15T14:48:54.429Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-11-15T14:48:54.429Z] -- Installing: /usr/local/include/edgex [2024-11-15T14:48:54.429Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-11-15T14:48:54.429Z] -- Installing: /usr/local/include/edgex/devices.h [2024-11-15T14:48:54.429Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-11-15T14:48:54.429Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-11-15T14:48:54.429Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-11-15T14:48:54.429Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-11-15T14:48:54.429Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-11-15T14:48:54.429Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-11-15T14:48:54.429Z] make: Leaving directory '/tmp/sdk/build/release' [2024-11-15T14:48:54.997Z] Removing intermediate container 9f5b02f1d20c [2024-11-15T14:48:54.997Z] ---> 23c5dddda1da [2024-11-15T14:48:54.997Z] Step 14/22 : FROM ${BASE} [2024-11-15T14:48:54.997Z] ---> 6605166a5db4 [2024-11-15T14:48:54.997Z] Step 15/22 : LABEL maintainer="IOTech " [2024-11-15T14:48:54.997Z] ---> Running in 5a301ab4f696 [2024-11-15T14:48:54.998Z] Removing intermediate container 5a301ab4f696 [2024-11-15T14:48:54.998Z] ---> b7f7b93fc2fc [2024-11-15T14:48:54.998Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-11-15T14:48:54.998Z] ---> Running in 9d9e0a1ebda0 [2024-11-15T14:48:55.257Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-11-15T14:48:55.825Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-15T14:48:55.825Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-15T14:48:55.825Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-15T14:48:55.825Z] Removing intermediate container 9d9e0a1ebda0 [2024-11-15T14:48:55.825Z] ---> 05e316ab5590 [2024-11-15T14:48:55.825Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-15T14:48:55.825Z] ---> Running in e5b9c8af4714 [2024-11-15T14:48:56.394Z] Removing intermediate container e5b9c8af4714 [2024-11-15T14:48:56.395Z] ---> 31109335e36a [2024-11-15T14:48:56.395Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init [2024-11-15T14:48:56.654Z] ---> Running in ce1663a26312 [2024-11-15T14:48:56.913Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-15T14:48:56.913Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-15T14:48:57.173Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-15T14:48:57.741Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-15T14:48:57.741Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-11-15T14:48:57.741Z] (2/10) Installing curl (8.9.1-r1) [2024-11-15T14:48:57.741Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-11-15T14:48:57.741Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-11-15T14:48:57.741Z] (5/10) Installing hiredis (1.1.0-r2) [2024-11-15T14:48:57.741Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-11-15T14:48:57.741Z] (7/10) Installing libcbor (0.10.2-r1) [2024-11-15T14:48:57.741Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-11-15T14:48:58.309Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-11-15T14:48:58.569Z] (10/10) Installing libuuid (2.38.1-r8) [2024-11-15T14:48:58.569Z] Executing busybox-1.36.1-r4.trigger [2024-11-15T14:48:58.569Z] OK: 331 MiB in 90 packages [2024-11-15T14:48:58.829Z] Removing intermediate container ce1663a26312 [2024-11-15T14:48:58.829Z] ---> a89baca57259 [2024-11-15T14:48:58.829Z] Step 19/22 : RUN apk --no-cache upgrade [2024-11-15T14:48:59.087Z] ---> Running in c4c580637d58 [2024-11-15T14:48:59.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-15T14:48:59.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-15T14:48:59.348Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-15T14:48:59.916Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-15T14:48:59.916Z] Upgrading critical system libraries and apk-tools: [2024-11-15T14:48:59.916Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-11-15T14:48:59.916Z] Executing busybox-1.36.1-r4.trigger [2024-11-15T14:48:59.916Z] Continuing the upgrade transaction with new apk-tools: [2024-11-15T14:48:59.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-15T14:49:00.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-15T14:49:00.177Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-15T14:49:00.745Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-15T14:49:00.745Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-11-15T14:49:00.745Z] Executing busybox-1.36.1-r7.post-upgrade [2024-11-15T14:49:00.745Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-11-15T14:49:00.745Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-11-15T14:49:00.745Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-11-15T14:49:00.745Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-11-15T14:49:00.745Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-11-15T14:49:00.745Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2024-11-15T14:49:00.745Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2024-11-15T14:49:00.745Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-11-15T14:49:00.745Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-11-15T14:49:00.745Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-11-15T14:49:01.004Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-11-15T14:49:01.004Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-11-15T14:49:01.004Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-11-15T14:49:01.004Z] Executing busybox-1.36.1-r7.trigger [2024-11-15T14:49:01.004Z] Executing ca-certificates-20240226-r0.trigger [2024-11-15T14:49:01.262Z] OK: 332 MiB in 90 packages [2024-11-15T14:49:02.199Z] Removing intermediate container c4c580637d58 [2024-11-15T14:49:02.199Z] ---> bff10808286c [2024-11-15T14:49:02.199Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-11-15T14:49:02.199Z] ---> ec40bd707e06 [2024-11-15T14:49:02.199Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-11-15T14:49:02.199Z] ---> 99a3d3c5f1f2 [2024-11-15T14:49:02.199Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-11-15T14:49:02.457Z] ---> 3ba38a290035 [2024-11-15T14:49:02.457Z] Successfully built 3ba38a290035 [2024-11-15T14:49:02.457Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-15T14:49:03.213Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-15T14:49:03.213Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-15T14:49:03.373Z] prd-ubuntu20.04-docker-8c-8g-26486 does not seem to be running inside a container [2024-11-15T14:49:03.399Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-521 -v /w/workspace/edgexfoundry_device-sdk-c_PR-521:/w/workspace/edgexfoundry_device-sdk-c_PR-521:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-521@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-521@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 ******** ci-base-image-x86_64 cat [2024-11-15T14:49:03.739Z] $ docker top a1924b3880fe0663c60aaa720d471ecdce2e72aba7593522f8f25cec75b8ea7e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-15T14:49:04.151Z] + make test [2024-11-15T14:49:04.151Z] echo "make test" [2024-11-15T14:49:04.151Z] make test [Pipeline] } [2024-11-15T14:49:04.181Z] $ docker stop --time=1 a1924b3880fe0663c60aaa720d471ecdce2e72aba7593522f8f25cec75b8ea7e [2024-11-15T14:49:05.450Z] $ docker rm -f --volumes a1924b3880fe0663c60aaa720d471ecdce2e72aba7593522f8f25cec75b8ea7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-15T14:49:06.385Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-15T14:49:06.708Z] + ls -al . [2024-11-15T14:49:06.708Z] total 212 [2024-11-15T14:49:06.708Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 15 14:48 . [2024-11-15T14:49:06.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 14:47 .. [2024-11-15T14:49:06.708Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 14:48 .git [2024-11-15T14:49:06.708Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 14:48 .github [2024-11-15T14:49:06.708Z] -rw-rw-r-- 1 jenkins jenkins 176 Nov 15 14:48 .gitignore [2024-11-15T14:49:06.708Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 14:48 .semver [2024-11-15T14:49:06.708Z] -rw-rw-r-- 1 jenkins jenkins 2908 Nov 15 14:48 Attribution.txt [2024-11-15T14:49:06.708Z] -rw-rw-r-- 1 jenkins jenkins 11953 Nov 15 14:48 CHANGELOG.md [2024-11-15T14:49:06.708Z] -rw-rw-r-- 1 jenkins jenkins 108574 Nov 15 14:48 Doxyfile [2024-11-15T14:49:06.708Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 14:48 GOVERNANCE.md [2024-11-15T14:49:06.708Z] -rw-rw-r-- 1 jenkins jenkins 784 Nov 15 14:48 Jenkinsfile [2024-11-15T14:49:06.708Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 15 14:48 LICENSE [2024-11-15T14:49:06.708Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 15 14:48 Makefile [2024-11-15T14:49:06.708Z] -rw-rw-r-- 1 jenkins jenkins 618 Nov 15 14:48 OWNERS.md [2024-11-15T14:49:06.708Z] -rw-rw-r-- 1 jenkins jenkins 1651 Nov 15 14:48 README.IOT.md [2024-11-15T14:49:06.708Z] -rw-rw-r-- 1 jenkins jenkins 4215 Nov 15 14:48 README.md [2024-11-15T14:49:06.708Z] -rw-rw-r-- 1 jenkins jenkins 1245 Nov 15 14:48 README.v3.md [2024-11-15T14:49:06.708Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 14:48 VERSION [2024-11-15T14:49:06.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 14:48 docs [2024-11-15T14:49:06.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 14:48 include [2024-11-15T14:49:06.708Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 14:48 scripts [2024-11-15T14:49:06.708Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 14:48 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-15T14:49:07.136Z] + 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=f27bd017b6d72737d04d754e3d2195165e7fc649 --label arch=amd64 --label version=0.0.0 . [2024-11-15T14:49:07.136Z] Sending build context to Docker daemon 5.125MB [2024-11-15T14:49:07.136Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-11-15T14:49:07.136Z] Step 2/18 : FROM ${BASE} [2024-11-15T14:49:07.136Z] ---> 3ba38a290035 [2024-11-15T14:49:07.136Z] Step 3/18 : LABEL maintainer="IOTech " [2024-11-15T14:49:07.136Z] ---> Running in 46133e06c3e8 [2024-11-15T14:49:07.136Z] Removing intermediate container 46133e06c3e8 [2024-11-15T14:49:07.136Z] ---> 3c049bf8dc94 [2024-11-15T14:49:07.136Z] Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-11-15T14:49:07.395Z] ---> Running in 67e4530f4c71 [2024-11-15T14:49:07.395Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-11-15T14:49:07.963Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-15T14:49:07.963Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-15T14:49:07.963Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-15T14:49:08.223Z] Removing intermediate container 67e4530f4c71 [2024-11-15T14:49:08.223Z] ---> 0c724308aad3 [2024-11-15T14:49:08.223Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-15T14:49:08.223Z] ---> Running in 0ebb754adfc2 [2024-11-15T14:49:08.790Z] Removing intermediate container 0ebb754adfc2 [2024-11-15T14:49:08.790Z] ---> 142c1dd7dfd3 [2024-11-15T14:49:08.790Z] Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2024-11-15T14:49:08.790Z] ---> Running in 91737f59dd17 [2024-11-15T14:49:09.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-15T14:49:09.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-15T14:49:09.568Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-15T14:49:09.827Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-15T14:49:09.827Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-11-15T14:49:10.088Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-11-15T14:49:10.088Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-11-15T14:49:10.088Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-11-15T14:49:10.088Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-11-15T14:49:10.088Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-11-15T14:49:10.088Z] (7/11) Installing libblkid (2.38.1-r8) [2024-11-15T14:49:10.088Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-11-15T14:49:10.088Z] (9/11) Installing libmount (2.38.1-r8) [2024-11-15T14:49:10.088Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-11-15T14:49:10.088Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-11-15T14:49:10.088Z] Executing busybox-1.36.1-r7.trigger [2024-11-15T14:49:10.088Z] OK: 337 MiB in 101 packages [2024-11-15T14:49:10.660Z] Removing intermediate container 91737f59dd17 [2024-11-15T14:49:10.660Z] ---> 38aa83b476e4 [2024-11-15T14:49:10.660Z] Step 7/18 : RUN apk --no-cache upgrade [2024-11-15T14:49:10.920Z] ---> Running in 6d007fe3bee9 [2024-11-15T14:49:11.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-15T14:49:11.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-15T14:49:11.181Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-15T14:49:11.750Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-15T14:49:11.750Z] OK: 337 MiB in 101 packages [2024-11-15T14:49:12.485Z] Removing intermediate container 6d007fe3bee9 [2024-11-15T14:49:12.485Z] ---> 3839f3cda171 [2024-11-15T14:49:12.485Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-11-15T14:49:12.485Z] ---> b84af2acb6fc [2024-11-15T14:49:12.485Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-11-15T14:49:12.485Z] ---> f8cb7dc65be6 [2024-11-15T14:49:12.485Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-11-15T14:49:12.743Z] ---> 8f8bce6959cf [2024-11-15T14:49:12.743Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-11-15T14:49:12.743Z] ---> ae30fa7c0baf [2024-11-15T14:49:12.743Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-11-15T14:49:13.003Z] ---> 5f26cd0cd6d1 [2024-11-15T14:49:13.003Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-11-15T14:49:13.003Z] ---> 918a5622a1d2 [2024-11-15T14:49:13.003Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-11-15T14:49:13.003Z] ---> Running in c8902411dd0e [2024-11-15T14:49:13.261Z] Removing intermediate container c8902411dd0e [2024-11-15T14:49:13.261Z] ---> 0e261f90f759 [2024-11-15T14:49:13.261Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-11-15T14:49:13.261Z] ---> Running in 7e53c3932dc8 [2024-11-15T14:49:13.261Z] Removing intermediate container 7e53c3932dc8 [2024-11-15T14:49:13.261Z] ---> c71e112de369 [2024-11-15T14:49:13.261Z] Step 16/18 : LABEL arch=amd64 [2024-11-15T14:49:13.261Z] ---> Running in 0bb79578c040 [2024-11-15T14:49:13.261Z] Removing intermediate container 0bb79578c040 [2024-11-15T14:49:13.261Z] ---> ef43eec94bc5 [2024-11-15T14:49:13.261Z] Step 17/18 : LABEL git_sha=f27bd017b6d72737d04d754e3d2195165e7fc649 [2024-11-15T14:49:13.261Z] ---> Running in b9027db1aace [2024-11-15T14:49:13.523Z] Removing intermediate container b9027db1aace [2024-11-15T14:49:13.523Z] ---> 68a2da3f14f2 [2024-11-15T14:49:13.523Z] Step 18/18 : LABEL version=0.0.0 [2024-11-15T14:49:13.523Z] ---> Running in 3633242fe06c [2024-11-15T14:49:13.523Z] Removing intermediate container 3633242fe06c [2024-11-15T14:49:13.523Z] ---> 59b58ac686dd [2024-11-15T14:49:13.523Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-11-15T14:49:13.523Z] Successfully built 59b58ac686dd [2024-11-15T14:49:13.523Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-15T14:49:14.571Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-15T14:49:14.571Z] [2024-11-15T14:49:14.571Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-15T14:49:14.966Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-15T14:49:14.966Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-15T14:49:14.966Z] 5eb5b503b376: Pulling fs layer [2024-11-15T14:49:14.966Z] 5c69ac0246d0: Pulling fs layer [2024-11-15T14:49:14.966Z] ec43610c2a17: Pulling fs layer [2024-11-15T14:49:14.966Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-15T14:49:14.966Z] 33b1e0a273af: Pulling fs layer [2024-11-15T14:49:14.966Z] 5d3b04190fa2: Pulling fs layer [2024-11-15T14:49:14.966Z] 2f39f015ded8: Pulling fs layer [2024-11-15T14:49:14.966Z] 3a2ae6a8a46f: Waiting [2024-11-15T14:49:14.966Z] 33b1e0a273af: Waiting [2024-11-15T14:49:14.966Z] 5d3b04190fa2: Waiting [2024-11-15T14:49:14.966Z] 2f39f015ded8: Waiting [2024-11-15T14:49:14.966Z] 5c69ac0246d0: Download complete [2024-11-15T14:49:14.966Z] 3a2ae6a8a46f: Download complete [2024-11-15T14:49:14.966Z] 33b1e0a273af: Verifying Checksum [2024-11-15T14:49:14.966Z] 33b1e0a273af: Download complete [2024-11-15T14:49:14.966Z] 5d3b04190fa2: Download complete [2024-11-15T14:49:14.966Z] ec43610c2a17: Verifying Checksum [2024-11-15T14:49:14.966Z] ec43610c2a17: Download complete [2024-11-15T14:49:15.224Z] 5eb5b503b376: Verifying Checksum [2024-11-15T14:49:15.224Z] 5eb5b503b376: Download complete [2024-11-15T14:49:15.792Z] 2f39f015ded8: Download complete [2024-11-15T14:49:16.359Z] 5eb5b503b376: Pull complete [2024-11-15T14:49:16.617Z] 5c69ac0246d0: Pull complete [2024-11-15T14:49:16.876Z] ec43610c2a17: Pull complete [2024-11-15T14:49:16.876Z] 3a2ae6a8a46f: Pull complete [2024-11-15T14:49:17.135Z] 33b1e0a273af: Pull complete [2024-11-15T14:49:17.394Z] 5d3b04190fa2: Pull complete [2024-11-15T14:49:21.587Z] 2f39f015ded8: Pull complete [2024-11-15T14:49:21.587Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-15T14:49:21.587Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-15T14:49:21.587Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-15T14:49:21.829Z] prd-ubuntu20.04-docker-8c-8g-26486 does not seem to be running inside a container [2024-11-15T14:49:21.857Z] $ 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-521 -v /w/workspace/edgexfoundry_device-sdk-c_PR-521:/w/workspace/edgexfoundry_device-sdk-c_PR-521:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-521@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-521@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-15T14:49:24.733Z] $ docker top cec1cdec01d133bdf72391f54ee12c77c8449584240866bd79ceb5a885522133 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-15T14:49:25.206Z] ---> job-cost.sh [2024-11-15T14:49:25.206Z] lf-activate-venv: SKIPPING [2024-11-15T14:49:25.206Z] INFO: No Stack... [2024-11-15T14:49:25.464Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-15T14:49:25.724Z] INFO: Archiving Costs [Pipeline] sh [2024-11-15T14:49:26.043Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-521/archives/cost.csv [2024-11-15T14:49:26.043Z] + cut -d, -f6 [Pipeline] lock [2024-11-15T14:49:26.091Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-521-1-stack-cost] [2024-11-15T14:49:26.097Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-521-1-stack-cost] did not exist. Created. [2024-11-15T14:49:26.104Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-521-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-15T14:49:26.505Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-15T14:49:26.579Z] Stashed 1 file(s) [Pipeline] } [2024-11-15T14:49:26.600Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-521-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-15T14:49:26.689Z] $ docker stop --time=1 cec1cdec01d133bdf72391f54ee12c77c8449584240866bd79ceb5a885522133 [2024-11-15T14:49:27.848Z] $ docker rm -f --volumes cec1cdec01d133bdf72391f54ee12c77c8449584240866bd79ceb5a885522133 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-15T14:50:37.979Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26487 in /w/workspace/edgexfoundry_device-sdk-c_PR-521 [Pipeline] { [Pipeline] ws [2024-11-15T14:50:38.049Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2024-11-15T14:50:41.155Z] Selected Git installation does not exist. Using Default [2024-11-15T14:50:41.155Z] The recommended git tool is: NONE [2024-11-15T14:50:48.375Z] using credential edgex-jenkins-ssh [2024-11-15T14:50:48.403Z] Cloning the remote Git repository [2024-11-15T14:50:48.500Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-11-15T14:50:48.693Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2024-11-15T14:50:49.089Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-11-15T14:50:49.091Z] > git --version # timeout=10 [2024-11-15T14:50:49.164Z] > git --version # 'git version 2.25.1' [2024-11-15T14:50:49.168Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-15T14:50:49.568Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-15T14:50:50.916Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-11-15T14:50:51.014Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-15T14:50:54.603Z] Merging remotes/origin/main commit 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 into PR head commit f27bd017b6d72737d04d754e3d2195165e7fc649 [2024-11-15T14:50:53.899Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-11-15T14:50:53.964Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-11-15T14:50:53.965Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-15T14:50:53.994Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/521/head:refs/remotes/origin/PR-521 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-15T14:50:54.620Z] > git config core.sparsecheckout # timeout=10 [2024-11-15T14:50:55.063Z] Merge succeeded, producing f27bd017b6d72737d04d754e3d2195165e7fc649 [2024-11-15T14:50:55.063Z] Checking out Revision f27bd017b6d72737d04d754e3d2195165e7fc649 (PR-521) [2024-11-15T14:50:54.698Z] > git checkout -f f27bd017b6d72737d04d754e3d2195165e7fc649 # timeout=10 [2024-11-15T14:50:54.849Z] > git remote # timeout=10 [2024-11-15T14:50:54.880Z] > git config --get remote.origin.url # timeout=10 [2024-11-15T14:50:54.934Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-15T14:50:54.991Z] > git merge 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 # timeout=10 [2024-11-15T14:50:55.034Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-15T14:50:55.066Z] > git config core.sparsecheckout # timeout=10 [2024-11-15T14:50:55.083Z] > git checkout -f f27bd017b6d72737d04d754e3d2195165e7fc649 # timeout=10 [2024-11-15T14:50:59.010Z] Commit message: "fix: Missing discovery delete wrapper for secure mode" [2024-11-15T14:50:59.052Z] > git --version # timeout=10 [2024-11-15T14:50:59.062Z] > git --version # 'git version 2.25.1' [2024-11-15T14:50:59.078Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-15T14:51:01.430Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-15T14:51:01.430Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-15T14:51:01.430Z] Dload Upload Total Spent Left Speed [2024-11-15T14:51:01.430Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 96 12828 96 12393 0 0 89158 0 --:--:-- --:--:-- --:--:-- 88521 100 12828 100 12828 0 0 90978 0 --:--:-- --:--:-- --:--:-- 90338 [Pipeline] sh [2024-11-15T14:51:01.799Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-15T14:51:02.143Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-15T14:51:02.143Z] + sudo tee /etc/docker/daemon.new [2024-11-15T14:51:02.143Z] { [2024-11-15T14:51:02.143Z] "registry-mirrors": [ [2024-11-15T14:51:02.143Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-15T14:51:02.143Z] ], [2024-11-15T14:51:02.143Z] "bip": "10.250.0.254/24", [2024-11-15T14:51:02.143Z] "hosts": [ [2024-11-15T14:51:02.143Z] "tcp://0.0.0.0:5555", [2024-11-15T14:51:02.143Z] "unix:///var/run/docker.sock" [2024-11-15T14:51:02.143Z] ], [2024-11-15T14:51:02.143Z] "mtu": 1458, [2024-11-15T14:51:02.143Z] "selinux-enabled": true, [2024-11-15T14:51:02.143Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-15T14:51:02.143Z] } [Pipeline] sh [2024-11-15T14:51:02.494Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-15T14:51:02.862Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-15T14:51:21.189Z] provisioning config files... [2024-11-15T14:51:21.216Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config13895709005690984533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-15T14:51:21.720Z] ---> ****-login.sh [2024-11-15T14:51:21.720Z] nexus3.edgexfoundry.org:10001 [2024-11-15T14:51:21.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-15T14:51:22.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-15T14:51:22.262Z] Configure a credential helper to remove this warning. See [2024-11-15T14:51:22.263Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-15T14:51:22.263Z] [2024-11-15T14:51:22.263Z] Login Succeeded [2024-11-15T14:51:22.263Z] nexus3.edgexfoundry.org:10002 [2024-11-15T14:51:22.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-15T14:51:22.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-15T14:51:22.536Z] Configure a credential helper to remove this warning. See [2024-11-15T14:51:22.536Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-15T14:51:22.536Z] [2024-11-15T14:51:22.536Z] Login Succeeded [2024-11-15T14:51:22.536Z] nexus3.edgexfoundry.org:10003 [2024-11-15T14:51:22.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-15T14:51:23.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-15T14:51:23.076Z] Configure a credential helper to remove this warning. See [2024-11-15T14:51:23.076Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-15T14:51:23.076Z] [2024-11-15T14:51:23.076Z] Login Succeeded [2024-11-15T14:51:23.076Z] nexus3.edgexfoundry.org:10004 [2024-11-15T14:51:23.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-15T14:51:23.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-15T14:51:23.345Z] Configure a credential helper to remove this warning. See [2024-11-15T14:51:23.346Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-15T14:51:23.346Z] [2024-11-15T14:51:23.346Z] Login Succeeded [2024-11-15T14:51:23.346Z] ****.io [2024-11-15T14:51:23.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-15T14:51:23.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-15T14:51:23.884Z] Configure a credential helper to remove this warning. See [2024-11-15T14:51:23.885Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-15T14:51:23.885Z] [2024-11-15T14:51:23.885Z] Login Succeeded [2024-11-15T14:51:23.885Z] ---> ****-login.sh ends [Pipeline] } [2024-11-15T14:51:23.918Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-15T14:51:24.352Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-15T14:51:24.392Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-11-15T14:51:24.442Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-15T14:51:24.489Z] ========================================================= [2024-11-15T14:51:24.489Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-11-15T14:51:24.489Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-15T14:51:24.980Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2024-11-15T14:51:25.251Z] Sending build context to Docker daemon 3.075MB [2024-11-15T14:51:25.251Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-11-15T14:51:25.251Z] Step 2/22 : FROM ${BASE} as builder [2024-11-15T14:51:25.525Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-11-15T14:51:25.525Z] 579b34f0a95b: Pulling fs layer [2024-11-15T14:51:25.525Z] e71477ac5e1b: Pulling fs layer [2024-11-15T14:51:25.525Z] 579b34f0a95b: Verifying Checksum [2024-11-15T14:51:25.525Z] 579b34f0a95b: Download complete [2024-11-15T14:51:26.498Z] 579b34f0a95b: Pull complete [2024-11-15T14:51:28.455Z] e71477ac5e1b: Verifying Checksum [2024-11-15T14:51:28.455Z] e71477ac5e1b: Download complete [2024-11-15T14:51:38.633Z] e71477ac5e1b: Pull complete [2024-11-15T14:51:38.633Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-11-15T14:51:38.633Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-11-15T14:51:38.633Z] ---> 2b552cad5dd9 [2024-11-15T14:51:38.633Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-11-15T14:51:38.901Z] ---> Running in 1739e71101b8 [2024-11-15T14:51:40.308Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-11-15T14:51:40.577Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-15T14:51:40.577Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-15T14:51:40.577Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-15T14:51:41.171Z] Removing intermediate container 1739e71101b8 [2024-11-15T14:51:41.171Z] ---> ecd4d88b0d1c [2024-11-15T14:51:41.171Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-15T14:51:41.171Z] ---> Running in 1260eb52b5d5 [2024-11-15T14:51:42.587Z] Removing intermediate container 1260eb52b5d5 [2024-11-15T14:51:42.587Z] ---> d15c8ab0016d [2024-11-15T14:51:42.587Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-11-15T14:51:42.871Z] ---> Running in 0b7aa85ff726 [2024-11-15T14:51:43.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-15T14:51:44.103Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-15T14:51:44.689Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-15T14:51:45.651Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-15T14:51:45.651Z] (1/17) Installing hiredis (1.1.0-r2) [2024-11-15T14:51:45.651Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-11-15T14:51:45.651Z] (3/17) Installing libcbor (0.10.2-r1) [2024-11-15T14:51:45.918Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-11-15T14:51:46.499Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-11-15T14:51:46.765Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-11-15T14:51:46.765Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-11-15T14:51:47.031Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-11-15T14:51:47.031Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-11-15T14:51:47.031Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-11-15T14:51:47.031Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-11-15T14:51:47.297Z] (12/17) Installing libblkid (2.38.1-r8) [2024-11-15T14:51:47.297Z] (13/17) Installing libuuid (2.38.1-r8) [2024-11-15T14:51:47.297Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-11-15T14:51:47.297Z] (15/17) Installing libmount (2.38.1-r8) [2024-11-15T14:51:47.297Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-11-15T14:51:47.297Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-11-15T14:51:47.297Z] Executing busybox-1.36.1-r4.trigger [2024-11-15T14:51:47.570Z] OK: 333 MiB in 99 packages [2024-11-15T14:51:48.537Z] Removing intermediate container 0b7aa85ff726 [2024-11-15T14:51:48.537Z] ---> cabb64a33321 [2024-11-15T14:51:48.537Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-11-15T14:51:48.812Z] ---> Running in 04ebc64a7798 [2024-11-15T14:51:50.236Z] Removing intermediate container 04ebc64a7798 [2024-11-15T14:51:50.236Z] ---> bc7e581d95c5 [2024-11-15T14:51:50.236Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-11-15T14:51:50.821Z] ---> 024fe84b18f6 [2024-11-15T14:51:50.821Z] Step 8/22 : COPY src /tmp/sdk/src [2024-11-15T14:51:51.417Z] ---> 5e0692fd1a40 [2024-11-15T14:51:51.417Z] Step 9/22 : COPY include /tmp/sdk/include [2024-11-15T14:51:52.003Z] ---> d1a90b5a2b03 [2024-11-15T14:51:52.003Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-11-15T14:51:52.586Z] ---> 6b91795e30c3 [2024-11-15T14:51:52.586Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-11-15T14:51:52.853Z] ---> 0fe9e0a1dade [2024-11-15T14:51:52.853Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-11-15T14:51:53.446Z] ---> ebff8484f3b2 [2024-11-15T14:51:53.446Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-11-15T14:51:53.446Z] ---> Running in e0d02ee966ff [2024-11-15T14:51:54.405Z] + CPPCHECK=false [2024-11-15T14:51:54.405Z] + DOCGEN=false [2024-11-15T14:51:54.405Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-11-15T14:51:54.405Z] + '[' 0 -gt 0 ] [2024-11-15T14:51:54.405Z] + readlink -f ./scripts/build.sh [2024-11-15T14:51:54.405Z] + dirname /tmp/sdk/scripts/build.sh [2024-11-15T14:51:54.405Z] + dirname /tmp/sdk/scripts [2024-11-15T14:51:54.405Z] + ROOT=/tmp/sdk [2024-11-15T14:51:54.405Z] + cd /tmp/sdk [2024-11-15T14:51:54.405Z] + mkdir -p /tmp/sdk/build/release [2024-11-15T14:51:54.405Z] + cd /tmp/sdk/build/release [2024-11-15T14:51:54.405Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-11-15T14:51:54.671Z] -- The C compiler identification is GNU 12.2.1 [2024-11-15T14:51:54.671Z] -- Detecting C compiler ABI info [2024-11-15T14:51:54.940Z] -- Detecting C compiler ABI info - done [2024-11-15T14:51:54.940Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-11-15T14:51:54.940Z] -- Detecting C compile features [2024-11-15T14:51:54.940Z] -- Detecting C compile features - done [2024-11-15T14:51:55.208Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-11-15T14:51:55.208Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-11-15T14:51:55.208Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-11-15T14:51:55.208Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-11-15T14:51:55.208Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-11-15T14:51:55.474Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-11-15T14:51:55.474Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-11-15T14:51:55.474Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-11-15T14:51:55.474Z] -- /opt/iotech/iot/1.5/include [2024-11-15T14:51:55.474Z] -- C SDK 0.0.0 for Linux [2024-11-15T14:51:55.474Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-11-15T14:51:55.740Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-11-15T14:51:55.740Z] -- Found Curses: /usr/lib/libcurses.so [2024-11-15T14:51:56.005Z] -- Configuring done (1.7s) [2024-11-15T14:51:56.271Z] -- Generating done (0.2s) [2024-11-15T14:51:56.271Z] -- Build files have been written to: /tmp/sdk/build/release [2024-11-15T14:51:56.271Z] + make all package [2024-11-15T14:51:56.271Z] + tee release.log [2024-11-15T14:51:56.271Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-11-15T14:51:57.230Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-11-15T14:51:58.198Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-11-15T14:51:58.783Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-11-15T14:51:59.364Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-11-15T14:51:59.965Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-11-15T14:52:02.555Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-11-15T14:52:03.514Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-11-15T14:52:03.514Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-15T14:52:03.514Z] 294 | while (privateConfig) [2024-11-15T14:52:03.514Z] | ^~~~~~~~~~~~~ [2024-11-15T14:52:03.514Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-11-15T14:52:03.514Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-11-15T14:52:03.514Z] | ^~~~~~~~~~~~~ [2024-11-15T14:52:03.514Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-15T14:52:03.514Z] 271 | while (result) [2024-11-15T14:52:03.514Z] | ^~~~~~ [2024-11-15T14:52:03.514Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-11-15T14:52:03.514Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-11-15T14:52:03.514Z] | ^~~~~~ [2024-11-15T14:52:03.780Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-11-15T14:52:03.780Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-11-15T14:52:04.740Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-11-15T14:52:06.681Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-11-15T14:52:07.265Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-11-15T14:52:08.225Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-11-15T14:52:08.810Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-11-15T14:52:09.391Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-11-15T14:52:10.360Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-11-15T14:52:10.941Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-11-15T14:52:12.881Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-11-15T14:52:13.149Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-11-15T14:52:13.734Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-11-15T14:52:15.137Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-11-15T14:52:21.782Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-11-15T14:52:22.380Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-11-15T14:52:22.961Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-11-15T14:52:23.545Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-11-15T14:52:23.816Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-11-15T14:52:25.224Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-11-15T14:52:27.797Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-11-15T14:52:27.797Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-11-15T14:52:28.752Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-11-15T14:52:29.334Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-11-15T14:52:29.601Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-11-15T14:52:29.601Z] /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-15T14:52:29.601Z] 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-11-15T14:52:29.601Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-15T14:52:29.601Z] /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-15T14:52:29.601Z] 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-11-15T14:52:29.601Z] | ^ [2024-11-15T14:52:31.539Z] /tmp/sdk/src/c/service.c:1074:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-15T14:52:31.539Z] 1074 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-11-15T14:52:31.539Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-15T14:52:31.539Z] /tmp/sdk/src/c/service.c:886:68: note: 'deviceservices_config' was declared here [2024-11-15T14:52:31.539Z] 886 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-11-15T14:52:31.539Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-11-15T14:52:32.496Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-11-15T14:52:33.077Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-11-15T14:52:33.342Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-11-15T14:52:33.924Z] [ 68%] Linking C shared library libcsdk.so [2024-11-15T14:52:34.190Z] [ 68%] Built target csdk [2024-11-15T14:52:34.190Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-11-15T14:52:35.146Z] [ 72%] Linking C executable template [2024-11-15T14:52:35.413Z] [ 72%] Built target template [2024-11-15T14:52:35.413Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-11-15T14:52:35.994Z] [ 76%] Linking C executable device-counter [2024-11-15T14:52:36.261Z] [ 76%] Built target device-counter [2024-11-15T14:52:36.527Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-11-15T14:52:37.107Z] [ 80%] Linking C executable device-random [2024-11-15T14:52:37.373Z] [ 80%] Built target device-random [2024-11-15T14:52:37.373Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-11-15T14:52:37.951Z] [ 84%] Linking C executable device-gyro [2024-11-15T14:52:38.215Z] [ 84%] Built target device-gyro [2024-11-15T14:52:38.215Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-11-15T14:52:38.794Z] [ 88%] Linking C executable device-bitfields [2024-11-15T14:52:39.059Z] [ 88%] Built target device-bitfields [2024-11-15T14:52:39.059Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-11-15T14:52:40.017Z] [ 92%] Linking C executable template-discovery [2024-11-15T14:52:40.598Z] [ 92%] Built target template-discovery [2024-11-15T14:52:40.598Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-11-15T14:52:41.180Z] [ 96%] Linking C executable device-file [2024-11-15T14:52:41.446Z] [ 96%] Built target device-file [2024-11-15T14:52:41.712Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-11-15T14:52:42.294Z] [100%] Linking C executable device-terminal [2024-11-15T14:52:42.560Z] [100%] Built target device-terminal [2024-11-15T14:52:42.826Z] Run CPack packaging tool... [2024-11-15T14:52:42.826Z] CPack: Create package using TGZ [2024-11-15T14:52:42.826Z] CPack: Install projects [2024-11-15T14:52:42.826Z] CPack: - Run preinstall target for: Csdk [2024-11-15T14:52:43.782Z] CPack: - Install project: Csdk [] [2024-11-15T14:52:43.782Z] CPack: Create package [2024-11-15T14:52:43.782Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-11-15T14:52:43.782Z] + '[' false '=' true ] [2024-11-15T14:52:43.782Z] + '[' false '=' true ] [2024-11-15T14:52:43.782Z] + mkdir -p /tmp/sdk/build/debug [2024-11-15T14:52:43.782Z] + cd /tmp/sdk/build/debug [2024-11-15T14:52:43.782Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-11-15T14:52:44.048Z] -- The C compiler identification is GNU 12.2.1 [2024-11-15T14:52:44.048Z] -- Detecting C compiler ABI info [2024-11-15T14:52:44.313Z] -- Detecting C compiler ABI info - done [2024-11-15T14:52:44.580Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-11-15T14:52:44.580Z] -- Detecting C compile features [2024-11-15T14:52:44.580Z] -- Detecting C compile features - done [2024-11-15T14:52:44.580Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-11-15T14:52:44.848Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-11-15T14:52:44.848Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-11-15T14:52:44.848Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-11-15T14:52:44.848Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-11-15T14:52:44.848Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-11-15T14:52:44.848Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-11-15T14:52:44.848Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-11-15T14:52:44.848Z] -- /opt/iotech/iot/1.5/include [2024-11-15T14:52:44.848Z] -- C SDK 0.0.0 for Linux [2024-11-15T14:52:44.848Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-11-15T14:52:45.116Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-11-15T14:52:45.381Z] -- Found Curses: /usr/lib/libcurses.so [2024-11-15T14:52:45.381Z] -- Configuring done (1.7s) [2024-11-15T14:52:45.646Z] -- Generating done (0.2s) [2024-11-15T14:52:45.646Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-11-15T14:52:45.911Z] + + make [2024-11-15T14:52:45.911Z] tee debug.log [2024-11-15T14:52:45.911Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-11-15T14:52:46.177Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-11-15T14:52:46.759Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-11-15T14:52:47.026Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-11-15T14:52:47.606Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-11-15T14:52:47.872Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-11-15T14:52:48.453Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-11-15T14:52:49.034Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-11-15T14:52:49.313Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-11-15T14:52:49.579Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-11-15T14:52:50.159Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-11-15T14:52:50.741Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-11-15T14:52:51.007Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-11-15T14:52:51.598Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-11-15T14:52:51.864Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-11-15T14:52:52.450Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-11-15T14:52:52.715Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-11-15T14:52:53.296Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-11-15T14:52:53.565Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-11-15T14:52:53.831Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-11-15T14:52:54.790Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-11-15T14:52:55.746Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-11-15T14:52:56.012Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-11-15T14:52:56.278Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-11-15T14:52:56.733Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-11-15T14:52:57.007Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-11-15T14:52:57.603Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-11-15T14:52:59.024Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-11-15T14:52:59.297Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-11-15T14:52:59.571Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-11-15T14:52:59.850Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-11-15T14:53:00.122Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-11-15T14:53:00.122Z] /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-15T14:53:00.122Z] 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-11-15T14:53:00.122Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-15T14:53:00.122Z] /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-15T14:53:00.122Z] 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-11-15T14:53:00.122Z] | ^ [2024-11-15T14:53:00.709Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-11-15T14:53:01.294Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-11-15T14:53:01.561Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-11-15T14:53:01.829Z] [ 68%] Linking C shared library libcsdk.so [2024-11-15T14:53:02.096Z] [ 68%] Built target csdk [2024-11-15T14:53:02.096Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-11-15T14:53:02.364Z] [ 72%] Linking C executable template [2024-11-15T14:53:02.632Z] [ 72%] Built target template [2024-11-15T14:53:02.898Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-11-15T14:53:03.171Z] [ 76%] Linking C executable device-counter [2024-11-15T14:53:03.436Z] [ 76%] Built target device-counter [2024-11-15T14:53:03.436Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-11-15T14:53:03.704Z] [ 80%] Linking C executable device-random [2024-11-15T14:53:03.971Z] [ 80%] Built target device-random [2024-11-15T14:53:04.239Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-11-15T14:53:04.507Z] [ 84%] Linking C executable device-gyro [2024-11-15T14:53:04.772Z] [ 84%] Built target device-gyro [2024-11-15T14:53:04.772Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-11-15T14:53:05.037Z] [ 88%] Linking C executable device-bitfields [2024-11-15T14:53:05.617Z] [ 88%] Built target device-bitfields [2024-11-15T14:53:05.617Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-11-15T14:53:05.891Z] [ 92%] Linking C executable template-discovery [2024-11-15T14:53:06.159Z] [ 92%] Built target template-discovery [2024-11-15T14:53:06.159Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-11-15T14:53:06.741Z] [ 96%] Linking C executable device-file [2024-11-15T14:53:07.008Z] [ 96%] Built target device-file [2024-11-15T14:53:07.008Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-11-15T14:53:07.592Z] [100%] Linking C executable device-terminal [2024-11-15T14:53:07.859Z] [100%] Built target device-terminal [2024-11-15T14:53:07.859Z] make: Entering directory '/tmp/sdk/build/release' [2024-11-15T14:53:08.124Z] [ 68%] Built target csdk [2024-11-15T14:53:08.125Z] [ 72%] Built target template [2024-11-15T14:53:08.125Z] [ 76%] Built target device-counter [2024-11-15T14:53:08.125Z] [ 80%] Built target device-random [2024-11-15T14:53:08.389Z] [ 84%] Built target device-gyro [2024-11-15T14:53:08.389Z] [ 88%] Built target device-bitfields [2024-11-15T14:53:08.389Z] [ 92%] Built target template-discovery [2024-11-15T14:53:08.389Z] [ 96%] Built target device-file [2024-11-15T14:53:08.389Z] [100%] Built target device-terminal [2024-11-15T14:53:08.655Z] Install the project... [2024-11-15T14:53:08.655Z] -- Install configuration: "Release" [2024-11-15T14:53:08.655Z] -- Installing: /usr/local/lib/libcsdk.so [2024-11-15T14:53:08.655Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-11-15T14:53:08.655Z] -- Installing: /usr/local/include [2024-11-15T14:53:08.655Z] -- Installing: /usr/local/include/devsdk [2024-11-15T14:53:08.655Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-11-15T14:53:08.655Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-11-15T14:53:08.655Z] -- Installing: /usr/local/include/edgex [2024-11-15T14:53:08.655Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-11-15T14:53:08.655Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-11-15T14:53:08.655Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-11-15T14:53:08.655Z] -- Installing: /usr/local/include/edgex/devices.h [2024-11-15T14:53:08.655Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-11-15T14:53:08.655Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-11-15T14:53:08.655Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-11-15T14:53:08.655Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-11-15T14:53:08.655Z] make: Leaving directory '/tmp/sdk/build/release' [2024-11-15T14:53:10.064Z] Removing intermediate container e0d02ee966ff [2024-11-15T14:53:10.064Z] ---> 7e39370ed072 [2024-11-15T14:53:10.064Z] Step 14/22 : FROM ${BASE} [2024-11-15T14:53:10.064Z] ---> 2b552cad5dd9 [2024-11-15T14:53:10.064Z] Step 15/22 : LABEL maintainer="IOTech " [2024-11-15T14:53:10.064Z] ---> Running in 13f431864002 [2024-11-15T14:53:10.330Z] Removing intermediate container 13f431864002 [2024-11-15T14:53:10.330Z] ---> fbba1ba0ee0f [2024-11-15T14:53:10.330Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-11-15T14:53:10.611Z] ---> Running in 635cbf0b9d33 [2024-11-15T14:53:11.575Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-11-15T14:53:11.841Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-15T14:53:11.841Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-15T14:53:11.841Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-15T14:53:12.435Z] Removing intermediate container 635cbf0b9d33 [2024-11-15T14:53:12.435Z] ---> 098ad7de4ab1 [2024-11-15T14:53:12.435Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-15T14:53:12.702Z] ---> Running in c9183eb51ce9 [2024-11-15T14:53:14.110Z] Removing intermediate container c9183eb51ce9 [2024-11-15T14:53:14.110Z] ---> d2dafaabcc13 [2024-11-15T14:53:14.110Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init [2024-11-15T14:53:14.110Z] ---> Running in 04f97d5f8259 [2024-11-15T14:53:15.069Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-15T14:53:15.650Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-15T14:53:16.233Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-15T14:53:17.640Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-15T14:53:17.640Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-11-15T14:53:17.640Z] (2/10) Installing curl (8.9.1-r1) [2024-11-15T14:53:17.641Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-11-15T14:53:17.641Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-11-15T14:53:17.641Z] (5/10) Installing hiredis (1.1.0-r2) [2024-11-15T14:53:17.641Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-11-15T14:53:17.641Z] (7/10) Installing libcbor (0.10.2-r1) [2024-11-15T14:53:17.641Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-11-15T14:53:18.596Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-11-15T14:53:18.596Z] (10/10) Installing libuuid (2.38.1-r8) [2024-11-15T14:53:18.596Z] Executing busybox-1.36.1-r4.trigger [2024-11-15T14:53:18.861Z] OK: 328 MiB in 90 packages [2024-11-15T14:53:19.831Z] Removing intermediate container 04f97d5f8259 [2024-11-15T14:53:19.831Z] ---> 33969ebc74f5 [2024-11-15T14:53:19.831Z] Step 19/22 : RUN apk --no-cache upgrade [2024-11-15T14:53:20.106Z] ---> Running in d395ea2f01bb [2024-11-15T14:53:21.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-15T14:53:21.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-15T14:53:21.603Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-15T14:53:22.559Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-15T14:53:22.559Z] Upgrading critical system libraries and apk-tools: [2024-11-15T14:53:22.559Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-11-15T14:53:22.559Z] Executing busybox-1.36.1-r4.trigger [2024-11-15T14:53:22.824Z] Continuing the upgrade transaction with new apk-tools: [2024-11-15T14:53:22.824Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-15T14:53:23.404Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-15T14:53:23.669Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-15T14:53:24.627Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-15T14:53:24.627Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-11-15T14:53:24.627Z] Executing busybox-1.36.1-r7.post-upgrade [2024-11-15T14:53:24.627Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-11-15T14:53:24.627Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-11-15T14:53:24.627Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-11-15T14:53:24.895Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-11-15T14:53:24.895Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-11-15T14:53:24.895Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2024-11-15T14:53:24.895Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2024-11-15T14:53:24.895Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-11-15T14:53:24.895Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-11-15T14:53:25.162Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-11-15T14:53:25.431Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-11-15T14:53:25.431Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-11-15T14:53:25.431Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-11-15T14:53:25.701Z] Executing busybox-1.36.1-r7.trigger [2024-11-15T14:53:25.701Z] Executing ca-certificates-20240226-r0.trigger [2024-11-15T14:53:25.981Z] OK: 328 MiB in 90 packages [2024-11-15T14:53:27.944Z] Removing intermediate container d395ea2f01bb [2024-11-15T14:53:27.944Z] ---> 321b36ebc388 [2024-11-15T14:53:27.944Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-11-15T14:53:28.212Z] ---> af4f923c437e [2024-11-15T14:53:28.212Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-11-15T14:53:28.797Z] ---> c653ca858f69 [2024-11-15T14:53:28.797Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-11-15T14:53:29.385Z] ---> 8eb357b5b287 [2024-11-15T14:53:29.385Z] Successfully built 8eb357b5b287 [2024-11-15T14:53:29.385Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-15T14:53:30.189Z] + docker inspect -f . ci-base-image-arm64 [2024-11-15T14:53:30.189Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-15T14:53:30.485Z] prd-ubuntu20.04-docker-arm64-4c-16g-26487 does not seem to be running inside a container [2024-11-15T14:53:30.540Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** ci-base-image-arm64 cat [2024-11-15T14:53:31.660Z] $ docker top 35e5e929af0e3f705bece0b9e26ac812a2e46bb79cb54ec84d806110edec2687 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-15T14:53:32.547Z] + make test [2024-11-15T14:53:32.547Z] echo "make test" [2024-11-15T14:53:32.547Z] make test [Pipeline] } [2024-11-15T14:53:32.582Z] $ docker stop --time=1 35e5e929af0e3f705bece0b9e26ac812a2e46bb79cb54ec84d806110edec2687 [2024-11-15T14:53:34.139Z] $ docker rm -f --volumes 35e5e929af0e3f705bece0b9e26ac812a2e46bb79cb54ec84d806110edec2687 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-15T14:53:34.976Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-15T14:53:35.312Z] + ls -al . [2024-11-15T14:53:35.312Z] total 208 [2024-11-15T14:53:35.312Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 14:50 . [2024-11-15T14:53:35.312Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 14:50 .. [2024-11-15T14:53:35.312Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 14:50 .git [2024-11-15T14:53:35.312Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 14:50 .github [2024-11-15T14:53:35.312Z] -rw-rw-r-- 1 jenkins jenkins 176 Nov 15 14:50 .gitignore [2024-11-15T14:53:35.312Z] -rw-rw-r-- 1 jenkins jenkins 2908 Nov 15 14:50 Attribution.txt [2024-11-15T14:53:35.312Z] -rw-rw-r-- 1 jenkins jenkins 11953 Nov 15 14:50 CHANGELOG.md [2024-11-15T14:53:35.312Z] -rw-rw-r-- 1 jenkins jenkins 108574 Nov 15 14:50 Doxyfile [2024-11-15T14:53:35.312Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 14:50 GOVERNANCE.md [2024-11-15T14:53:35.312Z] -rw-rw-r-- 1 jenkins jenkins 784 Nov 15 14:50 Jenkinsfile [2024-11-15T14:53:35.312Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 15 14:50 LICENSE [2024-11-15T14:53:35.312Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 15 14:50 Makefile [2024-11-15T14:53:35.312Z] -rw-rw-r-- 1 jenkins jenkins 618 Nov 15 14:50 OWNERS.md [2024-11-15T14:53:35.312Z] -rw-rw-r-- 1 jenkins jenkins 1651 Nov 15 14:50 README.IOT.md [2024-11-15T14:53:35.312Z] -rw-rw-r-- 1 jenkins jenkins 4215 Nov 15 14:50 README.md [2024-11-15T14:53:35.312Z] -rw-rw-r-- 1 jenkins jenkins 1245 Nov 15 14:50 README.v3.md [2024-11-15T14:53:35.312Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 14:48 VERSION [2024-11-15T14:53:35.312Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 14:50 docs [2024-11-15T14:53:35.312Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 14:50 include [2024-11-15T14:53:35.312Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 14:50 scripts [2024-11-15T14:53:35.312Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 14:50 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-15T14:53:35.754Z] + 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=f27bd017b6d72737d04d754e3d2195165e7fc649 --label arch=arm64 --label version=0.0.0 . [2024-11-15T14:53:36.020Z] Sending build context to Docker daemon 3.075MB [2024-11-15T14:53:36.020Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-11-15T14:53:36.020Z] Step 2/18 : FROM ${BASE} [2024-11-15T14:53:36.020Z] ---> 8eb357b5b287 [2024-11-15T14:53:36.020Z] Step 3/18 : LABEL maintainer="IOTech " [2024-11-15T14:53:36.287Z] ---> Running in 6ce19dd8ab30 [2024-11-15T14:53:36.556Z] Removing intermediate container 6ce19dd8ab30 [2024-11-15T14:53:36.556Z] ---> 4dbb985b8b43 [2024-11-15T14:53:36.556Z] Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-11-15T14:53:36.556Z] ---> Running in 0d4101c1389a [2024-11-15T14:53:37.512Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-11-15T14:53:37.780Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-15T14:53:37.780Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-15T14:53:37.780Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-15T14:53:38.361Z] Removing intermediate container 0d4101c1389a [2024-11-15T14:53:38.361Z] ---> 336d31215148 [2024-11-15T14:53:38.361Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-15T14:53:38.628Z] ---> Running in 8c3a48d94810 [2024-11-15T14:53:40.029Z] Removing intermediate container 8c3a48d94810 [2024-11-15T14:53:40.029Z] ---> 9325d3a4b586 [2024-11-15T14:53:40.029Z] Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2024-11-15T14:53:40.029Z] ---> Running in 010c359225f5 [2024-11-15T14:53:40.989Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-15T14:53:41.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-15T14:53:41.837Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-15T14:53:42.793Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-15T14:53:42.793Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-11-15T14:53:42.793Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-11-15T14:53:43.060Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-11-15T14:53:43.060Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-11-15T14:53:43.060Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-11-15T14:53:43.060Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-11-15T14:53:43.060Z] (7/11) Installing libblkid (2.38.1-r8) [2024-11-15T14:53:43.060Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-11-15T14:53:43.060Z] (9/11) Installing libmount (2.38.1-r8) [2024-11-15T14:53:43.060Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-11-15T14:53:43.060Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-11-15T14:53:43.060Z] Executing busybox-1.36.1-r7.trigger [2024-11-15T14:53:43.060Z] OK: 334 MiB in 101 packages [2024-11-15T14:53:44.478Z] Removing intermediate container 010c359225f5 [2024-11-15T14:53:44.478Z] ---> 978cab1fe4fe [2024-11-15T14:53:44.478Z] Step 7/18 : RUN apk --no-cache upgrade [2024-11-15T14:53:44.478Z] ---> Running in be5a78614e8b [2024-11-15T14:53:45.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-15T14:53:45.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-15T14:53:46.019Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-15T14:53:46.974Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-15T14:53:46.974Z] OK: 334 MiB in 101 packages [2024-11-15T14:53:47.565Z] Removing intermediate container be5a78614e8b [2024-11-15T14:53:47.565Z] ---> c70a1685d02f [2024-11-15T14:53:47.565Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-11-15T14:53:48.155Z] ---> 8a352faf7da7 [2024-11-15T14:53:48.155Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-11-15T14:53:49.111Z] ---> c66528a4e599 [2024-11-15T14:53:49.111Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-11-15T14:53:49.377Z] ---> 47b94620823b [2024-11-15T14:53:49.377Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-11-15T14:53:50.642Z] ---> 3150e3abc5d2 [2024-11-15T14:53:50.642Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-11-15T14:53:50.910Z] ---> 37b4965b3cf5 [2024-11-15T14:53:50.910Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-11-15T14:53:51.491Z] ---> f81844db5eae [2024-11-15T14:53:51.491Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-11-15T14:53:51.491Z] ---> Running in df4cbf9b724c [2024-11-15T14:53:51.757Z] Removing intermediate container df4cbf9b724c [2024-11-15T14:53:51.757Z] ---> fd046c9b1139 [2024-11-15T14:53:51.757Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-11-15T14:53:52.026Z] ---> Running in 228cb768367c [2024-11-15T14:53:52.294Z] Removing intermediate container 228cb768367c [2024-11-15T14:53:52.294Z] ---> 23b90111a3de [2024-11-15T14:53:52.294Z] Step 16/18 : LABEL arch=arm64 [2024-11-15T14:53:52.294Z] ---> Running in 6e0dc4192571 [2024-11-15T14:53:52.561Z] Removing intermediate container 6e0dc4192571 [2024-11-15T14:53:52.561Z] ---> bf5bc36bbc5f [2024-11-15T14:53:52.561Z] Step 17/18 : LABEL git_sha=f27bd017b6d72737d04d754e3d2195165e7fc649 [2024-11-15T14:53:52.561Z] ---> Running in d1791de0ecbb [2024-11-15T14:53:52.829Z] Removing intermediate container d1791de0ecbb [2024-11-15T14:53:52.829Z] ---> c8df9e7336f1 [2024-11-15T14:53:52.829Z] Step 18/18 : LABEL version=0.0.0 [2024-11-15T14:53:52.829Z] ---> Running in 20d290916113 [2024-11-15T14:53:53.096Z] Removing intermediate container 20d290916113 [2024-11-15T14:53:53.096Z] ---> d92eb9f12753 [2024-11-15T14:53:53.096Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2024-11-15T14:53:53.363Z] Successfully built d92eb9f12753 [2024-11-15T14:53:53.363Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-15T14:53:54.330Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-15T14:53:54.330Z] [2024-11-15T14:53:54.330Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-15T14:53:54.763Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-15T14:53:55.031Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-15T14:53:55.031Z] 8998bd30e6a1: Pulling fs layer [2024-11-15T14:53:55.031Z] 04944245beec: Pulling fs layer [2024-11-15T14:53:55.031Z] 699f458cf7ca: Pulling fs layer [2024-11-15T14:53:55.031Z] 765212b225bb: Pulling fs layer [2024-11-15T14:53:55.031Z] f23df028b6ca: Pulling fs layer [2024-11-15T14:53:55.031Z] d65c8cfc05b1: Pulling fs layer [2024-11-15T14:53:55.031Z] 2437ff75d9bd: Pulling fs layer [2024-11-15T14:53:55.031Z] f23df028b6ca: Waiting [2024-11-15T14:53:55.031Z] d65c8cfc05b1: Waiting [2024-11-15T14:53:55.031Z] 2437ff75d9bd: Waiting [2024-11-15T14:53:55.031Z] 765212b225bb: Waiting [2024-11-15T14:53:55.031Z] 04944245beec: Verifying Checksum [2024-11-15T14:53:55.031Z] 04944245beec: Download complete [2024-11-15T14:53:55.031Z] 765212b225bb: Verifying Checksum [2024-11-15T14:53:55.031Z] 765212b225bb: Download complete [2024-11-15T14:53:55.303Z] f23df028b6ca: Download complete [2024-11-15T14:53:55.303Z] d65c8cfc05b1: Verifying Checksum [2024-11-15T14:53:55.303Z] d65c8cfc05b1: Download complete [2024-11-15T14:53:55.303Z] 699f458cf7ca: Verifying Checksum [2024-11-15T14:53:55.303Z] 699f458cf7ca: Download complete [2024-11-15T14:53:55.888Z] 8998bd30e6a1: Verifying Checksum [2024-11-15T14:53:55.888Z] 8998bd30e6a1: Download complete [2024-11-15T14:53:58.485Z] 2437ff75d9bd: Verifying Checksum [2024-11-15T14:53:58.485Z] 2437ff75d9bd: Download complete [2024-11-15T14:54:00.427Z] 8998bd30e6a1: Pull complete [2024-11-15T14:54:00.693Z] 04944245beec: Pull complete [2024-11-15T14:54:02.639Z] 699f458cf7ca: Pull complete [2024-11-15T14:54:02.639Z] 765212b225bb: Pull complete [2024-11-15T14:54:03.598Z] f23df028b6ca: Pull complete [2024-11-15T14:54:03.598Z] d65c8cfc05b1: Pull complete [2024-11-15T14:54:18.572Z] 2437ff75d9bd: Pull complete [2024-11-15T14:54:18.572Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-15T14:54:18.572Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-15T14:54:18.572Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-15T14:54:18.926Z] prd-ubuntu20.04-docker-arm64-4c-16g-26487 does not seem to be running inside a container [2024-11-15T14:54:18.987Z] $ 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/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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-lftools-log-publisher:arm64 cat [2024-11-15T14:54:21.524Z] $ docker top 011493cd17a88f3ea8995ab8e431df888d9fd15e57aa3d759fd28161e9be34b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-15T14:54:22.492Z] ---> job-cost.sh [2024-11-15T14:54:22.492Z] lf-activate-venv: SKIPPING [2024-11-15T14:54:22.492Z] INFO: No Stack... [2024-11-15T14:54:22.761Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-15T14:54:23.738Z] INFO: Archiving Costs [Pipeline] sh [2024-11-15T14:54:24.441Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2024-11-15T14:54:24.441Z] + cut -d, -f6 [Pipeline] lock [2024-11-15T14:54:24.544Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-521-1-stack-cost] [2024-11-15T14:54:24.551Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-521-1-stack-cost] did not exist. Created. [2024-11-15T14:54:24.558Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-521-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-15T14:54:25.010Z] /w/workspace/device-sdk-c/1@tmp/durable-a639faa6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-15T14:54:25.640Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-15T14:54:25.953Z] Warning: overwriting stash ‘stack-cost’ [2024-11-15T14:54:26.407Z] Stashed 1 file(s) [Pipeline] } [2024-11-15T14:54:26.437Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-521-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-15T14:54:26.523Z] $ docker stop --time=1 011493cd17a88f3ea8995ab8e431df888d9fd15e57aa3d759fd28161e9be34b9 [2024-11-15T14:54:27.977Z] $ docker rm -f --volumes 011493cd17a88f3ea8995ab8e431df888d9fd15e57aa3d759fd28161e9be34b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-11-15T14:54:30.037Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-521/archives ] [2024-11-15T14:54:30.040Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-521/archives [2024-11-15T14:54:30.040Z] total 16 [2024-11-15T14:54:30.040Z] drwxr-xr-x 3 root root 4096 Nov 15 14:49 . [2024-11-15T14:54:30.040Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 14:49 .. [2024-11-15T14:54:30.040Z] drwxr-xr-x 2 root root 4096 Nov 15 14:49 cost [2024-11-15T14:54:30.040Z] -rw-r--r-- 1 root root 84 Nov 15 14:49 cost.csv [2024-11-15T14:54:30.040Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-521/archives [2024-11-15T14:54:30.040Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-521/archives [2024-11-15T14:54:30.040Z] total 16 [2024-11-15T14:54:30.040Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 14:49 . [2024-11-15T14:54:30.040Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 14:49 .. [2024-11-15T14:54:30.040Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 15 14:49 cost [2024-11-15T14:54:30.040Z] -rw-r--r-- 1 jenkins jenkins 84 Nov 15 14:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-15T14:54:30.388Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-15T14:54:31.295Z] ---> package-listing.sh [2024-11-15T14:54:31.295Z] ++ facter osfamily [2024-11-15T14:54:31.295Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-15T14:54:31.555Z] + OS_FAMILY=debian [2024-11-15T14:54:31.555Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-521 [2024-11-15T14:54:31.555Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-15T14:54:31.555Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-15T14:54:31.555Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-15T14:54:31.555Z] + PACKAGES=/tmp/packages_start.txt [2024-11-15T14:54:31.555Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-521 ']' [2024-11-15T14:54:31.555Z] + PACKAGES=/tmp/packages_end.txt [2024-11-15T14:54:31.555Z] + case "${OS_FAMILY}" in [2024-11-15T14:54:31.555Z] + dpkg -l [2024-11-15T14:54:31.555Z] + grep '^ii' [2024-11-15T14:54:31.555Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-15T14:54:31.555Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-15T14:54:31.555Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-15T14:54:31.555Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-521 ']' [2024-11-15T14:54:31.555Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-521/archives/ [2024-11-15T14:54:31.555Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-521/archives/ [Pipeline] echo [2024-11-15T14:54:31.593Z] 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-521/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-15T14:54:31.891Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-15T14:54:32.553Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-15T14:54:32.553Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-15T14:54:32.717Z] prd-ubuntu20.04-docker-8c-8g-26486 does not seem to be running inside a container [2024-11-15T14:54:32.741Z] $ 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-521/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-521 -v /w/workspace/edgexfoundry_device-sdk-c_PR-521:/w/workspace/edgexfoundry_device-sdk-c_PR-521:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-521@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-521@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-15T14:54:32.926Z] $ docker top d8d90f7f98962c3efe23601f2c42a042bf79367e29782c7e18dbc79cb01e07ac -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-15T14:54:33.338Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-15T14:54:33.654Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-15T14:54:33.973Z] + ls /var/log/sa-host [2024-11-15T14:54:33.973Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-15T14:54:34.210Z] provisioning config files... [2024-11-15T14:54:34.220Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-521@tmp/config13250971585830555859tmp [Pipeline] { [Pipeline] echo [2024-11-15T14:54:34.294Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-15T14:54:34.621Z] ---> create-netrc.sh [Pipeline] } [2024-11-15T14:54:34.660Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-15T14:54:35.086Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-15T14:54:35.129Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-15T14:54:35.453Z] ---> sudo-logs.sh [2024-11-15T14:54:35.453Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-15T14:54:35.560Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-15T14:54:35.886Z] ---> job-cost.sh [2024-11-15T14:54:35.886Z] lf-activate-venv: SKIPPING [2024-11-15T14:54:35.886Z] DEBUG: total: 0.2199999988079071 [2024-11-15T14:54:35.886Z] INFO: Retrieving Stack Cost... [2024-11-15T14:54:36.147Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-15T14:54:36.408Z] INFO: Archiving Costs [Pipeline] echo [2024-11-15T14:54:36.453Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-15T14:54:36.789Z] ---> logs-deploy.sh [2024-11-15T14:54:36.789Z] lf-activate-venv: SKIPPING [2024-11-15T14:54:36.789Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-521/1 [2024-11-15T14:54:36.789Z] INFO: archiving workspace using pattern(s): [2024-11-15T14:54:37.727Z] Archives upload complete. [2024-11-15T14:54:37.727Z] INFO: archiving logs to Nexus