Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 88225b2b2af007b234a268bddf4c2374904aaf88+c533cd2e0d9c0aa79f18f2e3eeb4447a32e46d6c (2375d4e1d1b4c79b3e7bf4404e9cc3809f900cae) 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-ssh17462934432397681659.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh15505822159009759579.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-500/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-500/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6308301408733331635.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6877828481693322749.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-500/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-500/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5925069699755841060.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-27334 in /w/workspace/edgexfoundry_device-sdk-c_PR-500 [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-500 # 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/500/head:refs/remotes/origin/PR-500 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c533cd2e0d9c0aa79f18f2e3eeb4447a32e46d6c into PR head commit 88225b2b2af007b234a268bddf4c2374904aaf88 Merge succeeded, producing e3aa3cba738a275fd2061b8c0030912864b868c5 Checking out Revision e3aa3cba738a275fd2061b8c0030912864b868c5 (PR-500) > git config core.sparsecheckout # timeout=10 > git checkout -f 88225b2b2af007b234a268bddf4c2374904aaf88 # 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 c533cd2e0d9c0aa79f18f2e3eeb4447a32e46d6c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e3aa3cba738a275fd2061b8c0030912864b868c5 # timeout=10 Commit message: "Merge commit 'c533cd2e0d9c0aa79f18f2e3eeb4447a32e46d6c' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 12e0f42a3f89eea410549ef3c2de7e7be7d17ed7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-01-16T18:56:33.098Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-01-16T18:56:33.165Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-01-16T18:56:33.192Z] ========================================================= [2024-01-16T18:56:33.192Z] EdgeX Global Pipelines Version Info [2024-01-16T18:56:33.192Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-01-16T18:56:33.922Z] ------------------- [2024-01-16T18:56:33.922Z] stable info: [2024-01-16T18:56:33.922Z] ------------------- [2024-01-16T18:56:33.922Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-01-16T18:56:33.922Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-16T18:56:33.922Z] Message: update stable to v1.0.258 [2024-01-16T18:56:34.494Z] ------------------- [2024-01-16T18:56:34.494Z] experimental info: [2024-01-16T18:56:34.494Z] ------------------- [2024-01-16T18:56:34.494Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-01-16T18:56:34.494Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-16T18:56:34.494Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-01-16T18:56:34.573Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-01-16T18:56:34.597Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-01-16T18:56:34.620Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-01-16T18:56:34.645Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-01-16T18:56:34.667Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-01-16T18:56:34.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-01-16T18:56:34.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-01-16T18:56:34.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-01-16T18:56:34.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-01-16T18:56:34.792Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-01-16T18:56:34.827Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-01-16T18:56:34.853Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-01-16T18:56:34.880Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-01-16T18:56:34.914Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-01-16T18:56:34.944Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-01-16T18:56:34.974Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-01-16T18:56:35.008Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-01-16T18:56:35.042Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-500 [Pipeline] echo [2024-01-16T18:56:35.074Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-500 [Pipeline] echo [2024-01-16T18:56:35.103Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-500 [Pipeline] echo [2024-01-16T18:56:35.137Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e3aa3cba738a275fd2061b8c0030912864b868c5 [Pipeline] echo [2024-01-16T18:56:35.173Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e3aa3cb [Pipeline] echo [2024-01-16T18:56:35.202Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-16T18:56:35.281Z] provisioning config files... [2024-01-16T18:56:35.293Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/config16574401112924891778tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-16T18:56:35.640Z] ---> ****-login.sh [2024-01-16T18:56:35.640Z] nexus3.edgexfoundry.org:10001 [2024-01-16T18:56:35.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:56:35.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:56:35.899Z] Configure a credential helper to remove this warning. See [2024-01-16T18:56:35.899Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:56:35.899Z] [2024-01-16T18:56:35.899Z] Login Succeeded [2024-01-16T18:56:35.899Z] nexus3.edgexfoundry.org:10002 [2024-01-16T18:56:35.899Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:56:36.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:56:36.165Z] Configure a credential helper to remove this warning. See [2024-01-16T18:56:36.165Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:56:36.165Z] [2024-01-16T18:56:36.165Z] Login Succeeded [2024-01-16T18:56:36.165Z] nexus3.edgexfoundry.org:10003 [2024-01-16T18:56:36.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:56:36.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:56:36.165Z] Configure a credential helper to remove this warning. See [2024-01-16T18:56:36.165Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:56:36.165Z] [2024-01-16T18:56:36.165Z] Login Succeeded [2024-01-16T18:56:36.165Z] nexus3.edgexfoundry.org:10004 [2024-01-16T18:56:36.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:56:36.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:56:36.425Z] Configure a credential helper to remove this warning. See [2024-01-16T18:56:36.425Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:56:36.425Z] [2024-01-16T18:56:36.425Z] Login Succeeded [2024-01-16T18:56:36.425Z] ****.io [2024-01-16T18:56:36.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:56:36.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:56:36.687Z] Configure a credential helper to remove this warning. See [2024-01-16T18:56:36.687Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:56:36.687Z] [2024-01-16T18:56:36.687Z] Login Succeeded [2024-01-16T18:56:36.687Z] ---> ****-login.sh ends [Pipeline] } [2024-01-16T18:56:36.695Z] 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-01-16T18:56:37.152Z] + git rev-list -1 --merges e3aa3cba738a275fd2061b8c0030912864b868c5~1..e3aa3cba738a275fd2061b8c0030912864b868c5 [Pipeline] echo [2024-01-16T18:56:37.186Z] -----------> git rev-list -1 --merges e3aa3cba738a275fd2061b8c0030912864b868c5~1..e3aa3cba738a275fd2061b8c0030912864b868c5 e3aa3cba738a275fd2061b8c0030912864b868c5 [2024-01-16T18:56:37.186Z] e3aa3cba738a275fd2061b8c0030912864b868c5 [false] [Pipeline] sh [2024-01-16T18:56:37.483Z] + git log --format=format:%s -1 e3aa3cba738a275fd2061b8c0030912864b868c5 [Pipeline] echo [2024-01-16T18:56:37.498Z] ========================================================= [2024-01-16T18:56:37.498Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-16T18:56:37.498Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-01-16T18:56:38.035Z] + git rev-list -1 --merges e3aa3cba738a275fd2061b8c0030912864b868c5~1..e3aa3cba738a275fd2061b8c0030912864b868c5 [Pipeline] echo [2024-01-16T18:56:38.047Z] -----------> git rev-list -1 --merges e3aa3cba738a275fd2061b8c0030912864b868c5~1..e3aa3cba738a275fd2061b8c0030912864b868c5 e3aa3cba738a275fd2061b8c0030912864b868c5 [2024-01-16T18:56:38.047Z] e3aa3cba738a275fd2061b8c0030912864b868c5 [false] [Pipeline] sh [2024-01-16T18:56:38.355Z] + git log --format=format:%s -1 e3aa3cba738a275fd2061b8c0030912864b868c5 [Pipeline] echo [2024-01-16T18:56:38.368Z] ========================================================= [2024-01-16T18:56:38.368Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-16T18:56:38.368Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-01-16T18:56:38.807Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-16T18:56:38.807Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-01-16T18:56:38.807Z] + [ -e /tmp/ssh_known_hosts ] [2024-01-16T18:56:38.807Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-01-16T18:56:38.807Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2024-01-16T18:56:38.807Z] -a /etc/ssh/ssh_known_hosts [2024-01-16T18:56:38.807Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-16T18:56:39.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-16T18:56:39.258Z] [2024-01-16T18:56:39.259Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-16T18:56:39.576Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-16T18:56:39.576Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-01-16T18:56:39.576Z] b85a868b505f: Pulling fs layer [2024-01-16T18:56:39.576Z] e2be974225ed: Pulling fs layer [2024-01-16T18:56:39.576Z] 339a4e72a1f5: Pulling fs layer [2024-01-16T18:56:39.576Z] 988bab9f4d93: Pulling fs layer [2024-01-16T18:56:39.576Z] 1469e6f7b9e6: Pulling fs layer [2024-01-16T18:56:39.576Z] eaf3925da568: Pulling fs layer [2024-01-16T18:56:39.576Z] bab4dde63d76: Pulling fs layer [2024-01-16T18:56:39.576Z] bde34c3a00c8: Pulling fs layer [2024-01-16T18:56:39.576Z] b352a97aabf1: Pulling fs layer [2024-01-16T18:56:39.576Z] 4872d77fe225: Pulling fs layer [2024-01-16T18:56:39.576Z] 5851b861e8e6: Pulling fs layer [2024-01-16T18:56:39.576Z] b352a97aabf1: Waiting [2024-01-16T18:56:39.576Z] bab4dde63d76: Waiting [2024-01-16T18:56:39.576Z] bde34c3a00c8: Waiting [2024-01-16T18:56:39.576Z] 5851b861e8e6: Waiting [2024-01-16T18:56:39.576Z] 4872d77fe225: Waiting [2024-01-16T18:56:39.576Z] 1469e6f7b9e6: Waiting [2024-01-16T18:56:39.576Z] eaf3925da568: Waiting [2024-01-16T18:56:39.576Z] 988bab9f4d93: Waiting [2024-01-16T18:56:39.576Z] e2be974225ed: Download complete [2024-01-16T18:56:39.576Z] 988bab9f4d93: Download complete [2024-01-16T18:56:39.576Z] 1469e6f7b9e6: Verifying Checksum [2024-01-16T18:56:39.576Z] 1469e6f7b9e6: Download complete [2024-01-16T18:56:39.834Z] eaf3925da568: Verifying Checksum [2024-01-16T18:56:39.834Z] eaf3925da568: Download complete [2024-01-16T18:56:39.834Z] 339a4e72a1f5: Verifying Checksum [2024-01-16T18:56:39.834Z] 339a4e72a1f5: Download complete [2024-01-16T18:56:39.834Z] bde34c3a00c8: Download complete [2024-01-16T18:56:39.834Z] b352a97aabf1: Download complete [2024-01-16T18:56:39.834Z] 4872d77fe225: Verifying Checksum [2024-01-16T18:56:39.834Z] 4872d77fe225: Download complete [2024-01-16T18:56:39.834Z] 5851b861e8e6: Verifying Checksum [2024-01-16T18:56:39.834Z] 5851b861e8e6: Download complete [2024-01-16T18:56:39.834Z] b85a868b505f: Verifying Checksum [2024-01-16T18:56:39.834Z] b85a868b505f: Download complete [2024-01-16T18:56:40.093Z] bab4dde63d76: Verifying Checksum [2024-01-16T18:56:40.093Z] bab4dde63d76: Download complete [2024-01-16T18:56:41.031Z] b85a868b505f: Pull complete [2024-01-16T18:56:41.031Z] e2be974225ed: Pull complete [2024-01-16T18:56:41.598Z] 339a4e72a1f5: Pull complete [2024-01-16T18:56:41.598Z] 988bab9f4d93: Pull complete [2024-01-16T18:56:41.856Z] 1469e6f7b9e6: Pull complete [2024-01-16T18:56:41.856Z] eaf3925da568: Pull complete [2024-01-16T18:56:43.771Z] bab4dde63d76: Pull complete [2024-01-16T18:56:43.771Z] bde34c3a00c8: Pull complete [2024-01-16T18:56:43.771Z] b352a97aabf1: Pull complete [2024-01-16T18:56:43.771Z] 4872d77fe225: Pull complete [2024-01-16T18:56:44.031Z] 5851b861e8e6: Pull complete [2024-01-16T18:56:44.031Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-01-16T18:56:44.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-16T18:56:44.031Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-16T18:56:44.216Z] prd-ubuntu20.04-docker-8c-8g-27334 does not seem to be running inside a container [2024-01-16T18:56:44.246Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-500 -v /w/workspace/edgexfoundry_device-sdk-c_PR-500:/w/workspace/edgexfoundry_device-sdk-c_PR-500:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-01-16T18:56:47.747Z] $ docker top 4b45419e6c3bf9c97b411e5ac9a25301f1d58be0b01da2ed19b2c3c988b4bf10 -eo pid,comm [2024-01-16T18:56:47.808Z] 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-01-16T18:56:47.808Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-16T18:56:47.899Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-16T18:56:47.899Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-16T18:56:48.019Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-16T18:56:48.020Z] $ docker exec 4b45419e6c3bf9c97b411e5ac9a25301f1d58be0b01da2ed19b2c3c988b4bf10 ssh-agent [2024-01-16T18:56:48.124Z] SSH_AUTH_SOCK=/tmp/ssh-kkRKXaqmEhKY/agent.32 [2024-01-16T18:56:48.124Z] SSH_AGENT_PID=38 [2024-01-16T18:56:48.130Z] Running ssh-add (command line suppressed) [2024-01-16T18:56:48.243Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/private_key_2139945901476066639.key (/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/private_key_2139945901476066639.key) [2024-01-16T18:56:48.257Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-16T18:56:48.558Z] + git tag --points-at HEAD [Pipeline] } [2024-01-16T18:56:48.569Z] $ docker exec --env ******** --env ******** 4b45419e6c3bf9c97b411e5ac9a25301f1d58be0b01da2ed19b2c3c988b4bf10 ssh-agent -k [2024-01-16T18:56:48.658Z] unset SSH_AUTH_SOCK; [2024-01-16T18:56:48.659Z] unset SSH_AGENT_PID; [2024-01-16T18:56:48.659Z] echo Agent pid 38 killed; [2024-01-16T18:56:48.669Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-01-16T18:56:48.719Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-16T18:56:48.719Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-16T18:56:48.824Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-16T18:56:48.825Z] $ docker exec 4b45419e6c3bf9c97b411e5ac9a25301f1d58be0b01da2ed19b2c3c988b4bf10 ssh-agent [2024-01-16T18:56:48.932Z] SSH_AUTH_SOCK=/tmp/ssh-cdKfh4NQiMaV/agent.71 [2024-01-16T18:56:48.932Z] SSH_AGENT_PID=77 [2024-01-16T18:56:48.937Z] Running ssh-add (command line suppressed) [2024-01-16T18:56:49.037Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/private_key_6939542247459480356.key (/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/private_key_6939542247459480356.key) [2024-01-16T18:56:49.052Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-16T18:56:49.354Z] + git semver init [2024-01-16T18:56:49.614Z] 2024-01-16 18:56:49,513 [run_init] DEBUG init version:0.0.0 force:False [2024-01-16T18:56:49.614Z] 2024-01-16 18:56:49,513 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver [2024-01-16T18:56:49.614Z] 2024-01-16 18:56:49,514 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver [2024-01-16T18:56:49.614Z] 2024-01-16 18:56:49,514 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-500, universal_newlines=False, shell=None, istream=None) [2024-01-16T18:56:50.554Z] 2024-01-16 18:56:50,376 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500/.git/info/exclude [2024-01-16T18:56:50.555Z] 2024-01-16 18:56:50,377 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver/PR-500 with force:False [2024-01-16T18:56:50.555Z] 2024-01-16 18:56:50,377 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver/PR-500 [2024-01-16T18:56:50.555Z] 2024-01-16 18:56:50,381 [execute] INFO git cat-file --batch-check [2024-01-16T18:56:50.555Z] 2024-01-16 18:56:50,382 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver, universal_newlines=False, shell=None, istream=) [2024-01-16T18:56:50.555Z] 2024-01-16 18:56:50,387 [execute] INFO git cat-file --batch [2024-01-16T18:56:50.555Z] 2024-01-16 18:56:50,387 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver, universal_newlines=False, shell=None, istream=) [2024-01-16T18:56:50.555Z] 2024-01-16 18:56:50,391 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver/PR-500 [2024-01-16T18:56:50.555Z] 0.0.0 [Pipeline] } [2024-01-16T18:56:50.564Z] $ docker exec --env ******** --env ******** 4b45419e6c3bf9c97b411e5ac9a25301f1d58be0b01da2ed19b2c3c988b4bf10 ssh-agent -k [2024-01-16T18:56:50.657Z] unset SSH_AUTH_SOCK; [2024-01-16T18:56:50.657Z] unset SSH_AGENT_PID; [2024-01-16T18:56:50.658Z] echo Agent pid 77 killed; [2024-01-16T18:56:50.668Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-16T18:56:51.033Z] + git semver [Pipeline] } [2024-01-16T18:56:51.304Z] $ docker stop --time=1 4b45419e6c3bf9c97b411e5ac9a25301f1d58be0b01da2ed19b2c3c988b4bf10 [2024-01-16T18:56:52.626Z] $ docker rm -f --volumes 4b45419e6c3bf9c97b411e5ac9a25301f1d58be0b01da2ed19b2c3c988b4bf10 [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-16T18:56:52.989Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-01-16T18:56:53.214Z] Stashed 1 file(s) [Pipeline] echo [2024-01-16T18:56:53.217Z] [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-01-16T18:56:53.479Z] provisioning config files... [2024-01-16T18:56:53.489Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/config9175990181124183087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-16T18:56:53.805Z] ---> ****-login.sh [2024-01-16T18:56:53.805Z] nexus3.edgexfoundry.org:10001 [2024-01-16T18:56:53.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:56:53.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:56:53.805Z] Configure a credential helper to remove this warning. See [2024-01-16T18:56:53.806Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:56:53.806Z] [2024-01-16T18:56:53.806Z] Login Succeeded [2024-01-16T18:56:53.806Z] nexus3.edgexfoundry.org:10002 [2024-01-16T18:56:53.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:56:53.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:56:53.806Z] Configure a credential helper to remove this warning. See [2024-01-16T18:56:53.806Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:56:53.806Z] [2024-01-16T18:56:53.806Z] Login Succeeded [2024-01-16T18:56:53.806Z] nexus3.edgexfoundry.org:10003 [2024-01-16T18:56:54.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:56:54.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:56:54.065Z] Configure a credential helper to remove this warning. See [2024-01-16T18:56:54.065Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:56:54.065Z] [2024-01-16T18:56:54.065Z] Login Succeeded [2024-01-16T18:56:54.065Z] nexus3.edgexfoundry.org:10004 [2024-01-16T18:56:54.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:56:54.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:56:54.065Z] Configure a credential helper to remove this warning. See [2024-01-16T18:56:54.065Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:56:54.065Z] [2024-01-16T18:56:54.065Z] Login Succeeded [2024-01-16T18:56:54.065Z] ****.io [2024-01-16T18:56:54.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:56:54.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:56:54.325Z] Configure a credential helper to remove this warning. See [2024-01-16T18:56:54.325Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:56:54.325Z] [2024-01-16T18:56:54.325Z] Login Succeeded [2024-01-16T18:56:54.325Z] ---> ****-login.sh ends [Pipeline] } [2024-01-16T18:56:54.332Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-16T18:56:54.463Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-16T18:56:54.493Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-01-16T18:56:54.526Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-16T18:56:54.559Z] ========================================================= [2024-01-16T18:56:54.559Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-01-16T18:56:54.559Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-16T18:56:54.928Z] + 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-01-16T18:56:54.928Z] Sending build context to Docker daemon 4.988MB [2024-01-16T18:56:54.928Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-01-16T18:56:54.928Z] Step 2/21 : FROM ${BASE} as builder [2024-01-16T18:56:54.928Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-01-16T18:56:54.928Z] 96526aa774ef: Pulling fs layer [2024-01-16T18:56:54.928Z] da60e534fd72: Pulling fs layer [2024-01-16T18:56:55.188Z] 96526aa774ef: Verifying Checksum [2024-01-16T18:56:55.188Z] 96526aa774ef: Download complete [2024-01-16T18:56:55.188Z] 96526aa774ef: Pull complete [2024-01-16T18:56:55.754Z] da60e534fd72: Download complete [2024-01-16T18:56:59.074Z] da60e534fd72: Pull complete [2024-01-16T18:56:59.074Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-01-16T18:56:59.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-01-16T18:56:59.074Z] ---> 6605166a5db4 [2024-01-16T18:56:59.074Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-16T18:57:01.615Z] ---> Running in c35511ba6e6f [2024-01-16T18:57:01.615Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-16T18:57:02.185Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-16T18:57:02.185Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-16T18:57:02.185Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-16T18:57:02.445Z] Removing intermediate container c35511ba6e6f [2024-01-16T18:57:02.445Z] ---> 20dd880d0281 [2024-01-16T18:57:02.445Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-16T18:57:02.445Z] ---> Running in 92f2febff7f9 [2024-01-16T18:57:03.015Z] Removing intermediate container 92f2febff7f9 [2024-01-16T18:57:03.015Z] ---> 141d2f2f06ce [2024-01-16T18:57:03.015Z] Step 5/21 : 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-01-16T18:57:03.015Z] ---> Running in ba3037f5ff1f [2024-01-16T18:57:03.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-16T18:57:03.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-16T18:57:03.535Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-16T18:57:04.105Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-16T18:57:04.105Z] (1/17) Installing hiredis (1.1.0-r2) [2024-01-16T18:57:04.105Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-16T18:57:04.105Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-16T18:57:04.674Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-16T18:57:04.933Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-16T18:57:05.193Z] (6/17) Installing libcbor (0.10.2-r1) [2024-01-16T18:57:05.193Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-16T18:57:05.193Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-16T18:57:05.193Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-16T18:57:05.193Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-16T18:57:05.193Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-16T18:57:05.193Z] (12/17) Installing libblkid (2.38.1-r8) [2024-01-16T18:57:05.193Z] (13/17) Installing libuuid (2.38.1-r8) [2024-01-16T18:57:05.193Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-01-16T18:57:05.193Z] (15/17) Installing libmount (2.38.1-r8) [2024-01-16T18:57:05.193Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-16T18:57:05.193Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-16T18:57:05.451Z] Executing busybox-1.36.1-r4.trigger [2024-01-16T18:57:05.451Z] OK: 336 MiB in 99 packages [2024-01-16T18:57:06.017Z] Removing intermediate container ba3037f5ff1f [2024-01-16T18:57:06.017Z] ---> e5c87e10de21 [2024-01-16T18:57:06.017Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-01-16T18:57:06.017Z] ---> Running in 0583638340de [2024-01-16T18:57:06.585Z] Removing intermediate container 0583638340de [2024-01-16T18:57:06.585Z] ---> e1f04abe6a9c [2024-01-16T18:57:06.585Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-01-16T18:57:06.585Z] ---> 194b17b99d1c [2024-01-16T18:57:06.585Z] Step 8/21 : COPY src /tmp/sdk/src [2024-01-16T18:57:06.843Z] ---> b4077279d759 [2024-01-16T18:57:06.843Z] Step 9/21 : COPY include /tmp/sdk/include [2024-01-16T18:57:07.104Z] ---> 7a74027175e5 [2024-01-16T18:57:07.104Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-01-16T18:57:07.104Z] ---> b5348c4cbae3 [2024-01-16T18:57:07.104Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-01-16T18:57:07.363Z] ---> 9da5a8dc55b0 [2024-01-16T18:57:07.363Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-01-16T18:57:07.623Z] ---> 3ae54544664c [2024-01-16T18:57:07.623Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-16T18:57:07.623Z] ---> Running in 1e33dd7ee97c [2024-01-16T18:57:07.883Z] + CPPCHECK=false [2024-01-16T18:57:07.883Z] + DOCGEN=false [2024-01-16T18:57:07.883Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-16T18:57:07.883Z] + '[' 0 -gt 0 ] [2024-01-16T18:57:07.883Z] + readlink -f ./scripts/build.sh [2024-01-16T18:57:07.883Z] + dirname /tmp/sdk/scripts/build.sh [2024-01-16T18:57:07.883Z] + dirname /tmp/sdk/scripts [2024-01-16T18:57:07.883Z] + ROOT=/tmp/sdk [2024-01-16T18:57:07.883Z] + cd /tmp/sdk [2024-01-16T18:57:07.883Z] + mkdir -p /tmp/sdk/build/release [2024-01-16T18:57:07.883Z] + cd /tmp/sdk/build/release [2024-01-16T18:57:07.883Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-16T18:57:07.883Z] -- The C compiler identification is GNU 12.2.1 [2024-01-16T18:57:07.883Z] -- Detecting C compiler ABI info [2024-01-16T18:57:07.883Z] -- Detecting C compiler ABI info - done [2024-01-16T18:57:08.143Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-16T18:57:08.143Z] -- Detecting C compile features [2024-01-16T18:57:08.143Z] -- Detecting C compile features - done [2024-01-16T18:57:08.143Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-16T18:57:08.143Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-16T18:57:08.143Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-16T18:57:08.143Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-16T18:57:08.143Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-16T18:57:08.143Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-16T18:57:08.143Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-16T18:57:08.143Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-16T18:57:08.143Z] -- /opt/iotech/iot/1.5/include [2024-01-16T18:57:08.143Z] -- C SDK 0.0.0 for Linux [2024-01-16T18:57:08.143Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-16T18:57:08.143Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-16T18:57:08.143Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-16T18:57:08.143Z] -- Configuring done (0.4s) [2024-01-16T18:57:08.402Z] Still waiting to schedule task [2024-01-16T18:57:08.402Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-01-16T18:57:08.403Z] -- Generating done (0.0s) [2024-01-16T18:57:08.403Z] -- Build files have been written to: /tmp/sdk/build/release [2024-01-16T18:57:08.403Z] + make all package [2024-01-16T18:57:08.403Z] + tee release.log [2024-01-16T18:57:08.403Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-16T18:57:08.403Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-16T18:57:08.663Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-16T18:57:08.663Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-16T18:57:08.923Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-16T18:57:08.923Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-16T18:57:09.181Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-16T18:57:09.440Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-16T18:57:09.440Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-16T18:57:09.440Z] 294 | while (privateConfig) [2024-01-16T18:57:09.440Z] | ^~~~~~~~~~~~~ [2024-01-16T18:57:09.440Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-16T18:57:09.440Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-16T18:57:09.440Z] | ^~~~~~~~~~~~~ [2024-01-16T18:57:09.440Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-16T18:57:09.440Z] 271 | while (result) [2024-01-16T18:57:09.440Z] | ^~~~~~ [2024-01-16T18:57:09.440Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-16T18:57:09.440Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-16T18:57:09.440Z] | ^~~~~~ [2024-01-16T18:57:09.440Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-16T18:57:09.440Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-16T18:57:09.440Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-16T18:57:10.010Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-16T18:57:10.010Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-16T18:57:10.010Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-16T18:57:10.271Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-16T18:57:10.271Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-16T18:57:10.530Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-16T18:57:10.530Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-16T18:57:10.790Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-16T18:57:10.790Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-16T18:57:11.049Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-16T18:57:11.310Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-16T18:57:12.248Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-16T18:57:12.248Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-16T18:57:12.507Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-16T18:57:12.507Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-16T18:57:12.507Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-16T18:57:12.766Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-16T18:57:13.041Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-16T18:57:13.300Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-16T18:57:13.300Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-16T18:57:13.560Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-16T18:57:13.560Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-16T18:57:13.560Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-16T18:57:13.560Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-16T18:57:13.560Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-16T18:57:13.560Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-16T18:57:13.560Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-16T18:57:13.560Z] | ^ [2024-01-16T18:57:13.819Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-16T18:57:13.819Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-16T18:57:13.819Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-16T18:57:13.819Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-16T18:57:13.819Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-16T18:57:13.819Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-16T18:57:13.819Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-16T18:57:14.079Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-16T18:57:14.079Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-16T18:57:14.079Z] [ 68%] Linking C shared library libcsdk.so [2024-01-16T18:57:14.338Z] [ 68%] Built target csdk [2024-01-16T18:57:14.338Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-16T18:57:14.338Z] [ 72%] Linking C executable template [2024-01-16T18:57:14.338Z] [ 72%] Built target template [2024-01-16T18:57:14.338Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-16T18:57:14.599Z] [ 76%] Linking C executable device-counter [2024-01-16T18:57:14.599Z] [ 76%] Built target device-counter [2024-01-16T18:57:14.599Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-16T18:57:14.599Z] [ 80%] Linking C executable device-random [2024-01-16T18:57:14.859Z] [ 80%] Built target device-random [2024-01-16T18:57:14.859Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-16T18:57:14.859Z] [ 84%] Linking C executable device-gyro [2024-01-16T18:57:14.859Z] [ 84%] Built target device-gyro [2024-01-16T18:57:15.119Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-16T18:57:15.119Z] [ 88%] Linking C executable device-bitfields [2024-01-16T18:57:15.119Z] [ 88%] Built target device-bitfields [2024-01-16T18:57:15.119Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-16T18:57:15.379Z] [ 92%] Linking C executable template-discovery [2024-01-16T18:57:15.379Z] [ 92%] Built target template-discovery [2024-01-16T18:57:15.379Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-16T18:57:15.379Z] [ 96%] Linking C executable device-file [2024-01-16T18:57:15.639Z] [ 96%] Built target device-file [2024-01-16T18:57:15.639Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-16T18:57:15.639Z] [100%] Linking C executable device-terminal [2024-01-16T18:57:15.639Z] [100%] Built target device-terminal [2024-01-16T18:57:15.898Z] Run CPack packaging tool... [2024-01-16T18:57:15.898Z] CPack: Create package using TGZ [2024-01-16T18:57:15.898Z] CPack: Install projects [2024-01-16T18:57:15.898Z] CPack: - Run preinstall target for: Csdk [2024-01-16T18:57:16.156Z] CPack: - Install project: Csdk [] [2024-01-16T18:57:16.156Z] CPack: Create package [2024-01-16T18:57:16.156Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-16T18:57:16.156Z] + '[' false '=' true ] [2024-01-16T18:57:16.156Z] + '[' false '=' true ] [2024-01-16T18:57:16.156Z] + mkdir -p /tmp/sdk/build/debug [2024-01-16T18:57:16.156Z] + cd /tmp/sdk/build/debug [2024-01-16T18:57:16.156Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-16T18:57:16.156Z] -- The C compiler identification is GNU 12.2.1 [2024-01-16T18:57:16.156Z] -- Detecting C compiler ABI info [2024-01-16T18:57:16.156Z] -- Detecting C compiler ABI info - done [2024-01-16T18:57:16.156Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-16T18:57:16.156Z] -- Detecting C compile features [2024-01-16T18:57:16.156Z] -- Detecting C compile features - done [2024-01-16T18:57:16.156Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-16T18:57:16.415Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-16T18:57:16.415Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-16T18:57:16.415Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-16T18:57:16.415Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-16T18:57:16.415Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-16T18:57:16.415Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-16T18:57:16.415Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-16T18:57:16.415Z] -- /opt/iotech/iot/1.5/include [2024-01-16T18:57:16.415Z] -- C SDK 0.0.0 for Linux [2024-01-16T18:57:16.415Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-16T18:57:16.415Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-16T18:57:16.415Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-16T18:57:16.415Z] -- Configuring done (0.4s) [2024-01-16T18:57:16.415Z] -- Generating done (0.0s) [2024-01-16T18:57:16.675Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-01-16T18:57:16.676Z] + make [2024-01-16T18:57:16.676Z] + tee debug.log [2024-01-16T18:57:16.676Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-16T18:57:16.676Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-16T18:57:16.676Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-16T18:57:16.676Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-16T18:57:16.935Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-16T18:57:16.935Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-16T18:57:17.194Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-16T18:57:17.194Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-16T18:57:17.194Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-16T18:57:17.194Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-16T18:57:17.454Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-16T18:57:17.454Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-16T18:57:17.454Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-16T18:57:17.713Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-16T18:57:17.713Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-16T18:57:17.713Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-16T18:57:17.713Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-16T18:57:17.972Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-16T18:57:17.972Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-16T18:57:17.972Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-16T18:57:18.233Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-16T18:57:18.233Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-16T18:57:18.491Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-16T18:57:18.491Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-16T18:57:18.491Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-16T18:57:18.491Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-16T18:57:18.750Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-16T18:57:18.750Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-16T18:57:19.011Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-16T18:57:19.011Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-16T18:57:19.011Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-16T18:57:19.011Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-16T18:57:19.011Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-16T18:57:19.011Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-16T18:57:19.011Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-16T18:57:19.011Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-16T18:57:19.011Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-16T18:57:19.011Z] | ^ [2024-01-16T18:57:19.271Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-16T18:57:19.271Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-16T18:57:19.271Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-16T18:57:19.271Z] [ 68%] Linking C shared library libcsdk.so [2024-01-16T18:57:19.531Z] [ 68%] Built target csdk [2024-01-16T18:57:19.531Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-16T18:57:19.531Z] [ 72%] Linking C executable template [2024-01-16T18:57:19.531Z] [ 72%] Built target template [2024-01-16T18:57:19.531Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-16T18:57:19.791Z] [ 76%] Linking C executable device-counter [2024-01-16T18:57:19.791Z] [ 76%] Built target device-counter [2024-01-16T18:57:19.791Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-16T18:57:19.791Z] [ 80%] Linking C executable device-random [2024-01-16T18:57:19.791Z] [ 80%] Built target device-random [2024-01-16T18:57:19.791Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-16T18:57:20.052Z] [ 84%] Linking C executable device-gyro [2024-01-16T18:57:20.053Z] [ 84%] Built target device-gyro [2024-01-16T18:57:20.053Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-16T18:57:20.053Z] [ 88%] Linking C executable device-bitfields [2024-01-16T18:57:20.053Z] [ 88%] Built target device-bitfields [2024-01-16T18:57:20.053Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-16T18:57:20.314Z] [ 92%] Linking C executable template-discovery [2024-01-16T18:57:20.314Z] [ 92%] Built target template-discovery [2024-01-16T18:57:20.314Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-16T18:57:20.314Z] [ 96%] Linking C executable device-file [2024-01-16T18:57:20.575Z] [ 96%] Built target device-file [2024-01-16T18:57:20.575Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-16T18:57:20.575Z] [100%] Linking C executable device-terminal [2024-01-16T18:57:20.575Z] [100%] Built target device-terminal [2024-01-16T18:57:20.575Z] make: Entering directory '/tmp/sdk/build/release' [2024-01-16T18:57:20.575Z] [ 68%] Built target csdk [2024-01-16T18:57:20.575Z] [ 72%] Built target template [2024-01-16T18:57:20.836Z] [ 76%] Built target device-counter [2024-01-16T18:57:20.836Z] [ 80%] Built target device-random [2024-01-16T18:57:20.836Z] [ 84%] Built target device-gyro [2024-01-16T18:57:20.836Z] [ 88%] Built target device-bitfields [2024-01-16T18:57:20.836Z] [ 92%] Built target template-discovery [2024-01-16T18:57:20.836Z] [ 96%] Built target device-file [2024-01-16T18:57:20.836Z] [100%] Built target device-terminal [2024-01-16T18:57:20.836Z] Install the project... [2024-01-16T18:57:20.836Z] -- Install configuration: "Release" [2024-01-16T18:57:20.836Z] -- Installing: /usr/local/lib/libcsdk.so [2024-01-16T18:57:20.836Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-16T18:57:20.836Z] -- Installing: /usr/local/include [2024-01-16T18:57:20.836Z] -- Installing: /usr/local/include/devsdk [2024-01-16T18:57:20.836Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-16T18:57:20.836Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-16T18:57:20.836Z] -- Installing: /usr/local/include/edgex [2024-01-16T18:57:20.836Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-01-16T18:57:20.836Z] -- Installing: /usr/local/include/edgex/devices.h [2024-01-16T18:57:20.836Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-01-16T18:57:20.836Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-16T18:57:20.836Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-16T18:57:20.836Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-16T18:57:20.836Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-16T18:57:20.836Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-16T18:57:20.836Z] make: Leaving directory '/tmp/sdk/build/release' [2024-01-16T18:57:21.774Z] Removing intermediate container 1e33dd7ee97c [2024-01-16T18:57:21.774Z] ---> 3f6c97b7f301 [2024-01-16T18:57:21.774Z] Step 14/21 : FROM ${BASE} [2024-01-16T18:57:21.774Z] ---> 6605166a5db4 [2024-01-16T18:57:21.774Z] Step 15/21 : LABEL maintainer="IOTech " [2024-01-16T18:57:21.774Z] ---> Running in 9f326eeb8ee7 [2024-01-16T18:57:21.774Z] Removing intermediate container 9f326eeb8ee7 [2024-01-16T18:57:21.774Z] ---> 9620c56c6272 [2024-01-16T18:57:21.774Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-16T18:57:21.774Z] ---> Running in 6db00a49d013 [2024-01-16T18:57:22.033Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-16T18:57:22.293Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-16T18:57:22.293Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-16T18:57:22.293Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-16T18:57:22.554Z] Removing intermediate container 6db00a49d013 [2024-01-16T18:57:22.554Z] ---> dff90a3050d1 [2024-01-16T18:57:22.554Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-16T18:57:22.814Z] ---> Running in 594b99f5a3fc [2024-01-16T18:57:23.380Z] Removing intermediate container 594b99f5a3fc [2024-01-16T18:57:23.380Z] ---> 14408710bc9e [2024-01-16T18:57:23.380Z] Step 18/21 : 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 [2024-01-16T18:57:23.380Z] ---> Running in 57d4a69ed518 [2024-01-16T18:57:23.640Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-16T18:57:23.640Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-16T18:57:23.640Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-16T18:57:24.208Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-16T18:57:24.208Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-16T18:57:24.208Z] (2/9) Installing curl (8.5.0-r0) [2024-01-16T18:57:24.208Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-16T18:57:24.208Z] (4/9) Installing hiredis (1.1.0-r2) [2024-01-16T18:57:24.208Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-16T18:57:24.208Z] (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-16T18:57:25.146Z] (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-16T18:57:25.146Z] (8/9) Installing libcbor (0.10.2-r1) [2024-01-16T18:57:25.146Z] (9/9) Installing libuuid (2.38.1-r8) [2024-01-16T18:57:25.146Z] Executing busybox-1.36.1-r4.trigger [2024-01-16T18:57:25.146Z] OK: 331 MiB in 89 packages [2024-01-16T18:57:25.716Z] Removing intermediate container 57d4a69ed518 [2024-01-16T18:57:25.716Z] ---> 34521ad38e14 [2024-01-16T18:57:25.716Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-16T18:57:25.716Z] ---> d870b9f21bbf [2024-01-16T18:57:25.716Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-16T18:57:25.976Z] ---> 977d4f931858 [2024-01-16T18:57:25.976Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-16T18:57:25.976Z] ---> dfd2171025eb [2024-01-16T18:57:25.976Z] Successfully built dfd2171025eb [2024-01-16T18:57:25.976Z] 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-01-16T18:57:26.518Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-16T18:57:26.518Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-16T18:57:26.641Z] prd-ubuntu20.04-docker-8c-8g-27334 does not seem to be running inside a container [2024-01-16T18:57:26.670Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-500 -v /w/workspace/edgexfoundry_device-sdk-c_PR-500:/w/workspace/edgexfoundry_device-sdk-c_PR-500:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-01-16T18:57:27.009Z] $ docker top bfd003794af398e2134789e568a158d06c29e3ac3ce0128ccd04c4a61d428452 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-16T18:57:27.401Z] + make test [2024-01-16T18:57:27.401Z] echo "make test" [2024-01-16T18:57:27.401Z] make test [Pipeline] } [2024-01-16T18:57:27.412Z] $ docker stop --time=1 bfd003794af398e2134789e568a158d06c29e3ac3ce0128ccd04c4a61d428452 [2024-01-16T18:57:28.704Z] $ docker rm -f --volumes bfd003794af398e2134789e568a158d06c29e3ac3ce0128ccd04c4a61d428452 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-16T18:57:29.447Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-16T18:57:29.734Z] + ls -al . [2024-01-16T18:57:29.734Z] total 212 [2024-01-16T18:57:29.734Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 16 18:56 . [2024-01-16T18:57:29.734Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 18:56 .. [2024-01-16T18:57:29.734Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 18:56 .git [2024-01-16T18:57:29.734Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 16 18:56 .github [2024-01-16T18:57:29.734Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 16 18:56 .gitignore [2024-01-16T18:57:29.734Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 16 18:56 .semver [2024-01-16T18:57:29.734Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 16 18:56 Attribution.txt [2024-01-16T18:57:29.734Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 16 18:56 CHANGELOG.md [2024-01-16T18:57:29.734Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 16 18:56 Doxyfile [2024-01-16T18:57:29.734Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 16 18:56 GOVERNANCE.md [2024-01-16T18:57:29.734Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 16 18:56 Jenkinsfile [2024-01-16T18:57:29.734Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 16 18:56 LICENSE [2024-01-16T18:57:29.734Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 16 18:56 Makefile [2024-01-16T18:57:29.734Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 16 18:56 OWNERS.md [2024-01-16T18:57:29.734Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 16 18:56 README.IOT.md [2024-01-16T18:57:29.734Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 16 18:56 README.md [2024-01-16T18:57:29.734Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 16 18:56 README.v3.md [2024-01-16T18:57:29.734Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 16 18:56 VERSION [2024-01-16T18:57:29.734Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 18:56 docs [2024-01-16T18:57:29.734Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 18:56 include [2024-01-16T18:57:29.734Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 18:56 scripts [2024-01-16T18:57:29.734Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 18:56 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-16T18:57:30.071Z] + 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=e3aa3cba738a275fd2061b8c0030912864b868c5 --label arch=amd64 --label version=0.0.0 . [2024-01-16T18:57:30.071Z] Sending build context to Docker daemon 4.988MB [2024-01-16T18:57:30.071Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-01-16T18:57:30.071Z] Step 2/17 : FROM ${BASE} [2024-01-16T18:57:30.071Z] ---> dfd2171025eb [2024-01-16T18:57:30.071Z] Step 3/17 : LABEL maintainer="IOTech " [2024-01-16T18:57:30.071Z] ---> Running in 5ca8d8f789fa [2024-01-16T18:57:30.331Z] Removing intermediate container 5ca8d8f789fa [2024-01-16T18:57:30.331Z] ---> e4d2fb422b48 [2024-01-16T18:57:30.331Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-16T18:57:30.331Z] ---> Running in 6074eaa1907f [2024-01-16T18:57:30.589Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-16T18:57:30.848Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-16T18:57:30.848Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-16T18:57:30.848Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-16T18:57:31.107Z] Removing intermediate container 6074eaa1907f [2024-01-16T18:57:31.107Z] ---> fb43f5232d73 [2024-01-16T18:57:31.107Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-16T18:57:31.107Z] ---> Running in cf1248253d22 [2024-01-16T18:57:31.677Z] Removing intermediate container cf1248253d22 [2024-01-16T18:57:31.677Z] ---> 5d5531e3e26d [2024-01-16T18:57:31.677Z] Step 6/17 : 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 && mkdir -p /edgex-c-sdk/build [2024-01-16T18:57:31.677Z] ---> Running in 950032641a89 [2024-01-16T18:57:31.937Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-16T18:57:31.937Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-16T18:57:32.196Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-16T18:57:32.763Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-16T18:57:32.763Z] (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-16T18:57:33.022Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-16T18:57:33.022Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-16T18:57:33.022Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-16T18:57:33.022Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-16T18:57:33.022Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-16T18:57:33.022Z] (7/11) Installing libblkid (2.38.1-r8) [2024-01-16T18:57:33.022Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-01-16T18:57:33.022Z] (9/11) Installing libmount (2.38.1-r8) [2024-01-16T18:57:33.022Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-16T18:57:33.022Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-16T18:57:33.022Z] Executing busybox-1.36.1-r4.trigger [2024-01-16T18:57:33.022Z] OK: 336 MiB in 100 packages [2024-01-16T18:57:33.658Z] Removing intermediate container 950032641a89 [2024-01-16T18:57:33.658Z] ---> 543e97ef5098 [2024-01-16T18:57:33.658Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-01-16T18:57:33.921Z] ---> 2eef87e64c30 [2024-01-16T18:57:33.921Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-01-16T18:57:34.181Z] ---> 476d6b23393b [2024-01-16T18:57:34.181Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-01-16T18:57:34.181Z] ---> 06d81e38ad32 [2024-01-16T18:57:34.181Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-01-16T18:57:34.181Z] ---> f63dd3132ff5 [2024-01-16T18:57:34.181Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-01-16T18:57:34.444Z] ---> 971c780ebb77 [2024-01-16T18:57:34.444Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-01-16T18:57:34.444Z] ---> e80ebcd940e8 [2024-01-16T18:57:34.444Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-01-16T18:57:34.444Z] ---> Running in 112b1792aa06 [2024-01-16T18:57:34.703Z] Removing intermediate container 112b1792aa06 [2024-01-16T18:57:34.703Z] ---> 11b409f04d62 [2024-01-16T18:57:34.703Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-01-16T18:57:34.703Z] ---> Running in d6d1bc59409b [2024-01-16T18:57:34.703Z] Removing intermediate container d6d1bc59409b [2024-01-16T18:57:34.703Z] ---> 94e02eb760ca [2024-01-16T18:57:34.703Z] Step 15/17 : LABEL arch=amd64 [2024-01-16T18:57:34.703Z] ---> Running in e0cc9df4742b [2024-01-16T18:57:34.703Z] Removing intermediate container e0cc9df4742b [2024-01-16T18:57:34.703Z] ---> 39cefd2fd790 [2024-01-16T18:57:34.704Z] Step 16/17 : LABEL git_sha=e3aa3cba738a275fd2061b8c0030912864b868c5 [2024-01-16T18:57:34.704Z] ---> Running in a6dd34f6f594 [2024-01-16T18:57:34.963Z] Removing intermediate container a6dd34f6f594 [2024-01-16T18:57:34.963Z] ---> 5f1e02fbd5a2 [2024-01-16T18:57:34.963Z] Step 17/17 : LABEL version=0.0.0 [2024-01-16T18:57:34.963Z] ---> Running in 8e88ea544428 [2024-01-16T18:57:34.963Z] Removing intermediate container 8e88ea544428 [2024-01-16T18:57:34.963Z] ---> 0c2c1209a253 [2024-01-16T18:57:34.963Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2024-01-16T18:57:34.963Z] Successfully built 0c2c1209a253 [2024-01-16T18:57:34.963Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-16T18:57:35.668Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-16T18:57:35.668Z] [2024-01-16T18:57:35.668Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-16T18:57:35.988Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-16T18:57:35.988Z] latest: Pulling from edgex-lftools-log-publisher [2024-01-16T18:57:35.988Z] 5eb5b503b376: Pulling fs layer [2024-01-16T18:57:35.988Z] 5c69ac0246d0: Pulling fs layer [2024-01-16T18:57:35.988Z] ec43610c2a17: Pulling fs layer [2024-01-16T18:57:35.988Z] 3a2ae6a8a46f: Pulling fs layer [2024-01-16T18:57:35.988Z] 33b1e0a273af: Pulling fs layer [2024-01-16T18:57:35.988Z] 5d3b04190fa2: Pulling fs layer [2024-01-16T18:57:35.988Z] 2f39f015ded8: Pulling fs layer [2024-01-16T18:57:35.988Z] 33b1e0a273af: Waiting [2024-01-16T18:57:35.988Z] 5d3b04190fa2: Waiting [2024-01-16T18:57:35.988Z] 3a2ae6a8a46f: Waiting [2024-01-16T18:57:35.988Z] 2f39f015ded8: Waiting [2024-01-16T18:57:35.988Z] 5c69ac0246d0: Verifying Checksum [2024-01-16T18:57:35.988Z] 5c69ac0246d0: Download complete [2024-01-16T18:57:35.988Z] 3a2ae6a8a46f: Download complete [2024-01-16T18:57:35.988Z] 33b1e0a273af: Verifying Checksum [2024-01-16T18:57:35.988Z] 33b1e0a273af: Download complete [2024-01-16T18:57:35.988Z] ec43610c2a17: Verifying Checksum [2024-01-16T18:57:35.988Z] ec43610c2a17: Download complete [2024-01-16T18:57:35.988Z] 5d3b04190fa2: Download complete [2024-01-16T18:57:36.245Z] 5eb5b503b376: Verifying Checksum [2024-01-16T18:57:36.245Z] 5eb5b503b376: Download complete [2024-01-16T18:57:36.811Z] 2f39f015ded8: Download complete [2024-01-16T18:57:37.376Z] 5eb5b503b376: Pull complete [2024-01-16T18:57:37.634Z] 5c69ac0246d0: Pull complete [2024-01-16T18:57:37.892Z] ec43610c2a17: Pull complete [2024-01-16T18:57:37.892Z] 3a2ae6a8a46f: Pull complete [2024-01-16T18:57:38.149Z] 33b1e0a273af: Pull complete [2024-01-16T18:57:38.149Z] 5d3b04190fa2: Pull complete [2024-01-16T18:57:42.328Z] 2f39f015ded8: Pull complete [2024-01-16T18:57:42.328Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-01-16T18:57:42.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-16T18:57:42.328Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-16T18:57:42.498Z] prd-ubuntu20.04-docker-8c-8g-27334 does not seem to be running inside a container [2024-01-16T18:57:42.535Z] $ 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-500 -v /w/workspace/edgexfoundry_device-sdk-c_PR-500:/w/workspace/edgexfoundry_device-sdk-c_PR-500:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-16T18:57:47.416Z] $ docker top bbb672682df0d410184a3c63e6fe0c7c975944d0b32482082863e8a2fd9ffb37 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-16T18:57:47.919Z] ---> job-cost.sh [2024-01-16T18:57:47.919Z] lf-activate-venv: SKIPPING [2024-01-16T18:57:47.919Z] INFO: No Stack... [2024-01-16T18:57:48.178Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-16T18:57:48.747Z] INFO: Archiving Costs [Pipeline] sh [2024-01-16T18:57:49.038Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives/cost.csv [2024-01-16T18:57:49.038Z] + cut -d, -f6 [Pipeline] lock [2024-01-16T18:57:49.052Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-500-3-stack-cost] [2024-01-16T18:57:49.061Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-500-3-stack-cost] did not exist. Created. [2024-01-16T18:57:49.061Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-500-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-16T18:57:49.417Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-16T18:57:49.455Z] Stashed 1 file(s) [Pipeline] } [2024-01-16T18:57:49.469Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-500-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-16T18:57:49.531Z] $ docker stop --time=1 bbb672682df0d410184a3c63e6fe0c7c975944d0b32482082863e8a2fd9ffb37 [2024-01-16T18:57:50.680Z] $ docker rm -f --volumes bbb672682df0d410184a3c63e6fe0c7c975944d0b32482082863e8a2fd9ffb37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-01-16T18:59:07.960Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-27336 in /w/workspace/edgexfoundry_device-sdk-c_PR-500 [Pipeline] { [Pipeline] ws [2024-01-16T18:59:07.998Z] Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout [2024-01-16T18:59:11.086Z] Selected Git installation does not exist. Using Default [2024-01-16T18:59:11.086Z] The recommended git tool is: NONE [2024-01-16T18:59:19.187Z] using credential edgex-jenkins-ssh [2024-01-16T18:59:19.207Z] Cloning the remote Git repository [2024-01-16T18:59:19.261Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-01-16T18:59:19.360Z] > git init /w/workspace/device-sdk-c/3 # timeout=10 [2024-01-16T18:59:19.536Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-16T18:59:19.536Z] > git --version # timeout=10 [2024-01-16T18:59:19.555Z] > git --version # 'git version 2.25.1' [2024-01-16T18:59:19.558Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-16T18:59:19.696Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-16T18:59:20.779Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-16T18:59:20.795Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-16T18:59:22.265Z] Merging remotes/origin/main commit c533cd2e0d9c0aa79f18f2e3eeb4447a32e46d6c into PR head commit 88225b2b2af007b234a268bddf4c2374904aaf88 [2024-01-16T18:59:22.618Z] Merge succeeded, producing 5e2f8a8a351cebe4b9099797c3b2fac79b4231d7 [2024-01-16T18:59:22.618Z] Checking out Revision 5e2f8a8a351cebe4b9099797c3b2fac79b4231d7 (PR-500) [2024-01-16T18:59:21.578Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-16T18:59:21.612Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-16T18:59:21.613Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-16T18:59:21.627Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/500/head:refs/remotes/origin/PR-500 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-01-16T18:59:22.277Z] > git config core.sparsecheckout # timeout=10 [2024-01-16T18:59:22.332Z] > git checkout -f 88225b2b2af007b234a268bddf4c2374904aaf88 # timeout=10 [2024-01-16T18:59:22.445Z] > git remote # timeout=10 [2024-01-16T18:59:22.461Z] > git config --get remote.origin.url # timeout=10 [2024-01-16T18:59:22.475Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-16T18:59:22.488Z] > git merge c533cd2e0d9c0aa79f18f2e3eeb4447a32e46d6c # timeout=10 [2024-01-16T18:59:22.596Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-01-16T18:59:22.620Z] > git config core.sparsecheckout # timeout=10 [2024-01-16T18:59:22.633Z] > git checkout -f 5e2f8a8a351cebe4b9099797c3b2fac79b4231d7 # timeout=10 [2024-01-16T18:59:26.201Z] Commit message: "Merge commit 'c533cd2e0d9c0aa79f18f2e3eeb4447a32e46d6c' into HEAD" [2024-01-16T18:59:26.226Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-16T18:59:26.205Z] > git rev-list --no-walk 12e0f42a3f89eea410549ef3c2de7e7be7d17ed7 # timeout=10 [2024-01-16T18:59:27.650Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-01-16T18:59:27.650Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-01-16T18:59:27.650Z] Dload Upload Total Spent Left Speed [2024-01-16T18:59:27.650Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 86863 0 --:--:-- --:--:-- --:--:-- 86863 [Pipeline] sh [2024-01-16T18:59:28.156Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-01-16T18:59:28.493Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2024-01-16T18:59:28.493Z] /etc/docker/daemon.json [2024-01-16T18:59:28.493Z] { [2024-01-16T18:59:28.493Z] "registry-mirrors": [ [2024-01-16T18:59:28.493Z] "https://nexus3.edgexfoundry.org:10001" [2024-01-16T18:59:28.493Z] ], [2024-01-16T18:59:28.493Z] "bip": "10.250.0.254/24", [2024-01-16T18:59:28.493Z] "hosts": [ [2024-01-16T18:59:28.493Z] "tcp://0.0.0.0:5555", [2024-01-16T18:59:28.493Z] "unix:///var/run/docker.sock" [2024-01-16T18:59:28.493Z] ], [2024-01-16T18:59:28.493Z] "mtu": 1458, [2024-01-16T18:59:28.493Z] "selinux-enabled": true, [2024-01-16T18:59:28.493Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-01-16T18:59:28.493Z] } [Pipeline] sh [2024-01-16T18:59:28.821Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-01-16T18:59:29.159Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-16T18:59:51.324Z] provisioning config files... [2024-01-16T18:59:51.352Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config15647371719104012405tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-16T18:59:51.822Z] ---> ****-login.sh [2024-01-16T18:59:51.822Z] nexus3.edgexfoundry.org:10001 [2024-01-16T18:59:52.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:59:52.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:59:52.362Z] Configure a credential helper to remove this warning. See [2024-01-16T18:59:52.362Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:59:52.362Z] [2024-01-16T18:59:52.362Z] Login Succeeded [2024-01-16T18:59:52.362Z] nexus3.edgexfoundry.org:10002 [2024-01-16T18:59:52.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:59:52.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:59:52.631Z] Configure a credential helper to remove this warning. See [2024-01-16T18:59:52.632Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:59:52.632Z] [2024-01-16T18:59:52.632Z] Login Succeeded [2024-01-16T18:59:52.632Z] nexus3.edgexfoundry.org:10003 [2024-01-16T18:59:52.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:59:52.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:59:52.901Z] Configure a credential helper to remove this warning. See [2024-01-16T18:59:52.901Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:59:52.901Z] [2024-01-16T18:59:52.901Z] Login Succeeded [2024-01-16T18:59:52.901Z] nexus3.edgexfoundry.org:10004 [2024-01-16T18:59:53.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:59:53.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:59:53.173Z] Configure a credential helper to remove this warning. See [2024-01-16T18:59:53.173Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:59:53.173Z] [2024-01-16T18:59:53.173Z] Login Succeeded [2024-01-16T18:59:53.173Z] ****.io [2024-01-16T18:59:53.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-16T18:59:53.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-16T18:59:53.709Z] Configure a credential helper to remove this warning. See [2024-01-16T18:59:53.709Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-16T18:59:53.709Z] [2024-01-16T18:59:53.709Z] Login Succeeded [2024-01-16T18:59:53.709Z] ---> ****-login.sh ends [Pipeline] } [2024-01-16T18:59:53.723Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-16T18:59:54.103Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-16T18:59:54.141Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-01-16T18:59:54.180Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-16T18:59:54.214Z] ========================================================= [2024-01-16T18:59:54.214Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-01-16T18:59:54.214Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-16T18:59:54.629Z] + 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-01-16T18:59:56.045Z] #0 building with "default" instance using docker driver [2024-01-16T18:59:56.045Z] [2024-01-16T18:59:56.045Z] #1 [internal] load build definition from Dockerfile.alpine-base [2024-01-16T18:59:56.045Z] #1 transferring dockerfile: 2.04kB 0.0s done [2024-01-16T18:59:56.045Z] #1 DONE 0.1s [2024-01-16T18:59:56.045Z] [2024-01-16T18:59:56.045Z] #2 [internal] load .dockerignore [2024-01-16T18:59:56.045Z] #2 transferring context: 2B done [2024-01-16T18:59:56.045Z] #2 DONE 0.1s [2024-01-16T18:59:56.045Z] [2024-01-16T18:59:56.045Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-01-16T18:59:56.045Z] #3 DONE 0.1s [2024-01-16T18:59:56.045Z] [2024-01-16T18:59:56.045Z] #4 [builder 1/12] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-16T18:59:56.045Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 0.0s done [2024-01-16T18:59:56.045Z] #4 ... [2024-01-16T18:59:56.045Z] [2024-01-16T18:59:56.045Z] #5 [internal] load build context [2024-01-16T18:59:56.045Z] #5 transferring context: 627.84kB 0.1s done [2024-01-16T18:59:56.045Z] #5 DONE 0.2s [2024-01-16T18:59:56.045Z] [2024-01-16T18:59:56.045Z] #4 [builder 1/12] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-16T18:59:56.045Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 0B / 109.51MB 0.1s [2024-01-16T18:59:56.045Z] #4 sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 741B / 741B done [2024-01-16T18:59:56.045Z] #4 sha256:2b552cad5dd98495624f16c0a312487c0a9b53c9e43189d1cca70f16696b9826 2.57kB / 2.57kB done [2024-01-16T18:59:56.045Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 1.05MB / 3.33MB 0.1s [2024-01-16T18:59:56.045Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 [2024-01-16T18:59:56.313Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 7.77MB / 109.51MB 0.3s [2024-01-16T18:59:56.313Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.2s done [2024-01-16T18:59:56.581Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 17.83MB / 109.51MB 0.5s [2024-01-16T18:59:56.581Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.3s done [2024-01-16T18:59:56.852Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 33.55MB / 109.51MB 0.8s [2024-01-16T18:59:56.852Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 45.09MB / 109.51MB 1.0s [2024-01-16T18:59:57.439Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 61.87MB / 109.51MB 1.3s [2024-01-16T18:59:57.439Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 68.16MB / 109.51MB 1.4s [2024-01-16T18:59:57.439Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 73.92MB / 109.51MB 1.5s [2024-01-16T18:59:57.709Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 83.89MB / 109.51MB 1.7s [2024-01-16T18:59:57.709Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 90.18MB / 109.51MB 1.8s [2024-01-16T18:59:57.977Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 97.47MB / 109.51MB 1.9s [2024-01-16T18:59:57.977Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 103.81MB / 109.51MB 2.0s [2024-01-16T18:59:58.245Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.2s [2024-01-16T19:00:02.500Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 6.4s done [2024-01-16T19:00:02.500Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 [2024-01-16T19:00:07.851Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 5.0s [2024-01-16T19:00:14.495Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 11.4s [2024-01-16T19:00:15.076Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 12.6s done [2024-01-16T19:00:17.012Z] #4 DONE 20.8s [2024-01-16T19:00:17.012Z] [2024-01-16T19:00:17.012Z] #6 [builder 2/12] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-16T19:00:17.596Z] #6 0.672 Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-16T19:00:17.861Z] #6 1.196 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-16T19:00:18.128Z] #6 1.197 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-16T19:00:18.128Z] #6 1.197 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-16T19:00:18.712Z] #6 DONE 2.0s [2024-01-16T19:00:18.712Z] [2024-01-16T19:00:18.712Z] #7 [builder 3/12] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-16T19:00:19.672Z] #7 DONE 0.8s [2024-01-16T19:00:19.672Z] [2024-01-16T19:00:19.672Z] #8 [builder 4/12] 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-01-16T19:00:20.634Z] #8 0.948 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-16T19:00:20.901Z] #8 1.348 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-16T19:00:21.866Z] #8 1.990 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-16T19:00:22.830Z] #8 3.013 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-16T19:00:22.830Z] #8 3.054 (1/17) Installing hiredis (1.1.0-r2) [2024-01-16T19:00:22.830Z] #8 3.064 (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-16T19:00:22.830Z] #8 3.179 (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-16T19:00:23.414Z] #8 3.973 (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-16T19:00:23.687Z] #8 4.096 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-16T19:00:23.955Z] #8 4.336 (6/17) Installing libcbor (0.10.2-r1) [2024-01-16T19:00:23.955Z] #8 4.343 (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-16T19:00:23.955Z] #8 4.367 (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-16T19:00:23.955Z] #8 4.383 (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-16T19:00:23.955Z] #8 4.389 (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-16T19:00:23.955Z] #8 4.397 (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-16T19:00:23.955Z] #8 4.426 (12/17) Installing libblkid (2.38.1-r8) [2024-01-16T19:00:23.955Z] #8 4.444 (13/17) Installing libuuid (2.38.1-r8) [2024-01-16T19:00:24.237Z] #8 4.452 (14/17) Installing libfdisk (2.38.1-r8) [2024-01-16T19:00:24.237Z] #8 4.470 (15/17) Installing libmount (2.38.1-r8) [2024-01-16T19:00:24.237Z] #8 4.487 (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-16T19:00:24.237Z] #8 4.500 (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-16T19:00:24.237Z] #8 4.582 Executing busybox-1.36.1-r4.trigger [2024-01-16T19:00:24.237Z] #8 4.632 OK: 333 MiB in 99 packages [2024-01-16T19:00:24.511Z] #8 ... [2024-01-16T19:00:24.511Z] [2024-01-16T19:00:24.511Z] #9 [stage-1 4/7] 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 [2024-01-16T19:00:24.511Z] #9 0.945 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-16T19:00:24.511Z] #9 1.353 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-16T19:00:24.511Z] #9 1.983 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-16T19:00:24.511Z] #9 2.980 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-16T19:00:24.511Z] #9 3.017 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-16T19:00:24.511Z] #9 3.045 (2/9) Installing curl (8.5.0-r0) [2024-01-16T19:00:24.511Z] #9 3.058 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-16T19:00:24.511Z] #9 3.078 (4/9) Installing hiredis (1.1.0-r2) [2024-01-16T19:00:24.511Z] #9 3.084 (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-16T19:00:24.511Z] #9 3.175 (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-16T19:00:24.511Z] #9 3.982 (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-16T19:00:24.511Z] #9 4.219 (8/9) Installing libcbor (0.10.2-r1) [2024-01-16T19:00:24.511Z] #9 4.226 (9/9) Installing libuuid (2.38.1-r8) [2024-01-16T19:00:24.511Z] #9 4.233 Executing busybox-1.36.1-r4.trigger [2024-01-16T19:00:24.511Z] #9 4.278 OK: 327 MiB in 89 packages [2024-01-16T19:00:24.511Z] #9 DONE 5.0s [2024-01-16T19:00:24.779Z] [2024-01-16T19:00:24.779Z] #8 [builder 4/12] 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-01-16T19:00:24.779Z] #8 DONE 5.1s [2024-01-16T19:00:24.779Z] [2024-01-16T19:00:24.779Z] #10 [builder 5/12] RUN mkdir /tmp/sdk [2024-01-16T19:00:25.743Z] #10 DONE 1.0s [2024-01-16T19:00:25.743Z] [2024-01-16T19:00:25.743Z] #11 [builder 6/12] COPY VERSION /tmp/sdk [2024-01-16T19:00:25.743Z] #11 DONE 0.1s [2024-01-16T19:00:25.743Z] [2024-01-16T19:00:25.743Z] #12 [builder 7/12] COPY src /tmp/sdk/src [2024-01-16T19:00:26.010Z] #12 DONE 0.2s [2024-01-16T19:00:26.010Z] [2024-01-16T19:00:26.010Z] #13 [builder 8/12] COPY include /tmp/sdk/include [2024-01-16T19:00:26.010Z] #13 DONE 0.1s [2024-01-16T19:00:26.010Z] [2024-01-16T19:00:26.010Z] #14 [builder 9/12] COPY scripts /tmp/sdk/scripts [2024-01-16T19:00:26.010Z] #14 DONE 0.1s [2024-01-16T19:00:26.277Z] [2024-01-16T19:00:26.277Z] #15 [builder 10/12] COPY LICENSE /tmp/sdk [2024-01-16T19:00:26.277Z] #15 DONE 0.1s [2024-01-16T19:00:26.277Z] [2024-01-16T19:00:26.277Z] #16 [builder 11/12] COPY Attribution.txt /tmp/sdk [2024-01-16T19:00:26.544Z] #16 DONE 0.1s [2024-01-16T19:00:26.544Z] [2024-01-16T19:00:26.544Z] #17 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-16T19:00:27.127Z] #17 0.571 + CPPCHECK=false [2024-01-16T19:00:27.127Z] #17 0.571 + DOCGEN=false [2024-01-16T19:00:27.127Z] #17 0.571 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-16T19:00:27.127Z] #17 0.571 + '[' 0 -gt 0 ] [2024-01-16T19:00:27.127Z] #17 0.572 + readlink -f ./scripts/build.sh [2024-01-16T19:00:27.127Z] #17 0.574 + dirname /tmp/sdk/scripts/build.sh [2024-01-16T19:00:27.127Z] #17 0.576 + dirname /tmp/sdk/scripts [2024-01-16T19:00:27.127Z] #17 0.578 + ROOT=/tmp/sdk [2024-01-16T19:00:27.127Z] #17 0.578 + cd /tmp/sdk [2024-01-16T19:00:27.127Z] #17 0.578 + mkdir -p /tmp/sdk/build/release [2024-01-16T19:00:27.127Z] #17 0.581 + cd /tmp/sdk/build/release [2024-01-16T19:00:27.127Z] #17 0.581 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-16T19:00:27.392Z] #17 0.927 -- The C compiler identification is GNU 12.2.1 [2024-01-16T19:00:27.392Z] #17 0.996 -- Detecting C compiler ABI info [2024-01-16T19:00:27.659Z] #17 1.336 -- Detecting C compiler ABI info - done [2024-01-16T19:00:27.659Z] #17 1.420 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-16T19:00:27.926Z] #17 1.422 -- Detecting C compile features [2024-01-16T19:00:27.926Z] #17 1.425 -- Detecting C compile features - done [2024-01-16T19:00:27.926Z] #17 1.449 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-16T19:00:27.926Z] #17 1.641 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-16T19:00:27.926Z] #17 1.660 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-16T19:00:27.926Z] #17 1.677 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-16T19:00:28.192Z] #17 1.693 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-16T19:00:28.192Z] #17 1.710 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-16T19:00:28.192Z] #17 1.727 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-16T19:00:28.192Z] #17 1.745 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-16T19:00:28.192Z] #17 1.745 -- /opt/iotech/iot/1.5/include [2024-01-16T19:00:28.192Z] #17 1.746 -- C SDK 0.0.0 for Linux [2024-01-16T19:00:28.192Z] #17 1.759 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-16T19:00:28.458Z] #17 2.077 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-16T19:00:28.458Z] #17 2.238 -- Found Curses: /usr/lib/libcurses.so [2024-01-16T19:00:28.724Z] #17 2.357 -- Configuring done (1.7s) [2024-01-16T19:00:29.010Z] #17 2.613 -- Generating done (0.2s) [2024-01-16T19:00:29.010Z] #17 2.631 -- Build files have been written to: /tmp/sdk/build/release [2024-01-16T19:00:29.010Z] #17 2.652 + make all package [2024-01-16T19:00:29.010Z] #17 2.653 + tee release.log [2024-01-16T19:00:29.275Z] #17 2.777 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-16T19:00:29.857Z] #17 3.472 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-16T19:00:30.817Z] #17 4.344 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-16T19:00:31.398Z] #17 5.059 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-16T19:00:32.361Z] #17 5.834 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-16T19:00:32.942Z] #17 6.461 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-16T19:00:34.879Z] #17 8.660 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-16T19:00:35.836Z] #17 9.520 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-16T19:00:35.836Z] #17 9.521 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-16T19:00:35.836Z] #17 9.521 294 | while (privateConfig) [2024-01-16T19:00:35.836Z] #17 9.521 | ^~~~~~~~~~~~~ [2024-01-16T19:00:35.836Z] #17 9.521 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-16T19:00:35.836Z] #17 9.521 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-16T19:00:35.836Z] #17 9.521 | ^~~~~~~~~~~~~ [2024-01-16T19:00:35.836Z] #17 9.521 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-16T19:00:35.836Z] #17 9.521 271 | while (result) [2024-01-16T19:00:35.836Z] #17 9.521 | ^~~~~~ [2024-01-16T19:00:35.836Z] #17 9.521 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-16T19:00:35.836Z] #17 9.521 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-16T19:00:35.836Z] #17 9.521 | ^~~~~~ [2024-01-16T19:00:36.418Z] #17 9.858 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-16T19:00:36.418Z] #17 10.09 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-16T19:00:37.377Z] #17 11.04 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-16T19:00:39.952Z] #17 13.29 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-16T19:00:40.219Z] #17 13.99 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-16T19:00:41.176Z] #17 14.87 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-16T19:00:42.133Z] #17 15.60 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-16T19:00:42.398Z] #17 16.07 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-16T19:00:43.356Z] #17 17.09 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-16T19:00:43.937Z] #17 17.40 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-16T19:00:45.879Z] #17 19.49 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-16T19:00:46.145Z] #17 19.89 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-16T19:00:46.726Z] #17 20.48 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-16T19:00:48.136Z] #17 21.83 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-16T19:00:56.442Z] #17 28.69 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-16T19:00:56.442Z] #17 29.33 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-16T19:00:56.442Z] #17 29.74 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-16T19:00:56.708Z] #17 30.29 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-16T19:00:56.974Z] #17 30.62 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-16T19:00:58.387Z] #17 32.08 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-16T19:01:00.969Z] #17 34.24 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-16T19:01:00.969Z] #17 34.67 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-16T19:01:01.944Z] #17 35.52 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-16T19:01:02.525Z] #17 36.10 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-16T19:01:02.790Z] #17 36.37 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-16T19:01:02.791Z] #17 36.37 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-16T19:01:02.791Z] #17 36.37 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-16T19:01:02.791Z] #17 36.37 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-16T19:01:02.791Z] #17 36.37 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-16T19:01:02.791Z] #17 36.37 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-16T19:01:02.791Z] #17 36.37 | ^ [2024-01-16T19:01:04.195Z] #17 37.78 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-16T19:01:04.195Z] #17 37.78 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-16T19:01:04.195Z] #17 37.78 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-16T19:01:04.195Z] #17 37.78 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-16T19:01:04.195Z] #17 37.78 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-16T19:01:04.195Z] #17 37.78 | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-16T19:01:05.150Z] #17 38.83 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-16T19:01:06.105Z] #17 39.57 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-16T19:01:06.370Z] #17 39.90 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-16T19:01:06.635Z] #17 40.40 [ 68%] Linking C shared library libcsdk.so [2024-01-16T19:01:06.902Z] #17 40.60 [ 68%] Built target csdk [2024-01-16T19:01:06.902Z] #17 40.65 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-16T19:01:07.860Z] #17 41.43 [ 72%] Linking C executable template [2024-01-16T19:01:08.127Z] #17 41.73 [ 72%] Built target template [2024-01-16T19:01:08.127Z] #17 41.78 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-16T19:01:08.710Z] #17 42.28 [ 76%] Linking C executable device-counter [2024-01-16T19:01:08.979Z] #17 42.57 [ 76%] Built target device-counter [2024-01-16T19:01:08.979Z] #17 42.63 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-16T19:01:09.561Z] #17 43.12 [ 80%] Linking C executable device-random [2024-01-16T19:01:09.828Z] #17 43.42 [ 80%] Built target device-random [2024-01-16T19:01:09.828Z] #17 43.47 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-16T19:01:10.416Z] #17 43.93 [ 84%] Linking C executable device-gyro [2024-01-16T19:01:10.685Z] #17 44.26 [ 84%] Built target device-gyro [2024-01-16T19:01:10.685Z] #17 44.31 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-16T19:01:11.269Z] #17 44.81 [ 88%] Linking C executable device-bitfields [2024-01-16T19:01:11.536Z] #17 45.15 [ 88%] Built target device-bitfields [2024-01-16T19:01:11.536Z] #17 45.20 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-16T19:01:12.495Z] #17 46.02 [ 92%] Linking C executable template-discovery [2024-01-16T19:01:12.765Z] #17 46.34 [ 92%] Built target template-discovery [2024-01-16T19:01:12.765Z] #17 46.40 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-16T19:01:13.728Z] #17 47.10 [ 96%] Linking C executable device-file [2024-01-16T19:01:13.728Z] #17 47.41 [ 96%] Built target device-file [2024-01-16T19:01:13.728Z] #17 47.46 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-16T19:01:14.311Z] #17 48.07 [100%] Linking C executable device-terminal [2024-01-16T19:01:14.581Z] #17 48.39 [100%] Built target device-terminal [2024-01-16T19:01:14.850Z] #17 48.45 Run CPack packaging tool... [2024-01-16T19:01:14.850Z] #17 48.50 CPack: Create package using TGZ [2024-01-16T19:01:14.850Z] #17 48.50 CPack: Install projects [2024-01-16T19:01:14.850Z] #17 48.50 CPack: - Run preinstall target for: Csdk [2024-01-16T19:01:15.813Z] #17 49.27 CPack: - Install project: Csdk [] [2024-01-16T19:01:15.813Z] #17 49.30 CPack: Create package [2024-01-16T19:01:15.813Z] #17 49.39 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-16T19:01:15.813Z] #17 49.40 + '[' false '=' true ] [2024-01-16T19:01:15.813Z] #17 49.40 + '[' false '=' true ] [2024-01-16T19:01:15.813Z] #17 49.40 + mkdir -p /tmp/sdk/build/debug [2024-01-16T19:01:15.813Z] #17 49.40 + cd /tmp/sdk/build/debug [2024-01-16T19:01:15.813Z] #17 49.40 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-16T19:01:16.081Z] #17 49.70 -- The C compiler identification is GNU 12.2.1 [2024-01-16T19:01:16.081Z] #17 49.77 -- Detecting C compiler ABI info [2024-01-16T19:01:16.350Z] #17 50.13 -- Detecting C compiler ABI info - done [2024-01-16T19:01:16.618Z] #17 50.24 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-16T19:01:16.618Z] #17 50.24 -- Detecting C compile features [2024-01-16T19:01:16.618Z] #17 50.24 -- Detecting C compile features - done [2024-01-16T19:01:16.618Z] #17 50.27 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-16T19:01:16.886Z] #17 50.47 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-16T19:01:16.886Z] #17 50.49 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-16T19:01:16.886Z] #17 50.50 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-16T19:01:16.886Z] #17 50.52 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-16T19:01:16.886Z] #17 50.53 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-16T19:01:16.886Z] #17 50.54 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-16T19:01:16.886Z] #17 50.56 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-16T19:01:16.886Z] #17 50.56 -- /opt/iotech/iot/1.5/include [2024-01-16T19:01:16.886Z] #17 50.56 -- C SDK 0.0.0 for Linux [2024-01-16T19:01:16.886Z] #17 50.57 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-16T19:01:17.155Z] #17 50.89 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-16T19:01:17.421Z] #17 51.06 -- Found Curses: /usr/lib/libcurses.so [2024-01-16T19:01:17.421Z] #17 51.17 -- Configuring done (1.7s) [2024-01-16T19:01:17.688Z] #17 51.42 -- Generating done (0.2s) [2024-01-16T19:01:17.955Z] #17 51.44 -- Build files have been written to: /tmp/sdk/build/debug [2024-01-16T19:01:17.955Z] #17 51.47 + make [2024-01-16T19:01:17.955Z] #17 51.47 + tee debug.log [2024-01-16T19:01:17.955Z] #17 51.60 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-16T19:01:18.224Z] #17 51.97 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-16T19:01:18.808Z] #17 52.37 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-16T19:01:19.074Z] #17 52.76 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-16T19:01:19.342Z] #17 53.16 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-16T19:01:19.922Z] #17 53.55 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-16T19:01:20.878Z] #17 54.22 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-16T19:01:20.878Z] #17 54.66 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-16T19:01:21.146Z] #17 54.83 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-16T19:01:21.728Z] #17 55.26 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-16T19:01:22.311Z] #17 55.93 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-16T19:01:22.580Z] #17 56.28 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-16T19:01:23.163Z] #17 56.75 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-16T19:01:23.431Z] #17 57.16 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-16T19:01:23.934Z] #17 57.50 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-16T19:01:24.200Z] #17 57.86 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-16T19:01:24.468Z] #17 58.09 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-16T19:01:25.430Z] #17 58.85 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-16T19:01:25.431Z] #17 59.08 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-16T19:01:25.697Z] #17 59.30 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-16T19:01:26.280Z] #17 59.93 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-16T19:01:27.690Z] #17 61.07 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-16T19:01:27.690Z] #17 61.40 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-16T19:01:28.274Z] #17 61.66 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-16T19:01:28.274Z] #17 61.99 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-16T19:01:28.860Z] #17 62.28 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-16T19:01:29.127Z] #17 62.85 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-16T19:01:31.075Z] #17 64.37 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-16T19:01:31.075Z] #17 64.67 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-16T19:01:31.343Z] #17 65.10 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-16T19:01:31.928Z] #17 65.50 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-16T19:01:32.196Z] #17 65.80 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-16T19:01:32.196Z] #17 65.80 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-16T19:01:32.196Z] #17 65.80 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-16T19:01:32.196Z] #17 65.80 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-16T19:01:32.196Z] #17 65.80 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-16T19:01:32.196Z] #17 65.80 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-16T19:01:32.196Z] #17 65.80 | ^ [2024-01-16T19:01:32.795Z] #17 66.42 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-16T19:01:33.063Z] #17 66.82 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-16T19:01:33.649Z] #17 67.13 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-16T19:01:33.917Z] #17 67.45 [ 68%] Linking C shared library libcsdk.so [2024-01-16T19:01:33.917Z] #17 67.70 [ 68%] Built target csdk [2024-01-16T19:01:34.186Z] #17 67.76 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-16T19:01:34.770Z] #17 68.15 [ 72%] Linking C executable template [2024-01-16T19:01:34.770Z] #17 68.47 [ 72%] Built target template [2024-01-16T19:01:34.770Z] #17 68.53 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-16T19:01:35.354Z] #17 68.85 [ 76%] Linking C executable device-counter [2024-01-16T19:01:35.354Z] #17 69.16 [ 76%] Built target device-counter [2024-01-16T19:01:35.621Z] #17 69.22 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-16T19:01:35.890Z] #17 69.55 [ 80%] Linking C executable device-random [2024-01-16T19:01:36.158Z] #17 69.87 [ 80%] Built target device-random [2024-01-16T19:01:36.424Z] #17 69.92 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-16T19:01:36.691Z] #17 70.23 [ 84%] Linking C executable device-gyro [2024-01-16T19:01:36.958Z] #17 70.57 [ 84%] Built target device-gyro [2024-01-16T19:01:36.959Z] #17 70.62 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-16T19:01:37.227Z] #17 70.94 [ 88%] Linking C executable device-bitfields [2024-01-16T19:01:37.811Z] #17 71.26 [ 88%] Built target device-bitfields [2024-01-16T19:01:37.811Z] #17 71.31 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-16T19:01:38.078Z] #17 71.70 [ 92%] Linking C executable template-discovery [2024-01-16T19:01:38.344Z] #17 72.02 [ 92%] Built target template-discovery [2024-01-16T19:01:38.344Z] #17 72.08 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-16T19:01:38.611Z] #17 72.44 [ 96%] Linking C executable device-file [2024-01-16T19:01:39.194Z] #17 72.76 [ 96%] Built target device-file [2024-01-16T19:01:39.194Z] #17 72.82 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-16T19:01:39.777Z] #17 73.25 [100%] Linking C executable device-terminal [2024-01-16T19:01:40.047Z] #17 73.59 [100%] Built target device-terminal [2024-01-16T19:01:40.047Z] #17 73.63 make: Entering directory '/tmp/sdk/build/release' [2024-01-16T19:01:40.316Z] #17 73.79 [ 68%] Built target csdk [2024-01-16T19:01:40.316Z] #17 73.86 [ 72%] Built target template [2024-01-16T19:01:40.316Z] #17 73.93 [ 76%] Built target device-counter [2024-01-16T19:01:40.316Z] #17 73.99 [ 80%] Built target device-random [2024-01-16T19:01:40.316Z] #17 74.06 [ 84%] Built target device-gyro [2024-01-16T19:01:40.583Z] #17 74.12 [ 88%] Built target device-bitfields [2024-01-16T19:01:40.583Z] #17 74.19 [ 92%] Built target template-discovery [2024-01-16T19:01:40.583Z] #17 74.25 [ 96%] Built target device-file [2024-01-16T19:01:40.583Z] #17 74.31 [100%] Built target device-terminal [2024-01-16T19:01:40.583Z] #17 74.37 Install the project... [2024-01-16T19:01:40.583Z] #17 74.39 -- Install configuration: "Release" [2024-01-16T19:01:40.583Z] #17 74.40 -- Installing: /usr/local/lib/libcsdk.so [2024-01-16T19:01:40.583Z] #17 74.41 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-16T19:01:40.583Z] #17 74.41 -- Installing: /usr/local/include [2024-01-16T19:01:40.583Z] #17 74.41 -- Installing: /usr/local/include/devsdk [2024-01-16T19:01:40.583Z] #17 74.41 -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-16T19:01:40.583Z] #17 74.41 -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-16T19:01:40.849Z] #17 74.41 -- Installing: /usr/local/include/edgex [2024-01-16T19:01:40.849Z] #17 74.41 -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-16T19:01:40.849Z] #17 74.41 -- Installing: /usr/local/include/edgex/edgex.h [2024-01-16T19:01:40.849Z] #17 74.42 -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-16T19:01:40.849Z] #17 74.42 -- Installing: /usr/local/include/edgex/devices.h [2024-01-16T19:01:40.849Z] #17 74.42 -- Installing: /usr/local/include/edgex/profiles.h [2024-01-16T19:01:40.849Z] #17 74.42 -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-16T19:01:40.849Z] #17 74.42 -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-16T19:01:40.849Z] #17 74.42 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-16T19:01:40.849Z] #17 74.44 make: Leaving directory '/tmp/sdk/build/release' [2024-01-16T19:01:42.251Z] #17 DONE 75.9s [2024-01-16T19:01:42.251Z] [2024-01-16T19:01:42.251Z] #18 [stage-1 5/7] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-16T19:01:42.519Z] #18 DONE 0.2s [2024-01-16T19:01:42.519Z] [2024-01-16T19:01:42.519Z] #19 [stage-1 6/7] COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-16T19:01:42.519Z] #19 DONE 0.1s [2024-01-16T19:01:42.519Z] [2024-01-16T19:01:42.519Z] #20 [stage-1 7/7] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-16T19:01:42.519Z] #20 DONE 0.1s [2024-01-16T19:01:42.785Z] [2024-01-16T19:01:42.785Z] #21 exporting to image [2024-01-16T19:01:42.785Z] #21 exporting layers [2024-01-16T19:01:42.785Z] #21 exporting layers 0.2s done [2024-01-16T19:01:42.785Z] #21 writing image sha256:ce0650c16f601f255eee13930740ba3e3e726d14136037fd5f7b5911b6fa252b done [2024-01-16T19:01:42.785Z] #21 naming to docker.io/library/ci-base-image-arm64 done [2024-01-16T19:01:42.785Z] #21 DONE 0.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-16T19:01:43.706Z] + docker inspect -f . ci-base-image-arm64 [2024-01-16T19:01:43.706Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-16T19:01:43.928Z] prd-ubuntu20.04-docker-arm64-4c-16g-27336 does not seem to be running inside a container [2024-01-16T19:01:43.985Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-01-16T19:01:45.073Z] $ docker top d613fb2434d1afb4f0d0f8f4c0d6f95991318d4d20b412ab3cf6081eac00f9af -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-16T19:01:45.933Z] + make test [2024-01-16T19:01:45.933Z] echo "make test" [2024-01-16T19:01:45.933Z] make test [Pipeline] } [2024-01-16T19:01:45.947Z] $ docker stop --time=1 d613fb2434d1afb4f0d0f8f4c0d6f95991318d4d20b412ab3cf6081eac00f9af [2024-01-16T19:01:47.466Z] $ docker rm -f --volumes d613fb2434d1afb4f0d0f8f4c0d6f95991318d4d20b412ab3cf6081eac00f9af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-16T19:01:48.201Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-16T19:01:48.518Z] + ls -al . [2024-01-16T19:01:48.518Z] total 208 [2024-01-16T19:01:48.518Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 18:59 . [2024-01-16T19:01:48.518Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 18:59 .. [2024-01-16T19:01:48.518Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 18:59 .git [2024-01-16T19:01:48.518Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 16 18:59 .github [2024-01-16T19:01:48.518Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 16 18:59 .gitignore [2024-01-16T19:01:48.518Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 16 18:59 Attribution.txt [2024-01-16T19:01:48.518Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 16 18:59 CHANGELOG.md [2024-01-16T19:01:48.518Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 16 18:59 Doxyfile [2024-01-16T19:01:48.518Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 16 18:59 GOVERNANCE.md [2024-01-16T19:01:48.518Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 16 18:59 Jenkinsfile [2024-01-16T19:01:48.518Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 16 18:59 LICENSE [2024-01-16T19:01:48.518Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 16 18:59 Makefile [2024-01-16T19:01:48.518Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 16 18:59 OWNERS.md [2024-01-16T19:01:48.518Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 16 18:59 README.IOT.md [2024-01-16T19:01:48.518Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 16 18:59 README.md [2024-01-16T19:01:48.518Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 16 18:59 README.v3.md [2024-01-16T19:01:48.518Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 16 18:56 VERSION [2024-01-16T19:01:48.518Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 18:59 docs [2024-01-16T19:01:48.518Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 18:59 include [2024-01-16T19:01:48.518Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 18:59 scripts [2024-01-16T19:01:48.518Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 18:59 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-16T19:01:48.919Z] + 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=5e2f8a8a351cebe4b9099797c3b2fac79b4231d7 --label arch=arm64 --label version=0.0.0 . [2024-01-16T19:01:49.501Z] #0 building with "default" instance using docker driver [2024-01-16T19:01:49.501Z] [2024-01-16T19:01:49.501Z] #1 [internal] load build definition from Dockerfile.alpine [2024-01-16T19:01:49.501Z] #1 transferring dockerfile: 37B [2024-01-16T19:01:49.769Z] #1 transferring dockerfile: 1.44kB 0.0s done [2024-01-16T19:01:49.769Z] #1 DONE 0.0s [2024-01-16T19:01:49.769Z] [2024-01-16T19:01:49.769Z] #2 [internal] load .dockerignore [2024-01-16T19:01:49.769Z] #2 transferring context: 2B 0.0s done [2024-01-16T19:01:49.769Z] #2 DONE 0.0s [2024-01-16T19:01:49.769Z] [2024-01-16T19:01:49.769Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2024-01-16T19:01:49.769Z] #3 DONE 0.0s [2024-01-16T19:01:49.769Z] [2024-01-16T19:01:49.769Z] #4 [internal] load build context [2024-01-16T19:01:49.769Z] #4 transferring context: 8.55kB 0.1s done [2024-01-16T19:01:49.769Z] #4 DONE 0.1s [2024-01-16T19:01:49.769Z] [2024-01-16T19:01:49.769Z] #5 [ 1/11] FROM docker.io/library/ci-base-image-arm64 [2024-01-16T19:01:49.769Z] #5 DONE 0.2s [2024-01-16T19:01:49.769Z] [2024-01-16T19:01:49.769Z] #6 [ 2/11] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-16T19:01:50.351Z] #6 0.657 Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-16T19:01:50.933Z] #6 1.187 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-16T19:01:50.933Z] #6 1.187 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-16T19:01:50.933Z] #6 1.188 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-16T19:01:51.200Z] #6 DONE 1.3s [2024-01-16T19:01:51.200Z] [2024-01-16T19:01:51.200Z] #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-16T19:01:51.788Z] #7 DONE 0.8s [2024-01-16T19:01:51.788Z] [2024-01-16T19:01:51.788Z] #8 [ 4/11] 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 && mkdir -p /edgex-c-sdk/build [2024-01-16T19:01:52.747Z] #8 0.665 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-16T19:01:52.747Z] #8 1.000 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-16T19:01:53.330Z] #8 1.530 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-16T19:01:54.285Z] #8 2.433 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-16T19:01:54.285Z] #8 2.466 (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-16T19:01:54.551Z] #8 2.775 (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-16T19:01:54.551Z] #8 2.792 (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-16T19:01:54.551Z] #8 2.817 (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-16T19:01:54.551Z] #8 2.823 (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-16T19:01:54.551Z] #8 2.830 (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-16T19:01:54.551Z] #8 2.856 (7/11) Installing libblkid (2.38.1-r8) [2024-01-16T19:01:54.551Z] #8 2.870 (8/11) Installing libfdisk (2.38.1-r8) [2024-01-16T19:01:54.819Z] #8 2.886 (9/11) Installing libmount (2.38.1-r8) [2024-01-16T19:01:54.819Z] #8 2.899 (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-16T19:01:54.819Z] #8 2.911 (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-16T19:01:54.819Z] #8 2.984 Executing busybox-1.36.1-r4.trigger [2024-01-16T19:01:54.819Z] #8 3.027 OK: 333 MiB in 100 packages [2024-01-16T19:01:56.220Z] #8 DONE 4.4s [2024-01-16T19:01:56.220Z] [2024-01-16T19:01:56.220Z] #9 [ 5/11] COPY VERSION /edgex-c-sdk/ [2024-01-16T19:01:56.220Z] #9 DONE 0.1s [2024-01-16T19:01:56.487Z] [2024-01-16T19:01:56.487Z] #10 [ 6/11] COPY src /edgex-c-sdk/src/ [2024-01-16T19:01:56.487Z] #10 DONE 0.2s [2024-01-16T19:01:56.487Z] [2024-01-16T19:01:56.487Z] #11 [ 7/11] COPY include /edgex-c-sdk/include/ [2024-01-16T19:01:56.754Z] #11 DONE 0.1s [2024-01-16T19:01:56.754Z] [2024-01-16T19:01:56.754Z] #12 [ 8/11] COPY scripts /edgex-c-sdk/scripts [2024-01-16T19:01:56.754Z] #12 DONE 0.1s [2024-01-16T19:01:56.754Z] [2024-01-16T19:01:56.754Z] #13 [ 9/11] COPY LICENSE /edgex-c-sdk/ [2024-01-16T19:01:56.754Z] #13 DONE 0.1s [2024-01-16T19:01:56.754Z] [2024-01-16T19:01:56.754Z] #14 [10/11] COPY Attribution.txt /edgex-c-sdk/ [2024-01-16T19:01:57.019Z] #14 DONE 0.1s [2024-01-16T19:01:57.019Z] [2024-01-16T19:01:57.019Z] #15 [11/11] WORKDIR /edgex-c-sdk [2024-01-16T19:01:57.019Z] #15 DONE 0.1s [2024-01-16T19:01:57.019Z] [2024-01-16T19:01:57.019Z] #16 exporting to image [2024-01-16T19:01:57.019Z] #16 exporting layers [2024-01-16T19:01:57.284Z] #16 exporting layers 0.4s done [2024-01-16T19:01:57.284Z] #16 writing image sha256:f84897c1cab952b5b7d74b2e4de0f2cdca5309678a056bbf7310b2a95e08a373 done [2024-01-16T19:01:57.284Z] #16 naming to docker.io/library/device-sdk-arm64 done [2024-01-16T19:01:57.284Z] #16 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-16T19:01:58.166Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-16T19:01:58.166Z] [2024-01-16T19:01:58.166Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-16T19:01:58.528Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-16T19:01:58.795Z] arm64: Pulling from edgex-lftools-log-publisher [2024-01-16T19:01:58.795Z] 8998bd30e6a1: Pulling fs layer [2024-01-16T19:01:58.795Z] 04944245beec: Pulling fs layer [2024-01-16T19:01:58.795Z] 699f458cf7ca: Pulling fs layer [2024-01-16T19:01:58.795Z] 765212b225bb: Pulling fs layer [2024-01-16T19:01:58.795Z] f23df028b6ca: Pulling fs layer [2024-01-16T19:01:58.795Z] d65c8cfc05b1: Pulling fs layer [2024-01-16T19:01:58.795Z] 2437ff75d9bd: Pulling fs layer [2024-01-16T19:01:58.795Z] 765212b225bb: Waiting [2024-01-16T19:01:58.795Z] d65c8cfc05b1: Waiting [2024-01-16T19:01:58.795Z] f23df028b6ca: Waiting [2024-01-16T19:01:58.795Z] 2437ff75d9bd: Waiting [2024-01-16T19:01:58.795Z] 04944245beec: Verifying Checksum [2024-01-16T19:01:58.795Z] 04944245beec: Download complete [2024-01-16T19:01:58.795Z] 765212b225bb: Download complete [2024-01-16T19:01:59.063Z] f23df028b6ca: Verifying Checksum [2024-01-16T19:01:59.063Z] f23df028b6ca: Download complete [2024-01-16T19:01:59.063Z] d65c8cfc05b1: Verifying Checksum [2024-01-16T19:01:59.063Z] d65c8cfc05b1: Download complete [2024-01-16T19:01:59.063Z] 699f458cf7ca: Verifying Checksum [2024-01-16T19:01:59.063Z] 699f458cf7ca: Download complete [2024-01-16T19:01:59.330Z] 8998bd30e6a1: Verifying Checksum [2024-01-16T19:01:59.330Z] 8998bd30e6a1: Download complete [2024-01-16T19:02:01.272Z] 2437ff75d9bd: Verifying Checksum [2024-01-16T19:02:01.273Z] 2437ff75d9bd: Download complete [2024-01-16T19:02:05.511Z] 8998bd30e6a1: Pull complete [2024-01-16T19:02:06.090Z] 04944245beec: Pull complete [2024-01-16T19:02:08.038Z] 699f458cf7ca: Pull complete [2024-01-16T19:02:08.038Z] 765212b225bb: Pull complete [2024-01-16T19:02:11.361Z] f23df028b6ca: Pull complete [2024-01-16T19:02:11.361Z] d65c8cfc05b1: Pull complete [2024-01-16T19:02:33.414Z] 2437ff75d9bd: Pull complete [2024-01-16T19:02:33.414Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-01-16T19:02:33.414Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-16T19:02:33.414Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-16T19:02:33.696Z] prd-ubuntu20.04-docker-arm64-4c-16g-27336 does not seem to be running inside a container [2024-01-16T19:02:33.754Z] $ 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/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-01-16T19:02:35.112Z] $ docker top a0ea3fa32a33396f8d979d379352f68a05106e9e5186bc4c2b672f7bdf3d0f0f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-16T19:02:35.638Z] ---> job-cost.sh [2024-01-16T19:02:35.904Z] lf-activate-venv: SKIPPING [2024-01-16T19:02:35.904Z] INFO: No Stack... [2024-01-16T19:02:36.169Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-16T19:02:36.752Z] INFO: Archiving Costs [Pipeline] sh [2024-01-16T19:02:37.075Z] + cat /w/workspace/device-sdk-c/3/archives/cost.csv [2024-01-16T19:02:37.075Z] + cut -d, -f6 [Pipeline] lock [2024-01-16T19:02:37.131Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-500-3-stack-cost] [2024-01-16T19:02:37.140Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-500-3-stack-cost] did not exist. Created. [2024-01-16T19:02:37.140Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-500-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-16T19:02:37.539Z] /w/workspace/device-sdk-c/3@tmp/durable-9d9693b7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-01-16T19:02:37.933Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-16T19:02:37.983Z] Warning: overwriting stash ‘stack-cost’ [2024-01-16T19:02:38.465Z] Stashed 1 file(s) [Pipeline] } [2024-01-16T19:02:38.474Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-500-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-16T19:02:40.022Z] $ docker stop --time=1 a0ea3fa32a33396f8d979d379352f68a05106e9e5186bc4c2b672f7bdf3d0f0f [2024-01-16T19:02:41.389Z] $ docker rm -f --volumes a0ea3fa32a33396f8d979d379352f68a05106e9e5186bc4c2b672f7bdf3d0f0f [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] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [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-01-16T19:02:43.114Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives ] [2024-01-16T19:02:43.114Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives [2024-01-16T19:02:43.114Z] total 16 [2024-01-16T19:02:43.114Z] drwxr-xr-x 3 root root 4096 Jan 16 18:57 . [2024-01-16T19:02:43.114Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 16 18:57 .. [2024-01-16T19:02:43.114Z] drwxr-xr-x 2 root root 4096 Jan 16 18:57 cost [2024-01-16T19:02:43.114Z] -rw-r--r-- 1 root root 84 Jan 16 18:57 cost.csv [2024-01-16T19:02:43.114Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives [2024-01-16T19:02:43.114Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives [2024-01-16T19:02:43.114Z] total 16 [2024-01-16T19:02:43.114Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 16 18:57 . [2024-01-16T19:02:43.114Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 16 18:57 .. [2024-01-16T19:02:43.114Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 16 18:57 cost [2024-01-16T19:02:43.114Z] -rw-r--r-- 1 jenkins jenkins 84 Jan 16 18:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-01-16T19:02:43.480Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-16T19:02:44.418Z] ---> package-listing.sh [2024-01-16T19:02:44.418Z] ++ facter osfamily [2024-01-16T19:02:44.418Z] ++ tr '[:upper:]' '[:lower:]' [2024-01-16T19:02:44.677Z] + OS_FAMILY=debian [2024-01-16T19:02:44.677Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-500 [2024-01-16T19:02:44.678Z] + START_PACKAGES=/tmp/packages_start.txt [2024-01-16T19:02:44.678Z] + END_PACKAGES=/tmp/packages_end.txt [2024-01-16T19:02:44.678Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-01-16T19:02:44.678Z] + PACKAGES=/tmp/packages_start.txt [2024-01-16T19:02:44.678Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-500 ']' [2024-01-16T19:02:44.678Z] + PACKAGES=/tmp/packages_end.txt [2024-01-16T19:02:44.678Z] + case "${OS_FAMILY}" in [2024-01-16T19:02:44.678Z] + dpkg -l [2024-01-16T19:02:44.678Z] + grep '^ii' [2024-01-16T19:02:44.678Z] + '[' -f /tmp/packages_start.txt ']' [2024-01-16T19:02:44.678Z] + '[' -f /tmp/packages_end.txt ']' [2024-01-16T19:02:44.678Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-01-16T19:02:44.678Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-500 ']' [2024-01-16T19:02:44.678Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives/ [2024-01-16T19:02:44.678Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives/ [Pipeline] echo [2024-01-16T19:02:44.690Z] 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-500/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-01-16T19:02:44.969Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-16T19:02:45.564Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-16T19:02:45.564Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-16T19:02:45.698Z] prd-ubuntu20.04-docker-8c-8g-27334 does not seem to be running inside a container [2024-01-16T19:02:45.731Z] $ 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-500/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-500 -v /w/workspace/edgexfoundry_device-sdk-c_PR-500:/w/workspace/edgexfoundry_device-sdk-c_PR-500:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-16T19:02:45.960Z] $ docker top e2cd0ef893c1379508172655c496c2c5ec02fc7ea80626c00c05a31bd4a42703 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-16T19:02:46.365Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-01-16T19:02:46.653Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-01-16T19:02:46.942Z] + ls /var/log/sa-host [2024-01-16T19:02:46.942Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-16T19:02:47.139Z] provisioning config files... [2024-01-16T19:02:47.149Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/config9387632444059537696tmp [Pipeline] { [Pipeline] echo [2024-01-16T19:02:47.214Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-16T19:02:47.501Z] ---> create-netrc.sh [Pipeline] } [2024-01-16T19:02:47.509Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-01-16T19:02:47.915Z] ---> python-tools-install.sh [Pipeline] echo [2024-01-16T19:02:47.924Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-16T19:02:48.210Z] ---> sudo-logs.sh [2024-01-16T19:02:48.210Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-01-16T19:02:48.264Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-16T19:02:48.547Z] ---> job-cost.sh [2024-01-16T19:02:48.547Z] lf-activate-venv: SKIPPING [2024-01-16T19:02:48.547Z] DEBUG: total: 0.2199999988079071 [2024-01-16T19:02:48.547Z] INFO: Retrieving Stack Cost... [2024-01-16T19:02:48.806Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-16T19:02:49.067Z] INFO: Archiving Costs [Pipeline] echo [2024-01-16T19:02:49.081Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-16T19:02:49.369Z] ---> logs-deploy.sh [2024-01-16T19:02:49.369Z] lf-activate-venv: SKIPPING [2024-01-16T19:02:49.369Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-500/3 [2024-01-16T19:02:49.369Z] INFO: archiving workspace using pattern(s): [2024-01-16T19:02:50.307Z] Archives upload complete. [2024-01-16T19:02:50.307Z] INFO: archiving logs to Nexus