Pull request #506 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 cc6030f98c33a14dda0a6095f4ce0474184eaaa8 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-ssh16165458373112365074.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-ssh9386586337300872939.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-506/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-506/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4435394221321488501.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-ssh17859879548804424577.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-506/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-506/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2165377046244229103.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-26678 in /w/workspace/edgexfoundry_device-sdk-c_PR-506 [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-506 # 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/506/head:refs/remotes/origin/PR-506 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit cc6030f98c33a14dda0a6095f4ce0474184eaaa8 Merge succeeded, producing cc6030f98c33a14dda0a6095f4ce0474184eaaa8 Checking out Revision cc6030f98c33a14dda0a6095f4ce0474184eaaa8 (PR-506) > git config core.sparsecheckout # timeout=10 > git checkout -f cc6030f98c33a14dda0a6095f4ce0474184eaaa8 # 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 cc6030f98c33a14dda0a6095f4ce0474184eaaa8 # timeout=10 Commit message: "fix:When reading's value is string type, it will be released prematurely" First time build. Skipping changelog. > git rev-list --no-walk 5e3c3b99b2105c9eda3b86913cfd473c12eaacf7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-01-03T02:54:02.358Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-01-03T02:54:02.427Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-01-03T02:54:02.457Z] ========================================================= [2024-01-03T02:54:02.457Z] EdgeX Global Pipelines Version Info [2024-01-03T02:54:02.457Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-01-03T02:54:03.191Z] ------------------- [2024-01-03T02:54:03.191Z] stable info: [2024-01-03T02:54:03.191Z] ------------------- [2024-01-03T02:54:03.191Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-01-03T02:54:03.191Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-03T02:54:03.191Z] Message: update stable to v1.0.258 [2024-01-03T02:54:03.763Z] ------------------- [2024-01-03T02:54:03.763Z] experimental info: [2024-01-03T02:54:03.763Z] ------------------- [2024-01-03T02:54:03.763Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-01-03T02:54:03.763Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-03T02:54:03.763Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-01-03T02:54:03.856Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-01-03T02:54:03.879Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-01-03T02:54:03.908Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-01-03T02:54:03.937Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-01-03T02:54:03.968Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-01-03T02:54:04.005Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-01-03T02:54:04.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-01-03T02:54:04.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-01-03T02:54:04.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-01-03T02:54:04.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-01-03T02:54:04.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-01-03T02:54:04.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-01-03T02:54:04.206Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-01-03T02:54:04.233Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-01-03T02:54:04.261Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-01-03T02:54:04.297Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-01-03T02:54:04.331Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-01-03T02:54:04.362Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-506 [Pipeline] echo [2024-01-03T02:54:04.395Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-506 [Pipeline] echo [2024-01-03T02:54:04.433Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-506 [Pipeline] echo [2024-01-03T02:54:04.465Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc6030f98c33a14dda0a6095f4ce0474184eaaa8 [Pipeline] echo [2024-01-03T02:54:04.504Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc6030f [Pipeline] echo [2024-01-03T02:54:04.544Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-03T02:54:04.625Z] provisioning config files... [2024-01-03T02:54:04.639Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/config829972406472488139tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-03T02:54:04.998Z] ---> ****-login.sh [2024-01-03T02:54:04.998Z] nexus3.edgexfoundry.org:10001 [2024-01-03T02:54:05.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:54:05.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:54:05.273Z] Configure a credential helper to remove this warning. See [2024-01-03T02:54:05.273Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:54:05.273Z] [2024-01-03T02:54:05.273Z] Login Succeeded [2024-01-03T02:54:05.273Z] nexus3.edgexfoundry.org:10002 [2024-01-03T02:54:05.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:54:05.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:54:05.538Z] Configure a credential helper to remove this warning. See [2024-01-03T02:54:05.538Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:54:05.538Z] [2024-01-03T02:54:05.538Z] Login Succeeded [2024-01-03T02:54:05.538Z] nexus3.edgexfoundry.org:10003 [2024-01-03T02:54:05.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:54:05.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:54:05.539Z] Configure a credential helper to remove this warning. See [2024-01-03T02:54:05.539Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:54:05.539Z] [2024-01-03T02:54:05.539Z] Login Succeeded [2024-01-03T02:54:05.539Z] nexus3.edgexfoundry.org:10004 [2024-01-03T02:54:05.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:54:05.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:54:05.805Z] Configure a credential helper to remove this warning. See [2024-01-03T02:54:05.805Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:54:05.805Z] [2024-01-03T02:54:05.805Z] Login Succeeded [2024-01-03T02:54:05.805Z] ****.io [2024-01-03T02:54:05.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:54:06.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:54:06.066Z] Configure a credential helper to remove this warning. See [2024-01-03T02:54:06.066Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:54:06.066Z] [2024-01-03T02:54:06.066Z] Login Succeeded [2024-01-03T02:54:06.066Z] ---> ****-login.sh ends [Pipeline] } [2024-01-03T02:54:06.076Z] 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-03T02:54:06.543Z] + git rev-list -1 --merges cc6030f98c33a14dda0a6095f4ce0474184eaaa8~1..cc6030f98c33a14dda0a6095f4ce0474184eaaa8 [Pipeline] echo [2024-01-03T02:54:06.578Z] -----------> git rev-list -1 --merges cc6030f98c33a14dda0a6095f4ce0474184eaaa8~1..cc6030f98c33a14dda0a6095f4ce0474184eaaa8 cc6030f98c33a14dda0a6095f4ce0474184eaaa8 [false] [Pipeline] sh [2024-01-03T02:54:06.881Z] + git log --format=format:%s -1 cc6030f98c33a14dda0a6095f4ce0474184eaaa8 [Pipeline] echo [2024-01-03T02:54:06.895Z] ========================================================= [2024-01-03T02:54:06.895Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-03T02:54:06.895Z] ========================================================= 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-03T02:54:07.424Z] + git rev-list -1 --merges cc6030f98c33a14dda0a6095f4ce0474184eaaa8~1..cc6030f98c33a14dda0a6095f4ce0474184eaaa8 [Pipeline] echo [2024-01-03T02:54:07.437Z] -----------> git rev-list -1 --merges cc6030f98c33a14dda0a6095f4ce0474184eaaa8~1..cc6030f98c33a14dda0a6095f4ce0474184eaaa8 cc6030f98c33a14dda0a6095f4ce0474184eaaa8 [false] [Pipeline] sh [2024-01-03T02:54:07.742Z] + git log --format=format:%s -1 cc6030f98c33a14dda0a6095f4ce0474184eaaa8 [Pipeline] echo [2024-01-03T02:54:07.759Z] ========================================================= [2024-01-03T02:54:07.759Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-03T02:54:07.759Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-01-03T02:54:08.226Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-03T02:54:08.226Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-01-03T02:54:08.226Z] + [ -e /tmp/ssh_known_hosts ] [2024-01-03T02:54:08.226Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-01-03T02:54:08.226Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-01-03T02:54:08.226Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-01-03T02:54:08.226Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T02:54:08.672Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-03T02:54:08.672Z] [2024-01-03T02:54:08.672Z] 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-03T02:54:08.987Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-03T02:54:08.987Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-01-03T02:54:08.987Z] b85a868b505f: Pulling fs layer [2024-01-03T02:54:08.987Z] e2be974225ed: Pulling fs layer [2024-01-03T02:54:08.987Z] 339a4e72a1f5: Pulling fs layer [2024-01-03T02:54:08.987Z] 988bab9f4d93: Pulling fs layer [2024-01-03T02:54:08.987Z] 1469e6f7b9e6: Pulling fs layer [2024-01-03T02:54:08.987Z] eaf3925da568: Pulling fs layer [2024-01-03T02:54:08.987Z] bab4dde63d76: Pulling fs layer [2024-01-03T02:54:08.987Z] bde34c3a00c8: Pulling fs layer [2024-01-03T02:54:08.987Z] b352a97aabf1: Pulling fs layer [2024-01-03T02:54:08.987Z] 988bab9f4d93: Waiting [2024-01-03T02:54:08.987Z] 1469e6f7b9e6: Waiting [2024-01-03T02:54:08.987Z] eaf3925da568: Waiting [2024-01-03T02:54:08.987Z] bab4dde63d76: Waiting [2024-01-03T02:54:08.987Z] bde34c3a00c8: Waiting [2024-01-03T02:54:08.987Z] 4872d77fe225: Pulling fs layer [2024-01-03T02:54:08.987Z] 5851b861e8e6: Pulling fs layer [2024-01-03T02:54:08.987Z] b352a97aabf1: Waiting [2024-01-03T02:54:08.987Z] 4872d77fe225: Waiting [2024-01-03T02:54:08.987Z] 5851b861e8e6: Waiting [2024-01-03T02:54:08.987Z] e2be974225ed: Verifying Checksum [2024-01-03T02:54:08.987Z] e2be974225ed: Download complete [2024-01-03T02:54:08.987Z] 988bab9f4d93: Verifying Checksum [2024-01-03T02:54:08.987Z] 988bab9f4d93: Download complete [2024-01-03T02:54:09.247Z] 1469e6f7b9e6: Verifying Checksum [2024-01-03T02:54:09.247Z] 1469e6f7b9e6: Download complete [2024-01-03T02:54:09.247Z] 339a4e72a1f5: Verifying Checksum [2024-01-03T02:54:09.247Z] 339a4e72a1f5: Download complete [2024-01-03T02:54:09.247Z] eaf3925da568: Verifying Checksum [2024-01-03T02:54:09.247Z] eaf3925da568: Download complete [2024-01-03T02:54:09.247Z] bde34c3a00c8: Verifying Checksum [2024-01-03T02:54:09.247Z] bde34c3a00c8: Download complete [2024-01-03T02:54:09.247Z] b352a97aabf1: Download complete [2024-01-03T02:54:09.247Z] 4872d77fe225: Verifying Checksum [2024-01-03T02:54:09.247Z] 4872d77fe225: Download complete [2024-01-03T02:54:09.247Z] 5851b861e8e6: Verifying Checksum [2024-01-03T02:54:09.247Z] 5851b861e8e6: Download complete [2024-01-03T02:54:09.247Z] b85a868b505f: Verifying Checksum [2024-01-03T02:54:09.247Z] b85a868b505f: Download complete [2024-01-03T02:54:09.506Z] bab4dde63d76: Verifying Checksum [2024-01-03T02:54:09.506Z] bab4dde63d76: Download complete [2024-01-03T02:54:10.443Z] b85a868b505f: Pull complete [2024-01-03T02:54:10.703Z] e2be974225ed: Pull complete [2024-01-03T02:54:11.272Z] 339a4e72a1f5: Pull complete [2024-01-03T02:54:11.272Z] 988bab9f4d93: Pull complete [2024-01-03T02:54:11.534Z] 1469e6f7b9e6: Pull complete [2024-01-03T02:54:11.795Z] eaf3925da568: Pull complete [2024-01-03T02:54:13.707Z] bab4dde63d76: Pull complete [2024-01-03T02:54:13.707Z] bde34c3a00c8: Pull complete [2024-01-03T02:54:13.707Z] b352a97aabf1: Pull complete [2024-01-03T02:54:13.968Z] 4872d77fe225: Pull complete [2024-01-03T02:54:13.968Z] 5851b861e8e6: Pull complete [2024-01-03T02:54:13.968Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-01-03T02:54:13.968Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-03T02:54:13.968Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-03T02:54:14.156Z] prd-ubuntu20.04-docker-8c-8g-26678 does not seem to be running inside a container [2024-01-03T02:54:14.189Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-506 -v /w/workspace/edgexfoundry_device-sdk-c_PR-506:/w/workspace/edgexfoundry_device-sdk-c_PR-506:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-01-03T02:54:18.116Z] $ docker top f6070094a9a1f98276204e284e35afce38faf4ed0caaf6dc8596526a3fed0c29 -eo pid,comm [2024-01-03T02:54:18.173Z] 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-03T02:54:18.173Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-03T02:54:18.262Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-03T02:54:18.262Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-03T02:54:18.381Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-03T02:54:18.382Z] $ docker exec f6070094a9a1f98276204e284e35afce38faf4ed0caaf6dc8596526a3fed0c29 ssh-agent [2024-01-03T02:54:18.502Z] SSH_AUTH_SOCK=/tmp/ssh-G176gpp9Szz0/agent.33 [2024-01-03T02:54:18.502Z] SSH_AGENT_PID=40 [2024-01-03T02:54:18.509Z] Running ssh-add (command line suppressed) [2024-01-03T02:54:18.614Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/private_key_5894077388068050455.key (/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/private_key_5894077388068050455.key) [2024-01-03T02:54:18.628Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-03T02:54:18.934Z] + git tag --points-at HEAD [Pipeline] } [2024-01-03T02:54:18.945Z] $ docker exec --env ******** --env ******** f6070094a9a1f98276204e284e35afce38faf4ed0caaf6dc8596526a3fed0c29 ssh-agent -k [2024-01-03T02:54:19.047Z] unset SSH_AUTH_SOCK; [2024-01-03T02:54:19.047Z] unset SSH_AGENT_PID; [2024-01-03T02:54:19.047Z] echo Agent pid 40 killed; [2024-01-03T02:54:19.058Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-01-03T02:54:19.122Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-03T02:54:19.122Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-03T02:54:19.238Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-03T02:54:19.240Z] $ docker exec f6070094a9a1f98276204e284e35afce38faf4ed0caaf6dc8596526a3fed0c29 ssh-agent [2024-01-03T02:54:19.360Z] SSH_AUTH_SOCK=/tmp/ssh-bvh834QjNhBh/agent.73 [2024-01-03T02:54:19.360Z] SSH_AGENT_PID=79 [2024-01-03T02:54:19.366Z] Running ssh-add (command line suppressed) [2024-01-03T02:54:19.466Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/private_key_14418098262528383897.key (/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/private_key_14418098262528383897.key) [2024-01-03T02:54:19.482Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-03T02:54:19.786Z] + git semver init [2024-01-03T02:54:20.047Z] 2024-01-03 02:54:19,956 [run_init] DEBUG init version:0.0.0 force:False [2024-01-03T02:54:20.047Z] 2024-01-03 02:54:19,957 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver [2024-01-03T02:54:20.047Z] 2024-01-03 02:54:19,958 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver [2024-01-03T02:54:20.047Z] 2024-01-03 02:54:19,958 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-506, universal_newlines=False, shell=None, istream=None) [2024-01-03T02:54:20.989Z] 2024-01-03 02:54:20,779 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-506/.git/info/exclude [2024-01-03T02:54:20.989Z] 2024-01-03 02:54:20,780 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver/PR-506 with force:False [2024-01-03T02:54:20.989Z] 2024-01-03 02:54:20,780 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver/PR-506 [2024-01-03T02:54:20.989Z] 2024-01-03 02:54:20,785 [execute] INFO git cat-file --batch-check [2024-01-03T02:54:20.989Z] 2024-01-03 02:54:20,785 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver, universal_newlines=False, shell=None, istream=) [2024-01-03T02:54:20.989Z] 2024-01-03 02:54:20,791 [execute] INFO git cat-file --batch [2024-01-03T02:54:20.989Z] 2024-01-03 02:54:20,791 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver, universal_newlines=False, shell=None, istream=) [2024-01-03T02:54:20.989Z] 2024-01-03 02:54:20,795 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver/PR-506 [2024-01-03T02:54:20.989Z] 0.0.0 [Pipeline] } [2024-01-03T02:54:20.998Z] $ docker exec --env ******** --env ******** f6070094a9a1f98276204e284e35afce38faf4ed0caaf6dc8596526a3fed0c29 ssh-agent -k [2024-01-03T02:54:21.107Z] unset SSH_AUTH_SOCK; [2024-01-03T02:54:21.108Z] unset SSH_AGENT_PID; [2024-01-03T02:54:21.108Z] echo Agent pid 79 killed; [2024-01-03T02:54:21.117Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-03T02:54:21.500Z] + git semver [Pipeline] } [2024-01-03T02:54:21.783Z] $ docker stop --time=1 f6070094a9a1f98276204e284e35afce38faf4ed0caaf6dc8596526a3fed0c29 [2024-01-03T02:54:23.086Z] $ docker rm -f --volumes f6070094a9a1f98276204e284e35afce38faf4ed0caaf6dc8596526a3fed0c29 [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-03T02:54:23.461Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-01-03T02:54:23.733Z] Stashed 1 file(s) [Pipeline] echo [2024-01-03T02:54:23.737Z] [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-03T02:54:24.022Z] provisioning config files... [2024-01-03T02:54:24.034Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/config6594019057438153285tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-03T02:54:24.346Z] ---> ****-login.sh [2024-01-03T02:54:24.346Z] nexus3.edgexfoundry.org:10001 [2024-01-03T02:54:24.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:54:24.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:54:24.346Z] Configure a credential helper to remove this warning. See [2024-01-03T02:54:24.346Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:54:24.346Z] [2024-01-03T02:54:24.346Z] Login Succeeded [2024-01-03T02:54:24.346Z] nexus3.edgexfoundry.org:10002 [2024-01-03T02:54:24.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:54:24.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:54:24.346Z] Configure a credential helper to remove this warning. See [2024-01-03T02:54:24.347Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:54:24.347Z] [2024-01-03T02:54:24.347Z] Login Succeeded [2024-01-03T02:54:24.347Z] nexus3.edgexfoundry.org:10003 [2024-01-03T02:54:24.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:54:24.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:54:24.606Z] Configure a credential helper to remove this warning. See [2024-01-03T02:54:24.607Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:54:24.607Z] [2024-01-03T02:54:24.607Z] Login Succeeded [2024-01-03T02:54:24.607Z] nexus3.edgexfoundry.org:10004 [2024-01-03T02:54:24.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:54:24.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:54:24.607Z] Configure a credential helper to remove this warning. See [2024-01-03T02:54:24.607Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:54:24.607Z] [2024-01-03T02:54:24.607Z] Login Succeeded [2024-01-03T02:54:24.607Z] ****.io [2024-01-03T02:54:24.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:54:24.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:54:24.867Z] Configure a credential helper to remove this warning. See [2024-01-03T02:54:24.867Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:54:24.867Z] [2024-01-03T02:54:24.867Z] Login Succeeded [2024-01-03T02:54:24.867Z] ---> ****-login.sh ends [Pipeline] } [2024-01-03T02:54:24.876Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-03T02:54:25.012Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-03T02:54:25.044Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-01-03T02:54:25.075Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-03T02:54:25.103Z] ========================================================= [2024-01-03T02:54:25.103Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-01-03T02:54:25.103Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T02:54:25.474Z] + 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-03T02:54:25.474Z] Sending build context to Docker daemon 4.964MB [2024-01-03T02:54:25.474Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-01-03T02:54:25.474Z] Step 2/21 : FROM ${BASE} as builder [2024-01-03T02:54:25.474Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-01-03T02:54:25.474Z] 96526aa774ef: Pulling fs layer [2024-01-03T02:54:25.474Z] da60e534fd72: Pulling fs layer [2024-01-03T02:54:25.735Z] 96526aa774ef: Verifying Checksum [2024-01-03T02:54:25.735Z] 96526aa774ef: Download complete [2024-01-03T02:54:25.735Z] 96526aa774ef: Pull complete [2024-01-03T02:54:26.673Z] da60e534fd72: Verifying Checksum [2024-01-03T02:54:26.673Z] da60e534fd72: Download complete [2024-01-03T02:54:29.965Z] da60e534fd72: Pull complete [2024-01-03T02:54:29.965Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-01-03T02:54:29.965Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-01-03T02:54:29.965Z] ---> 6605166a5db4 [2024-01-03T02:54:29.965Z] 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-03T02:54:31.878Z] ---> Running in 867fabc439c0 [2024-01-03T02:54:32.139Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-03T02:54:32.716Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-03T02:54:32.716Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-03T02:54:32.716Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-03T02:54:33.287Z] Removing intermediate container 867fabc439c0 [2024-01-03T02:54:33.287Z] ---> fc0d47516424 [2024-01-03T02:54:33.287Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-03T02:54:33.287Z] ---> Running in e440f9111433 [2024-01-03T02:54:33.858Z] Removing intermediate container e440f9111433 [2024-01-03T02:54:33.858Z] ---> d0c7f1b2275c [2024-01-03T02:54:33.858Z] 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-03T02:54:33.858Z] ---> Running in 0d0499aa117e [2024-01-03T02:54:34.125Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-03T02:54:34.386Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-03T02:54:34.646Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-03T02:54:35.217Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-03T02:54:35.217Z] (1/17) Installing hiredis (1.1.0-r2) [2024-01-03T02:54:35.217Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-03T02:54:35.217Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-03T02:54:35.788Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-03T02:54:35.788Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-03T02:54:36.048Z] (6/17) Installing libcbor (0.10.2-r1) [2024-01-03T02:54:36.048Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-03T02:54:36.048Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-03T02:54:36.048Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-03T02:54:36.048Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-03T02:54:36.048Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-03T02:54:36.048Z] (12/17) Installing libblkid (2.38.1-r8) [2024-01-03T02:54:36.048Z] (13/17) Installing libuuid (2.38.1-r8) [2024-01-03T02:54:36.048Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-01-03T02:54:36.048Z] (15/17) Installing libmount (2.38.1-r8) [2024-01-03T02:54:36.048Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-03T02:54:36.048Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-03T02:54:36.424Z] Executing busybox-1.36.1-r4.trigger [2024-01-03T02:54:36.424Z] OK: 336 MiB in 99 packages [2024-01-03T02:54:36.999Z] Removing intermediate container 0d0499aa117e [2024-01-03T02:54:36.999Z] ---> 58f2b13fd094 [2024-01-03T02:54:36.999Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-01-03T02:54:36.999Z] ---> Running in 6a831ee480b8 [2024-01-03T02:54:37.569Z] Removing intermediate container 6a831ee480b8 [2024-01-03T02:54:37.569Z] ---> b93c48ba5bfb [2024-01-03T02:54:37.569Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-01-03T02:54:37.569Z] ---> 312f1668928b [2024-01-03T02:54:37.569Z] Step 8/21 : COPY src /tmp/sdk/src [2024-01-03T02:54:37.832Z] ---> 025ed7dd19a1 [2024-01-03T02:54:37.832Z] Step 9/21 : COPY include /tmp/sdk/include [2024-01-03T02:54:37.832Z] ---> f7f8492f500d [2024-01-03T02:54:37.832Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-01-03T02:54:38.091Z] ---> ce773a0594d8 [2024-01-03T02:54:38.091Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-01-03T02:54:38.091Z] ---> b953c39afaa1 [2024-01-03T02:54:38.091Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-01-03T02:54:38.351Z] ---> 73e98c34ac08 [2024-01-03T02:54:38.351Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-03T02:54:38.351Z] ---> Running in d7872c581d6e [2024-01-03T02:54:38.610Z] + CPPCHECK=false [2024-01-03T02:54:38.610Z] + DOCGEN=false [2024-01-03T02:54:38.610Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-03T02:54:38.610Z] + '[' 0 -gt 0 ] [2024-01-03T02:54:38.610Z] + readlink -f ./scripts/build.sh [2024-01-03T02:54:38.610Z] + dirname /tmp/sdk/scripts/build.sh [2024-01-03T02:54:38.610Z] + dirname /tmp/sdk/scripts [2024-01-03T02:54:38.610Z] + ROOT=/tmp/sdk [2024-01-03T02:54:38.610Z] + cd /tmp/sdk [2024-01-03T02:54:38.610Z] + mkdir -p /tmp/sdk/build/release [2024-01-03T02:54:38.610Z] + cd /tmp/sdk/build/release [2024-01-03T02:54:38.610Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-03T02:54:38.610Z] -- The C compiler identification is GNU 12.2.1 [2024-01-03T02:54:38.610Z] -- Detecting C compiler ABI info [2024-01-03T02:54:38.610Z] -- Detecting C compiler ABI info - done [2024-01-03T02:54:38.870Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-03T02:54:38.870Z] -- Detecting C compile features [2024-01-03T02:54:38.870Z] -- Detecting C compile features - done [2024-01-03T02:54:38.870Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-03T02:54:38.870Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-03T02:54:38.870Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-03T02:54:38.870Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-03T02:54:38.870Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-03T02:54:38.870Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-03T02:54:38.870Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-03T02:54:38.870Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-03T02:54:38.870Z] -- /opt/iotech/iot/1.5/include [2024-01-03T02:54:38.870Z] -- C SDK 0.0.0 for Linux [2024-01-03T02:54:38.870Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-03T02:54:38.870Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-03T02:54:38.870Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-03T02:54:38.870Z] -- Configuring done (0.4s) [2024-01-03T02:54:38.920Z] Still waiting to schedule task [2024-01-03T02:54:38.920Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-01-03T02:54:39.136Z] -- Generating done (0.0s) [2024-01-03T02:54:39.137Z] -- Build files have been written to: /tmp/sdk/build/release [2024-01-03T02:54:39.137Z] + make all package [2024-01-03T02:54:39.137Z] + tee release.log [2024-01-03T02:54:39.137Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-03T02:54:39.137Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-03T02:54:39.397Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-03T02:54:39.397Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-03T02:54:39.657Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-03T02:54:39.657Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-03T02:54:39.917Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-03T02:54:40.181Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-03T02:54:40.181Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-03T02:54:40.181Z] 294 | while (privateConfig) [2024-01-03T02:54:40.181Z] | ^~~~~~~~~~~~~ [2024-01-03T02:54:40.181Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-03T02:54:40.181Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-03T02:54:40.181Z] | ^~~~~~~~~~~~~ [2024-01-03T02:54:40.181Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-03T02:54:40.181Z] 271 | while (result) [2024-01-03T02:54:40.181Z] | ^~~~~~ [2024-01-03T02:54:40.181Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-03T02:54:40.181Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-03T02:54:40.181Z] | ^~~~~~ [2024-01-03T02:54:40.181Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-03T02:54:40.181Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-03T02:54:40.181Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-03T02:54:40.442Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-03T02:54:40.701Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-03T02:54:40.701Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-03T02:54:40.963Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-03T02:54:40.963Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-03T02:54:41.223Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-03T02:54:41.224Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-03T02:54:41.483Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-03T02:54:41.483Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-03T02:54:41.742Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-03T02:54:42.002Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-03T02:54:42.939Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-03T02:54:42.939Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-03T02:54:42.939Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-03T02:54:43.198Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-03T02:54:43.198Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-03T02:54:43.457Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-03T02:54:43.716Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-03T02:54:43.716Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-03T02:54:43.984Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-03T02:54:43.984Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-03T02:54:43.984Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-03T02:54:43.984Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T02:54:43.984Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-03T02:54:43.984Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-03T02:54:43.984Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T02:54:43.984Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-03T02:54:43.984Z] | ^ [2024-01-03T02:54:44.243Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-03T02:54:44.243Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-03T02:54:44.243Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-03T02:54:44.243Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-03T02:54:44.243Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-03T02:54:44.243Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-03T02:54:44.502Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-03T02:54:44.503Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-03T02:54:44.503Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-03T02:54:44.761Z] [ 68%] Linking C shared library libcsdk.so [2024-01-03T02:54:44.761Z] [ 68%] Built target csdk [2024-01-03T02:54:44.761Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-03T02:54:45.029Z] [ 72%] Linking C executable template [2024-01-03T02:54:45.030Z] [ 72%] Built target template [2024-01-03T02:54:45.030Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-03T02:54:45.030Z] [ 76%] Linking C executable device-counter [2024-01-03T02:54:45.030Z] [ 76%] Built target device-counter [2024-01-03T02:54:45.296Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-03T02:54:45.296Z] [ 80%] Linking C executable device-random [2024-01-03T02:54:45.296Z] [ 80%] Built target device-random [2024-01-03T02:54:45.296Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-03T02:54:45.296Z] [ 84%] Linking C executable device-gyro [2024-01-03T02:54:45.556Z] [ 84%] Built target device-gyro [2024-01-03T02:54:45.556Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-03T02:54:45.556Z] [ 88%] Linking C executable device-bitfields [2024-01-03T02:54:45.556Z] [ 88%] Built target device-bitfields [2024-01-03T02:54:45.556Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-03T02:54:45.818Z] [ 92%] Linking C executable template-discovery [2024-01-03T02:54:45.818Z] [ 92%] Built target template-discovery [2024-01-03T02:54:45.818Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-03T02:54:46.080Z] [ 96%] Linking C executable device-file [2024-01-03T02:54:46.080Z] [ 96%] Built target device-file [2024-01-03T02:54:46.080Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-03T02:54:46.080Z] [100%] Linking C executable device-terminal [2024-01-03T02:54:46.341Z] [100%] Built target device-terminal [2024-01-03T02:54:46.341Z] Run CPack packaging tool... [2024-01-03T02:54:46.341Z] CPack: Create package using TGZ [2024-01-03T02:54:46.341Z] CPack: Install projects [2024-01-03T02:54:46.341Z] CPack: - Run preinstall target for: Csdk [2024-01-03T02:54:46.599Z] CPack: - Install project: Csdk [] [2024-01-03T02:54:46.599Z] CPack: Create package [2024-01-03T02:54:46.599Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-03T02:54:46.599Z] + '[' false '=' true ] [2024-01-03T02:54:46.599Z] + '[' false '=' true ] [2024-01-03T02:54:46.599Z] + mkdir -p /tmp/sdk/build/debug [2024-01-03T02:54:46.599Z] + cd /tmp/sdk/build/debug [2024-01-03T02:54:46.599Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-03T02:54:46.599Z] -- The C compiler identification is GNU 12.2.1 [2024-01-03T02:54:46.599Z] -- Detecting C compiler ABI info [2024-01-03T02:54:46.858Z] -- Detecting C compiler ABI info - done [2024-01-03T02:54:46.858Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-03T02:54:46.858Z] -- Detecting C compile features [2024-01-03T02:54:46.858Z] -- Detecting C compile features - done [2024-01-03T02:54:46.858Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-03T02:54:46.858Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-03T02:54:46.858Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-03T02:54:46.858Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-03T02:54:46.858Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-03T02:54:46.858Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-03T02:54:46.858Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-03T02:54:46.858Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-03T02:54:46.858Z] -- /opt/iotech/iot/1.5/include [2024-01-03T02:54:46.858Z] -- C SDK 0.0.0 for Linux [2024-01-03T02:54:46.858Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-03T02:54:46.859Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-03T02:54:46.859Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-03T02:54:47.118Z] -- Configuring done (0.4s) [2024-01-03T02:54:47.118Z] -- Generating done (0.0s) [2024-01-03T02:54:47.118Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-01-03T02:54:47.118Z] + make [2024-01-03T02:54:47.118Z] + tee debug.log [2024-01-03T02:54:47.118Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-03T02:54:47.118Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-03T02:54:47.118Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-03T02:54:47.378Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-03T02:54:47.378Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-03T02:54:47.378Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-03T02:54:47.637Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-03T02:54:47.637Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-03T02:54:47.637Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-03T02:54:47.637Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-03T02:54:47.897Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-03T02:54:47.897Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-03T02:54:47.897Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-03T02:54:48.157Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-03T02:54:48.157Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-03T02:54:48.157Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-03T02:54:48.157Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-03T02:54:48.418Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-03T02:54:48.418Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-03T02:54:48.418Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-03T02:54:48.677Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-03T02:54:48.677Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-03T02:54:48.940Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-03T02:54:48.940Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-03T02:54:48.940Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-03T02:54:48.940Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-03T02:54:49.200Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-03T02:54:49.200Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-03T02:54:49.460Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-03T02:54:49.460Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-03T02:54:49.460Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-03T02:54:49.460Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-03T02:54:49.460Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T02:54:49.460Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-03T02:54:49.460Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-03T02:54:49.460Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T02:54:49.460Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-03T02:54:49.460Z] | ^ [2024-01-03T02:54:49.720Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-03T02:54:49.720Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-03T02:54:49.720Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-03T02:54:49.720Z] [ 68%] Linking C shared library libcsdk.so [2024-01-03T02:54:49.994Z] [ 68%] Built target csdk [2024-01-03T02:54:49.994Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-03T02:54:49.994Z] [ 72%] Linking C executable template [2024-01-03T02:54:49.994Z] [ 72%] Built target template [2024-01-03T02:54:49.994Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-03T02:54:50.256Z] [ 76%] Linking C executable device-counter [2024-01-03T02:54:50.256Z] [ 76%] Built target device-counter [2024-01-03T02:54:50.256Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-03T02:54:50.256Z] [ 80%] Linking C executable device-random [2024-01-03T02:54:50.256Z] [ 80%] Built target device-random [2024-01-03T02:54:50.516Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-03T02:54:50.516Z] [ 84%] Linking C executable device-gyro [2024-01-03T02:54:50.516Z] [ 84%] Built target device-gyro [2024-01-03T02:54:50.516Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-03T02:54:50.516Z] [ 88%] Linking C executable device-bitfields [2024-01-03T02:54:50.777Z] [ 88%] Built target device-bitfields [2024-01-03T02:54:50.777Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-03T02:54:50.777Z] [ 92%] Linking C executable template-discovery [2024-01-03T02:54:50.777Z] [ 92%] Built target template-discovery [2024-01-03T02:54:50.777Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-03T02:54:51.037Z] [ 96%] Linking C executable device-file [2024-01-03T02:54:51.037Z] [ 96%] Built target device-file [2024-01-03T02:54:51.037Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-03T02:54:51.037Z] [100%] Linking C executable device-terminal [2024-01-03T02:54:51.037Z] [100%] Built target device-terminal [2024-01-03T02:54:51.297Z] make: Entering directory '/tmp/sdk/build/release' [2024-01-03T02:54:51.297Z] [ 68%] Built target csdk [2024-01-03T02:54:51.297Z] [ 72%] Built target template [2024-01-03T02:54:51.297Z] [ 76%] Built target device-counter [2024-01-03T02:54:51.297Z] [ 80%] Built target device-random [2024-01-03T02:54:51.297Z] [ 84%] Built target device-gyro [2024-01-03T02:54:51.297Z] [ 88%] Built target device-bitfields [2024-01-03T02:54:51.297Z] [ 92%] Built target template-discovery [2024-01-03T02:54:51.297Z] [ 96%] Built target device-file [2024-01-03T02:54:51.297Z] [100%] Built target device-terminal [2024-01-03T02:54:51.297Z] Install the project... [2024-01-03T02:54:51.297Z] -- Install configuration: "Release" [2024-01-03T02:54:51.297Z] -- Installing: /usr/local/lib/libcsdk.so [2024-01-03T02:54:51.297Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-03T02:54:51.297Z] -- Installing: /usr/local/include [2024-01-03T02:54:51.297Z] -- Installing: /usr/local/include/devsdk [2024-01-03T02:54:51.297Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-03T02:54:51.297Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-03T02:54:51.297Z] -- Installing: /usr/local/include/edgex [2024-01-03T02:54:51.297Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-01-03T02:54:51.297Z] -- Installing: /usr/local/include/edgex/devices.h [2024-01-03T02:54:51.297Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-01-03T02:54:51.297Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-03T02:54:51.297Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-03T02:54:51.297Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-03T02:54:51.297Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-03T02:54:51.297Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-03T02:54:51.297Z] make: Leaving directory '/tmp/sdk/build/release' [2024-01-03T02:54:52.236Z] Removing intermediate container d7872c581d6e [2024-01-03T02:54:52.236Z] ---> bb612bc3f77a [2024-01-03T02:54:52.236Z] Step 14/21 : FROM ${BASE} [2024-01-03T02:54:52.236Z] ---> 6605166a5db4 [2024-01-03T02:54:52.236Z] Step 15/21 : LABEL maintainer="IOTech " [2024-01-03T02:54:52.236Z] ---> Running in 44c525d6a253 [2024-01-03T02:54:52.236Z] Removing intermediate container 44c525d6a253 [2024-01-03T02:54:52.236Z] ---> af3ca40dd2bb [2024-01-03T02:54:52.236Z] 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-03T02:54:52.236Z] ---> Running in bfc94208cf96 [2024-01-03T02:54:52.495Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-03T02:54:53.064Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-03T02:54:53.064Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-03T02:54:53.064Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-03T02:54:53.324Z] Removing intermediate container bfc94208cf96 [2024-01-03T02:54:53.324Z] ---> 4fc9b52be83c [2024-01-03T02:54:53.324Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-03T02:54:53.324Z] ---> Running in 721d7c716b63 [2024-01-03T02:54:53.893Z] Removing intermediate container 721d7c716b63 [2024-01-03T02:54:53.893Z] ---> 757b32ce5fab [2024-01-03T02:54:53.893Z] 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-03T02:54:53.893Z] ---> Running in eacacac95b4a [2024-01-03T02:54:54.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-03T02:54:54.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-03T02:54:54.413Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-03T02:54:54.987Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-03T02:54:54.987Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-03T02:54:54.987Z] (2/9) Installing curl (8.5.0-r0) [2024-01-03T02:54:54.987Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-03T02:54:54.987Z] (4/9) Installing hiredis (1.1.0-r2) [2024-01-03T02:54:54.987Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-03T02:54:54.987Z] (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-03T02:54:55.928Z] (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-03T02:54:55.928Z] (8/9) Installing libcbor (0.10.2-r1) [2024-01-03T02:54:55.928Z] (9/9) Installing libuuid (2.38.1-r8) [2024-01-03T02:54:55.928Z] Executing busybox-1.36.1-r4.trigger [2024-01-03T02:54:55.928Z] OK: 331 MiB in 89 packages [2024-01-03T02:54:56.872Z] Removing intermediate container eacacac95b4a [2024-01-03T02:54:56.872Z] ---> b10482e2852e [2024-01-03T02:54:56.872Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-03T02:54:57.441Z] ---> 11f9152affd3 [2024-01-03T02:54:57.441Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-03T02:54:57.441Z] ---> 0219bbf36bac [2024-01-03T02:54:57.441Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-03T02:54:57.701Z] ---> b00d681f8cc4 [2024-01-03T02:54:57.701Z] Successfully built b00d681f8cc4 [2024-01-03T02:54:57.701Z] 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-03T02:54:58.271Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-03T02:54:58.271Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-03T02:54:58.386Z] prd-ubuntu20.04-docker-8c-8g-26678 does not seem to be running inside a container [2024-01-03T02:54:58.419Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-506 -v /w/workspace/edgexfoundry_device-sdk-c_PR-506:/w/workspace/edgexfoundry_device-sdk-c_PR-506:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-506@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 ******** ci-base-image-x86_64 cat [2024-01-03T02:54:58.754Z] $ docker top e0cb7ef4cfc1eee449927cc712b64eb4f4bb4cb55d935c42ed0b22268e39b9f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-03T02:54:59.149Z] + make test [2024-01-03T02:54:59.150Z] echo "make test" [2024-01-03T02:54:59.150Z] make test [Pipeline] } [2024-01-03T02:54:59.187Z] $ docker stop --time=1 e0cb7ef4cfc1eee449927cc712b64eb4f4bb4cb55d935c42ed0b22268e39b9f4 [2024-01-03T02:55:00.451Z] $ docker rm -f --volumes e0cb7ef4cfc1eee449927cc712b64eb4f4bb4cb55d935c42ed0b22268e39b9f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-03T02:55:01.325Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-03T02:55:01.610Z] + ls -al . [2024-01-03T02:55:01.610Z] total 212 [2024-01-03T02:55:01.610Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 3 02:54 . [2024-01-03T02:55:01.610Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 02:53 .. [2024-01-03T02:55:01.610Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 02:54 .git [2024-01-03T02:55:01.610Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 02:53 .github [2024-01-03T02:55:01.610Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 3 02:53 .gitignore [2024-01-03T02:55:01.610Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 02:54 .semver [2024-01-03T02:55:01.610Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 3 02:53 Attribution.txt [2024-01-03T02:55:01.610Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 3 02:53 CHANGELOG.md [2024-01-03T02:55:01.610Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 3 02:53 Doxyfile [2024-01-03T02:55:01.610Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 02:53 GOVERNANCE.md [2024-01-03T02:55:01.610Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 3 02:53 Jenkinsfile [2024-01-03T02:55:01.610Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 3 02:53 LICENSE [2024-01-03T02:55:01.610Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 3 02:53 Makefile [2024-01-03T02:55:01.610Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 3 02:53 OWNERS.md [2024-01-03T02:55:01.610Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 3 02:53 README.IOT.md [2024-01-03T02:55:01.610Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 3 02:53 README.md [2024-01-03T02:55:01.610Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 3 02:53 README.v3.md [2024-01-03T02:55:01.610Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 02:54 VERSION [2024-01-03T02:55:01.610Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 02:53 docs [2024-01-03T02:55:01.610Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 02:53 include [2024-01-03T02:55:01.610Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 02:53 scripts [2024-01-03T02:55:01.610Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 02:53 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T02:55:01.960Z] + 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=cc6030f98c33a14dda0a6095f4ce0474184eaaa8 --label arch=amd64 --label version=0.0.0 . [2024-01-03T02:55:01.960Z] Sending build context to Docker daemon 4.964MB [2024-01-03T02:55:01.960Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-01-03T02:55:01.960Z] Step 2/17 : FROM ${BASE} [2024-01-03T02:55:01.960Z] ---> b00d681f8cc4 [2024-01-03T02:55:01.960Z] Step 3/17 : LABEL maintainer="IOTech " [2024-01-03T02:55:01.960Z] ---> Running in 1fa17dec291a [2024-01-03T02:55:02.220Z] Removing intermediate container 1fa17dec291a [2024-01-03T02:55:02.220Z] ---> 6299ca668d0e [2024-01-03T02:55:02.220Z] 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-03T02:55:02.220Z] ---> Running in 264d8031e931 [2024-01-03T02:55:02.479Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-03T02:55:02.741Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-03T02:55:02.741Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-03T02:55:02.741Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-03T02:55:02.999Z] Removing intermediate container 264d8031e931 [2024-01-03T02:55:02.999Z] ---> ef9b36d23682 [2024-01-03T02:55:02.999Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-03T02:55:02.999Z] ---> Running in 4d0dba3ee9e7 [2024-01-03T02:55:03.565Z] Removing intermediate container 4d0dba3ee9e7 [2024-01-03T02:55:03.565Z] ---> 53efa8597da9 [2024-01-03T02:55:03.565Z] 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-03T02:55:03.565Z] ---> Running in ff4be0b0392d [2024-01-03T02:55:03.825Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-03T02:55:04.084Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-03T02:55:04.085Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-03T02:55:04.653Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-03T02:55:04.653Z] (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-03T02:55:04.912Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-03T02:55:04.912Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-03T02:55:04.912Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-03T02:55:04.912Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-03T02:55:04.912Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-03T02:55:04.912Z] (7/11) Installing libblkid (2.38.1-r8) [2024-01-03T02:55:04.912Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-01-03T02:55:04.912Z] (9/11) Installing libmount (2.38.1-r8) [2024-01-03T02:55:04.912Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-03T02:55:04.912Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-03T02:55:04.912Z] Executing busybox-1.36.1-r4.trigger [2024-01-03T02:55:04.912Z] OK: 336 MiB in 100 packages [2024-01-03T02:55:05.850Z] Removing intermediate container ff4be0b0392d [2024-01-03T02:55:05.850Z] ---> 520bd45a8732 [2024-01-03T02:55:05.850Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-01-03T02:55:05.850Z] ---> 13482e23bf95 [2024-01-03T02:55:05.850Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-01-03T02:55:05.850Z] ---> 30d28b9061a4 [2024-01-03T02:55:05.850Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-01-03T02:55:06.112Z] ---> 838d19c7097e [2024-01-03T02:55:06.112Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-01-03T02:55:06.112Z] ---> 6c290119d6b6 [2024-01-03T02:55:06.112Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-01-03T02:55:06.372Z] ---> fbb63ae2a698 [2024-01-03T02:55:06.372Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-01-03T02:55:06.372Z] ---> ab218b96cfb6 [2024-01-03T02:55:06.372Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-01-03T02:55:06.372Z] ---> Running in 01b288c97ee9 [2024-01-03T02:55:06.634Z] Removing intermediate container 01b288c97ee9 [2024-01-03T02:55:06.634Z] ---> 80a8168a8c0f [2024-01-03T02:55:06.634Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-01-03T02:55:06.634Z] ---> Running in e7b9def5f295 [2024-01-03T02:55:06.634Z] Removing intermediate container e7b9def5f295 [2024-01-03T02:55:06.634Z] ---> 56743482c49c [2024-01-03T02:55:06.634Z] Step 15/17 : LABEL arch=amd64 [2024-01-03T02:55:06.634Z] ---> Running in e593ea6145cc [2024-01-03T02:55:06.634Z] Removing intermediate container e593ea6145cc [2024-01-03T02:55:06.634Z] ---> 4c516ce26afa [2024-01-03T02:55:06.634Z] Step 16/17 : LABEL git_sha=cc6030f98c33a14dda0a6095f4ce0474184eaaa8 [2024-01-03T02:55:06.634Z] ---> Running in 2d75ef69693b [2024-01-03T02:55:06.897Z] Removing intermediate container 2d75ef69693b [2024-01-03T02:55:06.897Z] ---> 0c014c07c51b [2024-01-03T02:55:06.897Z] Step 17/17 : LABEL version=0.0.0 [2024-01-03T02:55:06.897Z] ---> Running in 0b10d4c0601a [2024-01-03T02:55:06.897Z] Removing intermediate container 0b10d4c0601a [2024-01-03T02:55:06.897Z] ---> 031e3911debe [2024-01-03T02:55:06.897Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-01-03T02:55:06.897Z] Successfully built 031e3911debe [2024-01-03T02:55:06.897Z] 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-03T02:55:07.671Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-03T02:55:07.671Z] [2024-01-03T02:55:07.671Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T02:55:07.983Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-03T02:55:07.983Z] latest: Pulling from edgex-lftools-log-publisher [2024-01-03T02:55:07.983Z] 5eb5b503b376: Pulling fs layer [2024-01-03T02:55:07.983Z] 5c69ac0246d0: Pulling fs layer [2024-01-03T02:55:07.983Z] ec43610c2a17: Pulling fs layer [2024-01-03T02:55:07.983Z] 3a2ae6a8a46f: Pulling fs layer [2024-01-03T02:55:07.983Z] 33b1e0a273af: Pulling fs layer [2024-01-03T02:55:07.983Z] 5d3b04190fa2: Pulling fs layer [2024-01-03T02:55:07.983Z] 2f39f015ded8: Pulling fs layer [2024-01-03T02:55:07.983Z] 3a2ae6a8a46f: Waiting [2024-01-03T02:55:07.983Z] 33b1e0a273af: Waiting [2024-01-03T02:55:07.983Z] 2f39f015ded8: Waiting [2024-01-03T02:55:07.983Z] 5d3b04190fa2: Waiting [2024-01-03T02:55:07.983Z] 5c69ac0246d0: Verifying Checksum [2024-01-03T02:55:07.983Z] 5c69ac0246d0: Download complete [2024-01-03T02:55:07.983Z] 3a2ae6a8a46f: Verifying Checksum [2024-01-03T02:55:07.983Z] 3a2ae6a8a46f: Download complete [2024-01-03T02:55:07.983Z] 33b1e0a273af: Verifying Checksum [2024-01-03T02:55:07.983Z] 33b1e0a273af: Download complete [2024-01-03T02:55:07.983Z] ec43610c2a17: Verifying Checksum [2024-01-03T02:55:07.983Z] ec43610c2a17: Download complete [2024-01-03T02:55:07.983Z] 5d3b04190fa2: Download complete [2024-01-03T02:55:08.252Z] 5eb5b503b376: Verifying Checksum [2024-01-03T02:55:08.252Z] 5eb5b503b376: Download complete [2024-01-03T02:55:08.820Z] 2f39f015ded8: Download complete [2024-01-03T02:55:09.387Z] 5eb5b503b376: Pull complete [2024-01-03T02:55:09.387Z] 5c69ac0246d0: Pull complete [2024-01-03T02:55:09.955Z] ec43610c2a17: Pull complete [2024-01-03T02:55:09.955Z] 3a2ae6a8a46f: Pull complete [2024-01-03T02:55:10.213Z] 33b1e0a273af: Pull complete [2024-01-03T02:55:10.213Z] 5d3b04190fa2: Pull complete [2024-01-03T02:55:14.403Z] 2f39f015ded8: Pull complete [2024-01-03T02:55:14.403Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-01-03T02:55:14.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-03T02:55:14.403Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-03T02:55:14.581Z] prd-ubuntu20.04-docker-8c-8g-26678 does not seem to be running inside a container [2024-01-03T02:55:14.615Z] $ 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-506 -v /w/workspace/edgexfoundry_device-sdk-c_PR-506:/w/workspace/edgexfoundry_device-sdk-c_PR-506:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-506@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-03T02:55:19.640Z] $ docker top f260cf79564b5138a11bc0ba69255f5751a5712ac19e6b9d1ba9856bbfa64161 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-03T02:55:20.092Z] ---> job-cost.sh [2024-01-03T02:55:20.092Z] lf-activate-venv: SKIPPING [2024-01-03T02:55:20.092Z] INFO: No Stack... [2024-01-03T02:55:20.352Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-03T02:55:20.923Z] INFO: Archiving Costs [Pipeline] sh [2024-01-03T02:55:21.216Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives/cost.csv [2024-01-03T02:55:21.216Z] + cut -d, -f6 [Pipeline] lock [2024-01-03T02:55:21.228Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-506-4-stack-cost] [2024-01-03T02:55:21.236Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-506-4-stack-cost] did not exist. Created. [2024-01-03T02:55:21.236Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-506-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-03T02:55:21.590Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-03T02:55:21.631Z] Stashed 1 file(s) [Pipeline] } [2024-01-03T02:55:21.641Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-506-4-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-03T02:55:21.750Z] $ docker stop --time=1 f260cf79564b5138a11bc0ba69255f5751a5712ac19e6b9d1ba9856bbfa64161 [2024-01-03T02:55:22.905Z] $ docker rm -f --volumes f260cf79564b5138a11bc0ba69255f5751a5712ac19e6b9d1ba9856bbfa64161 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-01-03T02:56:17.840Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26679 in /w/workspace/edgexfoundry_device-sdk-c_PR-506 [Pipeline] { [Pipeline] ws [2024-01-03T02:56:17.879Z] Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout [2024-01-03T02:56:20.958Z] Selected Git installation does not exist. Using Default [2024-01-03T02:56:20.958Z] The recommended git tool is: NONE [2024-01-03T02:56:29.405Z] using credential edgex-jenkins-ssh [2024-01-03T02:56:29.441Z] Cloning the remote Git repository [2024-01-03T02:56:29.529Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-01-03T02:56:29.651Z] > git init /w/workspace/device-sdk-c/4 # timeout=10 [2024-01-03T02:56:29.829Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-03T02:56:29.830Z] > git --version # timeout=10 [2024-01-03T02:56:29.858Z] > git --version # 'git version 2.25.1' [2024-01-03T02:56:29.861Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-03T02:56:30.020Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-03T02:56:31.136Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-03T02:56:31.169Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-03T02:56:32.197Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-03T02:56:32.239Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-03T02:56:32.240Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-03T02:56:32.257Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/506/head:refs/remotes/origin/PR-506 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-01-03T02:56:32.875Z] Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit cc6030f98c33a14dda0a6095f4ce0474184eaaa8 [2024-01-03T02:56:33.239Z] Merge succeeded, producing cc6030f98c33a14dda0a6095f4ce0474184eaaa8 [2024-01-03T02:56:33.239Z] Checking out Revision cc6030f98c33a14dda0a6095f4ce0474184eaaa8 (PR-506) [2024-01-03T02:56:32.892Z] > git config core.sparsecheckout # timeout=10 [2024-01-03T02:56:32.953Z] > git checkout -f cc6030f98c33a14dda0a6095f4ce0474184eaaa8 # timeout=10 [2024-01-03T02:56:33.075Z] > git remote # timeout=10 [2024-01-03T02:56:33.095Z] > git config --get remote.origin.url # timeout=10 [2024-01-03T02:56:33.119Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-03T02:56:33.133Z] > git merge 1a776ee907d08e39928eb07fc2284b30a6e0a694 # timeout=10 [2024-01-03T02:56:33.160Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-01-03T02:56:33.245Z] > git config core.sparsecheckout # timeout=10 [2024-01-03T02:56:33.279Z] > git checkout -f cc6030f98c33a14dda0a6095f4ce0474184eaaa8 # timeout=10 [2024-01-03T02:56:36.979Z] Commit message: "fix:When reading's value is string type, it will be released prematurely" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-03T02:56:38.017Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-01-03T02:56:38.017Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-01-03T02:56:38.017Z] Dload Upload Total Spent Left Speed [2024-01-03T02:56:38.017Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 98310 0 --:--:-- --:--:-- --:--:-- 99078 [Pipeline] sh [2024-01-03T02:56:38.361Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-01-03T02:56:38.691Z] + + sudosudo tee /etc/docker/daemon.new [2024-01-03T02:56:38.691Z] jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-01-03T02:56:38.691Z] { [2024-01-03T02:56:38.691Z] "registry-mirrors": [ [2024-01-03T02:56:38.691Z] "https://nexus3.edgexfoundry.org:10001" [2024-01-03T02:56:38.691Z] ], [2024-01-03T02:56:38.691Z] "bip": "10.250.0.254/24", [2024-01-03T02:56:38.691Z] "hosts": [ [2024-01-03T02:56:38.691Z] "tcp://0.0.0.0:5555", [2024-01-03T02:56:38.691Z] "unix:///var/run/docker.sock" [2024-01-03T02:56:38.691Z] ], [2024-01-03T02:56:38.691Z] "mtu": 1458, [2024-01-03T02:56:38.691Z] "selinux-enabled": true, [2024-01-03T02:56:38.691Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-01-03T02:56:38.691Z] } [Pipeline] sh [2024-01-03T02:56:39.017Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-01-03T02:56:39.348Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-03T02:56:57.647Z] provisioning config files... [2024-01-03T02:56:57.678Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config1438447931559086842tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-03T02:56:58.132Z] ---> ****-login.sh [2024-01-03T02:56:58.132Z] nexus3.edgexfoundry.org:10001 [2024-01-03T02:56:58.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:56:58.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:56:58.666Z] Configure a credential helper to remove this warning. See [2024-01-03T02:56:58.666Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:56:58.666Z] [2024-01-03T02:56:58.666Z] Login Succeeded [2024-01-03T02:56:58.666Z] nexus3.edgexfoundry.org:10002 [2024-01-03T02:56:58.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:56:58.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:56:58.939Z] Configure a credential helper to remove this warning. See [2024-01-03T02:56:58.939Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:56:58.939Z] [2024-01-03T02:56:58.939Z] Login Succeeded [2024-01-03T02:56:58.940Z] nexus3.edgexfoundry.org:10003 [2024-01-03T02:56:58.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:56:59.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:56:59.211Z] Configure a credential helper to remove this warning. See [2024-01-03T02:56:59.211Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:56:59.211Z] [2024-01-03T02:56:59.211Z] Login Succeeded [2024-01-03T02:56:59.211Z] nexus3.edgexfoundry.org:10004 [2024-01-03T02:56:59.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:56:59.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:56:59.486Z] Configure a credential helper to remove this warning. See [2024-01-03T02:56:59.486Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:56:59.486Z] [2024-01-03T02:56:59.486Z] Login Succeeded [2024-01-03T02:56:59.486Z] ****.io [2024-01-03T02:56:59.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T02:57:00.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T02:57:00.029Z] Configure a credential helper to remove this warning. See [2024-01-03T02:57:00.029Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T02:57:00.029Z] [2024-01-03T02:57:00.029Z] Login Succeeded [2024-01-03T02:57:00.029Z] ---> ****-login.sh ends [Pipeline] } [2024-01-03T02:57:00.044Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-03T02:57:00.477Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-03T02:57:00.514Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-01-03T02:57:00.552Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-03T02:57:00.593Z] ========================================================= [2024-01-03T02:57:00.593Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-01-03T02:57:00.593Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T02:57:01.032Z] + 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-03T02:57:02.027Z] #0 building with "default" instance using docker driver [2024-01-03T02:57:02.027Z] [2024-01-03T02:57:02.027Z] #1 [internal] load .dockerignore [2024-01-03T02:57:02.027Z] #1 transferring context: 2B done [2024-01-03T02:57:02.027Z] #1 DONE 0.1s [2024-01-03T02:57:02.027Z] [2024-01-03T02:57:02.027Z] #2 [internal] load build definition from Dockerfile.alpine-base [2024-01-03T02:57:02.027Z] #2 transferring dockerfile: 2.04kB 0.0s done [2024-01-03T02:57:02.027Z] #2 DONE 0.1s [2024-01-03T02:57:02.299Z] [2024-01-03T02:57:02.299Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-01-03T02:57:02.299Z] #3 DONE 0.1s [2024-01-03T02:57:02.299Z] [2024-01-03T02:57:02.299Z] #4 [stage-1 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-03T02:57:02.299Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 0.0s done [2024-01-03T02:57:02.571Z] #4 ... [2024-01-03T02:57:02.571Z] [2024-01-03T02:57:02.571Z] #5 [internal] load build context [2024-01-03T02:57:02.571Z] #5 transferring context: 627.87kB 0.1s done [2024-01-03T02:57:02.571Z] #5 DONE 0.2s [2024-01-03T02:57:02.571Z] [2024-01-03T02:57:02.571Z] #4 [stage-1 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-03T02:57:02.571Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.2s done [2024-01-03T02:57:02.571Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 4.19MB / 109.51MB 0.2s [2024-01-03T02:57:02.571Z] #4 sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 741B / 741B done [2024-01-03T02:57:02.571Z] #4 sha256:2b552cad5dd98495624f16c0a312487c0a9b53c9e43189d1cca70f16696b9826 2.57kB / 2.57kB done [2024-01-03T02:57:02.571Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 [2024-01-03T02:57:02.571Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 13.63MB / 109.51MB 0.4s [2024-01-03T02:57:02.841Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 19.92MB / 109.51MB 0.5s [2024-01-03T02:57:02.841Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.4s done [2024-01-03T02:57:03.112Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 37.75MB / 109.51MB 0.8s [2024-01-03T02:57:03.382Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 44.04MB / 109.51MB 0.9s [2024-01-03T02:57:03.382Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 57.15MB / 109.51MB 1.1s [2024-01-03T02:57:03.382Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 63.96MB / 109.51MB 1.2s [2024-01-03T02:57:03.650Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 70.25MB / 109.51MB 1.3s [2024-01-03T02:57:03.650Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 76.55MB / 109.51MB 1.4s [2024-01-03T02:57:03.919Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 90.07MB / 109.51MB 1.6s [2024-01-03T02:57:03.919Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 96.47MB / 109.51MB 1.7s [2024-01-03T02:57:04.186Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 102.76MB / 109.51MB 1.8s [2024-01-03T02:57:04.186Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.0s [2024-01-03T02:57:04.455Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.0s done [2024-01-03T02:57:04.455Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 [2024-01-03T02:57:09.801Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 5.2s [2024-01-03T02:57:16.470Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 11.8s [2024-01-03T02:57:17.432Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 13.0s done [2024-01-03T02:57:17.702Z] #4 DONE 15.5s [2024-01-03T02:57:17.972Z] [2024-01-03T02:57:17.972Z] #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-03T02:57:18.557Z] #6 0.646 Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-03T02:57:18.873Z] #6 1.154 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-03T02:57:18.873Z] #6 1.154 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-03T02:57:19.143Z] #6 1.154 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-03T02:57:19.727Z] #6 DONE 1.9s [2024-01-03T02:57:19.727Z] [2024-01-03T02:57:19.727Z] #7 [stage-1 3/7] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-03T02:57:20.688Z] #7 DONE 0.8s [2024-01-03T02:57:20.688Z] [2024-01-03T02:57:20.688Z] #8 [builder 4/12] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-01-03T02:57:21.274Z] #8 0.884 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-03T02:57:21.857Z] #8 1.178 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-03T02:57:22.445Z] #8 1.766 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-03T02:57:23.403Z] #8 2.666 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-03T02:57:23.403Z] #8 2.704 (1/17) Installing hiredis (1.1.0-r2) [2024-01-03T02:57:23.403Z] #8 2.715 (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-03T02:57:23.403Z] #8 2.744 (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-03T02:57:24.363Z] #8 3.527 (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-03T02:57:24.363Z] #8 3.650 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-03T02:57:24.363Z] #8 3.896 (6/17) Installing libcbor (0.10.2-r1) [2024-01-03T02:57:24.363Z] #8 3.907 (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-03T02:57:24.630Z] #8 3.927 (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-03T02:57:24.630Z] #8 3.935 (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-03T02:57:24.630Z] #8 3.944 (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-03T02:57:24.630Z] #8 3.956 (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-03T02:57:24.630Z] #8 3.987 (12/17) Installing libblkid (2.38.1-r8) [2024-01-03T02:57:24.630Z] #8 4.003 (13/17) Installing libuuid (2.38.1-r8) [2024-01-03T02:57:24.630Z] #8 4.012 (14/17) Installing libfdisk (2.38.1-r8) [2024-01-03T02:57:24.630Z] #8 4.035 (15/17) Installing libmount (2.38.1-r8) [2024-01-03T02:57:24.630Z] #8 4.064 (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-03T02:57:24.630Z] #8 4.076 (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-03T02:57:24.905Z] #8 ... [2024-01-03T02:57:24.905Z] [2024-01-03T02:57:24.905Z] #9 [stage-1 4/7] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev [2024-01-03T02:57:24.905Z] #9 0.784 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-03T02:57:24.905Z] #9 1.189 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-03T02:57:24.905Z] #9 1.753 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-03T02:57:24.905Z] #9 2.641 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-03T02:57:24.905Z] #9 2.672 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-03T02:57:24.905Z] #9 2.707 (2/9) Installing curl (8.5.0-r0) [2024-01-03T02:57:24.905Z] #9 2.726 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-03T02:57:24.905Z] #9 2.746 (4/9) Installing hiredis (1.1.0-r2) [2024-01-03T02:57:24.905Z] #9 2.754 (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-03T02:57:24.905Z] #9 2.781 (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-03T02:57:24.905Z] #9 3.572 (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-03T02:57:24.905Z] #9 3.801 (8/9) Installing libcbor (0.10.2-r1) [2024-01-03T02:57:24.905Z] #9 3.810 (9/9) Installing libuuid (2.38.1-r8) [2024-01-03T02:57:24.905Z] #9 3.821 Executing busybox-1.36.1-r4.trigger [2024-01-03T02:57:24.905Z] #9 3.866 OK: 327 MiB in 89 packages [2024-01-03T02:57:24.905Z] #9 DONE 4.2s [2024-01-03T02:57:24.905Z] [2024-01-03T02:57:24.905Z] #8 [builder 4/12] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-01-03T02:57:24.905Z] #8 4.163 Executing busybox-1.36.1-r4.trigger [2024-01-03T02:57:24.905Z] #8 4.207 OK: 333 MiB in 99 packages [2024-01-03T02:57:25.173Z] #8 DONE 4.5s [2024-01-03T02:57:25.173Z] [2024-01-03T02:57:25.173Z] #10 [builder 5/12] RUN mkdir /tmp/sdk [2024-01-03T02:57:25.757Z] #10 DONE 0.8s [2024-01-03T02:57:25.757Z] [2024-01-03T02:57:25.757Z] #11 [builder 6/12] COPY VERSION /tmp/sdk [2024-01-03T02:57:25.757Z] #11 DONE 0.1s [2024-01-03T02:57:26.026Z] [2024-01-03T02:57:26.026Z] #12 [builder 7/12] COPY src /tmp/sdk/src [2024-01-03T02:57:26.293Z] #12 DONE 0.2s [2024-01-03T02:57:26.293Z] [2024-01-03T02:57:26.293Z] #13 [builder 8/12] COPY include /tmp/sdk/include [2024-01-03T02:57:26.293Z] #13 DONE 0.1s [2024-01-03T02:57:26.293Z] [2024-01-03T02:57:26.293Z] #14 [builder 9/12] COPY scripts /tmp/sdk/scripts [2024-01-03T02:57:26.293Z] #14 DONE 0.1s [2024-01-03T02:57:26.293Z] [2024-01-03T02:57:26.293Z] #15 [builder 10/12] COPY LICENSE /tmp/sdk [2024-01-03T02:57:26.560Z] #15 DONE 0.1s [2024-01-03T02:57:26.560Z] [2024-01-03T02:57:26.560Z] #16 [builder 11/12] COPY Attribution.txt /tmp/sdk [2024-01-03T02:57:26.560Z] #16 DONE 0.1s [2024-01-03T02:57:26.560Z] [2024-01-03T02:57:26.560Z] #17 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-03T02:57:27.141Z] #17 0.551 + CPPCHECK=false [2024-01-03T02:57:27.141Z] #17 0.551 + DOCGEN=false [2024-01-03T02:57:27.141Z] #17 0.551 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-03T02:57:27.141Z] #17 0.551 + '[' 0 -gt 0 ] [2024-01-03T02:57:27.141Z] #17 0.553 + readlink -f ./scripts/build.sh [2024-01-03T02:57:27.141Z] #17 0.556 + dirname /tmp/sdk/scripts/build.sh [2024-01-03T02:57:27.141Z] #17 0.559 + dirname /tmp/sdk/scripts [2024-01-03T02:57:27.141Z] #17 0.560 + ROOT=/tmp/sdk [2024-01-03T02:57:27.141Z] #17 0.560 + cd /tmp/sdk [2024-01-03T02:57:27.141Z] #17 0.560 + mkdir -p /tmp/sdk/build/release [2024-01-03T02:57:27.141Z] #17 0.562 + cd /tmp/sdk/build/release [2024-01-03T02:57:27.141Z] #17 0.562 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-03T02:57:27.407Z] #17 0.876 -- The C compiler identification is GNU 12.2.1 [2024-01-03T02:57:27.407Z] #17 0.937 -- Detecting C compiler ABI info [2024-01-03T02:57:27.674Z] #17 1.255 -- Detecting C compiler ABI info - done [2024-01-03T02:57:27.674Z] #17 1.336 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-03T02:57:27.674Z] #17 1.338 -- Detecting C compile features [2024-01-03T02:57:27.674Z] #17 1.341 -- Detecting C compile features - done [2024-01-03T02:57:27.943Z] #17 1.364 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-03T02:57:27.943Z] #17 1.555 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-03T02:57:27.943Z] #17 1.573 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-03T02:57:27.943Z] #17 1.588 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-03T02:57:27.943Z] #17 1.603 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-03T02:57:28.210Z] #17 1.618 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-03T02:57:28.210Z] #17 1.633 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-03T02:57:28.210Z] #17 1.649 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-03T02:57:28.210Z] #17 1.649 -- /opt/iotech/iot/1.5/include [2024-01-03T02:57:28.210Z] #17 1.649 -- C SDK 0.0.0 for Linux [2024-01-03T02:57:28.210Z] #17 1.662 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-03T02:57:28.479Z] #17 1.973 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-03T02:57:28.745Z] #17 2.141 -- Found Curses: /usr/lib/libcurses.so [2024-01-03T02:57:28.745Z] #17 2.246 -- Configuring done (1.7s) [2024-01-03T02:57:29.012Z] #17 2.496 -- Generating done (0.2s) [2024-01-03T02:57:29.012Z] #17 2.514 -- Build files have been written to: /tmp/sdk/build/release [2024-01-03T02:57:29.012Z] #17 2.537 + make all package [2024-01-03T02:57:29.012Z] #17 2.537 + tee release.log [2024-01-03T02:57:29.278Z] #17 2.655 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-03T02:57:29.861Z] #17 3.320 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-03T02:57:30.443Z] #17 4.134 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-03T02:57:31.400Z] #17 4.800 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-03T02:57:31.982Z] #17 5.539 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-03T02:57:32.566Z] #17 6.102 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-03T02:57:34.509Z] #17 8.015 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-03T02:57:35.467Z] #17 8.800 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-03T02:57:35.467Z] #17 8.800 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-03T02:57:35.467Z] #17 8.800 294 | while (privateConfig) [2024-01-03T02:57:35.467Z] #17 8.800 | ^~~~~~~~~~~~~ [2024-01-03T02:57:35.467Z] #17 8.800 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-03T02:57:35.467Z] #17 8.800 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-03T02:57:35.467Z] #17 8.800 | ^~~~~~~~~~~~~ [2024-01-03T02:57:35.467Z] #17 8.801 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-03T02:57:35.467Z] #17 8.801 271 | while (result) [2024-01-03T02:57:35.467Z] #17 8.801 | ^~~~~~ [2024-01-03T02:57:35.467Z] #17 8.801 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-03T02:57:35.467Z] #17 8.801 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-03T02:57:35.467Z] #17 8.801 | ^~~~~~ [2024-01-03T02:57:35.734Z] #17 9.108 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-03T02:57:35.734Z] #17 9.323 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-03T02:57:36.693Z] #17 10.16 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-03T02:57:38.642Z] #17 11.92 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-03T02:57:39.224Z] #17 12.49 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-03T02:57:39.805Z] #17 13.29 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-03T02:57:40.767Z] #17 14.01 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-03T02:57:41.034Z] #17 14.47 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-03T02:57:41.991Z] #17 15.42 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-03T02:57:42.258Z] #17 15.71 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-03T02:57:44.198Z] #17 17.61 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-03T02:57:44.469Z] #17 17.94 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-03T02:57:45.061Z] #17 18.56 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-03T02:57:46.468Z] #17 19.99 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-03T02:57:53.098Z] #17 26.31 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-03T02:57:53.364Z] #17 26.91 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-03T02:57:53.946Z] #17 27.31 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-03T02:57:54.216Z] #17 27.81 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-03T02:57:54.799Z] #17 28.13 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-03T02:57:56.207Z] #17 29.49 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-03T02:57:58.150Z] #17 31.51 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-03T02:57:58.416Z] #17 31.97 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-03T02:57:59.377Z] #17 32.87 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-03T02:57:59.960Z] #17 33.48 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-03T02:58:00.227Z] #17 33.77 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-03T02:58:00.227Z] #17 33.77 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T02:58:00.227Z] #17 33.77 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-03T02:58:00.227Z] #17 33.77 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-03T02:58:00.227Z] #17 33.78 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T02:58:00.227Z] #17 33.78 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-03T02:58:00.227Z] #17 33.78 | ^ [2024-01-03T02:58:01.634Z] #17 35.30 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-03T02:58:01.634Z] #17 35.30 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-03T02:58:01.634Z] #17 35.30 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-03T02:58:01.901Z] #17 35.30 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-03T02:58:01.901Z] #17 35.30 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-03T02:58:01.901Z] #17 35.30 | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-03T02:58:02.862Z] #17 36.33 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-03T02:58:03.446Z] #17 37.07 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-03T02:58:04.077Z] #17 37.40 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-03T02:58:04.344Z] #17 37.93 [ 68%] Linking C shared library libcsdk.so [2024-01-03T02:58:04.619Z] #17 38.14 [ 68%] Built target csdk [2024-01-03T02:58:04.619Z] #17 38.19 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-03T02:58:05.578Z] #17 39.04 [ 72%] Linking C executable template [2024-01-03T02:58:05.845Z] #17 39.35 [ 72%] Built target template [2024-01-03T02:58:05.845Z] #17 39.41 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-03T02:58:06.434Z] #17 39.96 [ 76%] Linking C executable device-counter [2024-01-03T02:58:06.704Z] #17 40.27 [ 76%] Built target device-counter [2024-01-03T02:58:06.704Z] #17 40.33 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-03T02:58:07.288Z] #17 40.83 [ 80%] Linking C executable device-random [2024-01-03T02:58:07.559Z] #17 41.16 [ 80%] Built target device-random [2024-01-03T02:58:07.559Z] #17 41.22 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-03T02:58:08.144Z] #17 41.69 [ 84%] Linking C executable device-gyro [2024-01-03T02:58:08.418Z] #17 42.05 [ 84%] Built target device-gyro [2024-01-03T02:58:08.418Z] #17 42.10 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-03T02:58:09.008Z] #17 42.59 [ 88%] Linking C executable device-bitfields [2024-01-03T02:58:09.276Z] #17 42.90 [ 88%] Built target device-bitfields [2024-01-03T02:58:09.276Z] #17 42.96 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-03T02:58:10.238Z] #17 43.78 [ 92%] Linking C executable template-discovery [2024-01-03T02:58:10.505Z] #17 44.09 [ 92%] Built target template-discovery [2024-01-03T02:58:10.505Z] #17 44.15 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-03T02:58:11.470Z] #17 44.90 [ 96%] Linking C executable device-file [2024-01-03T02:58:12.058Z] #17 45.37 [ 96%] Built target device-file [2024-01-03T02:58:12.058Z] #17 45.43 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-03T02:58:12.646Z] #17 46.10 [100%] Linking C executable device-terminal [2024-01-03T02:58:12.917Z] #17 46.50 [100%] Built target device-terminal [2024-01-03T02:58:13.187Z] #17 46.55 Run CPack packaging tool... [2024-01-03T02:58:13.187Z] #17 46.60 CPack: Create package using TGZ [2024-01-03T02:58:13.187Z] #17 46.60 CPack: Install projects [2024-01-03T02:58:13.187Z] #17 46.60 CPack: - Run preinstall target for: Csdk [2024-01-03T02:58:14.196Z] #17 47.47 CPack: - Install project: Csdk [] [2024-01-03T02:58:14.196Z] #17 47.51 CPack: Create package [2024-01-03T02:58:14.196Z] #17 47.60 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-03T02:58:14.196Z] #17 47.61 + '[' false '=' true ] [2024-01-03T02:58:14.196Z] #17 47.61 + '[' false '=' true ] [2024-01-03T02:58:14.196Z] #17 47.61 + mkdir -p /tmp/sdk/build/debug [2024-01-03T02:58:14.196Z] #17 47.61 + cd /tmp/sdk/build/debug [2024-01-03T02:58:14.196Z] #17 47.61 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-03T02:58:14.464Z] #17 47.93 -- The C compiler identification is GNU 12.2.1 [2024-01-03T02:58:14.464Z] #17 47.99 -- Detecting C compiler ABI info [2024-01-03T02:58:14.733Z] #17 48.33 -- Detecting C compiler ABI info - done [2024-01-03T02:58:14.733Z] #17 48.41 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-03T02:58:14.733Z] #17 48.41 -- Detecting C compile features [2024-01-03T02:58:14.733Z] #17 48.42 -- Detecting C compile features - done [2024-01-03T02:58:14.733Z] #17 48.44 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-03T02:58:15.003Z] #17 48.63 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-03T02:58:15.003Z] #17 48.65 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-03T02:58:15.003Z] #17 48.66 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-03T02:58:15.003Z] #17 48.68 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-03T02:58:15.003Z] #17 48.69 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-03T02:58:15.003Z] #17 48.71 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-03T02:58:15.271Z] #17 48.72 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-03T02:58:15.271Z] #17 48.72 -- /opt/iotech/iot/1.5/include [2024-01-03T02:58:15.271Z] #17 48.72 -- C SDK 0.0.0 for Linux [2024-01-03T02:58:15.271Z] #17 48.74 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-03T02:58:15.542Z] #17 49.06 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-03T02:58:15.809Z] #17 49.23 -- Found Curses: /usr/lib/libcurses.so [2024-01-03T02:58:15.809Z] #17 49.33 -- Configuring done (1.7s) [2024-01-03T02:58:16.077Z] #17 49.59 -- Generating done (0.2s) [2024-01-03T02:58:16.077Z] #17 49.61 -- Build files have been written to: /tmp/sdk/build/debug [2024-01-03T02:58:16.077Z] #17 49.63 + make [2024-01-03T02:58:16.077Z] #17 49.63 + tee debug.log [2024-01-03T02:58:16.346Z] #17 49.75 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-03T02:58:16.614Z] #17 50.14 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-03T02:58:17.200Z] #17 50.52 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-03T02:58:17.468Z] #17 50.86 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-03T02:58:17.736Z] #17 51.22 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-03T02:58:18.003Z] #17 51.57 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-03T02:58:18.587Z] #17 52.21 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-03T02:58:19.173Z] #17 52.64 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-03T02:58:19.173Z] #17 52.81 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-03T02:58:19.759Z] #17 53.22 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-03T02:58:20.346Z] #17 53.85 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-03T02:58:20.618Z] #17 54.19 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-03T02:58:20.893Z] #17 54.60 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-03T02:58:21.476Z] #17 54.96 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-03T02:58:21.743Z] #17 55.29 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-03T02:58:22.328Z] #17 55.66 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-03T02:58:22.328Z] #17 55.90 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-03T02:58:23.291Z] #17 56.64 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-03T02:58:23.291Z] #17 56.87 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-03T02:58:23.558Z] #17 57.09 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-03T02:58:24.144Z] #17 57.72 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-03T02:58:25.572Z] #17 58.84 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-03T02:58:25.573Z] #17 59.19 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-03T02:58:25.839Z] #17 59.45 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-03T02:58:26.108Z] #17 59.75 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-03T02:58:26.374Z] #17 60.02 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-03T02:58:26.960Z] #17 60.51 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-03T02:58:28.370Z] #17 61.84 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-03T02:58:28.638Z] #17 62.11 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-03T02:58:28.905Z] #17 62.48 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-03T02:58:29.173Z] #17 62.86 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-03T02:58:29.440Z] #17 63.11 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-03T02:58:29.440Z] #17 63.11 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T02:58:29.440Z] #17 63.11 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-03T02:58:29.440Z] #17 63.11 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-03T02:58:29.707Z] #17 63.11 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T02:58:29.707Z] #17 63.11 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-03T02:58:29.707Z] #17 63.11 | ^ [2024-01-03T02:58:30.293Z] #17 63.64 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-03T02:58:30.293Z] #17 64.00 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-03T02:58:30.875Z] #17 64.33 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-03T02:58:31.140Z] #17 64.61 [ 68%] Linking C shared library libcsdk.so [2024-01-03T02:58:31.405Z] #17 64.87 [ 68%] Built target csdk [2024-01-03T02:58:31.405Z] #17 64.92 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-03T02:58:31.694Z] #17 65.26 [ 72%] Linking C executable template [2024-01-03T02:58:31.960Z] #17 65.56 [ 72%] Built target template [2024-01-03T02:58:31.961Z] #17 65.62 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-03T02:58:32.226Z] #17 65.91 [ 76%] Linking C executable device-counter [2024-01-03T02:58:32.811Z] #17 66.24 [ 76%] Built target device-counter [2024-01-03T02:58:32.811Z] #17 66.31 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-03T02:58:33.394Z] #17 66.70 [ 80%] Linking C executable device-random [2024-01-03T02:58:33.394Z] #17 67.08 [ 80%] Built target device-random [2024-01-03T02:58:33.661Z] #17 67.14 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-03T02:58:33.926Z] #17 67.42 [ 84%] Linking C executable device-gyro [2024-01-03T02:58:34.192Z] #17 67.73 [ 84%] Built target device-gyro [2024-01-03T02:58:34.192Z] #17 67.79 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-03T02:58:34.459Z] #17 68.08 [ 88%] Linking C executable device-bitfields [2024-01-03T02:58:35.053Z] #17 68.39 [ 88%] Built target device-bitfields [2024-01-03T02:58:35.053Z] #17 68.45 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-03T02:58:35.323Z] #17 68.82 [ 92%] Linking C executable template-discovery [2024-01-03T02:58:35.591Z] #17 69.17 [ 92%] Built target template-discovery [2024-01-03T02:58:35.591Z] #17 69.23 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-03T02:58:36.177Z] #17 69.59 [ 96%] Linking C executable device-file [2024-01-03T02:58:36.447Z] #17 69.96 [ 96%] Built target device-file [2024-01-03T02:58:36.447Z] #17 70.03 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-03T02:58:37.033Z] #17 70.46 [100%] Linking C executable device-terminal [2024-01-03T02:58:37.301Z] #17 70.79 [100%] Built target device-terminal [2024-01-03T02:58:37.301Z] #17 70.83 make: Entering directory '/tmp/sdk/build/release' [2024-01-03T02:58:37.301Z] #17 70.98 [ 68%] Built target csdk [2024-01-03T02:58:37.569Z] #17 71.04 [ 72%] Built target template [2024-01-03T02:58:37.569Z] #17 71.09 [ 76%] Built target device-counter [2024-01-03T02:58:37.569Z] #17 71.14 [ 80%] Built target device-random [2024-01-03T02:58:37.569Z] #17 71.20 [ 84%] Built target device-gyro [2024-01-03T02:58:37.837Z] #17 71.26 [ 88%] Built target device-bitfields [2024-01-03T02:58:37.837Z] #17 71.31 [ 92%] Built target template-discovery [2024-01-03T02:58:37.837Z] #17 71.37 [ 96%] Built target device-file [2024-01-03T02:58:37.837Z] #17 71.42 [100%] Built target device-terminal [2024-01-03T02:58:37.837Z] #17 71.48 Install the project... [2024-01-03T02:58:37.837Z] #17 71.50 -- Install configuration: "Release" [2024-01-03T02:58:37.837Z] #17 71.50 -- Installing: /usr/local/lib/libcsdk.so [2024-01-03T02:58:37.837Z] #17 71.51 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-03T02:58:37.837Z] #17 71.51 -- Installing: /usr/local/include [2024-01-03T02:58:37.837Z] #17 71.51 -- Installing: /usr/local/include/devsdk [2024-01-03T02:58:37.837Z] #17 71.51 -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-03T02:58:37.837Z] #17 71.51 -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-03T02:58:37.837Z] #17 71.51 -- Installing: /usr/local/include/edgex [2024-01-03T02:58:37.837Z] #17 71.52 -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-03T02:58:37.837Z] #17 71.52 -- Installing: /usr/local/include/edgex/edgex.h [2024-01-03T02:58:37.837Z] #17 71.52 -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-03T02:58:37.837Z] #17 71.52 -- Installing: /usr/local/include/edgex/devices.h [2024-01-03T02:58:37.837Z] #17 71.52 -- Installing: /usr/local/include/edgex/profiles.h [2024-01-03T02:58:37.837Z] #17 71.52 -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-03T02:58:37.837Z] #17 71.52 -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-03T02:58:38.104Z] #17 71.52 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-03T02:58:38.104Z] #17 71.54 make: Leaving directory '/tmp/sdk/build/release' [2024-01-03T02:58:38.687Z] #17 DONE 72.2s [2024-01-03T02:58:38.954Z] [2024-01-03T02:58:38.954Z] #18 [stage-1 5/7] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-03T02:58:38.954Z] #18 DONE 0.1s [2024-01-03T02:58:38.954Z] [2024-01-03T02:58:38.954Z] #19 [stage-1 6/7] COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-03T02:58:38.954Z] #19 DONE 0.1s [2024-01-03T02:58:39.222Z] [2024-01-03T02:58:39.222Z] #20 [stage-1 7/7] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-03T02:58:39.222Z] #20 DONE 0.1s [2024-01-03T02:58:39.222Z] [2024-01-03T02:58:39.222Z] #21 exporting to image [2024-01-03T02:58:39.222Z] #21 exporting layers [2024-01-03T02:58:39.489Z] #21 exporting layers 0.2s done [2024-01-03T02:58:39.489Z] #21 writing image sha256:4dab309c08c5b234261963cf61dc1408a802977e71643901a4843a2afdc8d277 done [2024-01-03T02:58:39.489Z] #21 naming to docker.io/library/ci-base-image-arm64 0.0s done [2024-01-03T02:58:39.489Z] #21 DONE 0.3s [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-03T02:58:40.134Z] + docker inspect -f . ci-base-image-arm64 [2024-01-03T02:58:40.134Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-03T02:58:40.421Z] prd-ubuntu20.04-docker-arm64-4c-16g-26679 does not seem to be running inside a container [2024-01-03T02:58:40.507Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@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-03T02:58:41.719Z] $ docker top 00728c360fce16616a44e2afcee3eeb448384d24f3666b4b8b116b998479afef -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-03T02:58:42.632Z] + make test [2024-01-03T02:58:42.632Z] echo "make test" [2024-01-03T02:58:42.632Z] make test [Pipeline] } [2024-01-03T02:58:42.652Z] $ docker stop --time=1 00728c360fce16616a44e2afcee3eeb448384d24f3666b4b8b116b998479afef [2024-01-03T02:58:44.271Z] $ docker rm -f --volumes 00728c360fce16616a44e2afcee3eeb448384d24f3666b4b8b116b998479afef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-03T02:58:45.056Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-03T02:58:45.460Z] + ls -al . [2024-01-03T02:58:45.460Z] total 208 [2024-01-03T02:58:45.460Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 02:56 . [2024-01-03T02:58:45.460Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 02:56 .. [2024-01-03T02:58:45.460Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 02:56 .git [2024-01-03T02:58:45.460Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 02:56 .github [2024-01-03T02:58:45.460Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 3 02:56 .gitignore [2024-01-03T02:58:45.460Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 3 02:56 Attribution.txt [2024-01-03T02:58:45.460Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 3 02:56 CHANGELOG.md [2024-01-03T02:58:45.460Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 3 02:56 Doxyfile [2024-01-03T02:58:45.460Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 02:56 GOVERNANCE.md [2024-01-03T02:58:45.460Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 3 02:56 Jenkinsfile [2024-01-03T02:58:45.460Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 3 02:56 LICENSE [2024-01-03T02:58:45.460Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 3 02:56 Makefile [2024-01-03T02:58:45.460Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 3 02:56 OWNERS.md [2024-01-03T02:58:45.460Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 3 02:56 README.IOT.md [2024-01-03T02:58:45.460Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 3 02:56 README.md [2024-01-03T02:58:45.460Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 3 02:56 README.v3.md [2024-01-03T02:58:45.460Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 02:54 VERSION [2024-01-03T02:58:45.460Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 02:56 docs [2024-01-03T02:58:45.460Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 02:56 include [2024-01-03T02:58:45.460Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 02:56 scripts [2024-01-03T02:58:45.460Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 02:56 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T02:58:45.900Z] + 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=cc6030f98c33a14dda0a6095f4ce0474184eaaa8 --label arch=arm64 --label version=0.0.0 . [2024-01-03T02:58:46.486Z] #0 building with "default" instance using docker driver [2024-01-03T02:58:46.486Z] [2024-01-03T02:58:46.486Z] #1 [internal] load .dockerignore [2024-01-03T02:58:46.486Z] #1 transferring context: 2B done [2024-01-03T02:58:46.486Z] #1 DONE 0.0s [2024-01-03T02:58:46.486Z] [2024-01-03T02:58:46.486Z] #2 [internal] load build definition from Dockerfile.alpine [2024-01-03T02:58:46.486Z] #2 transferring dockerfile: 1.44kB done [2024-01-03T02:58:46.766Z] #2 DONE 0.0s [2024-01-03T02:58:46.766Z] [2024-01-03T02:58:46.766Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2024-01-03T02:58:46.766Z] #3 DONE 0.0s [2024-01-03T02:58:46.766Z] [2024-01-03T02:58:46.766Z] #4 [ 1/11] FROM docker.io/library/ci-base-image-arm64 [2024-01-03T02:58:46.766Z] #4 DONE 0.2s [2024-01-03T02:58:46.766Z] [2024-01-03T02:58:46.766Z] #5 [internal] load build context [2024-01-03T02:58:46.766Z] #5 transferring context: 8.55kB 0.1s done [2024-01-03T02:58:46.766Z] #5 DONE 0.1s [2024-01-03T02:58:47.034Z] [2024-01-03T02:58:47.034Z] #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-03T02:58:47.617Z] #6 0.651 Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-03T02:58:47.884Z] #6 1.154 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-03T02:58:48.153Z] #6 1.155 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-03T02:58:48.153Z] #6 1.156 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-03T02:58:48.153Z] #6 DONE 1.2s [2024-01-03T02:58:48.153Z] [2024-01-03T02:58:48.153Z] #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-03T02:58:49.112Z] #7 DONE 0.8s [2024-01-03T02:58:49.112Z] [2024-01-03T02:58:49.112Z] #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-03T02:58:49.695Z] #8 0.772 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-03T02:58:49.962Z] #8 1.170 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-03T02:58:50.921Z] #8 1.783 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-03T02:58:51.880Z] #8 2.708 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-03T02:58:51.880Z] #8 2.745 (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-03T02:58:51.880Z] #8 3.050 (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-03T02:58:51.880Z] #8 3.069 (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-03T02:58:51.880Z] #8 3.076 (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-03T02:58:51.880Z] #8 3.082 (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-03T02:58:52.148Z] #8 3.089 (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-03T02:58:52.148Z] #8 3.115 (7/11) Installing libblkid (2.38.1-r8) [2024-01-03T02:58:52.148Z] #8 3.130 (8/11) Installing libfdisk (2.38.1-r8) [2024-01-03T02:58:52.148Z] #8 3.147 (9/11) Installing libmount (2.38.1-r8) [2024-01-03T02:58:52.148Z] #8 3.162 (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-03T02:58:52.148Z] #8 3.205 (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-03T02:58:52.148Z] #8 3.277 Executing busybox-1.36.1-r4.trigger [2024-01-03T02:58:52.148Z] #8 3.319 OK: 333 MiB in 100 packages [2024-01-03T02:58:52.747Z] #8 DONE 3.8s [2024-01-03T02:58:52.747Z] [2024-01-03T02:58:52.747Z] #9 [ 5/11] COPY VERSION /edgex-c-sdk/ [2024-01-03T02:58:52.747Z] #9 DONE 0.1s [2024-01-03T02:58:53.013Z] [2024-01-03T02:58:53.013Z] #10 [ 6/11] COPY src /edgex-c-sdk/src/ [2024-01-03T02:58:53.013Z] #10 DONE 0.2s [2024-01-03T02:58:53.013Z] [2024-01-03T02:58:53.013Z] #11 [ 7/11] COPY include /edgex-c-sdk/include/ [2024-01-03T02:58:53.278Z] #11 DONE 0.1s [2024-01-03T02:58:53.278Z] [2024-01-03T02:58:53.278Z] #12 [ 8/11] COPY scripts /edgex-c-sdk/scripts [2024-01-03T02:58:53.278Z] #12 DONE 0.1s [2024-01-03T02:58:53.278Z] [2024-01-03T02:58:53.278Z] #13 [ 9/11] COPY LICENSE /edgex-c-sdk/ [2024-01-03T02:58:53.278Z] #13 DONE 0.1s [2024-01-03T02:58:53.278Z] [2024-01-03T02:58:53.278Z] #14 [10/11] COPY Attribution.txt /edgex-c-sdk/ [2024-01-03T02:58:53.278Z] #14 DONE 0.1s [2024-01-03T02:58:53.543Z] [2024-01-03T02:58:53.543Z] #15 [11/11] WORKDIR /edgex-c-sdk [2024-01-03T02:58:53.543Z] #15 DONE 0.1s [2024-01-03T02:58:53.543Z] [2024-01-03T02:58:53.543Z] #16 exporting to image [2024-01-03T02:58:53.543Z] #16 exporting layers [2024-01-03T02:58:53.809Z] #16 exporting layers 0.4s done [2024-01-03T02:58:53.809Z] #16 writing image sha256:a45bb7876f7dd256c903bef7e44b3802816a4d91b3c39466425b1b26086ff683 done [2024-01-03T02:58:53.809Z] #16 naming to docker.io/library/device-sdk-arm64 done [2024-01-03T02:58:53.809Z] #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-03T02:58:54.539Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-03T02:58:54.539Z] [2024-01-03T02:58:54.539Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T02:58:54.906Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-03T02:58:55.173Z] arm64: Pulling from edgex-lftools-log-publisher [2024-01-03T02:58:55.173Z] 8998bd30e6a1: Pulling fs layer [2024-01-03T02:58:55.173Z] 04944245beec: Pulling fs layer [2024-01-03T02:58:55.173Z] 699f458cf7ca: Pulling fs layer [2024-01-03T02:58:55.173Z] 765212b225bb: Pulling fs layer [2024-01-03T02:58:55.173Z] f23df028b6ca: Pulling fs layer [2024-01-03T02:58:55.173Z] 765212b225bb: Waiting [2024-01-03T02:58:55.173Z] d65c8cfc05b1: Pulling fs layer [2024-01-03T02:58:55.173Z] 2437ff75d9bd: Pulling fs layer [2024-01-03T02:58:55.173Z] d65c8cfc05b1: Waiting [2024-01-03T02:58:55.173Z] f23df028b6ca: Waiting [2024-01-03T02:58:55.173Z] 2437ff75d9bd: Waiting [2024-01-03T02:58:55.173Z] 04944245beec: Verifying Checksum [2024-01-03T02:58:55.173Z] 04944245beec: Download complete [2024-01-03T02:58:55.173Z] 765212b225bb: Verifying Checksum [2024-01-03T02:58:55.173Z] 765212b225bb: Download complete [2024-01-03T02:58:55.440Z] f23df028b6ca: Verifying Checksum [2024-01-03T02:58:55.440Z] f23df028b6ca: Download complete [2024-01-03T02:58:55.440Z] d65c8cfc05b1: Verifying Checksum [2024-01-03T02:58:55.440Z] d65c8cfc05b1: Download complete [2024-01-03T02:58:55.440Z] 699f458cf7ca: Verifying Checksum [2024-01-03T02:58:55.440Z] 699f458cf7ca: Download complete [2024-01-03T02:58:55.708Z] 8998bd30e6a1: Verifying Checksum [2024-01-03T02:58:55.708Z] 8998bd30e6a1: Download complete [2024-01-03T02:58:57.649Z] 2437ff75d9bd: Verifying Checksum [2024-01-03T02:58:57.649Z] 2437ff75d9bd: Download complete [2024-01-03T02:59:02.991Z] 8998bd30e6a1: Pull complete [2024-01-03T02:59:02.991Z] 04944245beec: Pull complete [2024-01-03T02:59:07.239Z] 699f458cf7ca: Pull complete [2024-01-03T02:59:07.239Z] 765212b225bb: Pull complete [2024-01-03T02:59:07.821Z] f23df028b6ca: Pull complete [2024-01-03T02:59:07.821Z] d65c8cfc05b1: Pull complete [2024-01-03T02:59:29.877Z] 2437ff75d9bd: Pull complete [2024-01-03T02:59:29.877Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-01-03T02:59:29.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-03T02:59:29.877Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-03T02:59:30.155Z] prd-ubuntu20.04-docker-arm64-4c-16g-26679 does not seem to be running inside a container [2024-01-03T02:59:30.217Z] $ 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/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@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-03T02:59:31.388Z] $ docker top eeafce23289d815ed137190102f95079afd548ab51e956beb0eb2d4890cdda59 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-03T02:59:31.919Z] ---> job-cost.sh [2024-01-03T02:59:32.185Z] lf-activate-venv: SKIPPING [2024-01-03T02:59:32.185Z] INFO: No Stack... [2024-01-03T02:59:32.452Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-03T02:59:33.408Z] INFO: Archiving Costs [Pipeline] sh [2024-01-03T02:59:33.722Z] + cat /w/workspace/device-sdk-c/4/archives/cost.csv [2024-01-03T02:59:33.722Z] + cut -d, -f6 [Pipeline] lock [2024-01-03T02:59:33.783Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-506-4-stack-cost] [2024-01-03T02:59:33.795Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-506-4-stack-cost] did not exist. Created. [2024-01-03T02:59:33.796Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-506-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-03T02:59:34.192Z] /w/workspace/device-sdk-c/4@tmp/durable-04bd5977/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-01-03T02:59:34.530Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-03T02:59:34.579Z] Warning: overwriting stash ‘stack-cost’ [2024-01-03T02:59:35.029Z] Stashed 1 file(s) [Pipeline] } [2024-01-03T02:59:35.036Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-506-4-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-03T02:59:35.115Z] $ docker stop --time=1 eeafce23289d815ed137190102f95079afd548ab51e956beb0eb2d4890cdda59 [2024-01-03T02:59:37.152Z] $ docker rm -f --volumes eeafce23289d815ed137190102f95079afd548ab51e956beb0eb2d4890cdda59 [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-03T02:59:38.903Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives ] [2024-01-03T02:59:38.903Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives [2024-01-03T02:59:38.903Z] total 16 [2024-01-03T02:59:38.903Z] drwxr-xr-x 3 root root 4096 Jan 3 02:55 . [2024-01-03T02:59:38.903Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 02:55 .. [2024-01-03T02:59:38.903Z] drwxr-xr-x 2 root root 4096 Jan 3 02:55 cost [2024-01-03T02:59:38.903Z] -rw-r--r-- 1 root root 84 Jan 3 02:55 cost.csv [2024-01-03T02:59:38.903Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives [2024-01-03T02:59:38.903Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives [2024-01-03T02:59:38.903Z] total 16 [2024-01-03T02:59:38.903Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 02:55 . [2024-01-03T02:59:38.903Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 02:55 .. [2024-01-03T02:59:38.903Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 02:55 cost [2024-01-03T02:59:38.903Z] -rw-r--r-- 1 jenkins jenkins 84 Jan 3 02:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-01-03T02:59:39.199Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-03T02:59:40.063Z] ---> package-listing.sh [2024-01-03T02:59:40.063Z] ++ facter osfamily [2024-01-03T02:59:40.063Z] ++ tr '[:upper:]' '[:lower:]' [2024-01-03T02:59:40.322Z] + OS_FAMILY=debian [2024-01-03T02:59:40.322Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-506 [2024-01-03T02:59:40.322Z] + START_PACKAGES=/tmp/packages_start.txt [2024-01-03T02:59:40.322Z] + END_PACKAGES=/tmp/packages_end.txt [2024-01-03T02:59:40.322Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-01-03T02:59:40.322Z] + PACKAGES=/tmp/packages_start.txt [2024-01-03T02:59:40.322Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-506 ']' [2024-01-03T02:59:40.322Z] + PACKAGES=/tmp/packages_end.txt [2024-01-03T02:59:40.322Z] + case "${OS_FAMILY}" in [2024-01-03T02:59:40.322Z] + dpkg -l [2024-01-03T02:59:40.322Z] + grep '^ii' [2024-01-03T02:59:40.322Z] + '[' -f /tmp/packages_start.txt ']' [2024-01-03T02:59:40.322Z] + '[' -f /tmp/packages_end.txt ']' [2024-01-03T02:59:40.322Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-01-03T02:59:40.322Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-506 ']' [2024-01-03T02:59:40.322Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives/ [2024-01-03T02:59:40.322Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives/ [Pipeline] echo [2024-01-03T02:59:40.334Z] 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-506/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-01-03T02:59:40.612Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T02:59:41.231Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-03T02:59:41.231Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-03T02:59:41.373Z] prd-ubuntu20.04-docker-8c-8g-26678 does not seem to be running inside a container [2024-01-03T02:59:41.399Z] $ 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-506/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-506 -v /w/workspace/edgexfoundry_device-sdk-c_PR-506:/w/workspace/edgexfoundry_device-sdk-c_PR-506:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-03T02:59:41.571Z] $ docker top b09cd7d8f7d13d469fcaa53ba8879200cadb041b25d431e1f1dc9c090ab11465 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-03T02:59:41.973Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-01-03T02:59:42.261Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-01-03T02:59:42.552Z] + ls /var/log/sa-host [2024-01-03T02:59:42.552Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-03T02:59:42.779Z] provisioning config files... [2024-01-03T02:59:42.788Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/config1834401527243139105tmp [Pipeline] { [Pipeline] echo [2024-01-03T02:59:42.862Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-03T02:59:43.145Z] ---> create-netrc.sh [Pipeline] } [2024-01-03T02:59:43.153Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-01-03T02:59:43.555Z] ---> python-tools-install.sh [Pipeline] echo [2024-01-03T02:59:43.566Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-03T02:59:43.850Z] ---> sudo-logs.sh [2024-01-03T02:59:43.851Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-01-03T02:59:43.905Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-03T02:59:44.189Z] ---> job-cost.sh [2024-01-03T02:59:44.190Z] lf-activate-venv: SKIPPING [2024-01-03T02:59:44.190Z] DEBUG: total: 0.2199999988079071 [2024-01-03T02:59:44.190Z] INFO: Retrieving Stack Cost... [2024-01-03T02:59:44.450Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-03T02:59:44.710Z] INFO: Archiving Costs [Pipeline] echo [2024-01-03T02:59:44.723Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-03T02:59:45.007Z] ---> logs-deploy.sh [2024-01-03T02:59:45.007Z] lf-activate-venv: SKIPPING [2024-01-03T02:59:45.007Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-506/4 [2024-01-03T02:59:45.007Z] INFO: archiving workspace using pattern(s): [2024-01-03T02:59:45.947Z] Archives upload complete. [2024-01-03T02:59:45.947Z] INFO: archiving logs to Nexus