Pull request #505 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ych988 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 1a776ee907d08e39928eb07fc2284b30a6e0a694 rather than e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc Obtained Jenkinsfile from 1a776ee907d08e39928eb07fc2284b30a6e0a694 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-ssh2157587231560697674.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-ssh6600019223025373090.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-505/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-505/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1010160451766894146.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-ssh16555312159692028076.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-505/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-505/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5075431404378285858.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-26649 in /w/workspace/edgexfoundry_device-sdk-c_PR-505 [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-505 # 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/505/head:refs/remotes/origin/PR-505 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc Merge succeeded, producing e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc Checking out Revision e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc (PR-505) > git config core.sparsecheckout # timeout=10 > git checkout -f e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc # 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 1a776ee907d08e39928eb07fc2284b30a6e0a694 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc # timeout=10 Commit message: "Merge branch 'fix_json_string' of https://github.com/ych988/device-sdk-c into fix_json_string" > git rev-list --no-walk b5af0f19990eb1645ac03a1c688a3a161dcc36a7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-01-02T17:14:14.654Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-01-02T17:14:14.754Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-01-02T17:14:14.786Z] ========================================================= [2024-01-02T17:14:14.786Z] EdgeX Global Pipelines Version Info [2024-01-02T17:14:14.786Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:14:15.529Z] ------------------- [2024-01-02T17:14:15.529Z] stable info: [2024-01-02T17:14:15.529Z] ------------------- [2024-01-02T17:14:15.529Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-01-02T17:14:15.529Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-02T17:14:15.529Z] Message: update stable to v1.0.258 [2024-01-02T17:14:16.104Z] ------------------- [2024-01-02T17:14:16.104Z] experimental info: [2024-01-02T17:14:16.104Z] ------------------- [2024-01-02T17:14:16.104Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-01-02T17:14:16.104Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-02T17:14:16.104Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-01-02T17:14:16.189Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-01-02T17:14:16.220Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-01-02T17:14:16.252Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-01-02T17:14:16.278Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-01-02T17:14:16.303Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-01-02T17:14:16.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-01-02T17:14:16.365Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-01-02T17:14:16.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-01-02T17:14:16.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-01-02T17:14:16.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-01-02T17:14:16.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-01-02T17:14:16.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-01-02T17:14:16.575Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-01-02T17:14:16.608Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-01-02T17:14:16.650Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-01-02T17:14:16.687Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-01-02T17:14:16.729Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-01-02T17:14:16.761Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-505 [Pipeline] echo [2024-01-02T17:14:16.795Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-505 [Pipeline] echo [2024-01-02T17:14:16.831Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-505 [Pipeline] echo [2024-01-02T17:14:16.866Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc [Pipeline] echo [2024-01-02T17:14:16.896Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e9cca0e [Pipeline] echo [2024-01-02T17:14:16.931Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-02T17:14:17.012Z] provisioning config files... [2024-01-02T17:14:17.034Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/config9893597063770509122tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:14:17.390Z] ---> ****-login.sh [2024-01-02T17:14:17.390Z] nexus3.edgexfoundry.org:10001 [2024-01-02T17:14:17.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:14:17.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:14:17.650Z] Configure a credential helper to remove this warning. See [2024-01-02T17:14:17.650Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:14:17.650Z] [2024-01-02T17:14:17.650Z] Login Succeeded [2024-01-02T17:14:17.650Z] nexus3.edgexfoundry.org:10002 [2024-01-02T17:14:17.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:14:17.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:14:17.924Z] Configure a credential helper to remove this warning. See [2024-01-02T17:14:17.924Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:14:17.924Z] [2024-01-02T17:14:17.924Z] Login Succeeded [2024-01-02T17:14:17.924Z] nexus3.edgexfoundry.org:10003 [2024-01-02T17:14:17.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:14:17.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:14:17.924Z] Configure a credential helper to remove this warning. See [2024-01-02T17:14:17.924Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:14:17.924Z] [2024-01-02T17:14:17.924Z] Login Succeeded [2024-01-02T17:14:17.924Z] nexus3.edgexfoundry.org:10004 [2024-01-02T17:14:18.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:14:18.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:14:18.187Z] Configure a credential helper to remove this warning. See [2024-01-02T17:14:18.187Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:14:18.187Z] [2024-01-02T17:14:18.187Z] Login Succeeded [2024-01-02T17:14:18.187Z] ****.io [2024-01-02T17:14:18.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:14:18.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:14:18.448Z] Configure a credential helper to remove this warning. See [2024-01-02T17:14:18.448Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:14:18.448Z] [2024-01-02T17:14:18.448Z] Login Succeeded [2024-01-02T17:14:18.448Z] ---> ****-login.sh ends [Pipeline] } [2024-01-02T17:14:18.457Z] 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-02T17:14:18.964Z] + git rev-list -1 --merges e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc~1..e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc [Pipeline] echo [2024-01-02T17:14:18.993Z] -----------> git rev-list -1 --merges e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc~1..e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc [2024-01-02T17:14:18.993Z] e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc [false] [Pipeline] sh [2024-01-02T17:14:19.296Z] + git log --format=format:%s -1 e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc [Pipeline] echo [2024-01-02T17:14:19.312Z] ========================================================= [2024-01-02T17:14:19.312Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-02T17:14:19.312Z] ========================================================= 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-02T17:14:19.828Z] + git rev-list -1 --merges e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc~1..e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc [Pipeline] echo [2024-01-02T17:14:19.841Z] -----------> git rev-list -1 --merges e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc~1..e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc [2024-01-02T17:14:19.841Z] e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc [false] [Pipeline] sh [2024-01-02T17:14:20.162Z] + git log --format=format:%s -1 e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc [Pipeline] echo [2024-01-02T17:14:20.181Z] ========================================================= [2024-01-02T17:14:20.181Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-02T17:14:20.181Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-01-02T17:14:20.659Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-02T17:14:20.659Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-01-02T17:14:20.659Z] + [ -e /tmp/ssh_known_hosts ] [2024-01-02T17:14:20.659Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-01-02T17:14:20.659Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-01-02T17:14:20.659Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-01-02T17:14:20.659Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-02T17:14:21.100Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-02T17:14:21.100Z] [2024-01-02T17:14:21.100Z] 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-02T17:14:21.421Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-02T17:14:21.421Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-01-02T17:14:21.421Z] b85a868b505f: Pulling fs layer [2024-01-02T17:14:21.421Z] e2be974225ed: Pulling fs layer [2024-01-02T17:14:21.421Z] 339a4e72a1f5: Pulling fs layer [2024-01-02T17:14:21.421Z] 988bab9f4d93: Pulling fs layer [2024-01-02T17:14:21.421Z] 1469e6f7b9e6: Pulling fs layer [2024-01-02T17:14:21.421Z] eaf3925da568: Pulling fs layer [2024-01-02T17:14:21.421Z] bab4dde63d76: Pulling fs layer [2024-01-02T17:14:21.421Z] bde34c3a00c8: Pulling fs layer [2024-01-02T17:14:21.421Z] b352a97aabf1: Pulling fs layer [2024-01-02T17:14:21.421Z] 4872d77fe225: Pulling fs layer [2024-01-02T17:14:21.421Z] 5851b861e8e6: Pulling fs layer [2024-01-02T17:14:21.421Z] 988bab9f4d93: Waiting [2024-01-02T17:14:21.421Z] 1469e6f7b9e6: Waiting [2024-01-02T17:14:21.421Z] eaf3925da568: Waiting [2024-01-02T17:14:21.421Z] bab4dde63d76: Waiting [2024-01-02T17:14:21.421Z] bde34c3a00c8: Waiting [2024-01-02T17:14:21.421Z] b352a97aabf1: Waiting [2024-01-02T17:14:21.421Z] 4872d77fe225: Waiting [2024-01-02T17:14:21.421Z] 5851b861e8e6: Waiting [2024-01-02T17:14:21.421Z] e2be974225ed: Verifying Checksum [2024-01-02T17:14:21.421Z] e2be974225ed: Download complete [2024-01-02T17:14:21.421Z] 988bab9f4d93: Verifying Checksum [2024-01-02T17:14:21.421Z] 1469e6f7b9e6: Verifying Checksum [2024-01-02T17:14:21.421Z] 1469e6f7b9e6: Download complete [2024-01-02T17:14:21.421Z] eaf3925da568: Verifying Checksum [2024-01-02T17:14:21.421Z] eaf3925da568: Download complete [2024-01-02T17:14:21.680Z] 339a4e72a1f5: Verifying Checksum [2024-01-02T17:14:21.680Z] 339a4e72a1f5: Download complete [2024-01-02T17:14:21.680Z] bde34c3a00c8: Verifying Checksum [2024-01-02T17:14:21.680Z] b352a97aabf1: Verifying Checksum [2024-01-02T17:14:21.680Z] b352a97aabf1: Download complete [2024-01-02T17:14:21.680Z] 4872d77fe225: Verifying Checksum [2024-01-02T17:14:21.680Z] 4872d77fe225: Download complete [2024-01-02T17:14:21.680Z] 5851b861e8e6: Verifying Checksum [2024-01-02T17:14:21.680Z] 5851b861e8e6: Download complete [2024-01-02T17:14:21.680Z] b85a868b505f: Verifying Checksum [2024-01-02T17:14:21.680Z] b85a868b505f: Download complete [2024-01-02T17:14:21.940Z] bab4dde63d76: Verifying Checksum [2024-01-02T17:14:21.940Z] bab4dde63d76: Download complete [2024-01-02T17:14:22.880Z] b85a868b505f: Pull complete [2024-01-02T17:14:23.139Z] e2be974225ed: Pull complete [2024-01-02T17:14:23.708Z] 339a4e72a1f5: Pull complete [2024-01-02T17:14:23.708Z] 988bab9f4d93: Pull complete [2024-01-02T17:14:23.968Z] 1469e6f7b9e6: Pull complete [2024-01-02T17:14:23.968Z] eaf3925da568: Pull complete [2024-01-02T17:14:26.176Z] bab4dde63d76: Pull complete [2024-01-02T17:14:26.437Z] bde34c3a00c8: Pull complete [2024-01-02T17:14:26.437Z] b352a97aabf1: Pull complete [2024-01-02T17:14:26.698Z] 4872d77fe225: Pull complete [2024-01-02T17:14:26.698Z] 5851b861e8e6: Pull complete [2024-01-02T17:14:26.698Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-01-02T17:14:26.698Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-02T17:14:26.698Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-02T17:14:26.893Z] prd-ubuntu20.04-docker-8c-8g-26649 does not seem to be running inside a container [2024-01-02T17:14:26.930Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-505 -v /w/workspace/edgexfoundry_device-sdk-c_PR-505:/w/workspace/edgexfoundry_device-sdk-c_PR-505:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-01-02T17:14:29.910Z] $ docker top bc1cf0ff99c4cfda8ee03df0c02c15148ed975b1967c2971e8a0c7a264d03843 -eo pid,comm [2024-01-02T17:14:29.980Z] 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-02T17:14:29.980Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-02T17:14:30.066Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-02T17:14:30.066Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-02T17:14:30.197Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-02T17:14:30.193Z] $ docker exec bc1cf0ff99c4cfda8ee03df0c02c15148ed975b1967c2971e8a0c7a264d03843 ssh-agent [2024-01-02T17:14:30.307Z] SSH_AUTH_SOCK=/tmp/ssh-uuovOWAlXcgq/agent.32 [2024-01-02T17:14:30.307Z] SSH_AGENT_PID=38 [2024-01-02T17:14:30.313Z] Running ssh-add (command line suppressed) [2024-01-02T17:14:30.411Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/private_key_17406168127677633255.key (/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/private_key_17406168127677633255.key) [2024-01-02T17:14:30.434Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-02T17:14:30.738Z] + git tag --points-at HEAD [Pipeline] } [2024-01-02T17:14:30.745Z] $ docker exec --env ******** --env ******** bc1cf0ff99c4cfda8ee03df0c02c15148ed975b1967c2971e8a0c7a264d03843 ssh-agent -k [2024-01-02T17:14:30.846Z] unset SSH_AUTH_SOCK; [2024-01-02T17:14:30.847Z] unset SSH_AGENT_PID; [2024-01-02T17:14:30.847Z] echo Agent pid 38 killed; [2024-01-02T17:14:30.866Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-01-02T17:14:30.928Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-02T17:14:30.928Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-02T17:14:31.045Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-02T17:14:31.038Z] $ docker exec bc1cf0ff99c4cfda8ee03df0c02c15148ed975b1967c2971e8a0c7a264d03843 ssh-agent [2024-01-02T17:14:31.157Z] SSH_AUTH_SOCK=/tmp/ssh-H9qQcRlUersi/agent.70 [2024-01-02T17:14:31.157Z] SSH_AGENT_PID=76 [2024-01-02T17:14:31.162Z] Running ssh-add (command line suppressed) [2024-01-02T17:14:31.255Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/private_key_14619064408489224656.key (/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/private_key_14619064408489224656.key) [2024-01-02T17:14:31.282Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-02T17:14:31.589Z] + git semver init [2024-01-02T17:14:31.848Z] 2024-01-02 17:14:31,757 [run_init] DEBUG init version:0.0.0 force:False [2024-01-02T17:14:31.848Z] 2024-01-02 17:14:31,758 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver [2024-01-02T17:14:31.848Z] 2024-01-02 17:14:31,758 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver [2024-01-02T17:14:31.849Z] 2024-01-02 17:14:31,759 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-505, universal_newlines=False, shell=None, istream=None) [2024-01-02T17:14:32.792Z] 2024-01-02 17:14:32,669 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505/.git/info/exclude [2024-01-02T17:14:32.792Z] 2024-01-02 17:14:32,670 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver/PR-505 with force:False [2024-01-02T17:14:32.792Z] 2024-01-02 17:14:32,670 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver/PR-505 [2024-01-02T17:14:32.792Z] 2024-01-02 17:14:32,675 [execute] INFO git cat-file --batch-check [2024-01-02T17:14:32.792Z] 2024-01-02 17:14:32,676 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver, universal_newlines=False, shell=None, istream=) [2024-01-02T17:14:32.792Z] 2024-01-02 17:14:32,681 [execute] INFO git cat-file --batch [2024-01-02T17:14:32.792Z] 2024-01-02 17:14:32,682 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver, universal_newlines=False, shell=None, istream=) [2024-01-02T17:14:32.792Z] 2024-01-02 17:14:32,687 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver/PR-505 [2024-01-02T17:14:32.792Z] 0.0.0 [Pipeline] } [2024-01-02T17:14:32.788Z] $ docker exec --env ******** --env ******** bc1cf0ff99c4cfda8ee03df0c02c15148ed975b1967c2971e8a0c7a264d03843 ssh-agent -k [2024-01-02T17:14:32.889Z] unset SSH_AUTH_SOCK; [2024-01-02T17:14:32.889Z] unset SSH_AGENT_PID; [2024-01-02T17:14:32.890Z] echo Agent pid 76 killed; [2024-01-02T17:14:32.912Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-02T17:14:33.271Z] + git semver [Pipeline] } [2024-01-02T17:14:33.528Z] $ docker stop --time=1 bc1cf0ff99c4cfda8ee03df0c02c15148ed975b1967c2971e8a0c7a264d03843 [2024-01-02T17:14:34.811Z] $ docker rm -f --volumes bc1cf0ff99c4cfda8ee03df0c02c15148ed975b1967c2971e8a0c7a264d03843 [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-02T17:14:35.201Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-01-02T17:14:35.447Z] Stashed 1 file(s) [Pipeline] echo [2024-01-02T17:14:35.451Z] [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-02T17:14:35.741Z] provisioning config files... [2024-01-02T17:14:35.749Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/config12677676179985108977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:14:36.072Z] ---> ****-login.sh [2024-01-02T17:14:36.072Z] nexus3.edgexfoundry.org:10001 [2024-01-02T17:14:36.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:14:36.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:14:36.072Z] Configure a credential helper to remove this warning. See [2024-01-02T17:14:36.072Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:14:36.072Z] [2024-01-02T17:14:36.072Z] Login Succeeded [2024-01-02T17:14:36.072Z] nexus3.edgexfoundry.org:10002 [2024-01-02T17:14:36.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:14:36.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:14:36.072Z] Configure a credential helper to remove this warning. See [2024-01-02T17:14:36.072Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:14:36.072Z] [2024-01-02T17:14:36.072Z] Login Succeeded [2024-01-02T17:14:36.072Z] nexus3.edgexfoundry.org:10003 [2024-01-02T17:14:36.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:14:36.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:14:36.332Z] Configure a credential helper to remove this warning. See [2024-01-02T17:14:36.332Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:14:36.332Z] [2024-01-02T17:14:36.332Z] Login Succeeded [2024-01-02T17:14:36.332Z] nexus3.edgexfoundry.org:10004 [2024-01-02T17:14:36.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:14:36.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:14:36.332Z] Configure a credential helper to remove this warning. See [2024-01-02T17:14:36.332Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:14:36.332Z] [2024-01-02T17:14:36.332Z] Login Succeeded [2024-01-02T17:14:36.332Z] ****.io [2024-01-02T17:14:36.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:14:36.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:14:36.591Z] Configure a credential helper to remove this warning. See [2024-01-02T17:14:36.591Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:14:36.591Z] [2024-01-02T17:14:36.591Z] Login Succeeded [2024-01-02T17:14:36.591Z] ---> ****-login.sh ends [Pipeline] } [2024-01-02T17:14:36.599Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-02T17:14:36.723Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-02T17:14:36.755Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-01-02T17:14:36.787Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-02T17:14:36.820Z] ========================================================= [2024-01-02T17:14:36.820Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-01-02T17:14:36.820Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-02T17:14:37.179Z] + 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-02T17:14:37.179Z] Sending build context to Docker daemon 4.97MB [2024-01-02T17:14:37.179Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-01-02T17:14:37.179Z] Step 2/21 : FROM ${BASE} as builder [2024-01-02T17:14:37.179Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-01-02T17:14:37.179Z] 96526aa774ef: Pulling fs layer [2024-01-02T17:14:37.179Z] da60e534fd72: Pulling fs layer [2024-01-02T17:14:37.438Z] 96526aa774ef: Verifying Checksum [2024-01-02T17:14:37.438Z] 96526aa774ef: Download complete [2024-01-02T17:14:37.438Z] 96526aa774ef: Pull complete [2024-01-02T17:14:38.374Z] da60e534fd72: Download complete [2024-01-02T17:14:41.656Z] da60e534fd72: Pull complete [2024-01-02T17:14:41.656Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-01-02T17:14:41.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-01-02T17:14:41.656Z] ---> 6605166a5db4 [2024-01-02T17:14:41.656Z] 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-02T17:14:43.565Z] ---> Running in 1b21106e62ac [2024-01-02T17:14:43.824Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-02T17:14:44.392Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-02T17:14:44.392Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-02T17:14:44.392Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-02T17:14:44.652Z] Removing intermediate container 1b21106e62ac [2024-01-02T17:14:44.652Z] ---> d156e5baf530 [2024-01-02T17:14:44.652Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-02T17:14:44.652Z] ---> Running in 578086e4e7d0 [2024-01-02T17:14:45.234Z] Removing intermediate container 578086e4e7d0 [2024-01-02T17:14:45.234Z] ---> ed79c576ea0b [2024-01-02T17:14:45.234Z] 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-02T17:14:45.234Z] ---> Running in 3d2a836a2984 [2024-01-02T17:14:45.494Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-02T17:14:45.754Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-02T17:14:46.014Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-02T17:14:46.584Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-02T17:14:46.584Z] (1/17) Installing hiredis (1.1.0-r2) [2024-01-02T17:14:46.584Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-02T17:14:46.584Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-02T17:14:47.156Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-02T17:14:47.156Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-02T17:14:47.414Z] (6/17) Installing libcbor (0.10.2-r1) [2024-01-02T17:14:47.414Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-02T17:14:47.414Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-02T17:14:47.414Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-02T17:14:47.414Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-02T17:14:47.414Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-02T17:14:47.414Z] (12/17) Installing libblkid (2.38.1-r8) [2024-01-02T17:14:47.414Z] (13/17) Installing libuuid (2.38.1-r8) [2024-01-02T17:14:47.414Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-01-02T17:14:47.414Z] (15/17) Installing libmount (2.38.1-r8) [2024-01-02T17:14:47.414Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-02T17:14:47.414Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-02T17:14:47.673Z] Executing busybox-1.36.1-r4.trigger [2024-01-02T17:14:47.673Z] OK: 336 MiB in 99 packages [2024-01-02T17:14:48.241Z] Removing intermediate container 3d2a836a2984 [2024-01-02T17:14:48.241Z] ---> cf60ff23d78b [2024-01-02T17:14:48.241Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-01-02T17:14:48.241Z] ---> Running in 6dc6a192a415 [2024-01-02T17:14:49.178Z] Removing intermediate container 6dc6a192a415 [2024-01-02T17:14:49.178Z] ---> 3b60e2a26f9d [2024-01-02T17:14:49.178Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-01-02T17:14:49.178Z] ---> bb9d486f3779 [2024-01-02T17:14:49.178Z] Step 8/21 : COPY src /tmp/sdk/src [2024-01-02T17:14:49.438Z] ---> eef7576ee032 [2024-01-02T17:14:49.438Z] Step 9/21 : COPY include /tmp/sdk/include [2024-01-02T17:14:49.438Z] ---> 94e511b6b141 [2024-01-02T17:14:49.438Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-01-02T17:14:49.696Z] ---> ca39bf400eb9 [2024-01-02T17:14:49.696Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-01-02T17:14:49.954Z] ---> 68817ad677db [2024-01-02T17:14:49.954Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-01-02T17:14:49.954Z] ---> 4c29375ef876 [2024-01-02T17:14:49.954Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-02T17:14:49.954Z] ---> Running in ac6db5f582fd [2024-01-02T17:14:50.214Z] + CPPCHECK=false [2024-01-02T17:14:50.214Z] + DOCGEN=false [2024-01-02T17:14:50.214Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-02T17:14:50.214Z] + '[' 0 -gt 0 ] [2024-01-02T17:14:50.214Z] + readlink -f ./scripts/build.sh [2024-01-02T17:14:50.214Z] + dirname /tmp/sdk/scripts/build.sh [2024-01-02T17:14:50.214Z] + dirname /tmp/sdk/scripts [2024-01-02T17:14:50.214Z] + ROOT=/tmp/sdk [2024-01-02T17:14:50.214Z] + cd /tmp/sdk [2024-01-02T17:14:50.214Z] + mkdir -p /tmp/sdk/build/release [2024-01-02T17:14:50.214Z] + cd /tmp/sdk/build/release [2024-01-02T17:14:50.214Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-02T17:14:50.473Z] -- The C compiler identification is GNU 12.2.1 [2024-01-02T17:14:50.473Z] -- Detecting C compiler ABI info [2024-01-02T17:14:50.473Z] -- Detecting C compiler ABI info - done [2024-01-02T17:14:50.473Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-02T17:14:50.473Z] -- Detecting C compile features [2024-01-02T17:14:50.473Z] -- Detecting C compile features - done [2024-01-02T17:14:50.473Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-02T17:14:50.473Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-02T17:14:50.473Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-02T17:14:50.473Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-02T17:14:50.473Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-02T17:14:50.473Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-02T17:14:50.473Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-02T17:14:50.473Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-02T17:14:50.473Z] -- /opt/iotech/iot/1.5/include [2024-01-02T17:14:50.473Z] -- C SDK 0.0.0 for Linux [2024-01-02T17:14:50.473Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-02T17:14:50.658Z] Still waiting to schedule task [2024-01-02T17:14:50.659Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-01-02T17:14:50.732Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-02T17:14:50.732Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-02T17:14:50.732Z] -- Configuring done (0.5s) [2024-01-02T17:14:50.732Z] -- Generating done (0.0s) [2024-01-02T17:14:50.732Z] -- Build files have been written to: /tmp/sdk/build/release [2024-01-02T17:14:50.732Z] + make all package [2024-01-02T17:14:50.732Z] + tee release.log [2024-01-02T17:14:50.732Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-02T17:14:50.990Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-02T17:14:50.990Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-02T17:14:51.249Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-02T17:14:51.249Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-02T17:14:51.508Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-02T17:14:51.768Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-02T17:14:51.768Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-02T17:14:51.768Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-02T17:14:51.768Z] 294 | while (privateConfig) [2024-01-02T17:14:51.768Z] | ^~~~~~~~~~~~~ [2024-01-02T17:14:51.768Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-02T17:14:51.768Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-02T17:14:51.768Z] | ^~~~~~~~~~~~~ [2024-01-02T17:14:51.768Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-02T17:14:51.768Z] 271 | while (result) [2024-01-02T17:14:51.768Z] | ^~~~~~ [2024-01-02T17:14:51.768Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-02T17:14:51.768Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-02T17:14:51.768Z] | ^~~~~~ [2024-01-02T17:14:52.027Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-02T17:14:52.027Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-02T17:14:52.027Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-02T17:14:52.287Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-02T17:14:52.547Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-02T17:14:52.547Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-02T17:14:52.807Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-02T17:14:52.807Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-02T17:14:53.067Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-02T17:14:53.067Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-02T17:14:53.325Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-02T17:14:53.325Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-02T17:14:53.584Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-02T17:14:53.842Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-02T17:14:54.778Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-02T17:14:54.778Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-02T17:14:55.036Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-02T17:14:55.036Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-02T17:14:55.036Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-02T17:14:55.295Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-02T17:14:55.555Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-02T17:14:55.815Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-02T17:14:55.815Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-02T17:14:55.815Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-02T17:14:56.076Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-02T17:14:56.076Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-02T17:14:56.076Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-02T17:14:56.076Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-02T17:14:56.076Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-02T17:14:56.076Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-02T17:14:56.076Z] | ^ [2024-01-02T17:14:56.076Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-02T17:14:56.076Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-02T17:14:56.076Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-02T17:14:56.076Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-02T17:14:56.076Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-02T17:14:56.076Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-02T17:14:56.335Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-02T17:14:56.335Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-02T17:14:56.594Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-02T17:14:56.594Z] [ 68%] Linking C shared library libcsdk.so [2024-01-02T17:14:56.594Z] [ 68%] Built target csdk [2024-01-02T17:14:56.594Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-02T17:14:56.853Z] [ 72%] Linking C executable template [2024-01-02T17:14:56.853Z] [ 72%] Built target template [2024-01-02T17:14:56.853Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-02T17:14:57.112Z] [ 76%] Linking C executable device-counter [2024-01-02T17:14:57.112Z] [ 76%] Built target device-counter [2024-01-02T17:14:57.112Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-02T17:14:57.112Z] [ 80%] Linking C executable device-random [2024-01-02T17:14:57.370Z] [ 80%] Built target device-random [2024-01-02T17:14:57.370Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-02T17:14:57.370Z] [ 84%] Linking C executable device-gyro [2024-01-02T17:14:57.370Z] [ 84%] Built target device-gyro [2024-01-02T17:14:57.370Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-02T17:14:57.630Z] [ 88%] Linking C executable device-bitfields [2024-01-02T17:14:57.630Z] [ 88%] Built target device-bitfields [2024-01-02T17:14:57.630Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-02T17:14:57.889Z] [ 92%] Linking C executable template-discovery [2024-01-02T17:14:57.889Z] [ 92%] Built target template-discovery [2024-01-02T17:14:57.889Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-02T17:14:57.889Z] [ 96%] Linking C executable device-file [2024-01-02T17:14:58.147Z] [ 96%] Built target device-file [2024-01-02T17:14:58.147Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-02T17:14:58.147Z] [100%] Linking C executable device-terminal [2024-01-02T17:14:58.147Z] [100%] Built target device-terminal [2024-01-02T17:14:58.405Z] Run CPack packaging tool... [2024-01-02T17:14:58.405Z] CPack: Create package using TGZ [2024-01-02T17:14:58.405Z] CPack: Install projects [2024-01-02T17:14:58.405Z] CPack: - Run preinstall target for: Csdk [2024-01-02T17:14:58.665Z] CPack: - Install project: Csdk [] [2024-01-02T17:14:58.666Z] CPack: Create package [2024-01-02T17:14:58.666Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-02T17:14:58.666Z] + '[' false '=' true ] [2024-01-02T17:14:58.666Z] + '[' false '=' true ] [2024-01-02T17:14:58.666Z] + mkdir -p /tmp/sdk/build/debug [2024-01-02T17:14:58.666Z] + cd /tmp/sdk/build/debug [2024-01-02T17:14:58.666Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-02T17:14:58.666Z] -- The C compiler identification is GNU 12.2.1 [2024-01-02T17:14:58.666Z] -- Detecting C compiler ABI info [2024-01-02T17:14:58.666Z] -- Detecting C compiler ABI info - done [2024-01-02T17:14:58.666Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-02T17:14:58.666Z] -- Detecting C compile features [2024-01-02T17:14:58.666Z] -- Detecting C compile features - done [2024-01-02T17:14:58.666Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-02T17:14:58.925Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-02T17:14:58.925Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-02T17:14:58.925Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-02T17:14:58.925Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-02T17:14:58.925Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-02T17:14:58.925Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-02T17:14:58.925Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-02T17:14:58.925Z] -- /opt/iotech/iot/1.5/include [2024-01-02T17:14:58.925Z] -- C SDK 0.0.0 for Linux [2024-01-02T17:14:58.925Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-02T17:14:58.925Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-02T17:14:58.925Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-02T17:14:58.925Z] -- Configuring done (0.4s) [2024-01-02T17:14:59.185Z] -- Generating done (0.0s) [2024-01-02T17:14:59.185Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-01-02T17:14:59.185Z] + make [2024-01-02T17:14:59.185Z] + tee debug.log [2024-01-02T17:14:59.185Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-02T17:14:59.185Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-02T17:14:59.185Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-02T17:14:59.445Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-02T17:14:59.445Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-02T17:14:59.445Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-02T17:14:59.705Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-02T17:14:59.705Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-02T17:14:59.705Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-02T17:14:59.705Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-02T17:14:59.965Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-02T17:14:59.965Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-02T17:15:00.225Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-02T17:15:00.225Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-02T17:15:00.225Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-02T17:15:00.225Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-02T17:15:00.485Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-02T17:15:00.485Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-02T17:15:00.485Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-02T17:15:00.745Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-02T17:15:00.745Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-02T17:15:01.004Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-02T17:15:01.004Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-02T17:15:01.004Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-02T17:15:01.266Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-02T17:15:01.266Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-02T17:15:01.266Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-02T17:15:01.530Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-02T17:15:01.530Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-02T17:15:01.530Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-02T17:15:01.792Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-02T17:15:01.792Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-02T17:15:01.792Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-02T17:15:01.792Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-02T17:15:01.792Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-02T17:15:01.792Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-02T17:15:01.792Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-02T17:15:01.792Z] | ^ [2024-01-02T17:15:01.792Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-02T17:15:02.058Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-02T17:15:02.058Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-02T17:15:02.058Z] [ 68%] Linking C shared library libcsdk.so [2024-01-02T17:15:02.058Z] [ 68%] Built target csdk [2024-01-02T17:15:02.058Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-02T17:15:02.317Z] [ 72%] Linking C executable template [2024-01-02T17:15:02.317Z] [ 72%] Built target template [2024-01-02T17:15:02.317Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-02T17:15:02.317Z] [ 76%] Linking C executable device-counter [2024-01-02T17:15:02.317Z] [ 76%] Built target device-counter [2024-01-02T17:15:02.576Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-02T17:15:02.576Z] [ 80%] Linking C executable device-random [2024-01-02T17:15:02.576Z] [ 80%] Built target device-random [2024-01-02T17:15:02.576Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-02T17:15:02.576Z] [ 84%] Linking C executable device-gyro [2024-01-02T17:15:02.836Z] [ 84%] Built target device-gyro [2024-01-02T17:15:02.836Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-02T17:15:02.836Z] [ 88%] Linking C executable device-bitfields [2024-01-02T17:15:02.836Z] [ 88%] Built target device-bitfields [2024-01-02T17:15:02.836Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-02T17:15:03.095Z] [ 92%] Linking C executable template-discovery [2024-01-02T17:15:03.095Z] [ 92%] Built target template-discovery [2024-01-02T17:15:03.095Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-02T17:15:03.095Z] [ 96%] Linking C executable device-file [2024-01-02T17:15:03.354Z] [ 96%] Built target device-file [2024-01-02T17:15:03.354Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-02T17:15:03.354Z] [100%] Linking C executable device-terminal [2024-01-02T17:15:03.354Z] [100%] Built target device-terminal [2024-01-02T17:15:03.354Z] make: Entering directory '/tmp/sdk/build/release' [2024-01-02T17:15:03.354Z] [ 68%] Built target csdk [2024-01-02T17:15:03.614Z] [ 72%] Built target template [2024-01-02T17:15:03.614Z] [ 76%] Built target device-counter [2024-01-02T17:15:03.614Z] [ 80%] Built target device-random [2024-01-02T17:15:03.614Z] [ 84%] Built target device-gyro [2024-01-02T17:15:03.614Z] [ 88%] Built target device-bitfields [2024-01-02T17:15:03.614Z] [ 92%] Built target template-discovery [2024-01-02T17:15:03.614Z] [ 96%] Built target device-file [2024-01-02T17:15:03.614Z] [100%] Built target device-terminal [2024-01-02T17:15:03.614Z] Install the project... [2024-01-02T17:15:03.614Z] -- Install configuration: "Release" [2024-01-02T17:15:03.614Z] -- Installing: /usr/local/lib/libcsdk.so [2024-01-02T17:15:03.614Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-02T17:15:03.614Z] -- Installing: /usr/local/include [2024-01-02T17:15:03.614Z] -- Installing: /usr/local/include/devsdk [2024-01-02T17:15:03.614Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-02T17:15:03.614Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-02T17:15:03.614Z] -- Installing: /usr/local/include/edgex [2024-01-02T17:15:03.614Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-01-02T17:15:03.614Z] -- Installing: /usr/local/include/edgex/devices.h [2024-01-02T17:15:03.614Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-01-02T17:15:03.614Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-02T17:15:03.614Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-02T17:15:03.614Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-02T17:15:03.614Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-02T17:15:03.614Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-02T17:15:03.614Z] make: Leaving directory '/tmp/sdk/build/release' [2024-01-02T17:15:04.554Z] Removing intermediate container ac6db5f582fd [2024-01-02T17:15:04.554Z] ---> b2de356e62a3 [2024-01-02T17:15:04.554Z] Step 14/21 : FROM ${BASE} [2024-01-02T17:15:04.554Z] ---> 6605166a5db4 [2024-01-02T17:15:04.554Z] Step 15/21 : LABEL maintainer="IOTech " [2024-01-02T17:15:04.554Z] ---> Running in 0313545a1fae [2024-01-02T17:15:04.554Z] Removing intermediate container 0313545a1fae [2024-01-02T17:15:04.554Z] ---> 112ef60266cc [2024-01-02T17:15:04.554Z] 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-02T17:15:04.554Z] ---> Running in c9c79b7b2f09 [2024-01-02T17:15:05.123Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-02T17:15:05.382Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-02T17:15:05.382Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-02T17:15:05.382Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-02T17:15:05.643Z] Removing intermediate container c9c79b7b2f09 [2024-01-02T17:15:05.643Z] ---> d9d770024889 [2024-01-02T17:15:05.643Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-02T17:15:05.643Z] ---> Running in 5f6c35f55e26 [2024-01-02T17:15:06.212Z] Removing intermediate container 5f6c35f55e26 [2024-01-02T17:15:06.212Z] ---> d1d04f0a5dbb [2024-01-02T17:15:06.212Z] 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-02T17:15:06.212Z] ---> Running in c6878e4ae171 [2024-01-02T17:15:06.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-02T17:15:06.731Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-02T17:15:06.990Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-02T17:15:07.557Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-02T17:15:07.557Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-02T17:15:07.557Z] (2/9) Installing curl (8.5.0-r0) [2024-01-02T17:15:07.557Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-02T17:15:07.557Z] (4/9) Installing hiredis (1.1.0-r2) [2024-01-02T17:15:07.557Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-02T17:15:07.557Z] (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-02T17:15:08.125Z] (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-02T17:15:08.384Z] (8/9) Installing libcbor (0.10.2-r1) [2024-01-02T17:15:08.384Z] (9/9) Installing libuuid (2.38.1-r8) [2024-01-02T17:15:08.384Z] Executing busybox-1.36.1-r4.trigger [2024-01-02T17:15:08.384Z] OK: 331 MiB in 89 packages [2024-01-02T17:15:08.952Z] Removing intermediate container c6878e4ae171 [2024-01-02T17:15:08.952Z] ---> d7c8392e98c2 [2024-01-02T17:15:08.952Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-02T17:15:08.952Z] ---> ba70a96d689a [2024-01-02T17:15:08.952Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-02T17:15:09.211Z] ---> 8c49530cceff [2024-01-02T17:15:09.211Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-02T17:15:09.211Z] ---> 8e3dd9fea7a3 [2024-01-02T17:15:09.211Z] Successfully built 8e3dd9fea7a3 [2024-01-02T17:15:09.211Z] 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-02T17:15:09.745Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-02T17:15:09.745Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-02T17:15:09.857Z] prd-ubuntu20.04-docker-8c-8g-26649 does not seem to be running inside a container [2024-01-02T17:15:09.835Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-505 -v /w/workspace/edgexfoundry_device-sdk-c_PR-505:/w/workspace/edgexfoundry_device-sdk-c_PR-505:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-505@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 ******** ci-base-image-x86_64 cat [2024-01-02T17:15:10.189Z] $ docker top 5a952a5d46ee683a42b7a72c02992c806e8840ed4fb2d78348b61b5e9ad03678 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-02T17:15:10.638Z] + make test [2024-01-02T17:15:10.638Z] echo "make test" [2024-01-02T17:15:10.638Z] make test [Pipeline] } [2024-01-02T17:15:10.604Z] $ docker stop --time=1 5a952a5d46ee683a42b7a72c02992c806e8840ed4fb2d78348b61b5e9ad03678 [2024-01-02T17:15:11.861Z] $ docker rm -f --volumes 5a952a5d46ee683a42b7a72c02992c806e8840ed4fb2d78348b61b5e9ad03678 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-02T17:15:12.660Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-02T17:15:12.947Z] + ls -al . [2024-01-02T17:15:12.947Z] total 212 [2024-01-02T17:15:12.947Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 2 17:14 . [2024-01-02T17:15:12.947Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 17:14 .. [2024-01-02T17:15:12.947Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 2 17:14 .git [2024-01-02T17:15:12.947Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 2 17:14 .github [2024-01-02T17:15:12.947Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 2 17:14 .gitignore [2024-01-02T17:15:12.947Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 2 17:14 .semver [2024-01-02T17:15:12.947Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 2 17:14 Attribution.txt [2024-01-02T17:15:12.947Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 2 17:14 CHANGELOG.md [2024-01-02T17:15:12.947Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 2 17:14 Doxyfile [2024-01-02T17:15:12.947Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 2 17:14 GOVERNANCE.md [2024-01-02T17:15:12.947Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 2 17:14 Jenkinsfile [2024-01-02T17:15:12.947Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 2 17:14 LICENSE [2024-01-02T17:15:12.947Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 2 17:14 Makefile [2024-01-02T17:15:12.947Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 2 17:14 OWNERS.md [2024-01-02T17:15:12.947Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 2 17:14 README.IOT.md [2024-01-02T17:15:12.947Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 2 17:14 README.md [2024-01-02T17:15:12.947Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 2 17:14 README.v3.md [2024-01-02T17:15:12.947Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 2 17:14 VERSION [2024-01-02T17:15:12.947Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 2 17:14 docs [2024-01-02T17:15:12.947Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 17:14 include [2024-01-02T17:15:12.947Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 2 17:14 scripts [2024-01-02T17:15:12.947Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 17:14 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-02T17:15:13.294Z] + 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=e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc --label arch=amd64 --label version=0.0.0 . [2024-01-02T17:15:13.294Z] Sending build context to Docker daemon 4.97MB [2024-01-02T17:15:13.294Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-01-02T17:15:13.294Z] Step 2/17 : FROM ${BASE} [2024-01-02T17:15:13.294Z] ---> 8e3dd9fea7a3 [2024-01-02T17:15:13.294Z] Step 3/17 : LABEL maintainer="IOTech " [2024-01-02T17:15:13.294Z] ---> Running in 54aee439c239 [2024-01-02T17:15:13.553Z] Removing intermediate container 54aee439c239 [2024-01-02T17:15:13.553Z] ---> c333c32b7814 [2024-01-02T17:15:13.553Z] 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-02T17:15:13.553Z] ---> Running in 528d9edc2914 [2024-01-02T17:15:13.814Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-02T17:15:14.073Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-02T17:15:14.073Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-02T17:15:14.073Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-02T17:15:14.332Z] Removing intermediate container 528d9edc2914 [2024-01-02T17:15:14.332Z] ---> 7bbab3a3d2c7 [2024-01-02T17:15:14.332Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-02T17:15:14.332Z] ---> Running in 2bd34e7b61e9 [2024-01-02T17:15:14.900Z] Removing intermediate container 2bd34e7b61e9 [2024-01-02T17:15:14.900Z] ---> 510a93df492b [2024-01-02T17:15:14.900Z] 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-02T17:15:14.900Z] ---> Running in 2d150fe5db70 [2024-01-02T17:15:15.875Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-02T17:15:15.875Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-02T17:15:15.875Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-02T17:15:16.443Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-02T17:15:16.443Z] (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-02T17:15:16.703Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-02T17:15:16.703Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-02T17:15:16.703Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-02T17:15:16.703Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-02T17:15:16.703Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-02T17:15:16.703Z] (7/11) Installing libblkid (2.38.1-r8) [2024-01-02T17:15:16.703Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-01-02T17:15:16.703Z] (9/11) Installing libmount (2.38.1-r8) [2024-01-02T17:15:16.703Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-02T17:15:16.703Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-02T17:15:16.703Z] Executing busybox-1.36.1-r4.trigger [2024-01-02T17:15:16.703Z] OK: 336 MiB in 100 packages [2024-01-02T17:15:17.645Z] Removing intermediate container 2d150fe5db70 [2024-01-02T17:15:17.645Z] ---> 5bd7f8765b95 [2024-01-02T17:15:17.645Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-01-02T17:15:17.645Z] ---> 579df23a9c30 [2024-01-02T17:15:17.645Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-01-02T17:15:17.645Z] ---> 5ed5fef2ed85 [2024-01-02T17:15:17.645Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-01-02T17:15:17.905Z] ---> abb2b198adf0 [2024-01-02T17:15:17.905Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-01-02T17:15:17.905Z] ---> d995136b5597 [2024-01-02T17:15:17.905Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-01-02T17:15:18.166Z] ---> 15503ec62554 [2024-01-02T17:15:18.166Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-01-02T17:15:18.166Z] ---> 643018e426fb [2024-01-02T17:15:18.166Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-01-02T17:15:18.166Z] ---> Running in ee05a2683d5c [2024-01-02T17:15:18.427Z] Removing intermediate container ee05a2683d5c [2024-01-02T17:15:18.427Z] ---> a2d2813d2e44 [2024-01-02T17:15:18.427Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-01-02T17:15:18.427Z] ---> Running in bfcddfee22b3 [2024-01-02T17:15:18.427Z] Removing intermediate container bfcddfee22b3 [2024-01-02T17:15:18.427Z] ---> 4f3c741286a9 [2024-01-02T17:15:18.427Z] Step 15/17 : LABEL arch=amd64 [2024-01-02T17:15:18.427Z] ---> Running in 82cefab0b31a [2024-01-02T17:15:18.427Z] Removing intermediate container 82cefab0b31a [2024-01-02T17:15:18.427Z] ---> b21222f60ca6 [2024-01-02T17:15:18.427Z] Step 16/17 : LABEL git_sha=e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc [2024-01-02T17:15:18.686Z] ---> Running in e1938ee90ec9 [2024-01-02T17:15:18.686Z] Removing intermediate container e1938ee90ec9 [2024-01-02T17:15:18.686Z] ---> f7c9a765d128 [2024-01-02T17:15:18.686Z] Step 17/17 : LABEL version=0.0.0 [2024-01-02T17:15:18.686Z] ---> Running in d10f366a61d2 [2024-01-02T17:15:18.686Z] Removing intermediate container d10f366a61d2 [2024-01-02T17:15:18.686Z] ---> bd97567511f4 [2024-01-02T17:15:18.686Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-01-02T17:15:18.686Z] Successfully built bd97567511f4 [2024-01-02T17:15:18.686Z] 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-02T17:15:19.438Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-02T17:15:19.438Z] [2024-01-02T17:15:19.438Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-02T17:15:19.757Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-02T17:15:19.757Z] latest: Pulling from edgex-lftools-log-publisher [2024-01-02T17:15:19.757Z] 5eb5b503b376: Pulling fs layer [2024-01-02T17:15:19.757Z] 5c69ac0246d0: Pulling fs layer [2024-01-02T17:15:19.757Z] ec43610c2a17: Pulling fs layer [2024-01-02T17:15:19.757Z] 3a2ae6a8a46f: Pulling fs layer [2024-01-02T17:15:19.757Z] 33b1e0a273af: Pulling fs layer [2024-01-02T17:15:19.757Z] 5d3b04190fa2: Pulling fs layer [2024-01-02T17:15:19.757Z] 2f39f015ded8: Pulling fs layer [2024-01-02T17:15:19.757Z] 3a2ae6a8a46f: Waiting [2024-01-02T17:15:19.757Z] 5d3b04190fa2: Waiting [2024-01-02T17:15:19.757Z] 33b1e0a273af: Waiting [2024-01-02T17:15:19.757Z] 2f39f015ded8: Waiting [2024-01-02T17:15:19.757Z] 5c69ac0246d0: Download complete [2024-01-02T17:15:19.757Z] 3a2ae6a8a46f: Verifying Checksum [2024-01-02T17:15:19.757Z] 3a2ae6a8a46f: Download complete [2024-01-02T17:15:19.757Z] 33b1e0a273af: Verifying Checksum [2024-01-02T17:15:19.757Z] 33b1e0a273af: Download complete [2024-01-02T17:15:19.757Z] ec43610c2a17: Verifying Checksum [2024-01-02T17:15:19.757Z] ec43610c2a17: Download complete [2024-01-02T17:15:19.757Z] 5d3b04190fa2: Verifying Checksum [2024-01-02T17:15:19.757Z] 5d3b04190fa2: Download complete [2024-01-02T17:15:20.015Z] 5eb5b503b376: Download complete [2024-01-02T17:15:20.582Z] 2f39f015ded8: Download complete [2024-01-02T17:15:21.522Z] 5eb5b503b376: Pull complete [2024-01-02T17:15:21.522Z] 5c69ac0246d0: Pull complete [2024-01-02T17:15:22.090Z] ec43610c2a17: Pull complete [2024-01-02T17:15:22.090Z] 3a2ae6a8a46f: Pull complete [2024-01-02T17:15:22.350Z] 33b1e0a273af: Pull complete [2024-01-02T17:15:22.350Z] 5d3b04190fa2: Pull complete [2024-01-02T17:15:27.617Z] 2f39f015ded8: Pull complete [2024-01-02T17:15:27.617Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-01-02T17:15:27.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-02T17:15:27.617Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-02T17:15:27.809Z] prd-ubuntu20.04-docker-8c-8g-26649 does not seem to be running inside a container [2024-01-02T17:15:27.779Z] $ 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-505 -v /w/workspace/edgexfoundry_device-sdk-c_PR-505:/w/workspace/edgexfoundry_device-sdk-c_PR-505:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-505@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-02T17:15:32.660Z] $ docker top 4be98500f20a5f0554e8bd22a0e6d4bd86f1ae51ac0a4a0fada13a27c8efd47b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:15:33.167Z] ---> job-cost.sh [2024-01-02T17:15:33.167Z] lf-activate-venv: SKIPPING [2024-01-02T17:15:33.167Z] INFO: No Stack... [2024-01-02T17:15:33.426Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-02T17:15:33.686Z] INFO: Archiving Costs [Pipeline] sh [2024-01-02T17:15:33.977Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives/cost.csv [2024-01-02T17:15:33.977Z] + cut -d, -f6 [Pipeline] lock [2024-01-02T17:15:33.992Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-505-2-stack-cost] [2024-01-02T17:15:34.000Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-505-2-stack-cost] did not exist. Created. [2024-01-02T17:15:34.001Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-505-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-02T17:15:34.346Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-02T17:15:34.420Z] Stashed 1 file(s) [Pipeline] } [2024-01-02T17:15:34.433Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-505-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-02T17:15:34.454Z] $ docker stop --time=1 4be98500f20a5f0554e8bd22a0e6d4bd86f1ae51ac0a4a0fada13a27c8efd47b [2024-01-02T17:15:35.620Z] $ docker rm -f --volumes 4be98500f20a5f0554e8bd22a0e6d4bd86f1ae51ac0a4a0fada13a27c8efd47b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-01-02T17:16:41.010Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26650 in /w/workspace/edgexfoundry_device-sdk-c_PR-505 [Pipeline] { [Pipeline] ws [2024-01-02T17:16:41.048Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2024-01-02T17:16:41.132Z] Selected Git installation does not exist. Using Default [2024-01-02T17:16:41.132Z] The recommended git tool is: NONE [2024-01-02T17:16:48.101Z] using credential edgex-jenkins-ssh [2024-01-02T17:16:48.129Z] Cloning the remote Git repository [2024-01-02T17:16:48.189Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-01-02T17:16:48.328Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2024-01-02T17:16:48.464Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-02T17:16:48.465Z] > git --version # timeout=10 [2024-01-02T17:16:48.488Z] > git --version # 'git version 2.25.1' [2024-01-02T17:16:48.490Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-02T17:16:48.636Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-02T17:16:49.783Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-02T17:16:49.806Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-02T17:16:51.418Z] Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc [2024-01-02T17:16:50.731Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-02T17:16:50.779Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-02T17:16:50.780Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-02T17:16:50.796Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/505/head:refs/remotes/origin/PR-505 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-01-02T17:16:51.437Z] > git config core.sparsecheckout # timeout=10 [2024-01-02T17:16:51.493Z] > git checkout -f e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc # timeout=10 [2024-01-02T17:16:51.612Z] > git remote # timeout=10 [2024-01-02T17:16:55.357Z] Merge succeeded, producing e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc [2024-01-02T17:16:55.357Z] Checking out Revision e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc (PR-505) [2024-01-02T17:16:55.273Z] > git config --get remote.origin.url # timeout=10 [2024-01-02T17:16:55.291Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-02T17:16:55.311Z] > git merge 1a776ee907d08e39928eb07fc2284b30a6e0a694 # timeout=10 [2024-01-02T17:16:55.339Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-01-02T17:16:55.365Z] > git config core.sparsecheckout # timeout=10 [2024-01-02T17:16:55.379Z] > git checkout -f e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc # timeout=10 [2024-01-02T17:16:58.910Z] Commit message: "Merge branch 'fix_json_string' of https://github.com/ych988/device-sdk-c into fix_json_string" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-02T17:17:00.046Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-01-02T17:17:00.046Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-01-02T17:17:00.046Z] Dload Upload Total Spent Left Speed [2024-01-02T17:17:00.046Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 66397 0 --:--:-- --:--:-- --:--:-- 66397 [Pipeline] sh [2024-01-02T17:17:00.383Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-01-02T17:17:00.712Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-01-02T17:17:00.712Z] + sudo tee /etc/docker/daemon.new [2024-01-02T17:17:00.712Z] { [2024-01-02T17:17:00.712Z] "registry-mirrors": [ [2024-01-02T17:17:00.712Z] "https://nexus3.edgexfoundry.org:10001" [2024-01-02T17:17:00.712Z] ], [2024-01-02T17:17:00.712Z] "bip": "10.250.0.254/24", [2024-01-02T17:17:00.712Z] "hosts": [ [2024-01-02T17:17:00.712Z] "tcp://0.0.0.0:5555", [2024-01-02T17:17:00.712Z] "unix:///var/run/docker.sock" [2024-01-02T17:17:00.712Z] ], [2024-01-02T17:17:00.712Z] "mtu": 1458, [2024-01-02T17:17:00.712Z] "selinux-enabled": true, [2024-01-02T17:17:00.712Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-01-02T17:17:00.712Z] } [Pipeline] sh [2024-01-02T17:17:01.041Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-01-02T17:17:01.369Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-02T17:17:19.651Z] provisioning config files... [2024-01-02T17:17:19.676Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config4519909876179308437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:17:20.112Z] ---> ****-login.sh [2024-01-02T17:17:20.112Z] nexus3.edgexfoundry.org:10001 [2024-01-02T17:17:20.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:17:20.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:17:20.669Z] Configure a credential helper to remove this warning. See [2024-01-02T17:17:20.669Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:17:20.669Z] [2024-01-02T17:17:20.669Z] Login Succeeded [2024-01-02T17:17:20.669Z] nexus3.edgexfoundry.org:10002 [2024-01-02T17:17:20.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:17:20.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:17:20.949Z] Configure a credential helper to remove this warning. See [2024-01-02T17:17:20.949Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:17:20.949Z] [2024-01-02T17:17:20.949Z] Login Succeeded [2024-01-02T17:17:20.949Z] nexus3.edgexfoundry.org:10003 [2024-01-02T17:17:20.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:17:21.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:17:21.221Z] Configure a credential helper to remove this warning. See [2024-01-02T17:17:21.221Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:17:21.221Z] [2024-01-02T17:17:21.221Z] Login Succeeded [2024-01-02T17:17:21.221Z] nexus3.edgexfoundry.org:10004 [2024-01-02T17:17:21.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:17:21.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:17:21.490Z] Configure a credential helper to remove this warning. See [2024-01-02T17:17:21.490Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:17:21.490Z] [2024-01-02T17:17:21.490Z] Login Succeeded [2024-01-02T17:17:21.490Z] ****.io [2024-01-02T17:17:21.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-02T17:17:22.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-02T17:17:22.028Z] Configure a credential helper to remove this warning. See [2024-01-02T17:17:22.028Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-02T17:17:22.028Z] [2024-01-02T17:17:22.028Z] Login Succeeded [2024-01-02T17:17:22.028Z] ---> ****-login.sh ends [Pipeline] } [2024-01-02T17:17:22.041Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-02T17:17:22.434Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-02T17:17:22.473Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-01-02T17:17:22.517Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-02T17:17:22.556Z] ========================================================= [2024-01-02T17:17:22.556Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-01-02T17:17:22.556Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-02T17:17:22.973Z] + 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-02T17:17:25.575Z] #0 building with "default" instance using docker driver [2024-01-02T17:17:25.575Z] [2024-01-02T17:17:25.575Z] #1 [internal] load .dockerignore [2024-01-02T17:17:25.575Z] #1 transferring context: 2B 0.0s done [2024-01-02T17:17:25.575Z] #1 DONE 0.1s [2024-01-02T17:17:25.575Z] [2024-01-02T17:17:25.575Z] #2 [internal] load build definition from Dockerfile.alpine-base [2024-01-02T17:17:25.575Z] #2 transferring dockerfile: 2.04kB done [2024-01-02T17:17:25.575Z] #2 DONE 0.1s [2024-01-02T17:17:25.575Z] [2024-01-02T17:17:25.575Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-01-02T17:17:25.575Z] #3 DONE 0.1s [2024-01-02T17:17:25.575Z] [2024-01-02T17:17:25.575Z] #4 [stage-1 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-02T17:17:25.575Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 0.0s done [2024-01-02T17:17:25.576Z] #4 ... [2024-01-02T17:17:25.576Z] [2024-01-02T17:17:25.576Z] #5 [internal] load build context [2024-01-02T17:17:25.576Z] #5 transferring context: 628.08kB 0.1s done [2024-01-02T17:17:25.576Z] #5 DONE 0.2s [2024-01-02T17:17:25.576Z] [2024-01-02T17:17:25.576Z] #4 [stage-1 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-02T17:17:25.576Z] #4 sha256:2b552cad5dd98495624f16c0a312487c0a9b53c9e43189d1cca70f16696b9826 2.57kB / 2.57kB done [2024-01-02T17:17:25.576Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 1.05MB / 3.33MB 0.1s [2024-01-02T17:17:25.576Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 0B / 109.51MB 0.1s [2024-01-02T17:17:25.576Z] #4 sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 741B / 741B done [2024-01-02T17:17:25.576Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 [2024-01-02T17:17:25.850Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.2s done [2024-01-02T17:17:25.850Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 8.39MB / 109.51MB 0.3s [2024-01-02T17:17:26.130Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 17.83MB / 109.51MB 0.5s [2024-01-02T17:17:26.130Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.3s done [2024-01-02T17:17:26.398Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 33.55MB / 109.51MB 0.8s [2024-01-02T17:17:26.667Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 51.38MB / 109.51MB 1.1s [2024-01-02T17:17:26.667Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 57.67MB / 109.51MB 1.2s [2024-01-02T17:17:26.934Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 70.25MB / 109.51MB 1.4s [2024-01-02T17:17:26.934Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 76.55MB / 109.51MB 1.5s [2024-01-02T17:17:27.202Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 94.98MB / 109.51MB 1.8s [2024-01-02T17:17:27.469Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 101.29MB / 109.51MB 1.9s [2024-01-02T17:17:27.469Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 108.00MB / 109.51MB 2.0s [2024-01-02T17:17:27.736Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.2s done [2024-01-02T17:17:27.736Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 [2024-01-02T17:17:33.073Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 5.1s [2024-01-02T17:17:39.737Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 11.6s [2024-01-02T17:17:40.702Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 12.8s done [2024-01-02T17:17:40.978Z] #4 DONE 15.4s [2024-01-02T17:17:40.978Z] [2024-01-02T17:17:40.978Z] #6 [stage-1 2/7] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-02T17:17:41.568Z] #6 0.689 Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-02T17:17:42.157Z] #6 1.203 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-02T17:17:42.157Z] #6 1.204 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-02T17:17:42.157Z] #6 1.205 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-02T17:17:42.778Z] #6 DONE 2.0s [2024-01-02T17:17:43.046Z] [2024-01-02T17:17:43.046Z] #7 [stage-1 3/7] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-02T17:17:43.629Z] #7 DONE 0.8s [2024-01-02T17:17:43.629Z] [2024-01-02T17:17:43.629Z] #8 [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-02T17:17:44.589Z] #8 0.865 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-02T17:17:44.854Z] #8 1.259 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-02T17:17:45.435Z] #8 1.829 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-02T17:17:46.393Z] #8 2.707 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-02T17:17:46.393Z] #8 2.734 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-02T17:17:46.393Z] #8 2.762 (2/9) Installing curl (8.5.0-r0) [2024-01-02T17:17:46.393Z] #8 2.776 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-02T17:17:46.393Z] #8 2.793 (4/9) Installing hiredis (1.1.0-r2) [2024-01-02T17:17:46.393Z] #8 2.800 (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-02T17:17:46.393Z] #8 2.825 (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-02T17:17:47.355Z] #8 3.570 (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-02T17:17:47.356Z] #8 3.786 (8/9) Installing libcbor (0.10.2-r1) [2024-01-02T17:17:47.356Z] #8 3.794 (9/9) Installing libuuid (2.38.1-r8) [2024-01-02T17:17:47.356Z] #8 3.801 Executing busybox-1.36.1-r4.trigger [2024-01-02T17:17:47.356Z] #8 3.844 OK: 327 MiB in 89 packages [2024-01-02T17:17:47.948Z] #8 DONE 4.2s [2024-01-02T17:17:47.948Z] [2024-01-02T17:17:47.948Z] #9 [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-02T17:17:47.948Z] #9 0.925 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-02T17:17:47.948Z] #9 1.265 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-02T17:17:47.948Z] #9 1.844 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-02T17:17:47.948Z] #9 2.757 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-02T17:17:47.948Z] #9 2.796 (1/17) Installing hiredis (1.1.0-r2) [2024-01-02T17:17:47.948Z] #9 2.806 (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-02T17:17:47.948Z] #9 2.836 (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-02T17:17:47.948Z] #9 3.585 (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-02T17:17:47.948Z] #9 3.702 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-02T17:17:47.948Z] #9 3.937 (6/17) Installing libcbor (0.10.2-r1) [2024-01-02T17:17:47.948Z] #9 3.944 (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-02T17:17:47.948Z] #9 3.961 (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-02T17:17:47.948Z] #9 3.968 (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-02T17:17:47.948Z] #9 3.976 (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-02T17:17:47.948Z] #9 3.985 (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-02T17:17:47.948Z] #9 4.019 (12/17) Installing libblkid (2.38.1-r8) [2024-01-02T17:17:47.948Z] #9 4.035 (13/17) Installing libuuid (2.38.1-r8) [2024-01-02T17:17:47.948Z] #9 4.042 (14/17) Installing libfdisk (2.38.1-r8) [2024-01-02T17:17:47.948Z] #9 4.058 (15/17) Installing libmount (2.38.1-r8) [2024-01-02T17:17:47.948Z] #9 4.074 (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-02T17:17:47.948Z] #9 4.092 (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-02T17:17:47.948Z] #9 4.177 Executing busybox-1.36.1-r4.trigger [2024-01-02T17:17:47.948Z] #9 4.220 OK: 333 MiB in 99 packages [2024-01-02T17:17:48.218Z] #9 DONE 4.5s [2024-01-02T17:17:48.218Z] [2024-01-02T17:17:48.218Z] #10 [builder 5/12] RUN mkdir /tmp/sdk [2024-01-02T17:17:48.813Z] #10 DONE 0.7s [2024-01-02T17:17:49.085Z] [2024-01-02T17:17:49.085Z] #11 [builder 6/12] COPY VERSION /tmp/sdk [2024-01-02T17:17:49.085Z] #11 DONE 0.1s [2024-01-02T17:17:49.085Z] [2024-01-02T17:17:49.085Z] #12 [builder 7/12] COPY src /tmp/sdk/src [2024-01-02T17:17:49.351Z] #12 DONE 0.2s [2024-01-02T17:17:49.351Z] [2024-01-02T17:17:49.351Z] #13 [builder 8/12] COPY include /tmp/sdk/include [2024-01-02T17:17:49.351Z] #13 DONE 0.1s [2024-01-02T17:17:49.351Z] [2024-01-02T17:17:49.351Z] #14 [builder 9/12] COPY scripts /tmp/sdk/scripts [2024-01-02T17:17:49.351Z] #14 DONE 0.1s [2024-01-02T17:17:49.351Z] [2024-01-02T17:17:49.351Z] #15 [builder 10/12] COPY LICENSE /tmp/sdk [2024-01-02T17:17:49.621Z] #15 DONE 0.1s [2024-01-02T17:17:49.621Z] [2024-01-02T17:17:49.621Z] #16 [builder 11/12] COPY Attribution.txt /tmp/sdk [2024-01-02T17:17:49.621Z] #16 DONE 0.1s [2024-01-02T17:17:49.621Z] [2024-01-02T17:17:49.621Z] #17 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-02T17:17:50.202Z] #17 0.579 + CPPCHECK=false [2024-01-02T17:17:50.202Z] #17 0.579 + DOCGEN=false [2024-01-02T17:17:50.202Z] #17 0.579 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-02T17:17:50.202Z] #17 0.579 + '[' 0 -gt 0 ] [2024-01-02T17:17:50.202Z] #17 0.581 + readlink -f ./scripts/build.sh [2024-01-02T17:17:50.202Z] #17 0.583 + dirname /tmp/sdk/scripts/build.sh [2024-01-02T17:17:50.202Z] #17 0.586 + dirname /tmp/sdk/scripts [2024-01-02T17:17:50.202Z] #17 0.587 + ROOT=/tmp/sdk [2024-01-02T17:17:50.202Z] #17 0.587 + cd /tmp/sdk [2024-01-02T17:17:50.202Z] #17 0.588 + mkdir -p /tmp/sdk/build/release [2024-01-02T17:17:50.202Z] #17 0.591 + cd /tmp/sdk/build/release [2024-01-02T17:17:50.202Z] #17 0.591 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-02T17:17:50.468Z] #17 0.911 -- The C compiler identification is GNU 12.2.1 [2024-01-02T17:17:50.468Z] #17 0.972 -- Detecting C compiler ABI info [2024-01-02T17:17:50.736Z] #17 1.302 -- Detecting C compiler ABI info - done [2024-01-02T17:17:51.020Z] #17 1.385 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-02T17:17:51.020Z] #17 1.387 -- Detecting C compile features [2024-01-02T17:17:51.020Z] #17 1.390 -- Detecting C compile features - done [2024-01-02T17:17:51.020Z] #17 1.421 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-02T17:17:51.293Z] #17 1.629 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-02T17:17:51.293Z] #17 1.648 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-02T17:17:51.293Z] #17 1.664 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-02T17:17:51.293Z] #17 1.683 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-02T17:17:51.293Z] #17 1.700 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-02T17:17:51.293Z] #17 1.718 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-02T17:17:51.293Z] #17 1.738 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-02T17:17:51.293Z] #17 1.738 -- /opt/iotech/iot/1.5/include [2024-01-02T17:17:51.293Z] #17 1.738 -- C SDK 0.0.0 for Linux [2024-01-02T17:17:51.293Z] #17 1.753 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-02T17:17:51.878Z] #17 2.182 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-02T17:17:51.878Z] #17 2.355 -- Found Curses: /usr/lib/libcurses.so [2024-01-02T17:17:52.145Z] #17 2.469 -- Configuring done (1.9s) [2024-01-02T17:17:52.145Z] #17 2.737 -- Generating done (0.2s) [2024-01-02T17:17:52.429Z] #17 2.757 -- Build files have been written to: /tmp/sdk/build/release [2024-01-02T17:17:52.430Z] #17 2.782 + make all package [2024-01-02T17:17:52.430Z] #17 2.782 + tee release.log [2024-01-02T17:17:52.695Z] #17 2.916 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-02T17:17:53.279Z] #17 3.623 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-02T17:17:54.240Z] #17 4.465 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-02T17:17:54.823Z] #17 5.164 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-02T17:17:55.783Z] #17 5.934 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-02T17:17:56.048Z] #17 6.515 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-02T17:17:58.622Z] #17 8.479 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-02T17:17:58.886Z] #17 9.280 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-02T17:17:58.886Z] #17 9.280 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-02T17:17:58.886Z] #17 9.280 294 | while (privateConfig) [2024-01-02T17:17:58.886Z] #17 9.280 | ^~~~~~~~~~~~~ [2024-01-02T17:17:58.886Z] #17 9.281 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-02T17:17:58.886Z] #17 9.281 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-02T17:17:58.886Z] #17 9.281 | ^~~~~~~~~~~~~ [2024-01-02T17:17:58.886Z] #17 9.281 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-02T17:17:58.886Z] #17 9.281 271 | while (result) [2024-01-02T17:17:58.886Z] #17 9.281 | ^~~~~~ [2024-01-02T17:17:58.886Z] #17 9.282 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-02T17:17:58.886Z] #17 9.282 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-02T17:17:58.886Z] #17 9.282 | ^~~~~~ [2024-01-02T17:17:59.151Z] #17 9.598 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-02T17:17:59.416Z] #17 9.815 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-02T17:18:00.370Z] #17 10.66 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-02T17:18:02.305Z] #17 12.42 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-02T17:18:02.571Z] #17 13.00 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-02T17:18:03.526Z] #17 13.79 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-02T17:18:04.108Z] #17 14.50 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-02T17:18:04.690Z] #17 14.97 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-02T17:18:05.648Z] #17 15.93 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-02T17:18:05.914Z] #17 16.24 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-02T17:18:07.852Z] #17 18.16 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-02T17:18:08.118Z] #17 18.50 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-02T17:18:08.710Z] #17 19.06 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-02T17:18:10.112Z] #17 20.29 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-02T17:18:16.751Z] #17 26.61 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-02T17:18:16.751Z] #17 27.21 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-02T17:18:17.017Z] #17 27.60 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-02T17:18:17.599Z] #17 28.10 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-02T17:18:18.184Z] #17 28.41 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-02T17:18:19.589Z] #17 29.78 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-02T17:18:21.528Z] #17 31.85 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-02T17:18:22.110Z] #17 32.28 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-02T17:18:22.691Z] #17 33.15 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-02T17:18:23.274Z] #17 33.74 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-02T17:18:23.539Z] #17 34.01 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-02T17:18:23.804Z] #17 34.02 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-02T17:18:23.804Z] #17 34.02 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-02T17:18:23.804Z] #17 34.02 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-02T17:18:23.804Z] #17 34.02 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-02T17:18:23.804Z] #17 34.02 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-02T17:18:23.804Z] #17 34.02 | ^ [2024-01-02T17:18:25.204Z] #17 35.41 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-02T17:18:25.204Z] #17 35.41 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-02T17:18:25.204Z] #17 35.41 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-02T17:18:25.204Z] #17 35.41 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-02T17:18:25.204Z] #17 35.41 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-02T17:18:25.204Z] #17 35.41 | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-02T17:18:26.163Z] #17 36.41 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-02T17:18:26.741Z] #17 37.15 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-02T17:18:27.008Z] #17 37.49 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-02T17:18:27.591Z] #17 37.99 [ 68%] Linking C shared library libcsdk.so [2024-01-02T17:18:27.591Z] #17 38.18 [ 68%] Built target csdk [2024-01-02T17:18:27.859Z] #17 38.24 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-02T17:18:28.816Z] #17 39.02 [ 72%] Linking C executable template [2024-01-02T17:18:28.816Z] #17 39.33 [ 72%] Built target template [2024-01-02T17:18:28.816Z] #17 39.39 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-02T17:18:29.398Z] #17 39.90 [ 76%] Linking C executable device-counter [2024-01-02T17:18:29.664Z] #17 40.20 [ 76%] Built target device-counter [2024-01-02T17:18:29.664Z] #17 40.26 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-02T17:18:30.622Z] #17 40.76 [ 80%] Linking C executable device-random [2024-01-02T17:18:30.622Z] #17 41.06 [ 80%] Built target device-random [2024-01-02T17:18:30.622Z] #17 41.11 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-02T17:18:31.206Z] #17 41.58 [ 84%] Linking C executable device-gyro [2024-01-02T17:18:31.477Z] #17 41.87 [ 84%] Built target device-gyro [2024-01-02T17:18:31.477Z] #17 41.92 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-02T17:18:32.060Z] #17 42.41 [ 88%] Linking C executable device-bitfields [2024-01-02T17:18:32.326Z] #17 42.72 [ 88%] Built target device-bitfields [2024-01-02T17:18:32.326Z] #17 42.78 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-02T17:18:33.282Z] #17 43.59 [ 92%] Linking C executable template-discovery [2024-01-02T17:18:33.548Z] #17 43.89 [ 92%] Built target template-discovery [2024-01-02T17:18:33.549Z] #17 43.95 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-02T17:18:34.509Z] #17 44.65 [ 96%] Linking C executable device-file [2024-01-02T17:18:34.509Z] #17 44.98 [ 96%] Built target device-file [2024-01-02T17:18:34.509Z] #17 45.04 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-02T17:18:35.094Z] #17 45.66 [100%] Linking C executable device-terminal [2024-01-02T17:18:35.674Z] #17 45.99 [100%] Built target device-terminal [2024-01-02T17:18:37.607Z] #17 47.72 Run CPack packaging tool... [2024-01-02T17:18:37.607Z] #17 47.76 CPack: Create package using TGZ [2024-01-02T17:18:37.607Z] #17 47.77 CPack: Install projects [2024-01-02T17:18:37.607Z] #17 47.77 CPack: - Run preinstall target for: Csdk [2024-01-02T17:18:38.191Z] #17 48.53 CPack: - Install project: Csdk [] [2024-01-02T17:18:38.191Z] #17 48.56 CPack: Create package [2024-01-02T17:18:38.191Z] #17 48.65 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-02T17:18:38.191Z] #17 48.66 + '[' false '=' true ] [2024-01-02T17:18:38.191Z] #17 48.66 + '[' false '=' true ] [2024-01-02T17:18:38.191Z] #17 48.66 + mkdir -p /tmp/sdk/build/debug [2024-01-02T17:18:38.191Z] #17 48.66 + cd /tmp/sdk/build/debug [2024-01-02T17:18:38.191Z] #17 48.66 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-02T17:18:38.466Z] #17 48.97 -- The C compiler identification is GNU 12.2.1 [2024-01-02T17:18:38.466Z] #17 49.03 -- Detecting C compiler ABI info [2024-01-02T17:18:39.048Z] #17 49.36 -- Detecting C compiler ABI info - done [2024-01-02T17:18:39.048Z] #17 49.44 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-02T17:18:39.048Z] #17 49.44 -- Detecting C compile features [2024-01-02T17:18:39.048Z] #17 49.45 -- Detecting C compile features - done [2024-01-02T17:18:39.048Z] #17 49.47 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-02T17:18:39.315Z] #17 49.65 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-02T17:18:39.315Z] #17 49.67 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-02T17:18:39.315Z] #17 49.69 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-02T17:18:39.315Z] #17 49.70 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-02T17:18:39.315Z] #17 49.72 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-02T17:18:39.315Z] #17 49.73 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-02T17:18:39.315Z] #17 49.75 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-02T17:18:39.315Z] #17 49.75 -- /opt/iotech/iot/1.5/include [2024-01-02T17:18:39.315Z] #17 49.75 -- C SDK 0.0.0 for Linux [2024-01-02T17:18:39.315Z] #17 49.76 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-02T17:18:39.583Z] #17 50.08 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-02T17:18:39.850Z] #17 50.24 -- Found Curses: /usr/lib/libcurses.so [2024-01-02T17:18:40.119Z] #17 50.35 -- Configuring done (1.7s) [2024-01-02T17:18:40.119Z] #17 50.60 -- Generating done (0.2s) [2024-01-02T17:18:40.388Z] #17 50.62 -- Build files have been written to: /tmp/sdk/build/debug [2024-01-02T17:18:40.388Z] #17 50.64 + + teemake debug.log [2024-01-02T17:18:40.388Z] #17 50.64 [2024-01-02T17:18:40.388Z] #17 50.78 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-02T17:18:40.656Z] #17 51.18 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-02T17:18:41.237Z] #17 51.55 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-02T17:18:41.504Z] #17 51.90 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-02T17:18:41.771Z] #17 52.26 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-02T17:18:42.039Z] #17 52.62 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-02T17:18:43.000Z] #17 53.27 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-02T17:18:43.267Z] #17 53.71 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-02T17:18:43.534Z] #17 53.88 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-02T17:18:44.117Z] #17 54.30 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-02T17:18:44.703Z] #17 54.91 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-02T17:18:44.970Z] #17 55.24 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-02T17:18:45.237Z] #17 55.64 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-02T17:18:45.503Z] #17 55.99 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-02T17:18:46.085Z] #17 56.32 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-02T17:18:46.085Z] #17 56.67 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-02T17:18:46.669Z] #17 56.90 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-02T17:18:47.253Z] #17 57.63 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-02T17:18:47.520Z] #17 57.86 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-02T17:18:47.786Z] #17 58.08 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-02T17:18:48.368Z] #17 58.70 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-02T17:18:49.777Z] #17 59.84 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-02T17:18:49.777Z] #17 60.20 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-02T17:18:50.045Z] #17 60.47 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-02T17:18:50.313Z] #17 60.80 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-02T17:18:50.581Z] #17 61.07 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-02T17:18:51.166Z] #17 61.59 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-02T17:18:52.576Z] #17 62.92 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-02T17:18:52.842Z] #17 63.19 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-02T17:18:53.109Z] #17 63.57 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-02T17:18:53.375Z] #17 63.93 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-02T17:18:53.642Z] #17 64.18 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-02T17:18:53.909Z] #17 64.18 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-02T17:18:53.909Z] #17 64.18 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-02T17:18:53.909Z] #17 64.18 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-02T17:18:53.909Z] #17 64.18 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-02T17:18:53.909Z] #17 64.18 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-02T17:18:53.909Z] #17 64.18 | ^ [2024-01-02T17:18:54.492Z] #17 64.71 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-02T17:18:54.492Z] #17 65.06 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-02T17:18:54.760Z] #17 65.34 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-02T17:18:55.027Z] #17 65.62 [ 68%] Linking C shared library libcsdk.so [2024-01-02T17:18:55.611Z] #17 65.87 [ 68%] Built target csdk [2024-01-02T17:18:55.611Z] #17 65.92 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-02T17:18:55.877Z] #17 66.26 [ 72%] Linking C executable template [2024-01-02T17:18:56.144Z] #17 66.56 [ 72%] Built target template [2024-01-02T17:18:56.144Z] #17 66.62 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-02T17:18:56.411Z] #17 66.90 [ 76%] Linking C executable device-counter [2024-01-02T17:18:56.677Z] #17 67.19 [ 76%] Built target device-counter [2024-01-02T17:18:56.677Z] #17 67.25 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-02T17:18:57.033Z] #17 67.53 [ 80%] Linking C executable device-random [2024-01-02T17:18:57.631Z] #17 67.84 [ 80%] Built target device-random [2024-01-02T17:18:57.631Z] #17 67.90 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-02T17:18:57.909Z] #17 68.17 [ 84%] Linking C executable device-gyro [2024-01-02T17:18:58.183Z] #17 68.50 [ 84%] Built target device-gyro [2024-01-02T17:18:58.183Z] #17 68.56 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-02T17:18:58.456Z] #17 68.84 [ 88%] Linking C executable device-bitfields [2024-01-02T17:18:58.731Z] #17 69.13 [ 88%] Built target device-bitfields [2024-01-02T17:18:58.731Z] #17 69.19 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-02T17:18:59.071Z] #17 69.54 [ 92%] Linking C executable template-discovery [2024-01-02T17:18:59.669Z] #17 69.84 [ 92%] Built target template-discovery [2024-01-02T17:18:59.669Z] #17 69.90 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-02T17:18:59.946Z] #17 70.23 [ 96%] Linking C executable device-file [2024-01-02T17:19:00.222Z] #17 70.62 [ 96%] Built target device-file [2024-01-02T17:19:00.222Z] #17 70.67 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-02T17:19:00.810Z] #17 71.07 [100%] Linking C executable device-terminal [2024-01-02T17:19:01.077Z] #17 71.38 [100%] Built target device-terminal [2024-01-02T17:19:01.077Z] #17 71.41 make: Entering directory '/tmp/sdk/build/release' [2024-01-02T17:19:01.077Z] #17 71.56 [ 68%] Built target csdk [2024-01-02T17:19:01.077Z] #17 71.61 [ 72%] Built target template [2024-01-02T17:19:01.345Z] #17 71.67 [ 76%] Built target device-counter [2024-01-02T17:19:01.345Z] #17 71.72 [ 80%] Built target device-random [2024-01-02T17:19:01.345Z] #17 71.78 [ 84%] Built target device-gyro [2024-01-02T17:19:01.345Z] #17 71.84 [ 88%] Built target device-bitfields [2024-01-02T17:19:01.345Z] #17 71.89 [ 92%] Built target template-discovery [2024-01-02T17:19:01.345Z] #17 71.94 [ 96%] Built target device-file [2024-01-02T17:19:01.616Z] #17 72.00 [100%] Built target device-terminal [2024-01-02T17:19:01.616Z] #17 72.05 Install the project... [2024-01-02T17:19:01.616Z] #17 72.07 -- Install configuration: "Release" [2024-01-02T17:19:01.616Z] #17 72.07 -- Installing: /usr/local/lib/libcsdk.so [2024-01-02T17:19:01.616Z] #17 72.08 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-02T17:19:01.616Z] #17 72.08 -- Installing: /usr/local/include [2024-01-02T17:19:01.616Z] #17 72.08 -- Installing: /usr/local/include/devsdk [2024-01-02T17:19:01.616Z] #17 72.08 -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-02T17:19:01.616Z] #17 72.09 -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-02T17:19:01.616Z] #17 72.09 -- Installing: /usr/local/include/edgex [2024-01-02T17:19:01.616Z] #17 72.09 -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-02T17:19:01.616Z] #17 72.09 -- Installing: /usr/local/include/edgex/edgex.h [2024-01-02T17:19:01.616Z] #17 72.09 -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-02T17:19:01.616Z] #17 72.09 -- Installing: /usr/local/include/edgex/devices.h [2024-01-02T17:19:01.616Z] #17 72.09 -- Installing: /usr/local/include/edgex/profiles.h [2024-01-02T17:19:01.616Z] #17 72.09 -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-02T17:19:01.616Z] #17 72.09 -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-02T17:19:01.616Z] #17 72.10 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-02T17:19:01.616Z] #17 72.11 make: Leaving directory '/tmp/sdk/build/release' [2024-01-02T17:19:01.616Z] #17 DONE 72.2s [2024-01-02T17:19:01.885Z] [2024-01-02T17:19:01.885Z] #18 [stage-1 5/7] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-02T17:19:02.160Z] #18 DONE 0.2s [2024-01-02T17:19:02.160Z] [2024-01-02T17:19:02.160Z] #19 [stage-1 6/7] COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-02T17:19:02.160Z] #19 DONE 0.1s [2024-01-02T17:19:02.160Z] [2024-01-02T17:19:02.160Z] #20 [stage-1 7/7] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-02T17:19:02.160Z] #20 DONE 0.1s [2024-01-02T17:19:02.426Z] [2024-01-02T17:19:02.426Z] #21 exporting to image [2024-01-02T17:19:02.426Z] #21 exporting layers [2024-01-02T17:19:02.426Z] #21 exporting layers 0.2s done [2024-01-02T17:19:02.426Z] #21 writing image sha256:a0bf720d9038e423aa92668305b8c2609718e257938a50f9114b93063db4dd20 done [2024-01-02T17:19:02.426Z] #21 naming to docker.io/library/ci-base-image-arm64 done [2024-01-02T17:19:02.426Z] #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-02T17:19:03.090Z] + docker inspect -f . ci-base-image-arm64 [2024-01-02T17:19:03.090Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-02T17:19:03.310Z] prd-ubuntu20.04-docker-arm64-4c-16g-26650 does not seem to be running inside a container [2024-01-02T17:19:03.382Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-01-02T17:19:07.036Z] $ docker top 04ba3cb1db307459424078bc4136ea35a059910a265c58d0985899cec769c048 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-02T17:19:07.550Z] + make test [2024-01-02T17:19:07.550Z] echo "make test" [2024-01-02T17:19:07.550Z] make test [Pipeline] } [2024-01-02T17:19:07.567Z] $ docker stop --time=1 04ba3cb1db307459424078bc4136ea35a059910a265c58d0985899cec769c048 [2024-01-02T17:19:09.055Z] $ docker rm -f --volumes 04ba3cb1db307459424078bc4136ea35a059910a265c58d0985899cec769c048 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-02T17:19:09.776Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-02T17:19:10.096Z] + ls -al . [2024-01-02T17:19:10.097Z] total 208 [2024-01-02T17:19:10.097Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 2 17:16 . [2024-01-02T17:19:10.097Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 17:16 .. [2024-01-02T17:19:10.097Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 2 17:16 .git [2024-01-02T17:19:10.097Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 2 17:16 .github [2024-01-02T17:19:10.097Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 2 17:16 .gitignore [2024-01-02T17:19:10.097Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 2 17:16 Attribution.txt [2024-01-02T17:19:10.097Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 2 17:16 CHANGELOG.md [2024-01-02T17:19:10.097Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 2 17:16 Doxyfile [2024-01-02T17:19:10.097Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 2 17:16 GOVERNANCE.md [2024-01-02T17:19:10.097Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 2 17:16 Jenkinsfile [2024-01-02T17:19:10.097Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 2 17:16 LICENSE [2024-01-02T17:19:10.097Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 2 17:16 Makefile [2024-01-02T17:19:10.097Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 2 17:16 OWNERS.md [2024-01-02T17:19:10.097Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 2 17:16 README.IOT.md [2024-01-02T17:19:10.097Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 2 17:16 README.md [2024-01-02T17:19:10.097Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 2 17:16 README.v3.md [2024-01-02T17:19:10.097Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 2 17:14 VERSION [2024-01-02T17:19:10.097Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 2 17:16 docs [2024-01-02T17:19:10.097Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 17:16 include [2024-01-02T17:19:10.097Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 2 17:16 scripts [2024-01-02T17:19:10.097Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 2 17:16 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-02T17:19:10.501Z] + 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=e9cca0ea24e9a7340cb866d5dcf0edaf95c085dc --label arch=arm64 --label version=0.0.0 . [2024-01-02T17:19:11.086Z] #0 building with "default" instance using docker driver [2024-01-02T17:19:11.086Z] [2024-01-02T17:19:11.086Z] #1 [internal] load .dockerignore [2024-01-02T17:19:11.086Z] #1 transferring context: 2B 0.0s done [2024-01-02T17:19:11.086Z] #1 DONE 0.0s [2024-01-02T17:19:11.086Z] [2024-01-02T17:19:11.086Z] #2 [internal] load build definition from Dockerfile.alpine [2024-01-02T17:19:11.086Z] #2 transferring dockerfile: 1.44kB 0.0s done [2024-01-02T17:19:11.086Z] #2 DONE 0.0s [2024-01-02T17:19:11.086Z] [2024-01-02T17:19:11.086Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2024-01-02T17:19:11.086Z] #3 DONE 0.0s [2024-01-02T17:19:11.086Z] [2024-01-02T17:19:11.086Z] #4 [internal] load build context [2024-01-02T17:19:11.086Z] #4 transferring context: 8.55kB 0.1s done [2024-01-02T17:19:11.086Z] #4 DONE 0.1s [2024-01-02T17:19:11.086Z] [2024-01-02T17:19:11.086Z] #5 [ 1/11] FROM docker.io/library/ci-base-image-arm64 [2024-01-02T17:19:11.353Z] #5 DONE 0.2s [2024-01-02T17:19:11.353Z] [2024-01-02T17:19:11.353Z] #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-02T17:19:11.940Z] #6 0.605 Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-02T17:19:12.529Z] #6 1.128 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-02T17:19:12.529Z] #6 1.128 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-02T17:19:12.529Z] #6 1.128 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-02T17:19:12.529Z] #6 DONE 1.2s [2024-01-02T17:19:12.529Z] [2024-01-02T17:19:12.529Z] #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-02T17:19:13.503Z] #7 DONE 0.8s [2024-01-02T17:19:13.503Z] [2024-01-02T17:19:13.503Z] #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-02T17:19:14.087Z] #8 0.746 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-02T17:19:14.671Z] #8 1.112 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-02T17:19:15.253Z] #8 1.661 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-02T17:19:15.836Z] #8 2.528 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-02T17:19:16.103Z] #8 2.559 (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-02T17:19:16.382Z] #8 2.856 (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-02T17:19:16.382Z] #8 2.873 (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-02T17:19:16.382Z] #8 2.880 (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-02T17:19:16.382Z] #8 2.886 (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-02T17:19:16.382Z] #8 2.894 (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-02T17:19:16.382Z] #8 2.921 (7/11) Installing libblkid (2.38.1-r8) [2024-01-02T17:19:16.382Z] #8 2.935 (8/11) Installing libfdisk (2.38.1-r8) [2024-01-02T17:19:16.382Z] #8 2.952 (9/11) Installing libmount (2.38.1-r8) [2024-01-02T17:19:16.382Z] #8 2.968 (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-02T17:19:16.382Z] #8 2.980 (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-02T17:19:16.382Z] #8 3.055 Executing busybox-1.36.1-r4.trigger [2024-01-02T17:19:16.651Z] #8 3.095 OK: 333 MiB in 100 packages [2024-01-02T17:19:16.920Z] #8 DONE 3.4s [2024-01-02T17:19:16.920Z] [2024-01-02T17:19:16.920Z] #9 [ 5/11] COPY VERSION /edgex-c-sdk/ [2024-01-02T17:19:16.920Z] #9 DONE 0.1s [2024-01-02T17:19:16.920Z] [2024-01-02T17:19:16.920Z] #10 [ 6/11] COPY src /edgex-c-sdk/src/ [2024-01-02T17:19:17.189Z] #10 DONE 0.2s [2024-01-02T17:19:17.189Z] [2024-01-02T17:19:17.189Z] #11 [ 7/11] COPY include /edgex-c-sdk/include/ [2024-01-02T17:19:17.189Z] #11 DONE 0.1s [2024-01-02T17:19:17.189Z] [2024-01-02T17:19:17.189Z] #12 [ 8/11] COPY scripts /edgex-c-sdk/scripts [2024-01-02T17:19:17.189Z] #12 DONE 0.1s [2024-01-02T17:19:17.189Z] [2024-01-02T17:19:17.189Z] #13 [ 9/11] COPY LICENSE /edgex-c-sdk/ [2024-01-02T17:19:17.459Z] #13 DONE 0.1s [2024-01-02T17:19:17.459Z] [2024-01-02T17:19:17.459Z] #14 [10/11] COPY Attribution.txt /edgex-c-sdk/ [2024-01-02T17:19:17.459Z] #14 DONE 0.1s [2024-01-02T17:19:17.459Z] [2024-01-02T17:19:17.459Z] #15 [11/11] WORKDIR /edgex-c-sdk [2024-01-02T17:19:17.459Z] #15 DONE 0.1s [2024-01-02T17:19:17.727Z] [2024-01-02T17:19:17.727Z] #16 exporting to image [2024-01-02T17:19:17.727Z] #16 exporting layers [2024-01-02T17:19:17.996Z] #16 exporting layers 0.4s done [2024-01-02T17:19:17.996Z] #16 writing image sha256:b463eadef9bc05d266cf42df6c496cf71d5372032586870b258247336b31b6d9 done [2024-01-02T17:19:17.996Z] #16 naming to docker.io/library/device-sdk-arm64 done [2024-01-02T17:19:17.996Z] #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-02T17:19:18.757Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-02T17:19:18.757Z] [2024-01-02T17:19:18.757Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-02T17:19:19.121Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-02T17:19:20.528Z] arm64: Pulling from edgex-lftools-log-publisher [2024-01-02T17:19:20.528Z] 8998bd30e6a1: Pulling fs layer [2024-01-02T17:19:20.528Z] 04944245beec: Pulling fs layer [2024-01-02T17:19:20.528Z] 699f458cf7ca: Pulling fs layer [2024-01-02T17:19:20.528Z] 765212b225bb: Pulling fs layer [2024-01-02T17:19:20.528Z] f23df028b6ca: Pulling fs layer [2024-01-02T17:19:20.528Z] d65c8cfc05b1: Pulling fs layer [2024-01-02T17:19:20.528Z] 2437ff75d9bd: Pulling fs layer [2024-01-02T17:19:20.528Z] 765212b225bb: Waiting [2024-01-02T17:19:20.528Z] f23df028b6ca: Waiting [2024-01-02T17:19:20.528Z] d65c8cfc05b1: Waiting [2024-01-02T17:19:20.528Z] 2437ff75d9bd: Waiting [2024-01-02T17:19:20.528Z] 04944245beec: Verifying Checksum [2024-01-02T17:19:20.528Z] 04944245beec: Download complete [2024-01-02T17:19:20.528Z] 765212b225bb: Verifying Checksum [2024-01-02T17:19:20.528Z] 765212b225bb: Download complete [2024-01-02T17:19:20.528Z] f23df028b6ca: Verifying Checksum [2024-01-02T17:19:20.528Z] f23df028b6ca: Download complete [2024-01-02T17:19:20.528Z] d65c8cfc05b1: Download complete [2024-01-02T17:19:20.528Z] 699f458cf7ca: Verifying Checksum [2024-01-02T17:19:20.528Z] 699f458cf7ca: Download complete [2024-01-02T17:19:21.113Z] 8998bd30e6a1: Download complete [2024-01-02T17:19:23.062Z] 2437ff75d9bd: Verifying Checksum [2024-01-02T17:19:23.062Z] 2437ff75d9bd: Download complete [2024-01-02T17:19:27.325Z] 8998bd30e6a1: Pull complete [2024-01-02T17:19:27.592Z] 04944245beec: Pull complete [2024-01-02T17:19:29.539Z] 699f458cf7ca: Pull complete [2024-01-02T17:19:29.539Z] 765212b225bb: Pull complete [2024-01-02T17:19:30.123Z] f23df028b6ca: Pull complete [2024-01-02T17:19:30.123Z] d65c8cfc05b1: Pull complete [2024-01-02T17:19:52.184Z] 2437ff75d9bd: Pull complete [2024-01-02T17:19:52.184Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-01-02T17:19:52.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-02T17:19:52.184Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-02T17:19:52.451Z] prd-ubuntu20.04-docker-arm64-4c-16g-26650 does not seem to be running inside a container [2024-01-02T17:19:52.518Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-01-02T17:19:53.676Z] $ docker top e987a3e7295afbbbccb80a3aa548b281d47fabf33fb9ed12a1e4aff49c84992f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:19:54.211Z] ---> job-cost.sh [2024-01-02T17:19:54.477Z] lf-activate-venv: SKIPPING [2024-01-02T17:19:54.477Z] INFO: No Stack... [2024-01-02T17:19:54.743Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-02T17:19:55.324Z] INFO: Archiving Costs [Pipeline] sh [2024-01-02T17:19:55.641Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2024-01-02T17:19:55.641Z] + cut -d, -f6 [Pipeline] lock [2024-01-02T17:19:55.697Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-505-2-stack-cost] [2024-01-02T17:19:55.703Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-505-2-stack-cost] did not exist. Created. [2024-01-02T17:19:55.703Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-505-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-02T17:19:56.098Z] /w/workspace/device-sdk-c/2@tmp/durable-b4f1887b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-01-02T17:19:56.411Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-02T17:19:56.460Z] Warning: overwriting stash ‘stack-cost’ [2024-01-02T17:19:56.870Z] Stashed 1 file(s) [Pipeline] } [2024-01-02T17:19:56.878Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-505-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-02T17:19:56.963Z] $ docker stop --time=1 e987a3e7295afbbbccb80a3aa548b281d47fabf33fb9ed12a1e4aff49c84992f [2024-01-02T17:19:58.312Z] $ docker rm -f --volumes e987a3e7295afbbbccb80a3aa548b281d47fabf33fb9ed12a1e4aff49c84992f [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-02T17:20:00.014Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives ] [2024-01-02T17:20:00.014Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives [2024-01-02T17:20:00.014Z] total 16 [2024-01-02T17:20:00.014Z] drwxr-xr-x 3 root root 4096 Jan 2 17:15 . [2024-01-02T17:20:00.014Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 2 17:15 .. [2024-01-02T17:20:00.014Z] drwxr-xr-x 2 root root 4096 Jan 2 17:15 cost [2024-01-02T17:20:00.014Z] -rw-r--r-- 1 root root 84 Jan 2 17:15 cost.csv [2024-01-02T17:20:00.014Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives [2024-01-02T17:20:00.014Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives [2024-01-02T17:20:00.014Z] total 16 [2024-01-02T17:20:00.014Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 2 17:15 . [2024-01-02T17:20:00.014Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 2 17:15 .. [2024-01-02T17:20:00.014Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 2 17:15 cost [2024-01-02T17:20:00.014Z] -rw-r--r-- 1 jenkins jenkins 84 Jan 2 17:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:20:00.303Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:20:01.164Z] ---> package-listing.sh [2024-01-02T17:20:01.164Z] ++ facter osfamily [2024-01-02T17:20:01.164Z] ++ tr '[:upper:]' '[:lower:]' [2024-01-02T17:20:01.424Z] + OS_FAMILY=debian [2024-01-02T17:20:01.424Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-505 [2024-01-02T17:20:01.424Z] + START_PACKAGES=/tmp/packages_start.txt [2024-01-02T17:20:01.424Z] + END_PACKAGES=/tmp/packages_end.txt [2024-01-02T17:20:01.424Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-01-02T17:20:01.424Z] + PACKAGES=/tmp/packages_start.txt [2024-01-02T17:20:01.424Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-505 ']' [2024-01-02T17:20:01.424Z] + PACKAGES=/tmp/packages_end.txt [2024-01-02T17:20:01.424Z] + case "${OS_FAMILY}" in [2024-01-02T17:20:01.424Z] + dpkg -l [2024-01-02T17:20:01.424Z] + grep '^ii' [2024-01-02T17:20:01.424Z] + '[' -f /tmp/packages_start.txt ']' [2024-01-02T17:20:01.424Z] + '[' -f /tmp/packages_end.txt ']' [2024-01-02T17:20:01.424Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-01-02T17:20:01.424Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-505 ']' [2024-01-02T17:20:01.424Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives/ [2024-01-02T17:20:01.424Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives/ [Pipeline] echo [2024-01-02T17:20:01.434Z] 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-505/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-01-02T17:20:01.712Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-02T17:20:02.297Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-02T17:20:02.297Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-02T17:20:02.448Z] prd-ubuntu20.04-docker-8c-8g-26649 does not seem to be running inside a container [2024-01-02T17:20:02.487Z] $ 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-505/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-505 -v /w/workspace/edgexfoundry_device-sdk-c_PR-505:/w/workspace/edgexfoundry_device-sdk-c_PR-505:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-505@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-02T17:20:02.715Z] $ docker top ea34d9ea0c9e0adf965c49aa52c7085dcfd6a544070732663cf8e69d31e31e4a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-02T17:20:03.116Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-01-02T17:20:03.398Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-01-02T17:20:03.702Z] + ls /var/log/sa-host [2024-01-02T17:20:03.702Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-02T17:20:03.902Z] provisioning config files... [2024-01-02T17:20:03.924Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/config4228758347223632190tmp [Pipeline] { [Pipeline] echo [2024-01-02T17:20:03.984Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:20:04.316Z] ---> create-netrc.sh [Pipeline] } [2024-01-02T17:20:04.335Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:20:04.740Z] ---> python-tools-install.sh [Pipeline] echo [2024-01-02T17:20:04.751Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:20:05.035Z] ---> sudo-logs.sh [2024-01-02T17:20:05.036Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-01-02T17:20:05.094Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:20:05.375Z] ---> job-cost.sh [2024-01-02T17:20:05.375Z] lf-activate-venv: SKIPPING [2024-01-02T17:20:05.375Z] DEBUG: total: 0.2199999988079071 [2024-01-02T17:20:05.375Z] INFO: Retrieving Stack Cost... [2024-01-02T17:20:05.638Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-02T17:20:05.898Z] INFO: Archiving Costs [Pipeline] echo [2024-01-02T17:20:05.912Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-02T17:20:06.203Z] ---> logs-deploy.sh [2024-01-02T17:20:06.204Z] lf-activate-venv: SKIPPING [2024-01-02T17:20:06.204Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-505/2 [2024-01-02T17:20:06.204Z] INFO: archiving workspace using pattern(s): [2024-01-02T17:20:07.144Z] Archives upload complete. [2024-01-02T17:20:07.144Z] INFO: archiving logs to Nexus